├── .github
├── CODEOWNERS
├── CONTRIBUTING.md
├── gitpod.yml
├── verify.png
└── workflows
│ ├── build.yml
│ └── lint.yml
├── .gitignore
├── AliceOS.xcodeproj
├── project.pbxproj
├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── IDEWorkspaceChecks.plist
├── xcshareddata
│ └── xcschemes
│ │ └── AliceOS.xcscheme
└── xcuserdata
│ └── marquiskurt.xcuserdatad
│ ├── xcdebugger
│ └── Breakpoints_v2.xcbkptlist
│ └── xcschemes
│ └── xcschememanagement.plist
├── Config.xcconfig
├── LICENSE
├── README.md
├── docs
├── .nojekyll
├── 01-install
│ └── index.html
├── 02-contributing
│ └── index.html
├── 404.html
├── CNAME
├── Develop-Apps
│ ├── 01-manifest
│ │ └── index.html
│ ├── 02-sending-notifications
│ │ └── index.html
│ ├── 03-interface-design
│ │ └── index.html
│ ├── 04-watching-events
│ │ └── index.html
│ └── index.html
├── Frameworks
│ ├── AppKit
│ │ ├── 01-ASAppRepresentative
│ │ │ └── index.html
│ │ └── index.html
│ ├── NotificationKit
│ │ ├── 01-banner
│ │ │ └── index.html
│ │ ├── 02-alerts
│ │ │ └── index.html
│ │ └── index.html
│ └── ScreenKit
│ │ ├── 01-a-simple-ui
│ │ └── index.html
│ │ ├── 02-special-styles
│ │ └── index.html
│ │ └── index.html
├── Release-Notes
│ ├── 1tp1
│ │ └── index.html
│ ├── 1tp2
│ │ └── index.html
│ ├── 2.0.0_db1
│ │ └── index.html
│ ├── 2.0.0_db2
│ │ └── index.html
│ ├── 20.0_db3
│ │ └── index.html
│ └── index.html
├── System
│ ├── 01-definitions
│ │ └── index.html
│ ├── 02-default-apps
│ │ └── index.html
│ ├── 03-core-services
│ │ └── index.html
│ ├── 04-critical-errors
│ │ └── index.html
│ ├── 05-bootloader
│ │ └── index.html
│ ├── 06-setup-assistant
│ │ └── index.html
│ └── 07-inventories
│ │ └── index.html
├── assets
│ ├── fonts
│ │ ├── font-awesome.css
│ │ ├── material-icons.css
│ │ └── specimen
│ │ │ ├── FontAwesome.ttf
│ │ │ ├── FontAwesome.woff
│ │ │ ├── FontAwesome.woff2
│ │ │ ├── MaterialIcons-Regular.ttf
│ │ │ ├── MaterialIcons-Regular.woff
│ │ │ └── MaterialIcons-Regular.woff2
│ ├── images
│ │ ├── favicon.png
│ │ └── icons
│ │ │ ├── bitbucket.1b09e088.svg
│ │ │ ├── github.f0b8504a.svg
│ │ │ └── gitlab.6dd19c00.svg
│ ├── javascripts
│ │ ├── application.245445c6.js
│ │ ├── lunr
│ │ │ ├── lunr.da.js
│ │ │ ├── lunr.de.js
│ │ │ ├── lunr.du.js
│ │ │ ├── lunr.es.js
│ │ │ ├── lunr.fi.js
│ │ │ ├── lunr.fr.js
│ │ │ ├── lunr.hu.js
│ │ │ ├── lunr.it.js
│ │ │ ├── lunr.ja.js
│ │ │ ├── lunr.jp.js
│ │ │ ├── lunr.multi.js
│ │ │ ├── lunr.nl.js
│ │ │ ├── lunr.no.js
│ │ │ ├── lunr.pt.js
│ │ │ ├── lunr.ro.js
│ │ │ ├── lunr.ru.js
│ │ │ ├── lunr.stemmer.support.js
│ │ │ ├── lunr.sv.js
│ │ │ ├── lunr.th.js
│ │ │ ├── lunr.tr.js
│ │ │ ├── tinyseg.js
│ │ │ └── wordcut.js
│ │ └── modernizr.74668098.js
│ └── stylesheets
│ │ ├── application-palette.01803549.css
│ │ └── application.0284f74d.css
├── images
│ ├── apps
│ │ ├── apps-sn-hero.png
│ │ └── apps-ui-hero.png
│ ├── favicon.ico
│ ├── github.png
│ ├── hero.jpg
│ ├── logo.svg
│ ├── logomark.svg
│ ├── nk
│ │ ├── alerts.png
│ │ ├── banner.png
│ │ └── extended_alerts.png
│ ├── system
│ │ ├── app-manager.png
│ │ ├── bootloader.png
│ │ ├── critical-error.png
│ │ ├── cservices
│ │ │ ├── boot.png
│ │ │ ├── desktop.png
│ │ │ ├── halt.png
│ │ │ └── setup.png
│ │ ├── defapps
│ │ │ ├── appman.png
│ │ │ ├── inventories.png
│ │ │ ├── messages.png
│ │ │ └── sysinfo.png
│ │ ├── inventories-hud.png
│ │ ├── inventories.png
│ │ └── setup-assistant.png
│ ├── ui
│ │ └── landing.png
│ └── verify.png
├── index.html
├── search
│ └── search_index.json
├── sitemap.xml
└── sitemap.xml.gz
├── game
├── System
│ ├── ASDefinitions.rpy
│ ├── ASFonts.rpy
│ ├── Applications
│ │ ├── AppManager.aosapp
│ │ │ ├── ASAppManager.rpy
│ │ │ ├── ASAppManagerView.rpy
│ │ │ └── Resources
│ │ │ │ ├── ASAppManagerStyles.rpy
│ │ │ │ └── Iconset
│ │ │ │ ├── 128.png
│ │ │ │ ├── 16.png
│ │ │ │ ├── 24.png
│ │ │ │ ├── 256.png
│ │ │ │ ├── 32.png
│ │ │ │ ├── 48.png
│ │ │ │ └── 64.png
│ │ ├── Inventories.aosapp
│ │ │ ├── Inventories.rpy
│ │ │ ├── Resources
│ │ │ │ ├── Iconset
│ │ │ │ │ ├── 1024.png
│ │ │ │ │ ├── 128.png
│ │ │ │ │ ├── 16.png
│ │ │ │ │ ├── 24.png
│ │ │ │ │ ├── 256.png
│ │ │ │ │ ├── 32.png
│ │ │ │ │ ├── 48.png
│ │ │ │ │ └── 64.png
│ │ │ │ ├── Item.png
│ │ │ │ └── OpenMore.png
│ │ │ ├── Structures
│ │ │ │ └── ASInventoryItem.rpy
│ │ │ └── Views
│ │ │ │ ├── ASInventoryManagerView.rpy
│ │ │ │ └── ASInventorySubView.rpy
│ │ ├── Messages.aosapp
│ │ │ ├── Messages.rpy
│ │ │ └── Resources
│ │ │ │ └── Iconset
│ │ │ │ ├── 128.png
│ │ │ │ ├── 16.png
│ │ │ │ ├── 24.png
│ │ │ │ ├── 256.png
│ │ │ │ ├── 32.png
│ │ │ │ ├── 48.png
│ │ │ │ └── 64.png
│ │ └── SysInfo.aosapp
│ │ │ ├── ASSysInfoApp.rpy
│ │ │ ├── ASSysInfoView.rpy
│ │ │ └── Resources
│ │ │ ├── ASSysInfoViewStyles.rpy
│ │ │ ├── Elements
│ │ │ └── SystemIcon.png
│ │ │ └── Iconset
│ │ │ ├── 1024.png
│ │ │ ├── 128.png
│ │ │ ├── 16.png
│ │ │ ├── 24.png
│ │ │ ├── 256.png
│ │ │ ├── 32.png
│ │ │ ├── 48.png
│ │ │ ├── 512.png
│ │ │ └── 64.png
│ ├── CoreServices
│ │ ├── Boot.aoscservice
│ │ │ ├── ASBootloaderCoreService.rpy
│ │ │ ├── ASBootloaderView.rpy
│ │ │ └── Resources
│ │ │ │ ├── Elements
│ │ │ │ ├── Background.png
│ │ │ │ ├── BootLogo.png
│ │ │ │ └── PureBlackBoot.png
│ │ │ │ └── Iconset
│ │ │ │ ├── 128.png
│ │ │ │ ├── 16.png
│ │ │ │ ├── 24.png
│ │ │ │ ├── 256.png
│ │ │ │ ├── 32.png
│ │ │ │ ├── 48.png
│ │ │ │ └── 64.png
│ │ ├── Desktop.aoscservice
│ │ │ ├── ASDesktopCoreService.rpy
│ │ │ ├── ASDesktopDefinitions.rpy
│ │ │ ├── Resources
│ │ │ │ ├── Elements
│ │ │ │ │ ├── ExitToApp.png
│ │ │ │ │ ├── ExitToApp@2x.png
│ │ │ │ │ ├── ExitToAppHover.png
│ │ │ │ │ ├── LaunchpadBlur.png
│ │ │ │ │ └── TopBar.png
│ │ │ │ └── Iconset
│ │ │ │ │ ├── 128.png
│ │ │ │ │ ├── 16.png
│ │ │ │ │ ├── 24.png
│ │ │ │ │ ├── 256.png
│ │ │ │ │ ├── 32.png
│ │ │ │ │ ├── 48.png
│ │ │ │ │ └── 64.png
│ │ │ ├── Styles
│ │ │ │ ├── ASDesktopLaunchpadViewStyles.rpy
│ │ │ │ └── ASDesktopTopBarStyles.rpy
│ │ │ └── Views
│ │ │ │ ├── ASDesktopLaunchpadView.rpy
│ │ │ │ ├── ASDesktopShellView.rpy
│ │ │ │ └── ASDesktopTopBar.rpy
│ │ ├── Halt.aoscservice
│ │ │ ├── ASHaltCoreService.rpy
│ │ │ ├── ASHaltMessage.rpy
│ │ │ ├── ASHaltMessageStyles.rpy
│ │ │ └── Resources
│ │ │ │ ├── Elements
│ │ │ │ ├── HaltSymbol.png
│ │ │ │ └── QRCode.png
│ │ │ │ └── Iconset
│ │ │ │ ├── 128.png
│ │ │ │ ├── 16.png
│ │ │ │ ├── 24.png
│ │ │ │ ├── 256.png
│ │ │ │ ├── 32.png
│ │ │ │ ├── 48.png
│ │ │ │ └── 64.png
│ │ └── Setup.aoscservice
│ │ │ ├── ASSetupAssistantCoreService.rpy
│ │ │ ├── ASSetupAssistantView.rpy
│ │ │ ├── ASSetupAssistantViewStyles.rpy
│ │ │ └── Resources
│ │ │ ├── AlicePlatformLicense.txt
│ │ │ ├── Elements
│ │ │ └── Background.png
│ │ │ └── Iconset
│ │ │ ├── 128.png
│ │ │ ├── 16.png
│ │ │ ├── 24.png
│ │ │ ├── 256.png
│ │ │ ├── 32.png
│ │ │ ├── 48.png
│ │ │ └── 64.png
│ ├── Frameworks
│ │ ├── AppKit.aosframework
│ │ │ ├── ASAppRepresentative.rpy
│ │ │ ├── ASPermissionRequest.rpy
│ │ │ ├── ASPermissionRequestStyles.rpy
│ │ │ └── Resources
│ │ │ │ ├── ASPermissionRequestBackground.png
│ │ │ │ └── blankFrame.png
│ │ ├── NotificationKit.aosframework
│ │ │ ├── ASNotificationAlert.rpy
│ │ │ ├── ASNotificationBanner.rpy
│ │ │ ├── ASNotificationExtendedAlert.rpy
│ │ │ ├── ASNotificationStyles.rpy
│ │ │ └── Resources
│ │ │ │ ├── appMissingIcon.png
│ │ │ │ └── bannerBackground.png
│ │ ├── ScreenKit.aosframework
│ │ │ ├── ASInterfaceCheckbox.rpy
│ │ │ ├── ASInterfacePushButton.rpy
│ │ │ ├── ASInterfaceRadio.rpy
│ │ │ ├── ASInterfaceScrollbar.rpy
│ │ │ ├── ASInterfaceStyles.rpy
│ │ │ ├── ASInterfaceTitlebar.rpy
│ │ │ └── Resources
│ │ │ │ ├── Buttons
│ │ │ │ ├── PushButtonHover.png
│ │ │ │ ├── PushButtonIdle.png
│ │ │ │ └── PushButtonInsensitive.png
│ │ │ │ ├── Checkboxes
│ │ │ │ ├── Idle.png
│ │ │ │ └── Selected.png
│ │ │ │ ├── Frames
│ │ │ │ └── FrameChrome.png
│ │ │ │ ├── Radios
│ │ │ │ ├── Idle.png
│ │ │ │ └── Selected.png
│ │ │ │ ├── Scrollbars
│ │ │ │ ├── HorizontalScrollArea.png
│ │ │ │ ├── HorizontalScrollThumb.png
│ │ │ │ ├── ScrollArea.png
│ │ │ │ └── ScrollThumb.png
│ │ │ │ └── WindowControls
│ │ │ │ ├── wcClose_hover.png
│ │ │ │ └── wcClose_idle.png
│ │ └── ServiceKit.aosframework
│ │ │ └── ASCoreServiceRepresentative.rpy
│ └── Library
│ │ ├── Desktop Pictures
│ │ ├── Chuttersnap.png
│ │ └── Prospect Park.png
│ │ ├── Effects
│ │ └── ASDynamicBlur
│ │ │ ├── ASDyanmicBlur.rpy
│ │ │ └── ASDynamicBlurBackground.png
│ │ └── Fonts
│ │ ├── Black.ttf
│ │ ├── Bold.ttf
│ │ ├── Italic.ttf
│ │ ├── Medium.ttf
│ │ ├── Mono.ttf
│ │ ├── Regular.ttf
│ │ └── Thin.ttf
├── gui.rpy
├── gui
│ ├── bar
│ │ ├── bottom.png
│ │ ├── left.png
│ │ ├── right.png
│ │ └── top.png
│ ├── button
│ │ ├── check_foreground.png
│ │ ├── check_selected_foreground.png
│ │ ├── choice_hover_background.png
│ │ ├── choice_idle_background.png
│ │ ├── hover_background.png
│ │ ├── idle_background.png
│ │ ├── quick_hover_background.png
│ │ ├── quick_idle_background.png
│ │ ├── radio_foreground.png
│ │ ├── radio_selected_foreground.png
│ │ ├── slot_hover_background.png
│ │ └── slot_idle_background.png
│ ├── frame.png
│ ├── game_menu.png
│ ├── main_menu.png
│ ├── namebox.png
│ ├── notify.png
│ ├── nvl.png
│ ├── overlay
│ │ ├── confirm.png
│ │ ├── game_menu.png
│ │ └── main_menu.png
│ ├── phone
│ │ ├── nvl.png
│ │ ├── overlay
│ │ │ ├── game_menu.png
│ │ │ └── main_menu.png
│ │ └── textbox.png
│ ├── scrollbar
│ │ ├── horizontal_hover_bar.png
│ │ ├── horizontal_hover_thumb.png
│ │ ├── horizontal_idle_bar.png
│ │ ├── horizontal_idle_thumb.png
│ │ ├── vertical_hover_bar.png
│ │ ├── vertical_hover_thumb.png
│ │ ├── vertical_idle_bar.png
│ │ └── vertical_idle_thumb.png
│ ├── skip.png
│ ├── slider
│ │ ├── horizontal_hover_bar.png
│ │ ├── horizontal_hover_thumb.png
│ │ ├── horizontal_idle_bar.png
│ │ ├── horizontal_idle_thumb.png
│ │ ├── vertical_hover_bar.png
│ │ ├── vertical_hover_thumb.png
│ │ ├── vertical_idle_bar.png
│ │ └── vertical_idle_thumb.png
│ ├── textbox.png
│ └── window_icon.png
├── options.rpy
├── screens.rpy
├── script.rpy
└── tl
│ └── None
│ └── common.rpym
├── mkdocs.yml
├── mkdocs
├── 01-install.md
├── 02-contributing.md
├── Develop-Apps
│ ├── 01-manifest.md
│ ├── 02-sending-notifications.md
│ ├── 03-interface-design.md
│ ├── 04-watching-events.md
│ └── index.md
├── Frameworks
│ ├── AppKit
│ │ ├── 01-ASAppRepresentative.md
│ │ └── index.md
│ ├── NotificationKit
│ │ ├── 01-banner.md
│ │ ├── 02-alerts.md
│ │ └── index.md
│ └── ScreenKit
│ │ ├── 01-a-simple-ui.md
│ │ ├── 02-special-styles.md
│ │ └── index.md
├── Release-Notes
│ ├── 1tp1.md
│ ├── 1tp2.md
│ ├── 2.0.0_db1.md
│ ├── 2.0.0_db2.md
│ ├── 20.0_db3.md
│ └── index.md
├── System
│ ├── 01-definitions.md
│ ├── 02-default-apps.md
│ ├── 03-core-services.md
│ ├── 04-critical-errors.md
│ ├── 05-bootloader.md
│ ├── 06-setup-assistant.md
│ └── 07-inventories.md
├── images
│ ├── apps
│ │ ├── apps-sn-hero.png
│ │ └── apps-ui-hero.png
│ ├── favicon.ico
│ ├── github.png
│ ├── hero.jpg
│ ├── logo.svg
│ ├── logomark.svg
│ ├── nk
│ │ ├── alerts.png
│ │ ├── banner.png
│ │ └── extended_alerts.png
│ ├── system
│ │ ├── app-manager.png
│ │ ├── bootloader.png
│ │ ├── critical-error.png
│ │ ├── cservices
│ │ │ ├── boot.png
│ │ │ ├── desktop.png
│ │ │ ├── halt.png
│ │ │ └── setup.png
│ │ ├── defapps
│ │ │ ├── appman.png
│ │ │ ├── inventories.png
│ │ │ ├── messages.png
│ │ │ └── sysinfo.png
│ │ ├── inventories-hud.png
│ │ ├── inventories.png
│ │ └── setup-assistant.png
│ ├── ui
│ │ └── landing.png
│ └── verify.png
└── index.md
├── project.json
├── repo_assets
├── project_header.png
└── project_header_relname.png
└── scripts
└── inject_version.sh
/.github/CODEOWNERS:
--------------------------------------------------------------------------------
1 | @alicerunsonfedora
2 | @sr229
3 | @ProjectAliceDev/aliceos-team
4 |
--------------------------------------------------------------------------------
/.github/gitpod.yml:
--------------------------------------------------------------------------------
1 | pulls:
2 | perform: true
3 |
4 | issues:
5 | perform: false
6 | labels:
7 | - help wanted
8 |
--------------------------------------------------------------------------------
/.github/verify.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/.github/verify.png
--------------------------------------------------------------------------------
/.github/workflows/build.yml:
--------------------------------------------------------------------------------
1 | name: Build AliceOS Archive
2 | on:
3 | push:
4 | branches:
5 | - '*'
6 | tags-ignore:
7 | - '*'
8 | pull_request:
9 | paths:
10 | - '*'
11 | release:
12 | types: [published]
13 |
14 |
15 | jobs:
16 | build:
17 | name: Ren'Py SDK Build
18 | runs-on: ubuntu-latest
19 | strategy:
20 | matrix:
21 | renpy-versions:
22 | - '7.3.5'
23 | - '6.99.12.4'
24 | steps:
25 | - name: Clone source
26 | uses: actions/checkout@v1
27 | with:
28 | fetch-depth: 50
29 | - name: Add release tag to Build ID
30 | shell: bash
31 | run: |
32 | ./scripts/inject_version.sh
33 | if: github.event.release
34 | env:
35 | tag: ${{ github.ref }}
36 | sdk: ${{ matrix.renpy-versions }}
37 | - name: Add build hash to Build ID
38 | shell: bash
39 | run: |
40 | ./scripts/inject_version.sh
41 | if: contains(github.event_name, 'push')
42 | env:
43 | commit: ${{ github.sha }}
44 | sdk: ${{ matrix.renpy-versions }}
45 | - name: Build AliceOS archive
46 | id: buildseq
47 | uses: ProjectAliceDev/renpy-build-action@v1.1.1
48 | with:
49 | sdk-version: ${{ matrix.renpy-versions }}
50 | project-dir: '.'
51 | env:
52 | SDL_AUDIODRIVER: dummy
53 | SDL_VIDEODRIVER: dummy
54 | - name: Upload artifact to GitHub
55 | uses: actions/upload-artifact@v1
56 | with:
57 | name: ${{ steps.buildseq.outputs.dir }}
58 | path: ${{ format('{0}/{1}-ASBaseSystem.zip', steps.buildseq.outputs.dir, steps.buildseq.outputs.version) }}
59 | - name: Release artifacts to GitHub Release
60 | uses: skx/github-action-publish-binaries@master
61 | if: github.event.release
62 | env:
63 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64 | with:
65 | args: ${{ format('{0}/{1}-ASBaseSystem.zip', steps.buildseq.outputs.dir, steps.buildseq.outputs.version) }}
66 |
--------------------------------------------------------------------------------
/.github/workflows/lint.yml:
--------------------------------------------------------------------------------
1 | name: Lint
2 | on: [push, pull_request]
3 |
4 | jobs:
5 | lint:
6 | name: Lint Project with SDK
7 | runs-on: ubuntu-latest
8 | strategy:
9 | matrix:
10 | renpy-versions:
11 | - '7.3.5'
12 | - '6.99.12.4'
13 | steps:
14 | - name: Clone source
15 | uses: actions/checkout@v1
16 | with:
17 | fetch-depth: 50
18 |
19 | - name: Lint project
20 | uses: ProjectAliceDev/renpy-lint-action@v1.1.0
21 | with:
22 | sdk-version: ${{ matrix.renpy-versions }}
23 | project-dir: '.'
24 | env:
25 | SDL_AUDIODRIVER: dummy
26 | SDL_VIDEODRIVER: dummy
27 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | game/saves/*
2 | game/cache/*
3 | game/**.rpyc
4 | game/**.rpymc
5 | game/script.rpy
6 | game/gui.rpy
7 | game/screens.rpy
8 | game/traceback.txt
9 | game/errors.txt
10 | game/log.txt
11 |
12 | ### Xcode ###
13 | # Xcode
14 | #
15 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
16 |
17 | ## User settings
18 | xcuserdata/
19 |
20 | ## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
21 | *.xcscmblueprint
22 | *.xccheckout
23 |
24 | ## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
25 | build/
26 | DerivedData/
27 | *.moved-aside
28 | *.pbxuser
29 | !default.pbxuser
30 | *.mode1v3
31 | !default.mode1v3
32 | *.mode2v3
33 | !default.mode2v3
34 | *.perspectivev3
35 | !default.perspectivev3
36 |
37 | ## Xcode Patch
38 | *.xcodeproj/*
39 | !*.xcodeproj/project.pbxproj
40 | !*.xcodeproj/xcshareddata/
41 | !*.xcworkspace/contents.xcworkspacedata
42 | /*.gcno
43 |
44 | ### Xcode Patch ###
45 | **/xcshareddata/WorkspaceSettings.xcsettings
46 |
47 | # End of https://www.gitignore.io/api/xcode
48 |
49 | ## IDEA
50 | .idea/*
51 |
--------------------------------------------------------------------------------
/AliceOS.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/AliceOS.xcodeproj/xcshareddata/xcschemes/AliceOS.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
45 |
46 |
48 |
51 |
52 |
58 |
59 |
60 |
61 |
62 |
63 |
66 |
67 |
68 |
74 |
75 |
76 |
77 |
80 |
81 |
82 |
83 |
89 |
90 |
96 |
97 |
98 |
99 |
101 |
102 |
105 |
106 |
107 |
--------------------------------------------------------------------------------
/AliceOS.xcodeproj/xcuserdata/marquiskurt.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
--------------------------------------------------------------------------------
/AliceOS.xcodeproj/xcuserdata/marquiskurt.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | AliceOS.xcscheme_^#shared#^_
8 |
9 | orderHint
10 | 0
11 |
12 |
13 | SuppressBuildableAutocreation
14 |
15 | BF48420822C84EBE00850E05
16 |
17 | primary
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/Config.xcconfig:
--------------------------------------------------------------------------------
1 | //
2 | // Config.xcconfig
3 | // Forgotten
4 | //
5 | // Created by Marquis Kurt on 6/9/19.
6 | // Copyright © 2019 Project Alice. All rights reserved.
7 | //
8 |
9 | // Configuration settings file format documentation can be found at:
10 | // https://help.apple.com/xcode/#/dev745c5c974
11 |
12 | RENPY_TOOL=/Users/marquiskurt/Applications/renpy-6.99.12.4-sdk/renpy.sh
13 | BUILD_ACTION=$(SRCROOT)/game lint
14 | RUN_ACTION=$(SRCROOT)/game
15 | RELEASE_ACTION=/Users/marquiskurt/Applications/renpy-6.99.12.4-sdk/launcher distribute $(SRCROOT)/game
16 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | BSD 2-Clause License
2 |
3 | Copyright (c) 2019, Project Alice.
4 | All rights reserved.
5 |
6 | Redistribution and use in source and binary forms, with or without
7 | modification, are permitted provided that the following conditions are met:
8 |
9 | 1. Redistributions of source code must retain the above copyright notice, this
10 | list of conditions and the following disclaimer.
11 |
12 | 2. Redistributions in binary form must reproduce the above copyright notice,
13 | this list of conditions and the following disclaimer in the documentation
14 | and/or other materials provided with the distribution.
15 |
16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | 
2 |
3 | [](https://github.com/projectalicedev/aliceos/releases)  
4 |
5 | AliceOS is a robust, evolving Ren'Py framework by Project Alice that adds an operating system-like experience to visual novel projects. AliceOS is easy to install, extendable, and is great for adding another layer of interactivity to your games.
6 |
7 | ## Core principles
8 |
9 | The core principles of AliceOS are:
10 |
11 | - **Modular**: AliceOS uses a new framework format, under the `.aosframework` format. These frameworks are placed in the `System/Frameworks` folder and are not heavily reliant on AppKit.aosframework. However, the definitions file that states the default directories and what-not must be included in the System folder (including fonts).
12 | - **Apple-style APIs**: AliceOS's APIs aim to be easy-to-use and familiar to developers that have worked with APIs for macOS, iOS, tvOS, and watchOS.
13 | - **Safely extensible**: AliceOS includes support for extending itself with apps that are protected using appropriate, official APIs.
14 | - **Easy-to-install**: AliceOS installation is as easy as just copying the Ren'Py archive over to the game folder.
15 |
16 | ## Build instructions
17 | To build this project, clone the repository and in Ren'Py Launcher, click "Distribute" and select "AliceOS Base System Distributable". The resulting file will be in a ZIP archive with `AliceOSBaseSystem.rpa`.
18 |
19 | ## Install instructions (to existing projects)
20 | To install AliceOS directly without grabbing the source, download the ZIP archive from the release and copy `AliceOSBaseSystem.rpa` to your `game` folder.
21 |
22 | Additional instructions can be found in the [documentation](https://nextdocs.aliceos.app/01-install/).
23 |
24 | ## Documentation build instructions
25 | To generate the documentation site (requires MkDocs and Material for MkDocs):
26 | ```bash
27 | mkdocs build -d docs
28 | ```
29 |
--------------------------------------------------------------------------------
/docs/.nojekyll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/.nojekyll
--------------------------------------------------------------------------------
/docs/CNAME:
--------------------------------------------------------------------------------
1 | docs.aliceos.app
2 |
--------------------------------------------------------------------------------
/docs/assets/fonts/material-icons.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
3 | * use this file except in compliance with the License. You may obtain a copy
4 | * of the License at:
5 | *
6 | * http://www.apache.org/licenses/LICENSE-2.0
7 | *
8 | * UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, SOFTWARE
9 | * DISTRIBUTED UNDER THE LICENSE IS DISTRIBUTED ON AN "AS IS" BASIS,
10 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 | * SEE THE LICENSE FOR THE SPECIFIC LANGUAGE GOVERNING PERMISSIONS AND
12 | * LIMITATIONS UNDER THE LICENSE.
13 | */@font-face{font-family:"Material Icons";font-style:normal;font-weight:400;src:local("Material Icons"),local("MaterialIcons-Regular"),url("specimen/MaterialIcons-Regular.woff2") format("woff2"),url("specimen/MaterialIcons-Regular.woff") format("woff"),url("specimen/MaterialIcons-Regular.ttf") format("truetype")}
--------------------------------------------------------------------------------
/docs/assets/fonts/specimen/FontAwesome.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/assets/fonts/specimen/FontAwesome.ttf
--------------------------------------------------------------------------------
/docs/assets/fonts/specimen/FontAwesome.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/assets/fonts/specimen/FontAwesome.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/specimen/FontAwesome.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/assets/fonts/specimen/FontAwesome.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/specimen/MaterialIcons-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/assets/fonts/specimen/MaterialIcons-Regular.ttf
--------------------------------------------------------------------------------
/docs/assets/fonts/specimen/MaterialIcons-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/assets/fonts/specimen/MaterialIcons-Regular.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/specimen/MaterialIcons-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/assets/fonts/specimen/MaterialIcons-Regular.woff2
--------------------------------------------------------------------------------
/docs/assets/images/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/assets/images/favicon.png
--------------------------------------------------------------------------------
/docs/assets/images/icons/bitbucket.1b09e088.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/assets/images/icons/github.f0b8504a.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/assets/images/icons/gitlab.6dd19c00.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/assets/javascripts/lunr/lunr.da.js:
--------------------------------------------------------------------------------
1 | !function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var r,m,i;e.da=function(){this.pipeline.reset(),this.pipeline.add(e.da.trimmer,e.da.stopWordFilter,e.da.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.da.stemmer))},e.da.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.da.trimmer=e.trimmerSupport.generateTrimmer(e.da.wordCharacters),e.Pipeline.registerFunction(e.da.trimmer,"trimmer-da"),e.da.stemmer=(r=e.stemmerSupport.Among,m=e.stemmerSupport.SnowballProgram,i=new function(){var i,t,n,s=[new r("hed",-1,1),new r("ethed",0,1),new r("ered",-1,1),new r("e",-1,1),new r("erede",3,1),new r("ende",3,1),new r("erende",5,1),new r("ene",3,1),new r("erne",3,1),new r("ere",3,1),new r("en",-1,1),new r("heden",10,1),new r("eren",10,1),new r("er",-1,1),new r("heder",13,1),new r("erer",13,1),new r("s",-1,2),new r("heds",16,1),new r("es",16,1),new r("endes",18,1),new r("erendes",19,1),new r("enes",18,1),new r("ernes",18,1),new r("eres",18,1),new r("ens",16,1),new r("hedens",24,1),new r("erens",24,1),new r("ers",16,1),new r("ets",16,1),new r("erets",28,1),new r("et",-1,1),new r("eret",30,1)],o=[new r("gd",-1,-1),new r("dt",-1,-1),new r("gt",-1,-1),new r("kt",-1,-1)],a=[new r("ig",-1,1),new r("lig",0,1),new r("elig",1,1),new r("els",-1,1),new r("løst",-1,2)],d=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,48,0,128],u=[239,254,42,3,0,0,0,0,0,0,0,0,0,0,0,0,16],c=new m;function l(){var e,r=c.limit-c.cursor;c.cursor>=t&&(e=c.limit_backward,c.limit_backward=t,c.ket=c.cursor,c.find_among_b(o,4)?(c.bra=c.cursor,c.limit_backward=e,c.cursor=c.limit-r,c.cursor>c.limit_backward&&(c.cursor--,c.bra=c.cursor,c.slice_del())):c.limit_backward=e)}this.setCurrent=function(e){c.setCurrent(e)},this.getCurrent=function(){return c.getCurrent()},this.stem=function(){var e,r=c.cursor;return function(){var e,r=c.cursor+3;if(t=c.limit,0<=r&&r<=c.limit){for(i=r;;){if(e=c.cursor,c.in_grouping(d,97,248)){c.cursor=e;break}if((c.cursor=e)>=c.limit)return;c.cursor++}for(;!c.out_grouping(d,97,248);){if(c.cursor>=c.limit)return;c.cursor++}(t=c.cursor)=t&&(r=c.limit_backward,c.limit_backward=t,c.ket=c.cursor,e=c.find_among_b(s,32),c.limit_backward=r,e))switch(c.bra=c.cursor,e){case 1:c.slice_del();break;case 2:c.in_grouping_b(u,97,229)&&c.slice_del()}}(),c.cursor=c.limit,l(),c.cursor=c.limit,function(){var e,r,i,n=c.limit-c.cursor;if(c.ket=c.cursor,c.eq_s_b(2,"st")&&(c.bra=c.cursor,c.eq_s_b(2,"ig")&&c.slice_del()),c.cursor=c.limit-n,c.cursor>=t&&(r=c.limit_backward,c.limit_backward=t,c.ket=c.cursor,e=c.find_among_b(a,5),c.limit_backward=r,e))switch(c.bra=c.cursor,e){case 1:c.slice_del(),i=c.limit-c.cursor,l(),c.cursor=c.limit-i;break;case 2:c.slice_from("løs")}}(),c.cursor=c.limit,c.cursor>=t&&(e=c.limit_backward,c.limit_backward=t,c.ket=c.cursor,c.out_grouping_b(d,97,248)?(c.bra=c.cursor,n=c.slice_to(n),c.limit_backward=e,c.eq_v_b(n)&&c.slice_del()):c.limit_backward=e),!0}},function(e){return"function"==typeof e.update?e.update(function(e){return i.setCurrent(e),i.stem(),i.getCurrent()}):(i.setCurrent(e),i.stem(),i.getCurrent())}),e.Pipeline.registerFunction(e.da.stemmer,"stemmer-da"),e.da.stopWordFilter=e.generateStopWordFilter("ad af alle alt anden at blev blive bliver da de dem den denne der deres det dette dig din disse dog du efter eller en end er et for fra ham han hans har havde have hende hendes her hos hun hvad hvis hvor i ikke ind jeg jer jo kunne man mange med meget men mig min mine mit mod ned noget nogle nu når og også om op os over på selv sig sin sine sit skal skulle som sådan thi til ud under var vi vil ville vor være været".split(" ")),e.Pipeline.registerFunction(e.da.stopWordFilter,"stopWordFilter-da")}});
--------------------------------------------------------------------------------
/docs/assets/javascripts/lunr/lunr.ja.js:
--------------------------------------------------------------------------------
1 | !function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(m){if(void 0===m)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===m.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var l="2"==m.version[0];m.ja=function(){this.pipeline.reset(),this.pipeline.add(m.ja.trimmer,m.ja.stopWordFilter,m.ja.stemmer),l?this.tokenizer=m.ja.tokenizer:(m.tokenizer&&(m.tokenizer=m.ja.tokenizer),this.tokenizerFn&&(this.tokenizerFn=m.ja.tokenizer))};var j=new m.TinySegmenter;m.ja.tokenizer=function(e){var r,t,i,n,o,s,p,a,u;if(!arguments.length||null==e||null==e)return[];if(Array.isArray(e))return e.map(function(e){return l?new m.Token(e.toLowerCase()):e.toLowerCase()});for(r=(t=e.toString().toLowerCase().replace(/^\s+/,"")).length-1;0<=r;r--)if(/\S/.test(t.charAt(r))){t=t.substring(0,r+1);break}for(o=[],i=t.length,p=a=0;a<=i;a++)if(s=a-p,t.charAt(a).match(/\s/)||a==i){if(0=c.limit)return;c.cursor=e+1}for(;!c.out_grouping(u,97,248);){if(c.cursor>=c.limit)return;c.cursor++}(s=c.cursor)=s&&(r=c.limit_backward,c.limit_backward=s,c.ket=c.cursor,e=c.find_among_b(a,29),c.limit_backward=r,e))switch(c.bra=c.cursor,e){case 1:c.slice_del();break;case 2:n=c.limit-c.cursor,c.in_grouping_b(d,98,122)?c.slice_del():(c.cursor=c.limit-n,c.eq_s_b(1,"k")&&c.out_grouping_b(u,97,248)&&c.slice_del());break;case 3:c.slice_from("er")}}(),c.cursor=c.limit,r=c.limit-c.cursor,c.cursor>=s&&(e=c.limit_backward,c.limit_backward=s,c.ket=c.cursor,c.find_among_b(m,2)?(c.bra=c.cursor,c.limit_backward=e,c.cursor=c.limit-r,c.cursor>c.limit_backward&&(c.cursor--,c.bra=c.cursor,c.slice_del())):c.limit_backward=e),c.cursor=c.limit,c.cursor>=s&&(i=c.limit_backward,c.limit_backward=s,c.ket=c.cursor,(n=c.find_among_b(l,11))?(c.bra=c.cursor,c.limit_backward=i,1==n&&c.slice_del()):c.limit_backward=i),!0}},function(e){return"function"==typeof e.update?e.update(function(e){return i.setCurrent(e),i.stem(),i.getCurrent()}):(i.setCurrent(e),i.stem(),i.getCurrent())}),e.Pipeline.registerFunction(e.no.stemmer,"stemmer-no"),e.no.stopWordFilter=e.generateStopWordFilter("alle at av bare begge ble blei bli blir blitt både båe da de deg dei deim deira deires dem den denne der dere deres det dette di din disse ditt du dykk dykkar då eg ein eit eitt eller elles en enn er et ett etter for fordi fra før ha hadde han hans har hennar henne hennes her hjå ho hoe honom hoss hossen hun hva hvem hver hvilke hvilken hvis hvor hvordan hvorfor i ikke ikkje ikkje ingen ingi inkje inn inni ja jeg kan kom korleis korso kun kunne kva kvar kvarhelst kven kvi kvifor man mange me med medan meg meget mellom men mi min mine mitt mot mykje ned no noe noen noka noko nokon nokor nokre nå når og også om opp oss over på samme seg selv si si sia sidan siden sin sine sitt sjøl skal skulle slik so som som somme somt så sånn til um upp ut uten var vart varte ved vere verte vi vil ville vore vors vort vår være være vært å".split(" ")),e.Pipeline.registerFunction(e.no.stopWordFilter,"stopWordFilter-no")}});
--------------------------------------------------------------------------------
/docs/assets/javascripts/lunr/lunr.stemmer.support.js:
--------------------------------------------------------------------------------
1 | !function(r,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():t()(r.lunr)}(this,function(){return function(r){r.stemmerSupport={Among:function(r,t,i,s){if(this.toCharArray=function(r){for(var t=r.length,i=new Array(t),s=0;s>3]&1<<(7&s))return this.cursor++,!0}return!1},in_grouping_b:function(r,t,i){if(this.cursor>this.limit_backward){var s=b.charCodeAt(this.cursor-1);if(s<=i&&t<=s&&r[(s-=t)>>3]&1<<(7&s))return this.cursor--,!0}return!1},out_grouping:function(r,t,i){if(this.cursor>3]&1<<(7&s)))return this.cursor++,!0}return!1},out_grouping_b:function(r,t,i){if(this.cursor>this.limit_backward){var s=b.charCodeAt(this.cursor-1);if(i>3]&1<<(7&s)))return this.cursor--,!0}return!1},eq_s:function(r,t){if(this.limit-this.cursor>1),a=0,f=u=(l=r[i]).s_size){if(this.cursor=e+l.s_size,!l.method)return l.result;var m=l.method();if(this.cursor=e+l.s_size,m)return l.result}if((i=l.substring_i)<0)return 0}},find_among_b:function(r,t){for(var i=0,s=t,e=this.cursor,n=this.limit_backward,u=0,o=0,h=!1;;){for(var c=i+(s-i>>1),a=0,f=u=(_=r[i]).s_size){if(this.cursor=e-_.s_size,!_.method)return _.result;var m=_.method();if(this.cursor=e-_.s_size,m)return _.result}if((i=_.substring_i)<0)return 0}},replace_s:function(r,t,i){var s=i.length-(t-r);return b=b.substring(0,r)+i+b.substring(t),this.limit+=s,this.cursor>=t?this.cursor+=s:this.cursor>r&&(this.cursor=r),s},slice_check:function(){if(this.bra<0||this.bra>this.ket||this.ket>this.limit||this.limit>b.length)throw"faulty slice operation"},slice_from:function(r){this.slice_check(),this.replace_s(this.bra,this.ket,r)},slice_del:function(){this.slice_from("")},insert:function(r,t,i){var s=this.replace_s(r,t,i);r<=this.bra&&(this.bra+=s),r<=this.ket&&(this.ket+=s)},slice_to:function(){return this.slice_check(),b.substring(this.bra,this.ket)},eq_v_b:function(r){return this.eq_s_b(r.length,r)}}}},r.trimmerSupport={generateTrimmer:function(r){var t=new RegExp("^[^"+r+"]+"),i=new RegExp("[^"+r+"]+$");return function(r){return"function"==typeof r.update?r.update(function(r){return r.replace(t,"").replace(i,"")}):r.replace(t,"").replace(i,"")}}}}});
--------------------------------------------------------------------------------
/docs/assets/javascripts/lunr/lunr.sv.js:
--------------------------------------------------------------------------------
1 | !function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var r,l,n;e.sv=function(){this.pipeline.reset(),this.pipeline.add(e.sv.trimmer,e.sv.stopWordFilter,e.sv.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.sv.stemmer))},e.sv.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.sv.trimmer=e.trimmerSupport.generateTrimmer(e.sv.wordCharacters),e.Pipeline.registerFunction(e.sv.trimmer,"trimmer-sv"),e.sv.stemmer=(r=e.stemmerSupport.Among,l=e.stemmerSupport.SnowballProgram,n=new function(){var n,t,i=[new r("a",-1,1),new r("arna",0,1),new r("erna",0,1),new r("heterna",2,1),new r("orna",0,1),new r("ad",-1,1),new r("e",-1,1),new r("ade",6,1),new r("ande",6,1),new r("arne",6,1),new r("are",6,1),new r("aste",6,1),new r("en",-1,1),new r("anden",12,1),new r("aren",12,1),new r("heten",12,1),new r("ern",-1,1),new r("ar",-1,1),new r("er",-1,1),new r("heter",18,1),new r("or",-1,1),new r("s",-1,2),new r("as",21,1),new r("arnas",22,1),new r("ernas",22,1),new r("ornas",22,1),new r("es",21,1),new r("ades",26,1),new r("andes",26,1),new r("ens",21,1),new r("arens",29,1),new r("hetens",29,1),new r("erns",21,1),new r("at",-1,1),new r("andet",-1,1),new r("het",-1,1),new r("ast",-1,1)],s=[new r("dd",-1,-1),new r("gd",-1,-1),new r("nn",-1,-1),new r("dt",-1,-1),new r("gt",-1,-1),new r("kt",-1,-1),new r("tt",-1,-1)],a=[new r("ig",-1,1),new r("lig",0,1),new r("els",-1,1),new r("fullt",-1,3),new r("löst",-1,2)],o=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,24,0,32],u=[119,127,149],m=new l;this.setCurrent=function(e){m.setCurrent(e)},this.getCurrent=function(){return m.getCurrent()},this.stem=function(){var e,r=m.cursor;return function(){var e,r=m.cursor+3;if(t=m.limit,0<=r||r<=m.limit){for(n=r;;){if(e=m.cursor,m.in_grouping(o,97,246)){m.cursor=e;break}if(m.cursor=e,m.cursor>=m.limit)return;m.cursor++}for(;!m.out_grouping(o,97,246);){if(m.cursor>=m.limit)return;m.cursor++}(t=m.cursor)=t&&(m.limit_backward=t,m.cursor=m.limit,m.ket=m.cursor,e=m.find_among_b(i,37),m.limit_backward=r,e))switch(m.bra=m.cursor,e){case 1:m.slice_del();break;case 2:m.in_grouping_b(u,98,121)&&m.slice_del()}}(),m.cursor=m.limit,e=m.limit_backward,m.cursor>=t&&(m.limit_backward=t,m.cursor=m.limit,m.find_among_b(s,7)&&(m.cursor=m.limit,m.ket=m.cursor,m.cursor>m.limit_backward&&(m.bra=--m.cursor,m.slice_del())),m.limit_backward=e),m.cursor=m.limit,function(){var e,r;if(m.cursor>=t){if(r=m.limit_backward,m.limit_backward=t,m.cursor=m.limit,m.ket=m.cursor,e=m.find_among_b(a,5))switch(m.bra=m.cursor,e){case 1:m.slice_del();break;case 2:m.slice_from("lös");break;case 3:m.slice_from("full")}m.limit_backward=r}}(),!0}},function(e){return"function"==typeof e.update?e.update(function(e){return n.setCurrent(e),n.stem(),n.getCurrent()}):(n.setCurrent(e),n.stem(),n.getCurrent())}),e.Pipeline.registerFunction(e.sv.stemmer,"stemmer-sv"),e.sv.stopWordFilter=e.generateStopWordFilter("alla allt att av blev bli blir blivit de dem den denna deras dess dessa det detta dig din dina ditt du där då efter ej eller en er era ert ett från för ha hade han hans har henne hennes hon honom hur här i icke ingen inom inte jag ju kan kunde man med mellan men mig min mina mitt mot mycket ni nu när någon något några och om oss på samma sedan sig sin sina sitta själv skulle som så sådan sådana sådant till under upp ut utan vad var vara varför varit varje vars vart vem vi vid vilka vilkas vilken vilket vår våra vårt än är åt över".split(" ")),e.Pipeline.registerFunction(e.sv.stopWordFilter,"stopWordFilter-sv")}});
--------------------------------------------------------------------------------
/docs/assets/javascripts/lunr/lunr.th.js:
--------------------------------------------------------------------------------
1 | !function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(t){if(void 0===t)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===t.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var i="2"==t.version[0];t.th=function(){this.pipeline.reset(),this.pipeline.add(t.th.trimmer),i?this.tokenizer=t.th.tokenizer:(t.tokenizer&&(t.tokenizer=t.th.tokenizer),this.tokenizerFn&&(this.tokenizerFn=t.th.tokenizer))},t.th.wordCharacters="[-]",t.th.trimmer=t.trimmerSupport.generateTrimmer(t.th.wordCharacters),t.Pipeline.registerFunction(t.th.trimmer,"trimmer-th");var n=t.wordcut;n.init(),t.th.tokenizer=function(e){if(!arguments.length||null==e||null==e)return[];if(Array.isArray(e))return e.map(function(e){return i?new t.Token(e):e});var r=e.toString().replace(/^\s+/,"");return n.cut(r).split("|")}}});
--------------------------------------------------------------------------------
/docs/images/apps/apps-sn-hero.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/apps/apps-sn-hero.png
--------------------------------------------------------------------------------
/docs/images/apps/apps-ui-hero.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/apps/apps-ui-hero.png
--------------------------------------------------------------------------------
/docs/images/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/favicon.ico
--------------------------------------------------------------------------------
/docs/images/github.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/github.png
--------------------------------------------------------------------------------
/docs/images/hero.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/hero.jpg
--------------------------------------------------------------------------------
/docs/images/logo.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
--------------------------------------------------------------------------------
/docs/images/nk/alerts.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/nk/alerts.png
--------------------------------------------------------------------------------
/docs/images/nk/banner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/nk/banner.png
--------------------------------------------------------------------------------
/docs/images/nk/extended_alerts.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/nk/extended_alerts.png
--------------------------------------------------------------------------------
/docs/images/system/app-manager.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/system/app-manager.png
--------------------------------------------------------------------------------
/docs/images/system/bootloader.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/system/bootloader.png
--------------------------------------------------------------------------------
/docs/images/system/critical-error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/system/critical-error.png
--------------------------------------------------------------------------------
/docs/images/system/cservices/boot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/system/cservices/boot.png
--------------------------------------------------------------------------------
/docs/images/system/cservices/desktop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/system/cservices/desktop.png
--------------------------------------------------------------------------------
/docs/images/system/cservices/halt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/system/cservices/halt.png
--------------------------------------------------------------------------------
/docs/images/system/cservices/setup.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/system/cservices/setup.png
--------------------------------------------------------------------------------
/docs/images/system/defapps/appman.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/system/defapps/appman.png
--------------------------------------------------------------------------------
/docs/images/system/defapps/inventories.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/system/defapps/inventories.png
--------------------------------------------------------------------------------
/docs/images/system/defapps/messages.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/system/defapps/messages.png
--------------------------------------------------------------------------------
/docs/images/system/defapps/sysinfo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/system/defapps/sysinfo.png
--------------------------------------------------------------------------------
/docs/images/system/inventories-hud.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/system/inventories-hud.png
--------------------------------------------------------------------------------
/docs/images/system/inventories.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/system/inventories.png
--------------------------------------------------------------------------------
/docs/images/system/setup-assistant.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/system/setup-assistant.png
--------------------------------------------------------------------------------
/docs/images/ui/landing.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/ui/landing.png
--------------------------------------------------------------------------------
/docs/images/verify.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/images/verify.png
--------------------------------------------------------------------------------
/docs/sitemap.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | None
5 | 2019-12-21
6 | daily
7 |
8 |
9 | None
10 | 2019-12-21
11 | daily
12 |
13 |
14 | None
15 | 2019-12-21
16 | daily
17 |
18 |
19 | None
20 | 2019-12-21
21 | daily
22 |
23 |
24 | None
25 | 2019-12-21
26 | daily
27 |
28 |
29 | None
30 | 2019-12-21
31 | daily
32 |
33 |
34 | None
35 | 2019-12-21
36 | daily
37 |
38 |
39 | None
40 | 2019-12-21
41 | daily
42 |
43 |
44 | None
45 | 2019-12-21
46 | daily
47 |
48 |
49 | None
50 | 2019-12-21
51 | daily
52 |
53 |
54 | None
55 | 2019-12-21
56 | daily
57 |
58 |
59 | None
60 | 2019-12-21
61 | daily
62 |
63 |
64 | None
65 | 2019-12-21
66 | daily
67 |
68 |
69 | None
70 | 2019-12-21
71 | daily
72 |
73 |
74 | None
75 | 2019-12-21
76 | daily
77 |
78 |
79 | None
80 | 2019-12-21
81 | daily
82 |
83 |
84 | None
85 | 2019-12-21
86 | daily
87 |
88 |
89 | None
90 | 2019-12-21
91 | daily
92 |
93 |
94 | None
95 | 2019-12-21
96 | daily
97 |
98 |
99 | None
100 | 2019-12-21
101 | daily
102 |
103 |
104 | None
105 | 2019-12-21
106 | daily
107 |
108 |
109 | None
110 | 2019-12-21
111 | daily
112 |
113 |
114 | None
115 | 2019-12-21
116 | daily
117 |
118 |
119 | None
120 | 2019-12-21
121 | daily
122 |
123 |
124 | None
125 | 2019-12-21
126 | daily
127 |
128 |
129 | None
130 | 2019-12-21
131 | daily
132 |
133 |
134 | None
135 | 2019-12-21
136 | daily
137 |
138 |
139 | None
140 | 2019-12-21
141 | daily
142 |
143 |
144 | None
145 | 2019-12-21
146 | daily
147 |
148 |
--------------------------------------------------------------------------------
/docs/sitemap.xml.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/docs/sitemap.xml.gz
--------------------------------------------------------------------------------
/game/System/ASDefinitions.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASDefinitions.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 6/30/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init -1000:
10 |
11 | # MARK: OS release definitions
12 | # These definitions are used as a means of identifying the current
13 | # version of AliceOS provided with a
14 | define AS_SYS_INFO = {
15 | "VERSION": "2.0.0",
16 | "COMMON_NAME": "Prospect Park",
17 | "BUILD_ID": "GITHASH"
18 | }
19 |
20 | # MARK: OS directory definitions
21 | # Define system-wide directories here. These definitions are used
22 | # to prevent re-typing common directory locations.
23 | define AS_SYSTEM_DIR = "System/"
24 | define AS_FRAMEWORKS_DIR = "System/Frameworks/"
25 | define AS_CORESERVICES_DIR = "System/CoreServices/"
26 | define AS_DEFAULT_APP_DIR = "System/Applications/"
27 | define AS_FONTS_DIR = "System/Library/Fonts/"
28 | define AS_APPS_DIR = "Applications/"
29 | define AS_LIBRARY_DIR = "System/Library/"
30 |
31 | init python:
32 |
33 | # Get the framework directory from the framework name. This function
34 | # is intended to prevent re-typing of framework locations for typical
35 | # AliceOS frameworks.
36 | def AS_FRAMEWORK_DIR(FRAMEWORK_NAME="Default"):
37 | return AS_FRAMEWORKS_DIR + FRAMEWORK_NAME + ".aosframework/"
38 |
39 | # MARK: OS permissions definitions
40 | define AS_REQUIRES_NOTIFICATIONKIT = "REQ_NOTIFICATIONKIT"
41 | define AS_REQUIRES_FULL_DISK_ACCESS = "REQ_FULL_DISK"
42 | define AS_REQUIRES_SYSTEM_EVENTS = "REQ_SYSTEM_EVENTS"
43 |
44 |
45 | # MARK: OS permissions strings
46 | define AS_REQUIRE_NOTIFKIT_NAME = "Send Notifications"
47 | define AS_REQUIRE_NOTIFKIT_DESC = "Notifications may include banners, alerts, and sounds. These can be configured in App Manager."
48 | define AS_REQUIRE_FDA_NAME = "Access Your Files"
49 | define AS_REQUIRE_FDA_DESC = "File access may include your Home directory and your AliceOS installation. This can be configured in App Manager."
50 | define AS_REQUIRE_SYSEV_NAME = "Control AliceOS Settings"
51 | define AS_REQUIRE_SYSEV_DESC = "Settings access may include accessibility settings, system events, and preferences. This can be configured in App Manager."
52 |
53 | # MARK: OS permissions enumerations
54 | define AS_REQUIRE_PERMS_NAME = {
55 | AS_REQUIRES_NOTIFICATIONKIT: AS_REQUIRE_NOTIFKIT_NAME,
56 | AS_REQUIRES_FULL_DISK_ACCESS: AS_REQUIRE_FDA_NAME,
57 | AS_REQUIRES_SYSTEM_EVENTS: AS_REQUIRE_SYSEV_NAME
58 | }
59 |
60 | define AS_REQUIRE_PERMS_DESC = {
61 | AS_REQUIRES_NOTIFICATIONKIT: AS_REQUIRE_NOTIFKIT_DESC,
62 | AS_REQUIRES_FULL_DISK_ACCESS: AS_REQUIRE_FDA_DESC,
63 | AS_REQUIRES_SYSTEM_EVENTS: AS_REQUIRE_SYSEV_DESC
64 | }
65 |
--------------------------------------------------------------------------------
/game/System/ASFonts.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASFonts.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 6/30/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init:
10 | style ASSystemRegularFont is default:
11 | font AS_FONTS_DIR + "Regular.ttf"
12 | outlines []
13 |
14 | style ASSystemBoldFont is default:
15 | font AS_FONTS_DIR + "Bold.ttf"
16 | outlines []
17 |
18 | style ASSystemMediumFont is default:
19 | font AS_FONTS_DIR + "Medium.ttf"
20 | outlines []
21 |
22 | style ASSystemBlackFont is default:
23 | font AS_FONTS_DIR + "Black.ttf"
24 | outlines []
25 |
26 | style ASSystemItalicFont is default:
27 | font AS_FONTS_DIR + "Italic.ttf"
28 | outlines []
29 |
30 | style ASSystemThinFont is default:
31 | font AS_FONTS_DIR + "Thin.ttf"
32 | outlines []
33 |
34 | style ASSystemMonoFont is default:
35 | font AS_FONTS_DIR + "Mono.ttf"
36 | outlines []
37 |
--------------------------------------------------------------------------------
/game/System/Applications/AppManager.aosapp/ASAppManager.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASAppManager.rpy.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 9/9/19
6 | # Copyright © 2019 Marquis Kurt. All rights reserved.
7 | #
8 |
9 | init 10 python:
10 | class ASAppManager(ASAppRepresentative):
11 | bundleName = "App Manager"
12 | bundleId = "app.aliceos.app-manager"
13 | bundleDir = AS_DEFAULT_APP_DIR + "AppManager.aosapp/"
14 | bundleAuthor = "Project Alice"
15 | bundleVersion = "1.0.0"
16 | bundleDescription = """\
17 | View the installed apps on AliceOS in detail and manage their permissions.
18 | """
19 |
20 | requires = { }
21 |
22 | def applicationWillLaunch(self):
23 | renpy.show_screen("ASAppManagerView")
24 | pass
25 |
26 | # Looks for all apps using AppKit and returns a list of them.
27 | def gatherAllApplications(self):
28 | import gc
29 | apps = []
30 | for obj in gc.get_objects():
31 | if isinstance(obj, ASAppRepresentative):
32 | apps.append(obj)
33 | return apps
34 |
35 | def __init__(self):
36 | ASAppRepresentative.__init__(self, AS_DEFAULT_APP_DIR + "AppManager.aosapp/")
37 |
38 | appManager = ASAppManager()
--------------------------------------------------------------------------------
/game/System/Applications/AppManager.aosapp/Resources/ASAppManagerStyles.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASAppManagerStyles.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 9/10/19
6 | # Copyright © 2019 Marquis Kurt. All rights reserved.
7 | #
8 |
9 | style ASAppManager_label is gui_label
10 | style ASAppManager_label_text is ASInterface_text:
11 | font AS_FONTS_DIR + "Bold.ttf"
12 | size 28
13 |
14 | style ASAppManager_AppName_text is ASInterface_text:
15 | font AS_FONTS_DIR + "Bold.ttf"
16 | size 16
17 |
18 | style ASAppManager_text is ASInterface_text:
19 | size 14
20 |
21 | style ASAppManager_button is gui_button:
22 | hover_background "#333333"
23 |
24 | style ASAppManager_DetailedAppName is ASAppManager_label
25 | style ASAppManager_DetailedAppName_text is ASAppManager_label_text:
26 | size 32
27 |
28 | style ASAppManager_DetailedAppAuthor_text is ASAppManager_text:
29 | size 20
30 |
31 | style ASAppManager_DetailedEmphasis_text is ASAppManager_text:
32 | font AS_FONTS_DIR + "Bold.ttf"
33 |
34 | style ASAppManager_viewport is ASInterfaceScrollbar:
35 | xsize 300
36 | yfill True
37 |
--------------------------------------------------------------------------------
/game/System/Applications/AppManager.aosapp/Resources/Iconset/128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/AppManager.aosapp/Resources/Iconset/128.png
--------------------------------------------------------------------------------
/game/System/Applications/AppManager.aosapp/Resources/Iconset/16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/AppManager.aosapp/Resources/Iconset/16.png
--------------------------------------------------------------------------------
/game/System/Applications/AppManager.aosapp/Resources/Iconset/24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/AppManager.aosapp/Resources/Iconset/24.png
--------------------------------------------------------------------------------
/game/System/Applications/AppManager.aosapp/Resources/Iconset/256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/AppManager.aosapp/Resources/Iconset/256.png
--------------------------------------------------------------------------------
/game/System/Applications/AppManager.aosapp/Resources/Iconset/32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/AppManager.aosapp/Resources/Iconset/32.png
--------------------------------------------------------------------------------
/game/System/Applications/AppManager.aosapp/Resources/Iconset/48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/AppManager.aosapp/Resources/Iconset/48.png
--------------------------------------------------------------------------------
/game/System/Applications/AppManager.aosapp/Resources/Iconset/64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/AppManager.aosapp/Resources/Iconset/64.png
--------------------------------------------------------------------------------
/game/System/Applications/Inventories.aosapp/Inventories.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # Inventories.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 9/13/19
6 | # Copyright © 2019 Marquis Kurt. All rights reserved.
7 | #
8 |
9 | init 10 python:
10 |
11 | class ASInventories(ASAppRepresentative):
12 | bundleName = "Inventories"
13 | bundleId = "app.aliceos.inventories"
14 | bundleDir = AS_DEFAULT_APP_DIR + "Inventories.aosapp/"
15 | bundleAuthor = "Project Alice"
16 | bundleVersion = "1.0.0"
17 | bundleDescription = """\
18 | View, use, and manage items you receive in-game with Inventories, a simple app designed for make item inventory systems easy.
19 | """
20 |
21 | requires = { AS_REQUIRES_NOTIFICATIONKIT }
22 |
23 | inventory = []
24 |
25 | def applicationWillLaunch(self):
26 | renpy.show_screen("ASInventoryManagerView")
27 | return
28 |
29 | def callRecentItems(self):
30 | renpy.show_screen("ASInventorySubView")
31 | return
32 |
33 | def isEmpty(self):
34 | return len(self.inventory) == 0
35 |
36 | def retrieve(self):
37 | print "WARN: ASInventories.retrieve is deprecated. Please use ASInventories.export instead."
38 | return self.export()
39 |
40 | def export(self, filter=None):
41 | new_inventory = self.inventory.copy()
42 | if callable(filter):
43 | new_inventory = map(filter, new_inventory)
44 | return new_inventory
45 |
46 | def containsItem(self, item):
47 | return item in self.inventory
48 |
49 | def getItemById(self, itemId):
50 | for item in self.inventory:
51 | if item.itemId == itemId:
52 | return item
53 | return None
54 |
55 | def getItemByName(self, name):
56 | for item in self.inventory:
57 | if item.name == name:
58 | return item
59 | return None
60 |
61 | def addItem(self, item, silent=False):
62 | if isinstance(item, ASInventoryItem):
63 | self.inventory.append(item)
64 | if not silent:
65 | shouldDisplayItem = self.applicationWillRequestNotification("%s received!" % (item.name), "Go to Inventories to learn more.")
66 |
67 | if shouldDisplayItem == "didClickRespond":
68 | renpy.show_screen("ASInventoryManagerView", currentItem=item)
69 | else:
70 | raise TypeError("Expected item to be ASInventoryItem, but received %s" % (type(item)))
71 |
72 | def useItem(self, item):
73 | if item in self.inventory:
74 | shouldDispose = item.useItem()
75 |
76 | if shouldDispose:
77 | self.inventory.remove(item)
78 | else:
79 | raise KeyError("Item not found in the inventory: %s" % (item,) )
80 |
81 | def removeItem(self, item):
82 | if item in self.inventory:
83 | self.inventory.remove(item)
84 | else:
85 | raise KeyError("Item not found in the inventory: %s" % (item,) )
86 |
87 | def importFromList(self, list):
88 |
89 | listAsInventoryChecks = map(lambda x: isinstance(x, ASInventoryItem), list)
90 | isInventoryReal = reduce(lambda x, y: x and y, listAsInventoryChecks)
91 |
92 | if isInventoryReal:
93 | for item in list:
94 | self.inventory.append(item)
95 | else:
96 | raise TypeError("List contains non-ASInventoryItem items.")
97 |
98 |
99 | def __init__(self):
100 | ASAppRepresentative.__init__(self, AS_DEFAULT_APP_DIR + "Inventories.aosapp/")
101 |
102 | inventory = ASInventories()
--------------------------------------------------------------------------------
/game/System/Applications/Inventories.aosapp/Resources/Iconset/1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/Inventories.aosapp/Resources/Iconset/1024.png
--------------------------------------------------------------------------------
/game/System/Applications/Inventories.aosapp/Resources/Iconset/128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/Inventories.aosapp/Resources/Iconset/128.png
--------------------------------------------------------------------------------
/game/System/Applications/Inventories.aosapp/Resources/Iconset/16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/Inventories.aosapp/Resources/Iconset/16.png
--------------------------------------------------------------------------------
/game/System/Applications/Inventories.aosapp/Resources/Iconset/24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/Inventories.aosapp/Resources/Iconset/24.png
--------------------------------------------------------------------------------
/game/System/Applications/Inventories.aosapp/Resources/Iconset/256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/Inventories.aosapp/Resources/Iconset/256.png
--------------------------------------------------------------------------------
/game/System/Applications/Inventories.aosapp/Resources/Iconset/32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/Inventories.aosapp/Resources/Iconset/32.png
--------------------------------------------------------------------------------
/game/System/Applications/Inventories.aosapp/Resources/Iconset/48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/Inventories.aosapp/Resources/Iconset/48.png
--------------------------------------------------------------------------------
/game/System/Applications/Inventories.aosapp/Resources/Iconset/64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/Inventories.aosapp/Resources/Iconset/64.png
--------------------------------------------------------------------------------
/game/System/Applications/Inventories.aosapp/Resources/Item.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/Inventories.aosapp/Resources/Item.png
--------------------------------------------------------------------------------
/game/System/Applications/Inventories.aosapp/Resources/OpenMore.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/Inventories.aosapp/Resources/OpenMore.png
--------------------------------------------------------------------------------
/game/System/Applications/Inventories.aosapp/Structures/ASInventoryItem.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASInventoryItem.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 9/13/19
6 | # Copyright © 2019 Marquis Kurt. All rights reserved.
7 | #
8 |
9 | init 10 python:
10 | class ASInventoryItem(object):
11 |
12 | def __init__(self, itemId=None, name="Item", description="", canBeUsed=True, specialUseCase=None, canBeUsedOnce=False, imageName=ASInventories.bundleDir + "Resources/Item.png"):
13 | self.name = name
14 | self.description = description
15 | self.canBeUsed = canBeUsed
16 | self.canBeUsedOnce = canBeUsedOnce
17 | self.runSpecialUseCase = specialUseCase if callable(specialUseCase) else None
18 | self.imageName = imageName
19 | self.itemId = itemId
20 |
21 | def useItem(self):
22 | if self.canBeUsed:
23 | if self.runSpecialUseCase is not None:
24 | self.runSpecialUseCase()
25 | if self.canBeUsedOnce:
26 | self.canBeUsed = False
27 | return True
28 |
29 | else:
30 | print("WARN: This item cannot be used.")
31 | return False
--------------------------------------------------------------------------------
/game/System/Applications/Inventories.aosapp/Views/ASInventorySubView.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASInventorySubView.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 9/13/19
6 | # Copyright © 2019 Marquis Kurt. All rights reserved.
7 | #
8 |
9 | screen ASInventorySubView():
10 | style_prefix "ASInterface"
11 | zorder 100
12 | modal True
13 |
14 | default top_items = []
15 |
16 | python:
17 | if len(inventory.retrieve()) > 0:
18 | for item in inventory.retrieve():
19 | top_items.append(item)
20 |
21 | if len(top_items) > 4:
22 | top_items = top_items[:5]
23 |
24 |
25 | frame:
26 | xalign 0.5
27 | yalign 0.5
28 | xmaximum 900
29 | ymaximum 180
30 |
31 | hbox:
32 | yfill True
33 | for item in top_items:
34 | button action [Function(inventory.useItem, item), Hide("ASInventorySubView")]:
35 | style "ASInventorySubButton"
36 | has vbox:
37 | yfit True
38 | add item.imageName
39 |
40 | text "[item.name]":
41 | xalign 0.5
42 | button action [Show("ASInventoryManagerView"), Hide("ASInventorySubView")]:
43 | style "ASInventorySubButton"
44 | has vbox:
45 | yfit True
46 | add AS_DEFAULT_APP_DIR + "Inventories.aosapp/Resources/OpenMore.png"
47 |
48 | text "More Items...":
49 | xalign 0.5
50 |
51 | style ASInventorySubButton:
52 | hover_background "#333333"
--------------------------------------------------------------------------------
/game/System/Applications/Messages.aosapp/Messages.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # Messages.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 6/30/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init 10 python:
10 | class ASMessages(ASAppRepresentative):
11 | bundleName = "Messages"
12 | bundleId = "app.aliceos.messages"
13 | bundleDir = AS_DEFAULT_APP_DIR + "Messages.aosapp/"
14 | bundleAuthor = "Project Alice"
15 | bundleVersion = "2.0.0"
16 | bundleDescription = """\
17 | Send and receive messages from your favorite characters in-game.
18 | """
19 |
20 | requires = {
21 | AS_REQUIRES_NOTIFICATIONKIT
22 | }
23 |
24 | def receiveMessage(self, fromPerson, message):
25 | return self.applicationWillRequestNotification(message=fromPerson, withDetails=message)
26 |
27 | def applicationShouldRequestNotification(self):
28 | return True
29 |
30 | def applicationWillLaunch(self):
31 | self.applicationWillRequestBasicAlert("Messages Not Ready", "You'll still be able to receive notifications from characters in-game, but you won't be able to send any.")
32 | return
33 |
34 | def __init__(self):
35 | ASAppRepresentative.__init__(self, AS_DEFAULT_APP_DIR + "Messages.aosapp/")
36 |
37 | messages = ASMessages()
38 |
--------------------------------------------------------------------------------
/game/System/Applications/Messages.aosapp/Resources/Iconset/128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/Messages.aosapp/Resources/Iconset/128.png
--------------------------------------------------------------------------------
/game/System/Applications/Messages.aosapp/Resources/Iconset/16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/Messages.aosapp/Resources/Iconset/16.png
--------------------------------------------------------------------------------
/game/System/Applications/Messages.aosapp/Resources/Iconset/24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/Messages.aosapp/Resources/Iconset/24.png
--------------------------------------------------------------------------------
/game/System/Applications/Messages.aosapp/Resources/Iconset/256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/Messages.aosapp/Resources/Iconset/256.png
--------------------------------------------------------------------------------
/game/System/Applications/Messages.aosapp/Resources/Iconset/32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/Messages.aosapp/Resources/Iconset/32.png
--------------------------------------------------------------------------------
/game/System/Applications/Messages.aosapp/Resources/Iconset/48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/Messages.aosapp/Resources/Iconset/48.png
--------------------------------------------------------------------------------
/game/System/Applications/Messages.aosapp/Resources/Iconset/64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/Messages.aosapp/Resources/Iconset/64.png
--------------------------------------------------------------------------------
/game/System/Applications/SysInfo.aosapp/ASSysInfoApp.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASSysInfoCoreService.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 9/8/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init 5 python:
10 |
11 | class ASSysInfoApp(ASAppRepresentative):
12 | bundleName = "About AliceOS"
13 | bundleId = "app.aliceos.sysinfo"
14 | bundleDir = AS_DEFAULT_APP_DIR + "SysInfo.aosapp/"
15 | bundleAuthor = "Project Alice"
16 | bundleVersion = "1.0.0"
17 | bundleDescription = """\
18 | View System Information about AliceOS.
19 | """
20 |
21 | requires = { }
22 |
23 | def applicationWillLaunch(self):
24 | renpy.show_screen("ASSysInfoView")
25 |
26 | def __init__(self):
27 | ASAppRepresentative.__init__(self, AS_DEFAULT_APP_DIR + "SysInfo.aosapp/")
28 |
29 | ASSysInfo = ASSysInfoApp()
--------------------------------------------------------------------------------
/game/System/Applications/SysInfo.aosapp/ASSysInfoView.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASSysInfoView.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 9/8/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init offset = 10
10 |
11 | screen ASSysInfoView():
12 | style_prefix "ASInterface"
13 | frame:
14 | xmaximum 800
15 |
16 | has vbox:
17 | xalign 0.5
18 | yalign 0.5
19 |
20 | use ASInterfaceTitlebar("About AliceOS", onClose=Hide("ASSysInfoView"))
21 |
22 | hbox:
23 | spacing 32
24 |
25 | add ASSysInfoApp.bundleDir + "Resources/Elements/SystemIcon.png":
26 | size (256, 256)
27 | xoffset 16
28 |
29 | vbox:
30 | text "AliceOS {=ASSysInfoTitle_text_nobold}[AS_SYS_INFO[COMMON_NAME]]{/}":
31 | style "ASSysInfoTitle_text"
32 | text "Version [AS_SYS_INFO[VERSION]] ([AS_SYS_INFO[BUILD_ID]])":
33 | style "ASSysInfoVersion_text"
34 | null height 16
35 | text "{=ASSysInfoProperty_text_bold}Built for Ren'Py{/} [renpy.version_only]":
36 | style "ASSysInfoProperty_text"
37 | null height 24
38 | text "© 2018-2019 Project Alice.\nAliceOS is free and open-source software licensed under the BSD 2-Clause License.":
39 | style "ASSysInfoCopyright_text"
40 | yalign 1.0
--------------------------------------------------------------------------------
/game/System/Applications/SysInfo.aosapp/Resources/ASSysInfoViewStyles.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASSysInfoViewStyles.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 9/8/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | style ASSysInfoTitle_text:
10 | font AS_FONTS_DIR + "Bold.ttf"
11 | size 34
12 |
13 | style ASSysInfoTitle_text_nobold is ASSysInfoTitle_text:
14 | font AS_FONTS_DIR + "Regular.ttf"
15 |
16 | style ASSysInfoVersion_text is ASInterface_text:
17 | size 24
18 |
19 | style ASSysInfoProperty_text:
20 | font AS_FONTS_DIR + "Regular.ttf"
21 | size 17
22 |
23 | style ASSysInfoProperty_text_bold is ASSysInfoProperty_text:
24 | font AS_FONTS_DIR + "Bold.ttf"
25 |
26 | style ASSysInfoCopyright_text:
27 | font AS_FONTS_DIR + "Regular.ttf"
28 | size 14
29 | color "#666666"
--------------------------------------------------------------------------------
/game/System/Applications/SysInfo.aosapp/Resources/Elements/SystemIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/SysInfo.aosapp/Resources/Elements/SystemIcon.png
--------------------------------------------------------------------------------
/game/System/Applications/SysInfo.aosapp/Resources/Iconset/1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/SysInfo.aosapp/Resources/Iconset/1024.png
--------------------------------------------------------------------------------
/game/System/Applications/SysInfo.aosapp/Resources/Iconset/128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/SysInfo.aosapp/Resources/Iconset/128.png
--------------------------------------------------------------------------------
/game/System/Applications/SysInfo.aosapp/Resources/Iconset/16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/SysInfo.aosapp/Resources/Iconset/16.png
--------------------------------------------------------------------------------
/game/System/Applications/SysInfo.aosapp/Resources/Iconset/24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/SysInfo.aosapp/Resources/Iconset/24.png
--------------------------------------------------------------------------------
/game/System/Applications/SysInfo.aosapp/Resources/Iconset/256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/SysInfo.aosapp/Resources/Iconset/256.png
--------------------------------------------------------------------------------
/game/System/Applications/SysInfo.aosapp/Resources/Iconset/32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/SysInfo.aosapp/Resources/Iconset/32.png
--------------------------------------------------------------------------------
/game/System/Applications/SysInfo.aosapp/Resources/Iconset/48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/SysInfo.aosapp/Resources/Iconset/48.png
--------------------------------------------------------------------------------
/game/System/Applications/SysInfo.aosapp/Resources/Iconset/512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/SysInfo.aosapp/Resources/Iconset/512.png
--------------------------------------------------------------------------------
/game/System/Applications/SysInfo.aosapp/Resources/Iconset/64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Applications/SysInfo.aosapp/Resources/Iconset/64.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Boot.aoscservice/ASBootloaderCoreService.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASBootloaderCoreService.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 7/3/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init 5 python:
10 |
11 | from threading import Thread
12 |
13 | class ASBootloaderCoreService(ASCoreServiceRepresentative):
14 | bundleName = "Bootloader"
15 | bundleId = "app.aliceos.core-services.boot"
16 | bundleDir = AS_CORESERVICES_DIR + "Boot.aoscservice/"
17 | bundleAuthor = "Project Alice"
18 | bundleVersion = "1.0.0"
19 | bundleDescription = """\
20 | Show a loading screen for AliceOS.
21 | """
22 |
23 | # Looks for all apps using AppKit and returns a list of them.
24 | def gatherAllApplications(self):
25 | import gc
26 | apps = []
27 | for obj in gc.get_objects():
28 | if isinstance(obj, ASAppRepresentative):
29 | apps.append(obj)
30 | return apps
31 |
32 | def startLoginMethod(self, app):
33 | if app.applicationShouldLaunchAtLogin is not None and app.applicationShouldLaunchAtLogin():
34 | app.applicationWillLaunchAtLogin()
35 | else:
36 | if AS_REQUIRES_SYSTEM_EVENTS in app.requires and not app.applicationShouldLaunchAtLogin():
37 | print("WARN: %s cannot run its login service because it doesn't have permission to do so." % (app.bundleName,))
38 | else:
39 | print("INFO: Skipping %s (%s) login service because it doesn't have one." % (app.bundleName, app.bundleId, ) )
40 |
41 | def boot(self, timeout=5, expressSetup=True, disclaimer=None, bootView="ASBootloaderView"):
42 | if not persistent.AS_COMPLETED_SETUP:
43 | ASSetup.startSetup(express=expressSetup, disclaimer=disclaimer)
44 |
45 | for app in self.gatherAllApplications():
46 | appProcess = Thread(target=self.startLoginMethod, args=(app, ))
47 | appProcess.start()
48 | appProcess.join()
49 |
50 |
51 | renpy.call_screen(bootView, timeout=timeout)
52 |
53 | def __init__(self):
54 | ASCoreServiceRepresentative.__init__(self, AS_CORESERVICES_DIR + "Boot.aoscservice/")
55 |
56 | ASBootloader = ASBootloaderCoreService()
57 |
--------------------------------------------------------------------------------
/game/System/CoreServices/Boot.aoscservice/ASBootloaderView.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASBootloaderView.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 7/3/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | # MARK: ASBootloaderView screen entry point
10 | init screen ASBootloaderView(timeout=5):
11 | tag ASBootloaderView
12 | zorder 100
13 | modal True
14 |
15 | add ASBootloader.bundleDir + "Resources/Elements/PureBlackBoot.png"
16 | add ASBootloader.bundleDir + "Resources/Elements/Background.png"
17 |
18 | frame at ASDynamicBlurTransition:
19 | style "ASDynamicBlurFrame"
20 |
21 | vbox:
22 | xalign 0.5
23 | yalign 0.5
24 | spacing 32
25 |
26 | add ASBootloader.bundleDir + "Resources/Elements/BootLogo.png"
27 |
28 | timer timeout action Return('didBoot')
--------------------------------------------------------------------------------
/game/System/CoreServices/Boot.aoscservice/Resources/Elements/Background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Boot.aoscservice/Resources/Elements/Background.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Boot.aoscservice/Resources/Elements/BootLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Boot.aoscservice/Resources/Elements/BootLogo.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Boot.aoscservice/Resources/Elements/PureBlackBoot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Boot.aoscservice/Resources/Elements/PureBlackBoot.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Boot.aoscservice/Resources/Iconset/128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Boot.aoscservice/Resources/Iconset/128.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Boot.aoscservice/Resources/Iconset/16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Boot.aoscservice/Resources/Iconset/16.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Boot.aoscservice/Resources/Iconset/24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Boot.aoscservice/Resources/Iconset/24.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Boot.aoscservice/Resources/Iconset/256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Boot.aoscservice/Resources/Iconset/256.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Boot.aoscservice/Resources/Iconset/32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Boot.aoscservice/Resources/Iconset/32.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Boot.aoscservice/Resources/Iconset/48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Boot.aoscservice/Resources/Iconset/48.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Boot.aoscservice/Resources/Iconset/64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Boot.aoscservice/Resources/Iconset/64.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Desktop.aoscservice/ASDesktopCoreService.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASDesktopCoreService.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 7/3/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init 5 python:
10 |
11 | class ASDesktopCoreService(ASCoreServiceRepresentative):
12 | bundleName = "Desktop"
13 | bundleId = "app.aliceos.core-services.desktop"
14 | bundleDir = AS_CORESERVICES_DIR + "Desktop.aoscservice/"
15 | bundleAuthor = "Project Alice"
16 | bundleVersion = "1.0.0"
17 | bundleDescription = """\
18 | Desktop provides quick access to applications in AliceOS.
19 | """
20 |
21 | # Looks for all apps using AppKit and returns a list of them.
22 | def gatherAllApplications(self):
23 | import gc
24 | apps = []
25 | for obj in gc.get_objects():
26 | if isinstance(obj, ASAppRepresentative):
27 | apps.append(obj)
28 | return apps
29 |
30 | def gatherCurrentTime(self):
31 | from time import gmtime, strftime
32 | return strftime("%a. %I:%M %p")
33 |
34 | def _callDesktop(self):
35 | renpy.call_screen("ASDesktopShellView")
36 |
37 | def showDesktop(self):
38 | renpy.show_screen("ASDesktopShellView")
39 |
40 | def showTopBar(self):
41 | renpy.call_screen("ASDesktopTopBar")
42 |
43 | def __init__(self):
44 | ASCoreServiceRepresentative.__init__(self, AS_CORESERVICES_DIR + "Desktop.aoscservice/")
45 |
46 | ASDesktop = ASDesktopCoreService()
47 |
--------------------------------------------------------------------------------
/game/System/CoreServices/Desktop.aoscservice/ASDesktopDefinitions.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASDesktopDefinitions.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 7/3/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | define AS_DESKTOP_IMG = AS_LIBRARY_DIR + "Desktop Pictures/Prospect Park.png"
10 |
--------------------------------------------------------------------------------
/game/System/CoreServices/Desktop.aoscservice/Resources/Elements/ExitToApp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Desktop.aoscservice/Resources/Elements/ExitToApp.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Desktop.aoscservice/Resources/Elements/ExitToApp@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Desktop.aoscservice/Resources/Elements/ExitToApp@2x.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Desktop.aoscservice/Resources/Elements/ExitToAppHover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Desktop.aoscservice/Resources/Elements/ExitToAppHover.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Desktop.aoscservice/Resources/Elements/LaunchpadBlur.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Desktop.aoscservice/Resources/Elements/LaunchpadBlur.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Desktop.aoscservice/Resources/Elements/TopBar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Desktop.aoscservice/Resources/Elements/TopBar.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Desktop.aoscservice/Resources/Iconset/128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Desktop.aoscservice/Resources/Iconset/128.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Desktop.aoscservice/Resources/Iconset/16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Desktop.aoscservice/Resources/Iconset/16.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Desktop.aoscservice/Resources/Iconset/24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Desktop.aoscservice/Resources/Iconset/24.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Desktop.aoscservice/Resources/Iconset/256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Desktop.aoscservice/Resources/Iconset/256.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Desktop.aoscservice/Resources/Iconset/32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Desktop.aoscservice/Resources/Iconset/32.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Desktop.aoscservice/Resources/Iconset/48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Desktop.aoscservice/Resources/Iconset/48.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Desktop.aoscservice/Resources/Iconset/64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Desktop.aoscservice/Resources/Iconset/64.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Desktop.aoscservice/Styles/ASDesktopLaunchpadViewStyles.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASDesktopLaunchpadViewStyles.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 7/3/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init -1:
10 | style ASDesktopLaunchpadViewCenteredText is ASSystemBoldFont:
11 | size 22
12 | color "#ffffff"
13 |
14 | style ASDesktopLaunchpadViewAppText is ASSystemMediumFont:
15 | size 14
16 | color "#ffffff"
17 | hover_color "#ffcc22"
18 |
--------------------------------------------------------------------------------
/game/System/CoreServices/Desktop.aoscservice/Styles/ASDesktopTopBarStyles.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASDesktopTopBarStyles.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 7/3/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init -1:
10 |
11 | style ASDesktopTopBarButton is gui_button
12 |
13 | style ASDesktopTopBarButton_text is ASSystemBoldFont:
14 | color "#ffffff"
15 | hover_color "#ffcc22"
16 | size 16
17 | yalign 0.0
18 |
19 | style ASDesktopTopBarStaticText is ASSystemBoldFont:
20 | color "#ffffff"
21 | size 16
22 |
23 |
--------------------------------------------------------------------------------
/game/System/CoreServices/Desktop.aoscservice/Views/ASDesktopLaunchpadView.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASDesktopLaunchpadView.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 7/3/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init screen ASDesktopLaunchpadView():
10 | tag ASDesktopLaunchpadView
11 | modal False
12 |
13 | add ASDesktop.bundleDir + "Resources/Elements/LaunchpadBlur.png"
14 |
15 | use ASDesktopTopBar
16 |
17 | $ appsForLauncher = ASDesktop.gatherAllApplications()
18 |
19 | vbox:
20 | yalign 0.45
21 | xalign 0.5
22 |
23 | if appsForLauncher == []:
24 | text _("No apps installed."):
25 | style "ASDesktopLaunchpadViewCenteredText"
26 | else:
27 | grid len(appsForLauncher) 1:
28 | for i in range(len(appsForLauncher) * 1):
29 | $ slot = i + 1
30 |
31 | button action [Hide("ASDesktopLaunchpadView"), Function(appsForLauncher[i].applicationWillLaunch)]:
32 | maximum (128, 144)
33 | sensitive True
34 |
35 | has vbox:
36 | xalign 0.5
37 | yalign 0.0
38 |
39 | if appsForLauncher[i] == None:
40 | pass
41 | else:
42 | add appsForLauncher[i].icons[128] xalign 0.5
43 | text _(appsForLauncher[i].bundleName):
44 | style "ASDesktopLaunchpadViewAppText"
45 | xalign 0.5
46 |
--------------------------------------------------------------------------------
/game/System/CoreServices/Desktop.aoscservice/Views/ASDesktopShellView.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASDesktopShellView.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 7/3/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init screen ASDesktopShellView():
10 | tag ASDesktopShellView
11 | modal False
12 | add AS_DESKTOP_IMG
13 | use ASDesktopTopBar
14 |
--------------------------------------------------------------------------------
/game/System/CoreServices/Desktop.aoscservice/Views/ASDesktopTopBar.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASDesktopTopBar.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 7/3/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init screen ASDesktopTopBar():
10 | tag ASDesktopTopBar
11 | zorder 500
12 | modal False
13 |
14 | add ASDesktop.bundleDir + "Resources/Elements/TopBar.png"
15 |
16 | vbox:
17 | xfill True
18 | ysize 48
19 |
20 | hbox:
21 | xfill True
22 | yfill True
23 |
24 | if renpy.get_screen("ASDesktopLaunchpadView"):
25 | textbutton _("Activities") action Hide("ASDesktopLaunchpadView"):
26 | style "ASDesktopTopBarButton"
27 | xalign 0.025
28 | yalign 0.5
29 |
30 | else:
31 | textbutton _("Activities") action Show("ASDesktopLaunchpadView"):
32 | style "ASDesktopTopBarButton"
33 | xalign 0.025
34 | yalign 0.5
35 |
36 | hbox:
37 | xalign 0.955
38 | yalign 0.4
39 |
40 | $ store.currentDesktopTime = ASDesktop.gatherCurrentTime()
41 |
42 | text store.currentDesktopTime:
43 | style "ASDesktopTopBarStaticText"
44 |
45 | null width 8
46 |
47 | imagebutton:
48 | idle ASDesktop.bundleDir + "Resources/Elements/ExitToApp.png"
49 | hover ASDesktop.bundleDir + "Resources/Elements/ExitToAppHover.png"
50 | action [Hide("ASDesktopLaunchpadView"), Return('didExitShell')]
51 | xysize (20, 20)
52 |
53 | timer 1 action SetVariable("store.currentDesktopTime", ASDesktop.gatherCurrentTime()) repeat True
54 |
--------------------------------------------------------------------------------
/game/System/CoreServices/Halt.aoscservice/ASHaltCoreService.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASHaltCoreService.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 7/3/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init 5 python:
10 |
11 | class ASHaltCoreService(ASCoreServiceRepresentative):
12 | bundleName = "Error Halt System"
13 | bundleId = "app.aliceos.core-services.halt"
14 | bundleDir = AS_CORESERVICES_DIR + "Halt.aoscservice/"
15 | bundleAuthor = "Project Alice"
16 | bundleVersion = "1.0.0"
17 | bundleDescription = """\
18 | Safely catch system-level errors and restart AliceOS.
19 | """
20 |
21 | def halt(self, code=""):
22 | renpy.call_screen("ASHaltMessage", error=code)
23 | renpy.utter_restart()
24 |
25 | def __init__(self):
26 | ASCoreServiceRepresentative.__init__(self, AS_CORESERVICES_DIR + "Halt.aoscservice/")
27 |
28 | ASHalt = ASHaltCoreService()
29 |
--------------------------------------------------------------------------------
/game/System/CoreServices/Halt.aoscservice/ASHaltMessage.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASHaltMessage.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 7/3/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init screen ASHaltMessage(error=""):
10 | tag ASHaltMessage
11 | zorder 500
12 | modal True
13 |
14 | on "show":
15 | action [
16 | Function(SetThumbnailFull),
17 | FileTakeScreenshot(),
18 | Function(SetThumbnailOriginal)
19 | ]
20 |
21 | add FileCurrentScreenshot()
22 |
23 | frame at ASDynamicBlurTransition:
24 | style "ASDynamicBlurFrame"
25 | xfill True
26 | yfill True
27 |
28 | vbox:
29 | xalign 0.5
30 | yalign 0.5
31 | xsize 700
32 |
33 | add ASHalt.bundleDir + "Resources/Elements/HaltSymbol.png":
34 | xalign 0.5
35 |
36 | null height 8
37 |
38 | vbox:
39 | xfill True
40 | spacing 10
41 |
42 | text "AliceOS needs to restart because a critical error has occured.":
43 | style "ASHaltMessageTitle"
44 | xalign 0.5
45 | text "You can search the Error Database for more information by going to https://errordb.aliceos.app or by scanning the QR code below. The system will automatically restart in 10 seconds.":
46 | style "ASHaltMessageDetails"
47 | xalign 0.5
48 |
49 | null height 32
50 |
51 | add ASHalt.bundleDir + "Resources/Elements/QRCode.png":
52 | xalign 0.5
53 |
54 | null height 16
55 |
56 | text error:
57 | style "ASHaltMessageCode"
58 | xalign 0.5
59 |
60 | timer 10.0 action Return()
61 |
--------------------------------------------------------------------------------
/game/System/CoreServices/Halt.aoscservice/ASHaltMessageStyles.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASHaltMessageStyles.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 7/3/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init:
10 | style ASHaltMessageTitle is ASSystemBoldFont:
11 | size 24
12 | color "#ffffff"
13 | text_align 0.5
14 |
15 | style ASHaltMessageDetails is ASSystemRegularFont:
16 | size 18
17 | color "#ffffff"
18 | text_align 0.5
19 |
20 | style ASHaltMessageCode is ASSystemMonoFont:
21 | size 16
22 | color "#ffffff"
23 |
--------------------------------------------------------------------------------
/game/System/CoreServices/Halt.aoscservice/Resources/Elements/HaltSymbol.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Halt.aoscservice/Resources/Elements/HaltSymbol.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Halt.aoscservice/Resources/Elements/QRCode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Halt.aoscservice/Resources/Elements/QRCode.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Halt.aoscservice/Resources/Iconset/128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Halt.aoscservice/Resources/Iconset/128.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Halt.aoscservice/Resources/Iconset/16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Halt.aoscservice/Resources/Iconset/16.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Halt.aoscservice/Resources/Iconset/24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Halt.aoscservice/Resources/Iconset/24.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Halt.aoscservice/Resources/Iconset/256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Halt.aoscservice/Resources/Iconset/256.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Halt.aoscservice/Resources/Iconset/32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Halt.aoscservice/Resources/Iconset/32.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Halt.aoscservice/Resources/Iconset/48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Halt.aoscservice/Resources/Iconset/48.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Halt.aoscservice/Resources/Iconset/64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Halt.aoscservice/Resources/Iconset/64.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Setup.aoscservice/ASSetupAssistantCoreService.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASSetupAssistantCoreService.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 7/3/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init 5 python:
10 |
11 | class ASSetupAssistantCoreService(ASCoreServiceRepresentative):
12 | bundleName = "Setup Assistant"
13 | bundleId = "app.aliceos.core-services.setup-assitant"
14 | bundleDir = AS_CORESERVICES_DIR + "Setup.aoscservice/"
15 | bundleAuthor = "Project Alice"
16 | bundleVersion = "1.0.0"
17 | bundleDescription = """\
18 | Quickly set up AliceOS for configuration.
19 | """
20 |
21 | def getFromElements(self, filename):
22 | return self.bundleDir + "Resources/Elements/" + filename
23 |
24 | def runStep(self, title, instruction, typeInput=False, complete=False):
25 | return renpy.call_screen("ASSetupAssistantView", title=title, instructions=instruction, useInputMethod=typeInput, completed=complete)
26 |
27 | def startSetup(self, express=True, disclaimer=None):
28 | persistent.AS_COMPLETED_SETUP = False
29 | if not express:
30 | self.runStep("Welcome to AliceOS", "Welcome to the Setup Assistant for AliceOS. This assistant will help set up crucial parts of AliceOS such as your username and taking care of any legal agreements.\n\nTo continue with the assistant, press Next.")
31 | self.runStep("Know Your Rights", "AliceOS is free and open-source software, licensed under the BSD license. This license allows you and the game creator to modify AliceOS to however you like and need without needing to seek permission.\n\nA version of the BSD license should have been included in the AliceOS package; if unavailable, visit {b}https://opensource.org/licenses/BSD-2-Clause{/b} and contact the game's developer to include the license.")
32 | if disclaimer != None:
33 | self.runStep("Game Licensing Agreement", "Your game provider has requested that you read the following information and agree to any terms.\n\n" + disclaimer)
34 | persistent.playername = self.runStep("Create Your Username", "Type in a username that you want to use while using AliceOS. This name will also appear as your character name if applicable.", typeInput=True)
35 | if not express:
36 | self.runStep("Setup Complete", "The Setup Assistant has completed all of the necessary setup tasks and AliceOS is ready for use.\n\nMore information about what AliceOS is, notes for this release, and what you can do with it can be found at {b}https://aliceos.app{/b}.\n\nThank you for choosing AliceOS. To exit the Setup Assistant, press Finish.", complete=True)
37 | persistent.AS_COMPLETED_SETUP = True
38 | return persistent.playername
39 |
40 | def __init__(self):
41 | ASCoreServiceRepresentative.__init__(self, AS_CORESERVICES_DIR + "Setup.aoscservice/")
42 |
43 | ASSetup = ASSetupAssistantCoreService()
44 |
--------------------------------------------------------------------------------
/game/System/CoreServices/Setup.aoscservice/ASSetupAssistantView.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASSetupAssistantView.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 7/4/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | # MARK: ASSetupAssistantView screen entry point
10 | init screen ASSetupAssistantView(title="Setup Assistant", instructions="", useInputMethod=False, completed=False):
11 | tag ASSetupAssistantView
12 | zorder 100
13 | modal True
14 | style_prefix "ASInterface"
15 |
16 | add ASSetup.getFromElements("Background.png")
17 |
18 | frame:
19 | style "ASSetupAssistantViewFrame"
20 | xalign 0.5
21 | yalign 0.5
22 | ysize 625
23 | xsize 825
24 | padding (64, 48)
25 |
26 |
27 | has vbox:
28 | xalign 0.5
29 | xfill True
30 | yfill True
31 | vbox:
32 | xfill True
33 | yfit True
34 | spacing 16
35 | hbox:
36 | xalign 0.5
37 | spacing 8
38 | text title:
39 | style "ASSetupAssistantViewTitle"
40 | xalign 0.5
41 |
42 | viewport:
43 | style_prefix "ASInterfaceScrollbar"
44 | mousewheel True
45 | scrollbars "vertical"
46 | ymaximum 400
47 | xfill True
48 |
49 | text instructions:
50 | style "ASSetupAssistantViewDetail"
51 | xalign 0.5
52 |
53 | if useInputMethod:
54 | input:
55 | style "ASSetupAssistantViewInput"
56 | xalign 0.5
57 | else:
58 | python:
59 | button_text = "Finish" if completed else "Next"
60 |
61 | textbutton "[button_text]" action Return('didCompleteStep'):
62 | style "ASInterfacePushButton"
63 | xalign 0.5
64 | yalign 0.85
65 | xpadding 64
66 |
67 | if useInputMethod:
68 | null height 16
69 | text "To continue, press Return or Enter.":
70 | style "ASSetupAssistantViewSmallerDetail"
71 | xalign 0.5
72 | yalign 0.75
73 |
--------------------------------------------------------------------------------
/game/System/CoreServices/Setup.aoscservice/ASSetupAssistantViewStyles.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASSetupAssistantViewStyles.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 7/3/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init:
10 | style ASSetupAssistantViewFrame is ASInterface_frame:
11 | xalign 0.5
12 | yalign 0.5
13 |
14 | style ASSetupAssistantViewTitle is ASInterface_label_text:
15 | font AS_FONTS_DIR + "Bold.ttf"
16 | size 28
17 | color "#ffffff"
18 |
19 | style ASSetupAssistantViewDetail is ASInterface_text:
20 | size 18
21 | color "#ffffff"
22 |
23 | style ASSetupAssistantViewSmallerDetail is ASInterface_text:
24 | size 10
25 | color "#999999"
26 |
27 | style ASSetupAssistantViewInput is ASInterface_text:
28 | size 20
29 | color "#ffffff"
30 |
--------------------------------------------------------------------------------
/game/System/CoreServices/Setup.aoscservice/Resources/AlicePlatformLicense.txt:
--------------------------------------------------------------------------------
1 | BSD 2-Clause License
2 |
3 | Copyright (c) 2019, Project Alice.
4 | All rights reserved.
5 |
6 | Redistribution and use in source and binary forms, with or without
7 | modification, are permitted provided that the following conditions are met:
8 |
9 | 1. Redistributions of source code must retain the above copyright notice, this
10 | list of conditions and the following disclaimer.
11 |
12 | 2. Redistributions in binary form must reproduce the above copyright notice,
13 | this list of conditions and the following disclaimer in the documentation
14 | and/or other materials provided with the distribution.
15 |
16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 |
--------------------------------------------------------------------------------
/game/System/CoreServices/Setup.aoscservice/Resources/Elements/Background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Setup.aoscservice/Resources/Elements/Background.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Setup.aoscservice/Resources/Iconset/128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Setup.aoscservice/Resources/Iconset/128.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Setup.aoscservice/Resources/Iconset/16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Setup.aoscservice/Resources/Iconset/16.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Setup.aoscservice/Resources/Iconset/24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Setup.aoscservice/Resources/Iconset/24.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Setup.aoscservice/Resources/Iconset/256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Setup.aoscservice/Resources/Iconset/256.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Setup.aoscservice/Resources/Iconset/32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Setup.aoscservice/Resources/Iconset/32.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Setup.aoscservice/Resources/Iconset/48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Setup.aoscservice/Resources/Iconset/48.png
--------------------------------------------------------------------------------
/game/System/CoreServices/Setup.aoscservice/Resources/Iconset/64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/CoreServices/Setup.aoscservice/Resources/Iconset/64.png
--------------------------------------------------------------------------------
/game/System/Frameworks/AppKit.aosframework/ASPermissionRequest.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASPermissionRequest.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 6/30/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init screen ASPermissionRequest(bundleName="AS_APP_BUNDLE", requestingFor, onDeclineRequest=Return(1), onAcceptRequest=Return(0)):
10 | tag ASPermissionRequest
11 | style_prefix "ASPermissionRequest"
12 | zorder 100
13 | modal True
14 |
15 | on "show":
16 | action [
17 | Function(SetThumbnailFull),
18 | FileTakeScreenshot(),
19 | Function(SetThumbnailOriginal)
20 | ]
21 |
22 | add FileCurrentScreenshot() at blur
23 |
24 | frame at ASDynamicBlurTransition:
25 | style "ASDynamicBlurFrame"
26 | xalign 0.5
27 | yalign 0.5
28 | xfill True
29 | yfill True
30 |
31 | has vbox:
32 | xalign 0.5
33 | yalign 0.5
34 | xsize 656
35 | spacing 16
36 |
37 | text bundleName + " Would Like To " + AS_REQUIRE_PERMS_NAME[requestingFor]:
38 | style "ASPermissionRequestTitle"
39 | text AS_REQUIRE_PERMS_DESC[requestingFor]:
40 | style "ASPermissionRequestDetail"
41 |
42 | hbox:
43 | xalign 0.5
44 | spacing 100
45 |
46 | textbutton _("Don't Allow") action onDeclineRequest:
47 | style "ASPermissionRequestDeclinedButton"
48 | textbutton _("Allow") action onAcceptRequest:
49 | style "ASPermissionRequestAcceptButton"
50 |
51 |
52 |
--------------------------------------------------------------------------------
/game/System/Frameworks/AppKit.aosframework/ASPermissionRequestStyles.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASPermissionRequestStyles.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 6/30/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init -1:
10 |
11 | # MARK: Permission Request Styles
12 | style ASPermissionRequestFrame:
13 | background Frame([AS_FRAMEWORK_DIR("AppKit") + "Resources/blankFrame.png"], gui.confirm_frame_borders, tile=gui.frame_tile)
14 | xalign 0.5
15 | yalign 0.5
16 |
17 | style ASPermissionRequestTitle is ASSystemBoldFont:
18 | color "#fff"
19 | size 28
20 | text_align 0.5
21 | xalign 0.5
22 |
23 | style ASPermissionRequestDetail is ASSystemRegularFont:
24 | color "#fff"
25 | size 20
26 | text_align 0.5
27 | xalign 0.5
28 |
29 | style ASPermissionRequestDeclinedButton is gui_button
30 |
31 | style ASPermissionRequestDeclinedButton_text is ASSystemBoldFont:
32 | color "#fff"
33 | size 24
34 | xalign 0.5
35 |
36 | style ASPermissionRequestAcceptButton is gui_button
37 |
38 | style ASPermissionRequestAcceptButton_text is ASSystemRegularFont:
39 | color "#fff"
40 | size 24
41 | xalign 0.5
42 |
--------------------------------------------------------------------------------
/game/System/Frameworks/AppKit.aosframework/Resources/ASPermissionRequestBackground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Frameworks/AppKit.aosframework/Resources/ASPermissionRequestBackground.png
--------------------------------------------------------------------------------
/game/System/Frameworks/AppKit.aosframework/Resources/blankFrame.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Frameworks/AppKit.aosframework/Resources/blankFrame.png
--------------------------------------------------------------------------------
/game/System/Frameworks/NotificationKit.aosframework/ASNotificationAlert.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASNotificationAlert.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 7/3/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | # MARK: ASNotificationAlert screen entry point
10 | init screen ASNotificationAlert(message, withDetails, onDismissCallback=Return('didDismissAlert')):
11 | tag ASNotificationAlert
12 | zorder 200
13 | modal True
14 |
15 | on "show":
16 | action [
17 | Function(SetThumbnailFull),
18 | FileTakeScreenshot(),
19 | Function(SetThumbnailOriginal)
20 | ]
21 |
22 | add FileCurrentScreenshot() at blur
23 |
24 | frame at ASDynamicBlurTransition:
25 | style "ASDynamicBlurFrame"
26 | xalign 0.5
27 | yalign 0.5
28 | xfill True
29 | yfill True
30 |
31 | has vbox:
32 | xalign 0.5
33 | yalign 0.5
34 | xsize 656
35 | spacing 16
36 |
37 | text message:
38 | style "ASNotificationAlertTitle"
39 | text withDetails:
40 | style "ASNotificationAlertDetail"
41 |
42 | hbox:
43 | xalign 0.5
44 | spacing 100
45 |
46 | textbutton _("OK") action onDismissCallback:
47 | style "ASNotificationAlertAcceptButton"
48 |
--------------------------------------------------------------------------------
/game/System/Frameworks/NotificationKit.aosframework/ASNotificationBanner.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASNotificationBanner.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 6/30/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init screen ASNotificationBanner(applet=None, message, withDetails, responseCallback=Return('didClickRespond')):
10 | tag ASNotificationBanner
11 | zorder 100
12 | style_prefix "ASNotificationBanner"
13 |
14 | timer 5.0 action Return('notificationTimedOut')
15 |
16 | frame at ASNotificationBannerTransition:
17 | style "ASNotificationBannerFrame"
18 | xpadding 24
19 | ypadding 16
20 | xalign 0.5
21 | yalign 0.025
22 | xsize 676
23 |
24 | vbox:
25 | hbox:
26 | xsize 628
27 |
28 | if not applet:
29 | hbox:
30 | add AS_FRAMEWORK_DIR("NotificationKit") + "Resources/appMissingIcon.png"
31 | text "Unknown Bundle":
32 | style "ASNotificationBannerSource"
33 | else:
34 | hbox:
35 | add applet.icons[24]
36 | text applet.bundleName:
37 | style "ASNotificationBannerSource"
38 |
39 | textbutton _("Respond") action responseCallback:
40 | style "ASNotificationBannerButton"
41 | xalign 1.0
42 | null height 2
43 | text message:
44 | style "ASNotificationBannerTitle"
45 | text withDetails:
46 | style "ASNotificationBannerDetail"
47 |
48 |
--------------------------------------------------------------------------------
/game/System/Frameworks/NotificationKit.aosframework/ASNotificationExtendedAlert.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASNotificationExtendedAlert.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 7/3/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | # MARK: ASNotificationExtendedAlert screen entry point
10 | init screen ASNotificationExtendedAlert(message, withDetails, primaryActionText, onPrimaryCallback=Return('didClickPrimary'), secondaryActionText=None, onSecondaryCallback=Return('didClickSecondary')):
11 | tag ASNotificationExtendedAlert
12 | zorder 200
13 | modal True
14 |
15 | on "show":
16 | action [
17 | Function(SetThumbnailFull),
18 | FileTakeScreenshot(),
19 | Function(SetThumbnailOriginal)
20 | ]
21 |
22 | add FileCurrentScreenshot() at blur
23 |
24 | frame at ASDynamicBlurTransition:
25 | style "ASDynamicBlurFrame"
26 | xalign 0.5
27 | yalign 0.5
28 | xfill True
29 | yfill True
30 |
31 | has vbox:
32 | xalign 0.5
33 | yalign 0.5
34 | xsize 656
35 | spacing 16
36 |
37 | text message:
38 | style "ASNotificationAlertTitle"
39 | text withDetails:
40 | style "ASNotificationAlertDetail"
41 |
42 | hbox:
43 | xalign 0.5
44 | spacing 100
45 |
46 | if secondaryActionText != None and onSecondaryCallback != None:
47 | textbutton secondaryActionText action onSecondaryCallback:
48 | style "ASNotificationAlertDeclinedButton"
49 |
50 | textbutton primaryActionText action onPrimaryCallback:
51 | style "ASNotificationAlertAcceptButton"
52 |
--------------------------------------------------------------------------------
/game/System/Frameworks/NotificationKit.aosframework/ASNotificationStyles.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASNotificationStyles.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 6/30/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | # MARK: ASNotificationBanner
10 | init:
11 | style ASNotificationBannerFrame:
12 | background Frame([AS_FRAMEWORK_DIR("NotificationKit") + "Resources/bannerBackground.png"], gui.confirm_frame_borders, tile=gui.frame_tile)
13 | xalign .5
14 | yalign .5
15 |
16 | transform ASNotificationBannerTransition:
17 | on show:
18 | yalign 0.0 xalign 0.5
19 | linear 0.25 ypos 0.025
20 | on hide:
21 | yalign 0.025 xalign 0.5
22 | linear 0.25 yalign -1.0
23 |
24 | style ASNotificationBannerSource is ASSystemMediumFont:
25 | size 20
26 | color "#f4f4f4"
27 | first_indent 10
28 | text_align 0
29 | layout "tex"
30 | xalign 0
31 |
32 | style ASNotificationBannerTitle is ASSystemBoldFont:
33 | size 24
34 | color "#f4f4f4"
35 |
36 | style ASNotificationBannerDetail is ASSystemRegularFont:
37 | size 20
38 | color "#f4f4f4"
39 |
40 | style ASNotificationBannerButton is gui_button
41 |
42 | style ASNotificationBannerButton_text is ASSystemBoldFont:
43 | size 16
44 | color "#f4f4f4"
45 |
46 | # MARK: ASNotificationAlert
47 |
48 | style ASNotificationAlertTitle is ASSystemBoldFont:
49 | color "#fff"
50 | size 28
51 | text_align 0.5
52 | xalign 0.5
53 |
54 | style ASNotificationAlertDetail is ASSystemRegularFont:
55 | color "#fff"
56 | size 20
57 | text_align 0.5
58 | xalign 0.5
59 |
60 | style ASNotificationAlertDeclinedButton is gui_button
61 |
62 | style ASNotificationAlertDeclinedButton_text is ASSystemBoldFont:
63 | color "#fff"
64 | size 24
65 | xalign 0.5
66 |
67 | style ASNotificationAlertAcceptButton is gui_button
68 |
69 | style ASNotificationAlertAcceptButton_text is ASSystemRegularFont:
70 | color "#fff"
71 | size 24
72 | xalign 0.5
73 |
--------------------------------------------------------------------------------
/game/System/Frameworks/NotificationKit.aosframework/Resources/appMissingIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Frameworks/NotificationKit.aosframework/Resources/appMissingIcon.png
--------------------------------------------------------------------------------
/game/System/Frameworks/NotificationKit.aosframework/Resources/bannerBackground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Frameworks/NotificationKit.aosframework/Resources/bannerBackground.png
--------------------------------------------------------------------------------
/game/System/Frameworks/ScreenKit.aosframework/ASInterfaceCheckbox.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASInterfaceCheckbox.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 9/10/19
6 | # Copyright © 2019 Marquis Kurt. All rights reserved.
7 | #
8 |
9 | style ASInterfaceCheckbox_button is bui_button
10 |
11 | style ASInterfaceCheckbox_button:
12 | foreground AS_FRAMEWORK_DIR("ScreenKit") + "Resources/Checkboxes/Idle.png"
13 | selected_foreground AS_FRAMEWORK_DIR("ScreenKit") + "Resources/Checkboxes/Selected.png"
14 | xpadding 28
15 |
16 | style ASInterfaceCheckbox_text is ASInterface_text
17 |
18 | style ASInterfaceCheckbox_button_text is ASInterface_text:
19 | size 20
--------------------------------------------------------------------------------
/game/System/Frameworks/ScreenKit.aosframework/ASInterfacePushButton.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASInterfacePushButton.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 9/9/19
6 | # Copyright © 2019 Marquis Kurt. All rights reserved.
7 | #
8 |
9 | style ASInterfacePushButton is gui_button:
10 | background Frame([AS_FRAMEWORK_DIR("ScreenKit") + "Resources/Buttons/PushButtonIdle.png"], Borders(20, 8, 20, 8), tile=False)
11 | hover_background Frame([AS_FRAMEWORK_DIR("ScreenKit") + "Resources/Buttons/PushButtonHover.png"], Borders(20, 8, 20, 8), tile=False)
12 | insensitive_background Frame([AS_FRAMEWORK_DIR("ScreenKit") + "Resources/Buttons/PushButtonInsensitive.png"], Borders(20, 8, 20, 8), tile=False)
13 | padding(20, 8)
14 |
15 | style ASInterfacePushButton_text is ASInterface_button_text:
16 | color "#212121"
17 | insensitive_color "#999999"
18 | size 16
--------------------------------------------------------------------------------
/game/System/Frameworks/ScreenKit.aosframework/ASInterfaceRadio.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASInterfaceRadio.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 9/19/19
6 | # Copyright © 2019 Marquis Kurt. All rights reserved.
7 | #
8 |
9 | style ASInterfaceRadio_button is bui_button
10 |
11 | style ASInterfaceRadio_button:
12 | foreground AS_FRAMEWORK_DIR("ScreenKit") + "Resources/Radios/Idle.png"
13 | selected_foreground AS_FRAMEWORK_DIR("ScreenKit") + "Resources/Radios/Selected.png"
14 | xpadding 28
15 |
16 | style ASInterfaceRadio_text is ASInterface_text
17 |
18 | style ASInterfaceRadio_button_text is ASInterface_text:
19 | size 20
--------------------------------------------------------------------------------
/game/System/Frameworks/ScreenKit.aosframework/ASInterfaceScrollbar.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASInterfaceScrollbar.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 9/10/19
6 | # Copyright © 2019 Marquis Kurt. All rights reserved.
7 | #
8 |
9 | style ASInterfaceScrollbar is viewport
10 | style ASInterfaceScrollbar_text is ASInterface_text
11 |
12 | style ASInterfaceScrollbar_vscrollbar:
13 | bar_vertical True
14 | bar_resizing False
15 | base_bar AS_FRAMEWORK_DIR("ScreenKit") + "Resources/Scrollbars/ScrollArea.png"
16 | thumb AS_FRAMEWORK_DIR("ScreenKit") + "Resources/Scrollbars/ScrollThumb.png"
17 | unscrollable "hide"
18 | yfit True
19 |
20 | style ASInterfaceScrollbar_scrollbar:
21 | bar_vertical False
22 | bar_resizing False
23 | base_bar Frame(AS_FRAMEWORK_DIR("ScreenKit") + "Resources/Scrollbars/HorizontalScrollArea.png", Borders(6,4,6,4), tile=False)
24 | thumb Frame(AS_FRAMEWORK_DIR("ScreenKit") + "Resources/Scrollbars/HorizontalScrollThumb.png", Borders(6,4,6,4), tile=False)
25 | unscrollable "hide"
26 | yfit True
27 |
--------------------------------------------------------------------------------
/game/System/Frameworks/ScreenKit.aosframework/ASInterfaceStyles.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASInterfaceStyles.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 9/8/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init offset = 10
10 |
11 | style ASInterface_frame:
12 | background Frame([AS_FRAMEWORK_DIR("ScreenKit") + "Resources/Frames/FrameChrome.png"], Borders(8,12,8,8), tile=False)
13 | padding (16, 16)
14 | xalign 0.5
15 | yalign 0.5
16 | xmaximum 1248
17 | ymaximum 688
18 |
19 | style ASInterface_vbox is vbox:
20 | spacing 8
21 |
22 | style ASInterface_hbox is hbox:
23 | spacing 8
24 |
25 | style ASInterface_text:
26 | font AS_FONTS_DIR + "Regular.ttf"
27 | size 14
28 |
29 | style ASInterface_button is gui_button
30 | style ASInterface_button_text:
31 | font AS_FONTS_DIR + "Bold.ttf"
--------------------------------------------------------------------------------
/game/System/Frameworks/ScreenKit.aosframework/ASInterfaceTitlebar.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASInterfaceTitlebar.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 9/8/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | screen ASInterfaceTitlebar(name="ASWindow", onClose=Return("didCloseView")):
10 | hbox:
11 | style_prefix "ASWindowTitleBar"
12 | xfill True
13 |
14 | text name
15 |
16 | imagebutton auto AS_FRAMEWORK_DIR("ScreenKit") + "Resources/WindowControls/wcClose_%s.png" action onClose:
17 | xalign 1.0
18 |
19 | style ASWindowTitleBar_hbox is hbox:
20 | xalign 0.0
21 | yalign 0.5
22 | spacing 8
23 |
24 | style ASWindowTitleBar_text:
25 | font AS_FONTS_DIR + "Medium.ttf"
26 | size 16
27 | xalign 0.0
--------------------------------------------------------------------------------
/game/System/Frameworks/ScreenKit.aosframework/Resources/Buttons/PushButtonHover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Frameworks/ScreenKit.aosframework/Resources/Buttons/PushButtonHover.png
--------------------------------------------------------------------------------
/game/System/Frameworks/ScreenKit.aosframework/Resources/Buttons/PushButtonIdle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Frameworks/ScreenKit.aosframework/Resources/Buttons/PushButtonIdle.png
--------------------------------------------------------------------------------
/game/System/Frameworks/ScreenKit.aosframework/Resources/Buttons/PushButtonInsensitive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Frameworks/ScreenKit.aosframework/Resources/Buttons/PushButtonInsensitive.png
--------------------------------------------------------------------------------
/game/System/Frameworks/ScreenKit.aosframework/Resources/Checkboxes/Idle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Frameworks/ScreenKit.aosframework/Resources/Checkboxes/Idle.png
--------------------------------------------------------------------------------
/game/System/Frameworks/ScreenKit.aosframework/Resources/Checkboxes/Selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Frameworks/ScreenKit.aosframework/Resources/Checkboxes/Selected.png
--------------------------------------------------------------------------------
/game/System/Frameworks/ScreenKit.aosframework/Resources/Frames/FrameChrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Frameworks/ScreenKit.aosframework/Resources/Frames/FrameChrome.png
--------------------------------------------------------------------------------
/game/System/Frameworks/ScreenKit.aosframework/Resources/Radios/Idle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Frameworks/ScreenKit.aosframework/Resources/Radios/Idle.png
--------------------------------------------------------------------------------
/game/System/Frameworks/ScreenKit.aosframework/Resources/Radios/Selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Frameworks/ScreenKit.aosframework/Resources/Radios/Selected.png
--------------------------------------------------------------------------------
/game/System/Frameworks/ScreenKit.aosframework/Resources/Scrollbars/HorizontalScrollArea.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Frameworks/ScreenKit.aosframework/Resources/Scrollbars/HorizontalScrollArea.png
--------------------------------------------------------------------------------
/game/System/Frameworks/ScreenKit.aosframework/Resources/Scrollbars/HorizontalScrollThumb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Frameworks/ScreenKit.aosframework/Resources/Scrollbars/HorizontalScrollThumb.png
--------------------------------------------------------------------------------
/game/System/Frameworks/ScreenKit.aosframework/Resources/Scrollbars/ScrollArea.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Frameworks/ScreenKit.aosframework/Resources/Scrollbars/ScrollArea.png
--------------------------------------------------------------------------------
/game/System/Frameworks/ScreenKit.aosframework/Resources/Scrollbars/ScrollThumb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Frameworks/ScreenKit.aosframework/Resources/Scrollbars/ScrollThumb.png
--------------------------------------------------------------------------------
/game/System/Frameworks/ScreenKit.aosframework/Resources/WindowControls/wcClose_hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Frameworks/ScreenKit.aosframework/Resources/WindowControls/wcClose_hover.png
--------------------------------------------------------------------------------
/game/System/Frameworks/ScreenKit.aosframework/Resources/WindowControls/wcClose_idle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Frameworks/ScreenKit.aosframework/Resources/WindowControls/wcClose_idle.png
--------------------------------------------------------------------------------
/game/System/Frameworks/ServiceKit.aosframework/ASCoreServiceRepresentative.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASCoreServiceRepresentative.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 7/3/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 |
9 | init -20 python:
10 |
11 | class ASCoreServiceRepresentative(object):
12 | bundleName = "Bundle name"
13 | bundleId = "app.aliceos.bundle"
14 | bundleDir = AS_CORESERVICES_DIR + "Bundle/"
15 | bundleAuthor = "Author"
16 | bundleVersion = "1.0.0"
17 | bundleDescription = """\
18 | No description has been provided.
19 | """
20 |
21 | icons = {
22 | 16: bundleDir + "Resources/Iconset/16.png",
23 | 24: bundleDir + "Resources/Iconset/24.png",
24 | 32: bundleDir + "Resources/Iconset/32.png",
25 | 64: bundleDir + "Resources/Iconset/64.png",
26 | 128: bundleDir + "Resources/Iconset/128.png",
27 | 256: bundleDir + "Resources/Iconset/256.png"
28 | }
29 |
30 | def __init__(self, appDirectory):
31 |
32 | self.bundleDir = appDirectory
33 |
34 | self.icons = {
35 | 16: self.bundleDir + "Resources/Iconset/16.png",
36 | 24: self.bundleDir + "Resources/Iconset/24.png",
37 | 32: self.bundleDir + "Resources/Iconset/32.png",
38 | 64: self.bundleDir + "Resources/Iconset/64.png",
39 | 128: self.bundleDir + "Resources/Iconset/128.png",
40 | 256: self.bundleDir + "Resources/Iconset/256.png"
41 | }
42 |
43 | pass
44 |
45 | # Steps to take when starting the app.
46 | def serviceWillLaunch(self):
47 | return
48 |
49 | # Steps to take when the app has finally finished launching.
50 | def serviceDidLaunch(self):
51 | return
52 |
53 | # Steps to take when the app is about to terminate.
54 | def serviceWillTerminate(self):
55 | return
56 |
57 | # Steps to take when the app is terminated.
58 | def serviceDidTerminate(self):
59 | return
60 |
61 | # Determine whether the app can safely send a notification request.
62 | def serviceShouldRequestNotification(self):
63 | return True
64 |
65 | # Steps to take when the app is about to send a notification
66 | def serviceWillRequestNotification(self, message, withDetails, responseCallback=Return(0)):
67 | if self.serviceShouldRequestNotification():
68 | renpy.call_screen("ASNotificationBanner", applet=self, message=message, withDetails=withDetails, responseCallback=responseCallback)
69 | self.serviceDidRequestNotification()
70 | else:
71 | print "This service is not authorized to send notifications."
72 | return
73 |
74 | # Steps to take when the app is done sending a notification
75 | def serviceDidRequestNotification(self):
76 | return
77 |
--------------------------------------------------------------------------------
/game/System/Library/Desktop Pictures/Chuttersnap.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Library/Desktop Pictures/Chuttersnap.png
--------------------------------------------------------------------------------
/game/System/Library/Desktop Pictures/Prospect Park.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Library/Desktop Pictures/Prospect Park.png
--------------------------------------------------------------------------------
/game/System/Library/Effects/ASDynamicBlur/ASDyanmicBlur.rpy:
--------------------------------------------------------------------------------
1 | #
2 | # ASDyanmicBlur.rpy
3 | # AliceOS
4 | #
5 | # Created by Marquis Kurt on 7/3/19.
6 | # Copyright © 2019 ProjectAliceDev. All rights reserved.
7 | #
8 | # MARK: Dynamic Blur Effects
9 | init -1 python:
10 | def SetThumbnailFull():
11 | config.thumbnail_width = config.screen_width
12 | config.thumbnail_height = config.screen_height
13 |
14 | def SetThumbnailOriginal():
15 | config.thumbnail_width = 256
16 | config.thumbnail_height = 144
17 |
18 |
19 | init:
20 | transform blur(child):
21 | contains:
22 | child
23 | alpha 1.0
24 | contains:
25 | child
26 | alpha 0.2 xoffset -3
27 | contains:
28 | child
29 | alpha 0.2 xoffset 3
30 | contains:
31 | child
32 | alpha 0.2 yoffset -3
33 | contains:
34 | child
35 | alpha 0.2 yoffset 3
36 |
37 | transform ASDynamicBlurTransition:
38 | on show:
39 | alpha 0.0
40 | easein 0.5 alpha 1.0
41 | on hide:
42 | alpha 1.0
43 | easeout 0.5 alpha 0.0
44 |
45 | style ASDynamicBlurFrame:
46 | background Frame([AS_LIBRARY_DIR + "Effects/ASDynamicBlur/ASDynamicBlurBackground.png"], gui.confirm_frame_borders, tile=gui.frame_tile)
47 | xalign 0.5
48 | yalign 0.5
49 |
--------------------------------------------------------------------------------
/game/System/Library/Effects/ASDynamicBlur/ASDynamicBlurBackground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Library/Effects/ASDynamicBlur/ASDynamicBlurBackground.png
--------------------------------------------------------------------------------
/game/System/Library/Fonts/Black.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Library/Fonts/Black.ttf
--------------------------------------------------------------------------------
/game/System/Library/Fonts/Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Library/Fonts/Bold.ttf
--------------------------------------------------------------------------------
/game/System/Library/Fonts/Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Library/Fonts/Italic.ttf
--------------------------------------------------------------------------------
/game/System/Library/Fonts/Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Library/Fonts/Medium.ttf
--------------------------------------------------------------------------------
/game/System/Library/Fonts/Mono.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Library/Fonts/Mono.ttf
--------------------------------------------------------------------------------
/game/System/Library/Fonts/Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Library/Fonts/Regular.ttf
--------------------------------------------------------------------------------
/game/System/Library/Fonts/Thin.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/System/Library/Fonts/Thin.ttf
--------------------------------------------------------------------------------
/game/gui/bar/bottom.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/bar/bottom.png
--------------------------------------------------------------------------------
/game/gui/bar/left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/bar/left.png
--------------------------------------------------------------------------------
/game/gui/bar/right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/bar/right.png
--------------------------------------------------------------------------------
/game/gui/bar/top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/bar/top.png
--------------------------------------------------------------------------------
/game/gui/button/check_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/button/check_foreground.png
--------------------------------------------------------------------------------
/game/gui/button/check_selected_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/button/check_selected_foreground.png
--------------------------------------------------------------------------------
/game/gui/button/choice_hover_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/button/choice_hover_background.png
--------------------------------------------------------------------------------
/game/gui/button/choice_idle_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/button/choice_idle_background.png
--------------------------------------------------------------------------------
/game/gui/button/hover_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/button/hover_background.png
--------------------------------------------------------------------------------
/game/gui/button/idle_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/button/idle_background.png
--------------------------------------------------------------------------------
/game/gui/button/quick_hover_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/button/quick_hover_background.png
--------------------------------------------------------------------------------
/game/gui/button/quick_idle_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/button/quick_idle_background.png
--------------------------------------------------------------------------------
/game/gui/button/radio_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/button/radio_foreground.png
--------------------------------------------------------------------------------
/game/gui/button/radio_selected_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/button/radio_selected_foreground.png
--------------------------------------------------------------------------------
/game/gui/button/slot_hover_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/button/slot_hover_background.png
--------------------------------------------------------------------------------
/game/gui/button/slot_idle_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/button/slot_idle_background.png
--------------------------------------------------------------------------------
/game/gui/frame.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/frame.png
--------------------------------------------------------------------------------
/game/gui/game_menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/game_menu.png
--------------------------------------------------------------------------------
/game/gui/main_menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/main_menu.png
--------------------------------------------------------------------------------
/game/gui/namebox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/namebox.png
--------------------------------------------------------------------------------
/game/gui/notify.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/notify.png
--------------------------------------------------------------------------------
/game/gui/nvl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/nvl.png
--------------------------------------------------------------------------------
/game/gui/overlay/confirm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/overlay/confirm.png
--------------------------------------------------------------------------------
/game/gui/overlay/game_menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/overlay/game_menu.png
--------------------------------------------------------------------------------
/game/gui/overlay/main_menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/overlay/main_menu.png
--------------------------------------------------------------------------------
/game/gui/phone/nvl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/phone/nvl.png
--------------------------------------------------------------------------------
/game/gui/phone/overlay/game_menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/phone/overlay/game_menu.png
--------------------------------------------------------------------------------
/game/gui/phone/overlay/main_menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/phone/overlay/main_menu.png
--------------------------------------------------------------------------------
/game/gui/phone/textbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/phone/textbox.png
--------------------------------------------------------------------------------
/game/gui/scrollbar/horizontal_hover_bar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/scrollbar/horizontal_hover_bar.png
--------------------------------------------------------------------------------
/game/gui/scrollbar/horizontal_hover_thumb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/scrollbar/horizontal_hover_thumb.png
--------------------------------------------------------------------------------
/game/gui/scrollbar/horizontal_idle_bar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/scrollbar/horizontal_idle_bar.png
--------------------------------------------------------------------------------
/game/gui/scrollbar/horizontal_idle_thumb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/scrollbar/horizontal_idle_thumb.png
--------------------------------------------------------------------------------
/game/gui/scrollbar/vertical_hover_bar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/scrollbar/vertical_hover_bar.png
--------------------------------------------------------------------------------
/game/gui/scrollbar/vertical_hover_thumb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/scrollbar/vertical_hover_thumb.png
--------------------------------------------------------------------------------
/game/gui/scrollbar/vertical_idle_bar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/scrollbar/vertical_idle_bar.png
--------------------------------------------------------------------------------
/game/gui/scrollbar/vertical_idle_thumb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/scrollbar/vertical_idle_thumb.png
--------------------------------------------------------------------------------
/game/gui/skip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/skip.png
--------------------------------------------------------------------------------
/game/gui/slider/horizontal_hover_bar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/slider/horizontal_hover_bar.png
--------------------------------------------------------------------------------
/game/gui/slider/horizontal_hover_thumb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/slider/horizontal_hover_thumb.png
--------------------------------------------------------------------------------
/game/gui/slider/horizontal_idle_bar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/slider/horizontal_idle_bar.png
--------------------------------------------------------------------------------
/game/gui/slider/horizontal_idle_thumb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/slider/horizontal_idle_thumb.png
--------------------------------------------------------------------------------
/game/gui/slider/vertical_hover_bar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/slider/vertical_hover_bar.png
--------------------------------------------------------------------------------
/game/gui/slider/vertical_hover_thumb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/slider/vertical_hover_thumb.png
--------------------------------------------------------------------------------
/game/gui/slider/vertical_idle_bar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/slider/vertical_idle_bar.png
--------------------------------------------------------------------------------
/game/gui/slider/vertical_idle_thumb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/slider/vertical_idle_thumb.png
--------------------------------------------------------------------------------
/game/gui/textbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/textbox.png
--------------------------------------------------------------------------------
/game/gui/window_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/game/gui/window_icon.png
--------------------------------------------------------------------------------
/game/script.rpy:
--------------------------------------------------------------------------------
1 | label before_main_menu:
2 | $ ASBootloader.boot()
3 | return
4 |
5 | label main_menu:
6 | python:
7 | ASDesktop.showDesktop()
8 | return
9 |
10 | label start:
11 | $ ASDesktop.showDesktop()
12 | return
--------------------------------------------------------------------------------
/mkdocs.yml:
--------------------------------------------------------------------------------
1 | site_name: AliceOS Documentation
2 | site_author: Project Alice
3 | site_description: 'Documentation site for AliceOS framework'
4 | docs_dir: mkdocs/
5 |
6 | edit_uri: ""
7 |
8 | # Material Theme configuration
9 | theme:
10 | favicon: images/favicon.ico
11 | name: material
12 | logo: 'images/logo.svg'
13 | palette:
14 | primary: 'grey'
15 | accent: 'yellow'
16 | font:
17 | text: 'Inter'
18 | code: 'Fira Code'
19 | feature:
20 | tabs: true
21 |
22 | extra_css:
23 | - 'https://rsms.me/inter/inter.css'
24 | - 'https://cdn.jsdelivr.net/gh/tonsky/FiraCode@1.207/distr/fira_code.css'
25 |
26 | # Repository
27 | repo_name: 'ProjectAliceDev/AliceOS'
28 | repo_url: 'https://github.com/ProjectAliceDev/aliceos'
29 |
30 | copyright: 'Copyright © 2018 - 2019 Project Alice.'
31 |
32 | extra:
33 | social:
34 | - type: 'github'
35 | link: 'https://github.com/projectalicedev'
36 | - type: 'twitter'
37 | link: 'https://twitter.com/justaliceproj'
38 |
39 | markdown_extensions:
40 | - admonition
41 | - codehilite:
42 | guess_lang: true
43 | - toc:
44 | permalink: true
45 |
--------------------------------------------------------------------------------
/mkdocs/01-install.md:
--------------------------------------------------------------------------------
1 | # Installing AliceOS
2 |
3 | This document will help you get started with installing AliceOS and attaching it to your Ren'Py project.
4 |
5 | ## Downloading the base system
6 |
7 | If you do not plan to customize AliceOS too much, you can add the base system archive and use AliceOS that way.
8 |
9 | Download the latest release from the Downloads page and extract the ZIP archive. Then, copy `AliceOSBaseSystem.rpa` over to your Ren'Py project's game folder.
10 |
11 | !!! info "Ensure compatibility"
12 | The latest version of AliceOS for download will always correspond to the latest version of the Ren'Py SDK made available at that time. At the time of writing, this means that AliceOS is building against Ren'Py SDK v**7.3.5**. If you are unsure of what version AliceOS is built with, check the [GitHub Actions page](https://github.com/projectalicedev/aliceos/actions) and click on "Build AliceOS Archive".
13 |
14 | It is recommend that you make sure that your version of Ren'Py is up to date to ensure compatibility with AliceOS.
15 |
16 | ### Usage with DDLC Mods
17 | If you plan to use AliceOS in a mod for _Doki Doki Literature Club!_, you must make sure that the base system version that you use is built against Ren'Py **6.99.12.4** to maintain compatibility.
18 |
19 | The release ZIP file is generally noted as `AliceOS-x.x.x-_6.99.12.4-ASBaseSystem.zip`.
20 |
21 | ## Building from source code
22 |
23 | Alternatively, you can build `AliceOSBaseSystem.rpa` yourself with the customization you need. This may also be helpful in building AliceOS for your specific Ren'Py version, if necessary.
24 |
25 | 1. Download the source code for the particular release you'd like and open Ren'Py Launcher.
26 | 2. Select the AliceOS source code and click "Build Distributions".
27 | 3. Uncheck the distribution options and check "Alice OS Base System Distributable".
28 | 4. Click "Build".
29 |
30 | Your resulting ZIP file will be located in `AliceOS-x.x.x-dists`, and you can follow the instructions from **Downloading the base system** to finalize installation.
31 |
--------------------------------------------------------------------------------
/mkdocs/Develop-Apps/03-interface-design.md:
--------------------------------------------------------------------------------
1 | # Giving your App an Interface
2 |
3 | 
4 |
5 | Some apps may want to provide a user interface for players to work with to manage settings or work with things in-game. AppKit works hand-in-hand with Ren'Py's screens and makes it easy to work with a Ren'Py-defined UI. AliceOS also comes with ScreenKit, a great way to define an interface that's designed for AliceOS.
6 |
7 | ## Attaching a screen to your app
8 |
9 | Apps that want to display an interface when their icon is clicked in Activities or the App Manager should show the screen in their `applicationWillLaunch` method, like so:
10 |
11 | ```
12 | def applicationWillLaunch(self):
13 | renpy.show_screen("screenname")
14 | ```
15 |
16 | Although it's recommended to design the app's interface with ScreenKit for consistency, this will work for any screen defined in a Ren'Py project.
17 |
18 | ## Creating an interface with ScreenKit
19 |
20 | Creating an interface with ScreenKit is relatively easy since ScreenKit works directly with Ren'Py's screen language. For an existing screen, it's easy to port it over to ScreenKit by adding the `style_prefix` property at the top of the screen:
21 |
22 | ```renpy
23 | screen my_screen():
24 | style_prefix "ASInterface"
25 | ...
26 | ```
27 |
28 | If you are creating an interface from scratch, you can take a look at how to create a very basic UI using screen language and ScreenKit in [A Simple UI](../Frameworks/ScreenKit/01-a-simple-ui.md).
29 |
30 | ## Organizing screens in your app
31 |
32 | Apps might have multiple screens and may lose track of what screen goes where. We recommend adopting a similar structure to the one below to keep your screens organized:
33 |
34 | ```
35 | AppRoot/
36 | Resources/
37 | Views/
38 | ScreenName.rpy
39 | SecondScreen.rpy
40 | Styles/
41 | ScreenStyles.rpy
42 | AppManifest.rpy
43 | ```
44 |
45 | ## Suggested documentation
46 |
47 | - [A Simple UI](../Frameworks/ScreenKit/01-a-simple-ui.md)
48 | - [Special ScreenKit Styles](../Frameworks/ScreenKit/02-special-styles.md)
--------------------------------------------------------------------------------
/mkdocs/Develop-Apps/04-watching-events.md:
--------------------------------------------------------------------------------
1 | # Watching for Events
2 |
3 | Starting with AliceOS Prospect Park, apps can declare and make use of System Events. Apps that want to use system event watching must declare the `AS_REQUIRES_SYSTEM_EVENTS` permission in their manifest and use the appropriate methods outlined in this document.
4 |
5 | ## What are system events?
6 |
7 | Any operation that AliceOS performs such as startup, login, or displaying an error is considered a system event. Apps that have the permission can access the following system events:
8 |
9 | - Startup
10 |
11 | ## Running tasks during boot
12 |
13 | Apps using AppKit may want to perform some initialization tasks when AliceOS boots. This can be accomplished by making use of the `applicationWillLaunchAtLogin` method.
14 |
15 | ### `applicationWillLaunchAtLogin(self)`
16 |
17 | Runs any initial tasks or specified startup tasks during boot.
18 |
19 | ### `applicationShouldLaunchAtLogin(self)`
20 |
21 | Determines whether the application has permission to run tasks during boot.
22 |
23 | **Returns**: Boolean value dictating if the app has permission to run at boot.
24 |
25 | ## Suggested documentation
26 |
27 | - [ASAppRepresentative](../Frameworks/AppKit/01-ASAppRepresentative.md)
28 | - [Bootloader](../System/05-bootloader.md)
--------------------------------------------------------------------------------
/mkdocs/Develop-Apps/index.md:
--------------------------------------------------------------------------------
1 | # Welcome
2 |
3 | 
4 |
5 | **Apps** are a fun and extensible means of further enhancing the AliceOS environment without needing to customize the base installation and recompile from source. Apps also take advantage of AliceOS's features and frameworks, such as NotificationKit and ScreenKit. To accomplish this, apps use AppKit, the official API set for writing custom apps for the AliceOS framework.
6 |
7 | ## About this section
8 |
9 | The following documentation will cover the important facets of creating an AliceOS app and what frameworks are available. It will also cover important guidelines that all AliceOS apps should follow to maintain security, privacy, and consistency.
10 |
11 |
--------------------------------------------------------------------------------
/mkdocs/Frameworks/AppKit/01-ASAppRepresentative.md:
--------------------------------------------------------------------------------
1 | # ASAppRepresentative
2 |
3 | `ASAppRepresentative` is the Python class responsible for defining apps in AliceOS. This class acts as the app's delegate and information manifest. The following documentation covers all of the methods and properties of this class.
4 |
5 | ## Properties
6 |
7 | - `bundleName`: The name of the application.
8 | - `bundleId`: The ID of the application in [reverse domain name notation](https://en.wikipedia.org/wiki/Reverse_domain_name_notation).
9 | - `bundleDir`: The location of the application. By default, apps use `AS_APPS_DIR + ".aosapp/"`.
10 | - `bundleAuthor`: The author or organization that developed the application.
11 | - `bundleVersion`: The version of the application.
12 | - `bundleDescription`: The description of the application.
13 | - `requires`: A dictionary containing all of the permissions needed for the app to function.
14 | - `icons`: A dictionary containing the paths of all icons for the appropriate sizes.
15 |
16 | ## Methods
17 |
18 | ### `__init__(appDirectory)`
19 |
20 | Constructs an instance of `ASAppRepresentative`.
21 |
22 | **Parameters**
23 |
24 | - `appDirectory`: The directory of which the app is located. Equivalent to `bundleDir`.
25 |
26 | ### `requestPermission(forPermission)`
27 |
28 | Requests a particular permission located in `requires`.
29 |
30 | **Parameters**
31 |
32 | - `forPermission`: The permission to request. Must be in `requires` to execute.
33 |
34 | ### `requestAllPermissions()`
35 |
36 | Requests all permissions located in `requires`, one by one.
37 |
38 | ### `applicationShouldLaunchAtLogin()`
39 |
40 | Returns whether the app is authorized to run any login tasks.
41 |
42 | ### `applicationWillLaunchAtLogin()`
43 |
44 | Executes and preliminary actions during the boot sequence.
45 |
46 | ### `applicationWillLaunch()`
47 |
48 | Executes any preliminary actions before the app launches.
49 |
50 | ### `applicationDidLaunch()`
51 |
52 | Executes post-launch actions after the app has launched.
53 |
54 | ### `applicationWillTerminate()`
55 |
56 | Executes cleanup actions before the app closes.
57 |
58 | ### `applicationDidTerminate()`
59 |
60 | Executes any tasks before finally closing.
61 |
62 | ### `applicationShouldRequestNotification()`
63 |
64 | Return whether the app is authorized to send notifications.
65 |
66 | **Returns**
67 |
68 | Boolean value dictating whether the app includes the notification permission and has permission to send notifications from the user.
69 |
70 | ### `applicationWillRequestNotification(message, withDetails, responseCallback)`
71 |
72 | Executes any pre-processing for a notification request and then sends a request.
73 |
74 | **Parameters**
75 |
76 | - `message`: The message or title of the notification.
77 | - `withDetails`: The details of the notification.
78 | - `responseCallback` (Optional) The action to perform when clicking 'Respond'.
79 |
80 | ### `applicationDidRequestNotification()`
81 |
82 | Executes any actions after sending a notification request.
83 |
84 | ### `applicationWillRequestBasicAlert(message, withDetails, onDismissCallback)`
85 |
86 | Executes any pre-processing for an alert and then sends an alert request.
87 |
88 | **Parameters**
89 |
90 | - `message`: The message or title of the alert.
91 | - `withDetails`: The details of the alert.
92 | - `onDismissCallback` (Optional) The action to perform when clicking 'OK'.
93 |
94 | ### `applicationWillRequestExtendedAlert(message, withDetails, primaryActionText, onPrimaryCallback, secondaryActionText, onSecondaryCallback)`
95 |
96 | Executes any pre-processing for an extended alert and then sends an alert request.
97 |
98 | - `message`: The message or title of the alert.
99 | - `withDetails`: The details of the alert.
100 | - `primaryActionText`: The text for the primary action button
101 | - `onPrimaryCallback` (Optional) The action to perform when clicking the primary button.
102 | - `secondaryActionText`: (Optional) The text for the secondary action button
103 | - `onSecondaryCallback` (Optional) The action to perform when clicking the secondary button.
104 |
105 | ### `applicationDidRequestAlert()`
106 |
107 | Executes any actions after sending an alert.
108 |
--------------------------------------------------------------------------------
/mkdocs/Frameworks/AppKit/index.md:
--------------------------------------------------------------------------------
1 | # AppKit Overview
2 |
3 | **AppKit** is the official API responsible for making apps on AliceOS. AppKit contains the necessary pieces of information to create fun and safe applications that work directly with AliceOS.
4 |
5 | ## About this documentation section
6 |
7 | This section will cover most of the Python class documentation and backend information about AppKit and apps built with it.
8 |
9 | For more information on how to build an app for AliceOS, see the [Develop Apps](../../Develop-Apps) section.
10 |
11 | !!! warning
12 | AliceOS's AppKit should _not_ be confused with Apple's AppKit for macOS, the interface kit responsible for creating macOS applications.
--------------------------------------------------------------------------------
/mkdocs/Frameworks/NotificationKit/01-banner.md:
--------------------------------------------------------------------------------
1 | # Banners
2 |
3 | 
4 |
5 | **Banners** provide a temporary pop-up at the top of the screen that automatically dismiss after five seconds. Banners usually include an app's name, primary message, details, and a response callback upon clicking 'Respond'.
6 |
7 | ## `ASNotificationBanner()`
8 |
9 | `ASNotificationBanner(applet=None, message, withDetails, responseCallback=Return('didClickRespond'))`
10 |
11 | ### Parameters
12 |
13 | - `applet`: (Optional) The app object to pass in. If None, the app icon and bundle name on the top will display as "Unknown Bundle".
14 | - `message`: (Required) The main message or sender.
15 | - `withDetails`: (Required) The details of the message.
16 | - `responseCallback` (Optional) The action to run upon clicking "Respond".
17 |
18 |
19 | ### Returns
20 |
21 | - If the notification times out and dismisses, the banner will return `'notificationTimedOut'`.
22 | - If the notification's response callback is left as the default, the banner will return `'didClickRespond'` when clicking the "Respond" button.
--------------------------------------------------------------------------------
/mkdocs/Frameworks/NotificationKit/02-alerts.md:
--------------------------------------------------------------------------------
1 | # Alerts
2 |
3 | 
4 |
5 | **Alerts** provide important information for the user and request an immediate action. There are two types of alerts AliceOS has: basic and extended. Both types of alerts are designed to request an immediate action, though there are different uses for each alert type.
6 |
7 | ## `ASNotificationAlert()` (Basic)
8 |
9 | `ASNotificationAlert(message, withDetails, onDismissCallback=Return('didDismissAlert'))`
10 |
11 | ### Parameters
12 |
13 | - `message`: The message or title of the alert.
14 | - `withDetails`: The details of the alert.
15 | - `onDismissCallback` (Optional) The action to perform when clicking 'OK'.
16 |
17 | ### Returns
18 |
19 | - If the `onDismissCallback` remains at the default, the alert returns `'didDismissAlert'`.
20 |
21 |
22 |
23 | 
24 |
25 | ## `ASNotificationExtendedAlert()` (Extended)
26 |
27 | `ASNotificationExtendedAlert(message, withDetails, primaryActionText, onPrimaryCallback=Return('didClickPrimary'), secondaryActionText=None, onSecondaryCallback=Return('didClickSecondary'))`
28 |
29 | ### Parameters
30 |
31 | - `message`: The message or title of the alert.
32 | - `withDetails`: The details of the alert.
33 | - `primaryActionText`: The text for the primary action button
34 | - `onPrimaryCallback` (Optional) The action to perform when clicking the primary button.
35 | - `secondaryActionText`: (Optional) The text for the secondary action button. If set to `None`, the secondary action button will not be displayed.
36 | - `onSecondaryCallback` (Optional) The action to perform when clicking the secondary button.
37 |
38 | ### Returns
39 |
40 | - If the user clicks the primary action button and the action callback is left at the default, the alert returns `'didClickPrimary'`.
41 | - Likewise, if the user clicks the secondary action button and the action callback is left at the default, the alert returns `'didClickSecondary'`.
42 |
43 |
--------------------------------------------------------------------------------
/mkdocs/Frameworks/NotificationKit/index.md:
--------------------------------------------------------------------------------
1 | # NotificationKit Overview
2 |
3 | **NotificationKit** is the official API set for sending notifications in AliceOS. Notifications include the following:
4 |
5 | - [Banners](01-banner.md): Temporary popups from the top of the screen that can be acted upon or dismissed.
6 | - [Alerts](02-alerts.md): Full-screen dialog boxes that require user input immediately.
7 | - Sounds: Sounds that play to incidate something has occured.
8 |
9 | ## About this documentation section
10 |
11 | The documentation provided on NotificationKit does _not_ cover usage of their implementation with apps. Rather, the documentation covers the screens in use and how they can be called without needing Applets. This kind of scenario applies in cases where the AliceOS base only includes NotificationKit.
12 |
13 | If you wish to create an app that makes use of NotificationKit, please consult the Apps documentation under "Sending Notifications".
14 |
--------------------------------------------------------------------------------
/mkdocs/Frameworks/ScreenKit/02-special-styles.md:
--------------------------------------------------------------------------------
1 | # Special ScreenKit Styles
2 |
3 | Not all ScreenKit elements can be easily inherited via the style prefix. To accommodate for this, ScreenKit also includes some special styles that must be applied to an interface element specifically.
4 |
5 | ## Text Buttons
6 |
7 | The following styles apply to text buttons (`textbutton`). These styles can also be used as a style prefix when in a `hbox` or a `vbox`. For example, both are acceptable:
8 |
9 | ```
10 | textbutton "Continue" action NullAction():
11 | style "ASInterfacePushButton"
12 |
13 | hbox:
14 | style_prefix "ASInterfacePushButton"
15 | textbutton "Cancel" action NullAction()
16 | textbutton "Continue" action NullAction()
17 | ```
18 |
19 | ### `ASInterfacePushButton`
20 | The base style for a push button.
21 |
22 | ### `ASInterfaceCheckbox`
23 | The base style for a checkbox.
24 |
25 | ### `ASInterfaceRadio`
26 | The base style for a radio button.
27 |
28 | ## Scrollable Content
29 | The following styles apply to scrollable areas where a scrollbar is present. Generally, this is called as a style prefix rather than the style itself.
30 |
31 | ### `ASInterfaceScrollbar`
32 | The base style for a scrollable area.
33 |
34 | - Used with `viewport`.
35 | - Can be used as a style prefix.
--------------------------------------------------------------------------------
/mkdocs/Frameworks/ScreenKit/index.md:
--------------------------------------------------------------------------------
1 | # ScreenKit Overview
2 |
3 | **ScreenKit** is the official API that offer beautiful interfaces for AliceOS apps and services. ScreenKit works on top of Ren'Py's beautiful screen language with new styles and puts more control of the interface into developers' hands. Apps using AppKit get to leverage ScreenKit easily without adding any additional code to their manifest.
4 |
5 | !!! warning
6 | ScreenKit is still heavy in development and styles may change over time. The API and documentation may change over time as ScreenKit matures.
7 |
8 | ## About this documentation section
9 |
10 | This section will go over the different aspects of ScreenKit and how a ScreenKit interface is constructed using Ren'Py's screen language.
--------------------------------------------------------------------------------
/mkdocs/Release-Notes/1tp1.md:
--------------------------------------------------------------------------------
1 | # Technical Preview 1 (1.0.0)
2 | This is the first initial release of AliceOS Technical Preview.
3 |
4 |
--------------------------------------------------------------------------------
/mkdocs/Release-Notes/1tp2.md:
--------------------------------------------------------------------------------
1 | # Technical Preview 2 (1.0.0)
2 | - Setup assistant has been completely rewritten from the ground-up. Now supports dynamic font changes and a large font mode.
3 | - Stop errors have been rewritten and are now dynamically called using `ThrowASError()`
4 | - Default backgrounds have changed.
5 | - OEM settings have been adjusted to use the new Setup assistant and now use hardcoded values for font files instead of dynamic assignments.
6 | - Issue where Ren'Py projects crash upon loading an AliceOS dialog from a save file in OEM font mode has been resolved (#22).
7 |
8 |
--------------------------------------------------------------------------------
/mkdocs/Release-Notes/2.0.0_db1.md:
--------------------------------------------------------------------------------
1 | # Prospect Park (2.0.0) Developer Beta 1
2 |
3 | The following document covers the latest changes in AliceOS Prospect Park (v. 2.0.0).
4 |
5 | !!! warning "This document is not complete"
6 | More documentation is being worked on with this document to describe exact changes.
7 |
8 | !!! info "Before you upgrade"
9 | AliceOS Prospect Park is a dramatic overhaul of the classic AliceOS and may break upon installation. Please review everything carefully.
10 |
11 | ## General
12 |
13 | - The system organization has migrated over to a macOS-styled directory structure with System, Library, and Applications.
14 | - Installation has changed over to an RPA-based solution. Installation now is as simple as dragging the RPA.
15 | - AliceOS APIs, class names, and function names have been renamed and switch over to camel case instead of snake case.
16 |
17 | ## Apps
18 |
19 | - Applets have been deprecated in favor of new apps written with AppKit in mind.
20 | - Apps no longer need to declare a desktop shell component as this is handled by the native `applicationWillLaunch` method.
21 |
22 | ## Core Services and Applications
23 |
24 | - Applications such as Messages have been moved to `System/Applications/` and use AppKit.
25 | - The halt screen, bootloader, and Setup Assistant are now Core Services that use ServiceKit.
26 |
27 | ## Desktop
28 |
29 | - The Desktop now uses the `applicationWillLaunch` method from AppKit apps to start apps accordingly.
30 | - The Desktop image is defined as `AS_DESKTOP_IMG`.
31 | - The Desktop now refreshes quickly to get the latest time on the clock.
32 |
33 | ### Known issues
34 |
35 | - The Desktop doesn't hide the quick menu.
36 | - The `showDesktop()` method from `ASDesktop` doesn't work in Ren'Py screen language.
37 |
38 | ### Workarounds
39 |
40 | - Call `ASDesktopShell` directly instead of using the `showDesktop()` method.
41 |
42 | ## Halt screens (formerly Stop errors)
43 |
44 | - The halt screen uses the AliceOS dynamic blur instead of its own background.
45 | - A QR code has been added that redirects users to the AliceOS Error Database.
46 | - The text has been changed to indicate how long before AliceOS will automatically restart the game.
47 |
48 | ## Notifications
49 |
50 | - Notifications are now under the NotificationKit framework.
51 | - Alerts no longer appear as a white square. They now use the AliceOS dynamic blur feature.
52 |
53 | ### Known issues
54 |
55 | - Notification banners do not make a sound.
56 |
57 | ## Setup Assistant
58 |
59 | - Express Mode is on by default, but can be disabled in the bootloader's `boot` method.
60 | - Instructions have been rewritten for conciseness and clarity.
61 | - The interface has changed to a more macOS-like experience.
62 |
--------------------------------------------------------------------------------
/mkdocs/Release-Notes/2.0.0_db2.md:
--------------------------------------------------------------------------------
1 | # Prospect Park (2.0.0) Developer Beta 2
2 |
3 | The following document covers the latest changes in AliceOS Prospect Park (v. 2.0.0).
4 |
5 | ## Apps
6 |
7 | - Apps can now write starup/login services via `applicationWillLaunchAtLogin()` and check for System Events permissions with `applicationShouldLaunchAtLogin()`.
8 | - Notfications and alerts in AppKit are now invoked in a new context instead of interrupting the current one.
9 | - The 48 pixel icon entry in `ASAppRepresentative` has been re-added.
10 | - If unimplemented, `applicationWillLaunch()` will log a warning in the terminal.
11 |
12 | ## Messages
13 |
14 | - Messages now displays a "Coming Soon" alert when launched from the Desktop.
15 |
16 | ## Desktop
17 |
18 | - Apps on the desktop will invoke `applicationWillLaunch` as a Ren'Py function callback instead of calling the Python function directly to prevent continuous calls.
19 | - The main views in Desktop now have empty parameter lists to resolve linter warnings.
20 |
21 |
22 | ### Known Issues
23 |
24 | - The Desktop doesn't hide the quick menu.
25 | - The `showDesktop()` method from `ASDesktop` doesn't work in Ren'Py screen language when calling it as a button action.
26 |
27 | ### Workarounds
28 |
29 | - Use Ren'Py's `Function` call to run `showDesktop()` or make a call directly to the screen.
30 |
31 | ## Notifications
32 |
33 | ### Known issues
34 |
35 | - Notification banners do not make a sound.
36 |
37 | ### Workarounds
38 |
39 | - Include a sound in your applet and make a wrapper around `applicationWillRequestNotification()`.
40 |
41 | ## Bootloader
42 |
43 | - The bootloader will now attempt to run any authorized startup services in a new thread.
44 | - An optional `bootView` parameter allows developers to set a custom boot screen to display instead of the default.
45 |
46 | ## ScreenKit
47 |
48 | - ScreenKit has been introduced as a means of creating user interfaces for AliceOS using Ren'Py's screen language and styling.
49 | - Styles for frames, vertical and horizontal boxes, text, checkbox buttons, vertical scrollbars, and push buttons have been implemented.
50 | - `ASInterfaceTitlebar` has been implemented as a smaller component to add a title bar to a given frame.
51 |
52 | ## About AliceOS
53 |
54 | - The main interface has been written entirely with ScreenKit and displays information from system definitions.
55 |
56 | ## App Manager
57 |
58 | - App Manager has been introduced as a means of managing an app's permissions and viewing details about the app.
59 | - Apps in App Manager list their permissions as toggleable checkboxes.
60 |
--------------------------------------------------------------------------------
/mkdocs/Release-Notes/20.0_db3.md:
--------------------------------------------------------------------------------
1 | # Prospect Park (2.0.0) Developer Beta 3
2 |
3 | The following document covers the latest changes in AliceOS Prospect Park (v. 2.0.0).
4 |
5 | ## ScreenKit
6 |
7 | - ScreenKit now include horizontal scrollbars and radio buttons.
8 | - ScreenKit frames are more rectangular.
9 |
10 | ## Apps
11 |
12 | - Introduces a new Inventories app, a fast and fun way to create and manage a game inventory.
13 |
14 | ## About AliceOS
15 |
16 | - The Ren'Py version should now match the proper built version and not be hard-coded.
17 |
18 | ## Setup Assistant
19 |
20 | - Setup Assistant now uses ScreenKit to draw elements.
--------------------------------------------------------------------------------
/mkdocs/System/01-definitions.md:
--------------------------------------------------------------------------------
1 | # AliceOS Definitions
2 |
3 | To make referencing common AliceOS build settings and structures easier, AliceOS provides the following definitions and dictionaries. These are located in `System/ASDefinitions.rpy` and can be modified if necessary.
4 |
5 | ## AliceOS release definitions
6 |
7 | These definitions are used to specify important release information regarding AliceOS. These definitions might be referenced to specify OS version information to the user, in a help screen, for example. This is stored as a dictionary in `AS_SYS_INFO`
8 |
9 | | Definition name | Used for |
10 | | -- | -- |
11 | | `VERSION` | The release version. Typically `X.x.x`; this isn't the build number generated from the Git hash |
12 | | `COMMON_NAME` | The common name for the release. (ex. "Prospect Park") |
13 | | `BUILD_ID` | The build number as generated by the Git hash or the Travis tag |
14 |
15 | ## Directory definitions
16 | | Definition name | Points to | Used for |
17 | | -- | -- | -- |
18 | | `AS_SYSTEM_DIR` | `System/` | The default System directory. |
19 | | `AS_FRAMEWORKS_DIR` | `System/Frameworks/` | The default Frameworks directory. |
20 | | `AS_CORESERVICES_DIR` | `System/CoreServices/` | The default Core Services directory. |
21 | | `AS_DEFAULT_APP_DIR` | `System/Applications/` | The default System applications directory. This isn't necessary for developer use. |
22 | | `AS_FONTS_DIR` | `System/Fonts/` | The default Fonts directory. |
23 | | `AS_APPS_DIR` | `Applications/` | The default Applications directory. |
24 | | `AS_LIBRARY_DIR` | `System/Library/` | The default Library directory. |
25 |
26 | ## Framework directory definitions
27 |
28 | `AS_FRAMEWORK_DIR(FRAMEWORK_NAME="Default")`
29 |
30 | The directory where a particular Framework is located. Makes use of `AS_FRAMEWORKS_DIR`.
31 |
32 | **Parameters**
33 |
34 | - `FRAMEWORK_NAME`: The name of the framework to reference. Example: `NotificationKit`
35 |
36 | **Returns**
37 |
38 | The path to the framework. Example: `System/Frameworks/NotificationKit.aosframework/`
39 |
40 | ## Permissions definitions
41 |
42 | These definitions are used to specify important strings when asking the user permission for a particular item. These are dictionaries that include the values for a particular permission.
43 |
44 | - `AS_REQUIRE_PERMS_NAME`: The dictionary containing the name of the permission name. Example: "Send Notifications"
45 | - `AS_REQUIRE_PERMS_DESC`: The dictionary containing the description of a permission. Example: "Notifications may include banners, alerts, and sounds. These can be configured in Settings."
46 |
--------------------------------------------------------------------------------
/mkdocs/System/02-default-apps.md:
--------------------------------------------------------------------------------
1 | # Default Apps
2 |
3 | AliceOS includes several default applications that are located in `System/Applications/`. These applications are designed to enhance the AliceOS experience and provide functionalities for core parts without having to write a third-party app for them.
4 |
5 | ## Messages
6 |
7 | 
8 |
9 | Messages is a simple app designed to simulate text messaging between characters and the player in a fun way.
10 |
11 | **Available methods**
12 |
13 | `messages.receiveMessage(fromPerson, message)`
14 |
15 | Send a notification request that displays a text message from a person.
16 |
17 | **Parameters**
18 |
19 | - `fromPerson`: The person the message is being sent from
20 | - `message`: The text message being sent
21 |
22 | **Returns**
23 | Returns the default values as indicated from [ASNotificationBanner](../../NotificationKit/01-banner/#returns)
24 |
25 | ## About AliceOS
26 |
27 | 
28 |
29 | About AliceOS is a simple app that displays information about the current distribution of AliceOS. Users can click on the app in Activites and view the information there.
30 |
31 | There are no available methods as the app uses the standard `applicationWillLaunch` method from AppKit.
32 |
33 | ## App Manager
34 |
35 | 
36 |
37 | App Manager is a(n) utility in AliceOS that lets users view the apps installed on the AliceOS system and manage their permissions quickly. It is the official method of changing an app's permissions in AliceOS.
38 |
39 | There are no available methods as the app uses the standard `applicationWillLaunch` method from AppKit.
40 |
41 | ## Inventories
42 |
43 | 
44 |
45 | Inventories is a tool for AliceOS that lets developers and players work with an inventory.
46 |
47 | More information on Inventories can be found in the [Inventories documentation](07-inventories.md).
--------------------------------------------------------------------------------
/mkdocs/System/03-core-services.md:
--------------------------------------------------------------------------------
1 | # Core Services
2 |
3 | AliceOS comes with several bundled Core Services that you should be aware of. These Core Services are crucial to AliceOS's core and are included in every AliceOS installation. Core Services are given the `.aoscservice` file extension and exist under `System/CoreServices`. Core services also make use of ServiceKit, an in-house framework for defining core services.
4 |
5 | !!! danger "About ServiceKit"
6 | At all costs, do not remove **ServiceKit.aosframework** or attempt to write your own applications using ServiceKit. ServiceKit is a service-only API set that should be used for system-level utilities, not for third-party applications. Use [AppKit](../Develop-Apps/index.md) instead.
7 |
8 | ## Desktop
9 |
10 | 
11 |
12 | The Desktop Core Service is responsible for displaying current applications installed on the system as well as providing a desktop shell if necessary.
13 |
14 | ## Error Halt System
15 |
16 | 
17 |
18 | The Error Halt System (Halt) Core Service is responsible for displaying any critical errors that cause AliceOS to restart. It provides helpful information such as the error code and where to go for more information.
19 |
20 | More information on how this Core Service works can be found on the article about [Critical Errors](./04-critical-errors.md).
21 |
22 | ## Bootloader
23 |
24 | 
25 |
26 | The Bootloader is responsible for displaying a boot screen while important components are loading. The bootloader is cusomizable with a certain timeout, depending on how fast you want the OS to "load". If the Setup Assistant hasn't fired or completed, the bootloader will also load the Setup Assistant.
27 |
28 | ## Setup Assistant
29 |
30 | 
31 |
32 | The Setup Assistant is responsible for setting up any important configurations and settings for AliceOS, as well as creating a username stored in `persistent.playername` and letting users read any legal agreements before playing a visual novel project.
33 |
34 | ## Removing a service
35 |
36 | If you find that you don't need a particular core service, you can delete it from the `CoreServices` directory and rebuild AliceOS.
37 |
38 | !!! warning
39 | If you plan to remove a Core Service, do so with caution. Other parts of AliceOS may make system calls that heavily rely on them.
40 |
--------------------------------------------------------------------------------
/mkdocs/System/04-critical-errors.md:
--------------------------------------------------------------------------------
1 | # Critical Errors
2 |
3 | 
4 |
5 | If AliceOS encounters a critical error where it needs to restart to continue, the user will see the above warning and the system will restart automatically after 10 seconds. An error code is provided at the bottom and a QR cose is present to search the error on the [Error Database](https://errordb.aliceos.app).
6 |
7 | Critical errors and the halt screen is managed by the [Error Halt System (Halt), a Core Service](../03-core-services/#error-halt-system) and can be used to present errors that aren't already caught by the base AliceOS distribution.
8 |
9 | ## Displaying a halt
10 |
11 | To display the halt screen with a respective error code, call `$ ASHalt.halt("ERR_CODE")`. The system will display the halt and automatically restart after ten seconds.
12 |
13 | ## Guidelines
14 |
15 | Halt screens should be used to catch important, critical errors.
16 |
17 | - **Make your error code descriptive.** The user should be able to get an idea of what the problem might be from the error code itself. For instance, "`MISSING_CYANIDE_INSTRUMENT`" is more descriptive than "`INSTRUMENT_FAIL`".
18 | - **Make sure your error is searchable in the database.** The user should be able to search for your error in the Error Database to investigate what went wrong.
19 | - **Don't call the halt screen for a non-critical error.** The halt screen is designed to present immediate and important information to the user about a potential error that could damage AliceOS or your game in some way. It shouldn't be used to present an app-wide or section-wide error as the screen is rather intrusive.
20 |
--------------------------------------------------------------------------------
/mkdocs/System/05-bootloader.md:
--------------------------------------------------------------------------------
1 | # Bootloader
2 |
3 | 
4 |
5 | The bootloader is responsible for displaying a boot screen while important components are loading. The bootloader is cusomizable with a certain timeout, depending on how fast you want the OS to "load".
6 |
7 | ## Available methods
8 |
9 | ### `$ ASBootloader.boot(timeout=5, expressSetup=True, disclaimer=None, bootView="ASBootloaderView")`
10 |
11 | Show the bootloader for a certain amount of time.
12 |
13 | **Parameters**
14 |
15 | - `timeout`: The amount of seconds to show the bootloader for.
16 | - `expressSetup`: Whether the Setup Assistant should start in Express Mode.
17 | - `disclaimer`: Any license agreement or disclaimer that must be displayed during the Setup Assistant.
18 | - `bootView`: The name of the Ren'Py screen to display as the GUI for the boot loader.
19 |
--------------------------------------------------------------------------------
/mkdocs/System/06-setup-assistant.md:
--------------------------------------------------------------------------------
1 | # Setup Assistant
2 |
3 | 
4 |
5 | The Setup Assistant is a first-run tool designed to set any initial settings and/or configurations for AliceOS before starting the visual novel. It also lets the user create a username as well as read over and legel agreements or disclaimers the game creator has provided.
6 |
7 | !!! tip Express Mode
8 | Starting with AliceOS Prospect Park, the Setup Assistant is automatically configured to use Express Mode, which skips a lot of the onerous steps in the original process. However, for a more thorough experience, Express Mode can be turned off.
9 |
10 | ## Automatic Setup
11 |
12 | In the Bootloader, the Setup Assistant will run if it doesn't detect that any setup was done. This check is done via `persistent.AS_COMPLETED_SETUP`. The boot loader's `boot()` method contains parameters to customize the Assistant's modes and any additional disclaimers, if necessary.
13 |
14 | ## Manual Setup
15 |
16 | If you want to call the Setup Assistant manually, you can use `ASSetup.startSetup()` to call the Assistant at any time.
17 |
18 | ### `startSetup(express=True, disclaimer=None)`
19 |
20 | **Parameters**
21 |
22 | - `express`: Whether Express Mode is enabled. The default is set to True.
23 | - `disclaimer`: A string containing any disclaimers or legal agreements. If set to None, the Setup Assistant will skip this step.
24 |
25 | **Returns**
26 |
27 | The Setup Assistant will return `persistent.playername` if it is deemed necessary for use.
28 |
29 | ## Adding steps to the Setup Assistant
30 |
31 | The Setup Assistant can be further customized by editing `startSetup()` in the core service file. The function calls the `ASSetupAssistantView` to display the step as a slide and collect any information if necessary. For example:
32 |
33 | ```python
34 | renpy.call_screen("ASSetupAssistantView",
35 | title="Create Your Username",
36 | instructions="Type in a username that you want to use while using AliceOS. This name will also appear as your character name if applicable.",
37 | useInputMethod=True)
38 | ```
39 |
40 | ### `ASSetupAssistantView(title="Setup Assistant", instructions, useInputMethod=False, completed=False)`
41 |
42 | **Parameters**
43 |
44 | - `title`: The title of the step or slide.
45 | - `instructions`: A brief description or set of instructions of what needs to be done on the step.
46 | - `useInputMethod`: Whether to hide the 'Next' button and insert a text field instead.
47 | - `completed`: Whether to change the 'Next' button text to 'Finish'.
48 |
49 | **Returns**
50 |
51 | If the screen is called using `renpy.call_screen()`, the following is returned:
52 |
53 | - For steps that do not use the input method, `'didCompleteStep'` is returned.
54 | - For steps that use the input method, the input is returned as a string.
55 |
--------------------------------------------------------------------------------
/mkdocs/images/apps/apps-sn-hero.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/apps/apps-sn-hero.png
--------------------------------------------------------------------------------
/mkdocs/images/apps/apps-ui-hero.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/apps/apps-ui-hero.png
--------------------------------------------------------------------------------
/mkdocs/images/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/favicon.ico
--------------------------------------------------------------------------------
/mkdocs/images/github.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/github.png
--------------------------------------------------------------------------------
/mkdocs/images/hero.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/hero.jpg
--------------------------------------------------------------------------------
/mkdocs/images/logo.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
--------------------------------------------------------------------------------
/mkdocs/images/nk/alerts.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/nk/alerts.png
--------------------------------------------------------------------------------
/mkdocs/images/nk/banner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/nk/banner.png
--------------------------------------------------------------------------------
/mkdocs/images/nk/extended_alerts.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/nk/extended_alerts.png
--------------------------------------------------------------------------------
/mkdocs/images/system/app-manager.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/system/app-manager.png
--------------------------------------------------------------------------------
/mkdocs/images/system/bootloader.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/system/bootloader.png
--------------------------------------------------------------------------------
/mkdocs/images/system/critical-error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/system/critical-error.png
--------------------------------------------------------------------------------
/mkdocs/images/system/cservices/boot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/system/cservices/boot.png
--------------------------------------------------------------------------------
/mkdocs/images/system/cservices/desktop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/system/cservices/desktop.png
--------------------------------------------------------------------------------
/mkdocs/images/system/cservices/halt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/system/cservices/halt.png
--------------------------------------------------------------------------------
/mkdocs/images/system/cservices/setup.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/system/cservices/setup.png
--------------------------------------------------------------------------------
/mkdocs/images/system/defapps/appman.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/system/defapps/appman.png
--------------------------------------------------------------------------------
/mkdocs/images/system/defapps/inventories.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/system/defapps/inventories.png
--------------------------------------------------------------------------------
/mkdocs/images/system/defapps/messages.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/system/defapps/messages.png
--------------------------------------------------------------------------------
/mkdocs/images/system/defapps/sysinfo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/system/defapps/sysinfo.png
--------------------------------------------------------------------------------
/mkdocs/images/system/inventories-hud.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/system/inventories-hud.png
--------------------------------------------------------------------------------
/mkdocs/images/system/inventories.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/system/inventories.png
--------------------------------------------------------------------------------
/mkdocs/images/system/setup-assistant.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/system/setup-assistant.png
--------------------------------------------------------------------------------
/mkdocs/images/ui/landing.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/ui/landing.png
--------------------------------------------------------------------------------
/mkdocs/images/verify.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/mkdocs/images/verify.png
--------------------------------------------------------------------------------
/mkdocs/index.md:
--------------------------------------------------------------------------------
1 | # Welcome
2 |
3 | 
4 |
5 | [](https://github.com/ProjectAliceDev/aliceos/releases) [](https://github.com/ProjectAliceDev/aliceos/actions)
6 |
7 | AliceOS is a robust and evolving framework for developing interactive visual novel experiences with operating system-like features such as notifications and setup assistants.
8 |
9 | ## Features and Principles
10 |
11 | The core principles of AliceOS are:
12 |
13 | - **Modular**: AliceOS uses a new framework format, under the `.aosframework` format. These frameworks are placed in the `System/Frameworks` folder and are not heavily reliant on AppKit.aosframework. However, the definitions file that states the default directories and what-not must be included in the System folder (including fonts).
14 | - **Apple-style APIs**: AliceOS's APIs aim to be easy-to-use and familiar to developers that have worked with APIs for macOS, iOS, tvOS, and watchOS.
15 | - **Safely extensible**: AliceOS includes support for extending itself with apps that are protected using appropriate, official APIs.
16 | - **Easy-to-install**: AliceOS installation is as easy as just copying the Ren'Py archive over to the game folder.
17 |
--------------------------------------------------------------------------------
/project.json:
--------------------------------------------------------------------------------
1 | {"build_update": false, "packages": ["_ASBaseSystem"], "add_from": true, "force_recompile": true, "renamed_all": true}
--------------------------------------------------------------------------------
/repo_assets/project_header.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/repo_assets/project_header.png
--------------------------------------------------------------------------------
/repo_assets/project_header_relname.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ProjectAliceDev/aliceos/e9edd72caf4df9e9e3f0fd052929f9fa15f5b41a/repo_assets/project_header_relname.png
--------------------------------------------------------------------------------
/scripts/inject_version.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # You find yourself in a strange place. This is where we inject semvering via Git Tags
4 | # No need to change anything below the replacer variable.
5 | # Just change the value of replacer, the script will do everything for you
6 |
7 | replacer="2.0.0"
8 | shortened_hash="$(echo $commit | head -c 7)"
9 |
10 | if [[ $tag == "refs/tags/"* ]]; then
11 | tag_remove="refs/tags/"
12 | new_tag=${tag#"${tag_remove}"}
13 | tag=$new_tag
14 | fi
15 |
16 | if [ ! -z $tag ]; then
17 | echo "Tag ${tag} found. Using tag..."
18 | sed -i "s/define config.version = \"$replacer\"/define config.version = \"${tag}-rpy_${sdk}\"/g" game/options.rpy;
19 | sed -i "s/\"BUILD_ID\": \"GITHASH\"/\"BUILD_ID\": \"$tag\"/g" game/System/ASDefinitions.rpy;
20 | cat game/options.rpy | grep config.version;
21 | cat game/System/ASDefinitions.rpy | grep BUILD_ID;
22 | else
23 | echo "No tag found. Using Git hash..."
24 | sed -i "s/config.version = \"$replacer\"/config.version = \"${shortened_hash}-rpy_${sdk}\"/g" game/options.rpy;
25 | sed -i "s/\"BUILD_ID\": \"GITHASH\"/\"BUILD_ID\": \"$shortened_hash\"/g" game/System/ASDefinitions.rpy;
26 | cat game/options.rpy | grep config.version;
27 | cat game/System/ASDefinitions.rpy | grep BUILD_ID;
28 | fi
29 |
--------------------------------------------------------------------------------