├── .gitignore
├── .metadata
├── .vscode
└── launch.json
├── LICENSE
├── README.md
├── analysis_options.yaml
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── io
│ │ │ │ └── flutter
│ │ │ │ └── app
│ │ │ │ └── FlutterMultiDexApplication.java
│ │ ├── kotlin
│ │ │ └── dev
│ │ │ │ └── solonenko
│ │ │ │ └── titanius
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable-v21
│ │ │ └── launch_background.xml
│ │ │ ├── drawable-xhdpi
│ │ │ └── banner.png
│ │ │ ├── drawable
│ │ │ └── launch_background.xml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ └── ic_launcher.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_adaptive_back.png
│ │ │ └── ic_launcher_adaptive_fore.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_adaptive_back.png
│ │ │ └── ic_launcher_adaptive_fore.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_adaptive_back.png
│ │ │ └── ic_launcher_adaptive_fore.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_adaptive_back.png
│ │ │ └── ic_launcher_adaptive_fore.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_adaptive_back.png
│ │ │ └── ic_launcher_adaptive_fore.png
│ │ │ ├── values-night
│ │ │ └── styles.xml
│ │ │ └── values
│ │ │ └── styles.xml
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
└── settings.gradle
├── assets
├── images
│ ├── color
│ │ ├── 3DO Interactive Multiplayer.png
│ │ ├── Amstrad CPC.png
│ │ ├── Amstrad GX4000.png
│ │ ├── Android.png
│ │ ├── Arcade Classics.png
│ │ ├── Atari 2600.png
│ │ ├── Atari 5200.png
│ │ ├── Atari 7800.png
│ │ ├── Atari Jaguar.png
│ │ ├── Atari Lynx.png
│ │ ├── Atari ST.png
│ │ ├── Capcom Play System II.png
│ │ ├── Capcom Play System III.png
│ │ ├── Capcom Play System.png
│ │ ├── ColecoVision.png
│ │ ├── Commodore 64.png
│ │ ├── Commodore Amiga CD32.png
│ │ ├── Commodore Amiga.png
│ │ ├── Fairchild Channel F.png
│ │ ├── Final Burn Neo.png
│ │ ├── GCE Vectrex.png
│ │ ├── MAME.png
│ │ ├── MS-DOS.png
│ │ ├── Mattel Intellivision.png
│ │ ├── Microsoft MSX.png
│ │ ├── NEC PC Engine SuperGrafx.png
│ │ ├── NEC PC-8801.png
│ │ ├── NEC PC-9801.png
│ │ ├── NEC PC-FX.png
│ │ ├── NEC TurboGrafx-16.png
│ │ ├── NEC TurboGrafx-CD.png
│ │ ├── Nintendo 3DS.png
│ │ ├── Nintendo 64.png
│ │ ├── Nintendo DS.png
│ │ ├── Nintendo Entertainment System.png
│ │ ├── Nintendo Famicom Disk System.png
│ │ ├── Nintendo Game & Watch.png
│ │ ├── Nintendo Game Boy Advance.png
│ │ ├── Nintendo Game Boy Color.png
│ │ ├── Nintendo Game Boy.png
│ │ ├── Nintendo GameCube.png
│ │ ├── Nintendo Pokemon Mini.png
│ │ ├── Nintendo Switch.png
│ │ ├── Nintendo Virtual Boy.png
│ │ ├── Nintendo Wii U.png
│ │ ├── Nintendo Wii.png
│ │ ├── Nintendo WiiWare.png
│ │ ├── Philips CD-i.png
│ │ ├── Pico-8.png
│ │ ├── SNK Neo Geo CD.png
│ │ ├── SNK Neo Geo Pocket Color.png
│ │ ├── SNK Neo Geo Pocket.png
│ │ ├── SNK Neo Geo.png
│ │ ├── Sammy Atomiswave.png
│ │ ├── ScummVM.png
│ │ ├── Sega 32X.png
│ │ ├── Sega CD.png
│ │ ├── Sega Dreamcast.png
│ │ ├── Sega Game Gear.png
│ │ ├── Sega Genesis.png
│ │ ├── Sega Master System.png
│ │ ├── Sega Mega Drive.png
│ │ ├── Sega Mega-CD.png
│ │ ├── Sega Naomi.png
│ │ ├── Sega SG-1000.png
│ │ ├── Sega Saturn.png
│ │ ├── Sharp X68000.png
│ │ ├── Sinclair ZX Spectrum.png
│ │ ├── Sinclair ZX81.png
│ │ ├── Sony PS Vita.png
│ │ ├── Sony PSP Minis.png
│ │ ├── Sony PSP.png
│ │ ├── Sony Playstation 2.png
│ │ ├── Sony Playstation.png
│ │ ├── Super Nintendo Entertainment System.png
│ │ ├── TIC-80.png
│ │ ├── Watara Supervision.png
│ │ ├── WonderSwan.png
│ │ └── Wonderswan Color.png
│ └── white
│ │ ├── 3DO Interactive Multiplayer.png
│ │ ├── Amstrad CPC.png
│ │ ├── Amstrad GX4000.png
│ │ ├── Android.png
│ │ ├── Arcade Classics.png
│ │ ├── Atari 2600.png
│ │ ├── Atari 5200.png
│ │ ├── Atari 7800.png
│ │ ├── Atari Jaguar.png
│ │ ├── Atari Lynx.png
│ │ ├── Atari ST.png
│ │ ├── Capcom Play System II.png
│ │ ├── Capcom Play System III.png
│ │ ├── Capcom Play System.png
│ │ ├── ColecoVision.png
│ │ ├── Commodore 64.png
│ │ ├── Commodore Amiga CD32.png
│ │ ├── Commodore Amiga.png
│ │ ├── Fairchild Channel F.png
│ │ ├── Final Burn Neo.png
│ │ ├── GCE Vectrex.png
│ │ ├── MAME.png
│ │ ├── MS-DOS.png
│ │ ├── Mattel Intellivision.png
│ │ ├── Microsoft MSX.png
│ │ ├── NEC PC Engine SuperGrafx.png
│ │ ├── NEC PC-8801.png
│ │ ├── NEC PC-9801.png
│ │ ├── NEC PC-FX.png
│ │ ├── NEC TurboGrafx-16.png
│ │ ├── NEC TurboGrafx-CD.png
│ │ ├── Nintendo 3DS.png
│ │ ├── Nintendo 64.png
│ │ ├── Nintendo DS.png
│ │ ├── Nintendo Entertainment System.png
│ │ ├── Nintendo Famicom Disk System.png
│ │ ├── Nintendo Game & Watch.png
│ │ ├── Nintendo Game Boy Advance.png
│ │ ├── Nintendo Game Boy Color.png
│ │ ├── Nintendo Game Boy.png
│ │ ├── Nintendo GameCube.png
│ │ ├── Nintendo Pokemon Mini.png
│ │ ├── Nintendo Switch.png
│ │ ├── Nintendo Virtual Boy.png
│ │ ├── Nintendo Wii U.png
│ │ ├── Nintendo Wii.png
│ │ ├── Nintendo WiiWare.png
│ │ ├── Philips CD-i.png
│ │ ├── Pico-8.png
│ │ ├── SNK Neo Geo CD.png
│ │ ├── SNK Neo Geo Pocket Color.png
│ │ ├── SNK Neo Geo Pocket.png
│ │ ├── SNK Neo Geo.png
│ │ ├── Sammy Atomiswave.png
│ │ ├── ScummVM.png
│ │ ├── Sega 32X.png
│ │ ├── Sega CD.png
│ │ ├── Sega Dreamcast.png
│ │ ├── Sega Game Gear.png
│ │ ├── Sega Genesis.png
│ │ ├── Sega Master System.png
│ │ ├── Sega Mega Drive.png
│ │ ├── Sega Mega-CD.png
│ │ ├── Sega Naomi.png
│ │ ├── Sega SG-1000.png
│ │ ├── Sega Saturn.png
│ │ ├── Sharp X68000.png
│ │ ├── Sinclair ZX Spectrum.png
│ │ ├── Sinclair ZX81.png
│ │ ├── Sony PS Vita.png
│ │ ├── Sony PSP Minis.png
│ │ ├── Sony PSP.png
│ │ ├── Sony Playstation 2.png
│ │ ├── Sony Playstation.png
│ │ ├── Super Nintendo Entertainment System.png
│ │ ├── TIC-80.png
│ │ ├── Watara Supervision.png
│ │ ├── WonderSwan.png
│ │ └── Wonderswan Color.png
├── metadata.json
├── screenscraper_systems.json
└── screenshots
│ ├── 01.png
│ ├── 02.png
│ ├── 03.png
│ ├── 04.png
│ ├── 05.png
│ ├── 06.png
│ └── 07.png
├── codemagic.yaml
├── fonts
├── Koulen-Regular.ttf
├── PromptFont.otf
└── Staatliches-Regular.ttf
├── go.mod
├── go.sum
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Podfile
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ └── WorkspaceSettings.xcsettings
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── IDEWorkspaceChecks.plist
│ │ └── WorkspaceSettings.xcsettings
└── Runner
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ ├── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── Icon-App-1024x1024@1x.png
│ │ ├── Icon-App-20x20@1x.png
│ │ ├── Icon-App-20x20@2x.png
│ │ ├── Icon-App-20x20@3x.png
│ │ ├── Icon-App-29x29@1x.png
│ │ ├── Icon-App-29x29@2x.png
│ │ ├── Icon-App-29x29@3x.png
│ │ ├── Icon-App-40x40@1x.png
│ │ ├── Icon-App-40x40@2x.png
│ │ ├── Icon-App-40x40@3x.png
│ │ ├── Icon-App-60x60@2x.png
│ │ ├── Icon-App-60x60@3x.png
│ │ ├── Icon-App-76x76@1x.png
│ │ ├── Icon-App-76x76@2x.png
│ │ └── Icon-App-83.5x83.5@2x.png
│ └── LaunchImage.imageset
│ │ ├── Contents.json
│ │ ├── LaunchImage.png
│ │ ├── LaunchImage@2x.png
│ │ ├── LaunchImage@3x.png
│ │ └── README.md
│ ├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
│ ├── Info.plist
│ └── Runner-Bridging-Header.h
├── lib
├── data
│ ├── android_apps.dart
│ ├── android_intent.dart
│ ├── android_saf.dart
│ ├── daijisho.dart
│ ├── emulators.dart
│ ├── env.dart
│ ├── files.dart
│ ├── gamelist_xml.dart
│ ├── games.dart
│ ├── models.dart
│ ├── repo.dart
│ ├── scraper.dart
│ ├── stack.dart
│ ├── state.dart
│ ├── storage.dart
│ └── systems.dart
├── gamepad.dart
├── main.dart
├── pages
│ ├── android.dart
│ ├── filter.dart
│ ├── filters
│ │ └── genres.dart
│ ├── game_settings.dart
│ ├── games.dart
│ ├── scraper.dart
│ ├── settings.dart
│ ├── settings
│ │ ├── apps.dart
│ │ ├── cemulators.dart
│ │ ├── daijisho.dart
│ │ ├── emulators.dart
│ │ ├── roms.dart
│ │ ├── scraper_systems.dart
│ │ ├── systems.dart
│ │ └── ui.dart
│ ├── system_proxy.dart
│ └── systems.dart
└── widgets
│ ├── appbar.dart
│ ├── battery.dart
│ ├── fade_image_to_video.dart
│ ├── gamepad_prompt.dart
│ ├── icons.dart
│ ├── info_tile.dart
│ ├── prompt_bar.dart
│ ├── scraper_progress.dart
│ ├── selector.dart
│ ├── time.dart
│ └── wifi.dart
├── linux
├── .gitignore
├── CMakeLists.txt
├── flutter
│ ├── CMakeLists.txt
│ ├── generated_plugin_registrant.cc
│ ├── generated_plugin_registrant.h
│ └── generated_plugins.cmake
├── main.cc
├── my_application.cc
└── my_application.h
├── macos
├── .gitignore
├── Flutter
│ ├── Flutter-Debug.xcconfig
│ ├── Flutter-Release.xcconfig
│ └── GeneratedPluginRegistrant.swift
├── Podfile
├── Podfile.lock
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ └── xcshareddata
│ │ │ └── IDEWorkspaceChecks.plist
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── IDEWorkspaceChecks.plist
└── Runner
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── app_icon_1024.png
│ │ ├── app_icon_128.png
│ │ ├── app_icon_16.png
│ │ ├── app_icon_256.png
│ │ ├── app_icon_32.png
│ │ ├── app_icon_512.png
│ │ └── app_icon_64.png
│ ├── Base.lproj
│ └── MainMenu.xib
│ ├── Configs
│ ├── AppInfo.xcconfig
│ ├── Debug.xcconfig
│ ├── Release.xcconfig
│ └── Warnings.xcconfig
│ ├── DebugProfile.entitlements
│ ├── Info.plist
│ ├── MainFlutterWindow.swift
│ └── Release.entitlements
├── pubspec.lock
├── pubspec.yaml
├── scripts
└── daijisho
│ └── main.go
├── test
├── assets_test.dart
└── intent_test.dart
├── web
├── favicon.png
├── icons
│ ├── Icon-192.png
│ ├── Icon-512.png
│ ├── Icon-maskable-192.png
│ └── Icon-maskable-512.png
├── index.html
└── manifest.json
└── windows
├── .gitignore
├── CMakeLists.txt
├── flutter
├── CMakeLists.txt
├── generated_plugin_registrant.cc
├── generated_plugin_registrant.h
└── generated_plugins.cmake
└── runner
├── CMakeLists.txt
├── Runner.rc
├── flutter_window.cpp
├── flutter_window.h
├── main.cpp
├── resource.h
├── resources
└── app_icon.ico
├── runner.exe.manifest
├── utils.cpp
├── utils.h
├── win32_window.cpp
└── win32_window.h
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 | migrate_working_dir/
12 |
13 | # IntelliJ related
14 | *.iml
15 | *.ipr
16 | *.iws
17 | .idea/
18 |
19 | # The .vscode folder contains launch configuration and tasks you configure in
20 | # VS Code which you may wish to be included in version control, so this line
21 | # is commented out by default.
22 | #.vscode/
23 |
24 | # Flutter/Dart/Pub related
25 | **/doc/api/
26 | **/ios/Flutter/.last_build_id
27 | .dart_tool/
28 | .flutter-plugins
29 | .flutter-plugins-dependencies
30 | .packages
31 | .pub-cache/
32 | .pub/
33 | /build/
34 | **/*.g.dart
35 | **/.env*
36 |
37 | # Symbolication related
38 | app.*.symbols
39 |
40 | # Obfuscation related
41 | app.*.map.json
42 |
43 | # Android Studio will place build artifacts here
44 | /android/app/debug
45 | /android/app/profile
46 | /android/app/release
47 | *.keystore
--------------------------------------------------------------------------------
/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled.
5 |
6 | version:
7 | revision: 135454af32477f815a7525073027a3ff9eff1bfd
8 | channel: stable
9 |
10 | project_type: app
11 |
12 | # Tracks metadata for the flutter migrate command
13 | migration:
14 | platforms:
15 | - platform: root
16 | create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
17 | base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
18 | - platform: android
19 | create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
20 | base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
21 | - platform: ios
22 | create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
23 | base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
24 | - platform: linux
25 | create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
26 | base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
27 | - platform: macos
28 | create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
29 | base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
30 | - platform: web
31 | create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
32 | base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
33 | - platform: windows
34 | create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
35 | base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
36 |
37 | # User provided section
38 |
39 | # List of Local paths (relative to this file) that should be
40 | # ignored by the migrate tool.
41 | #
42 | # Files that are not part of the templates will be ignored by default.
43 | unmanaged_files:
44 | - 'lib/main.dart'
45 | - 'ios/Runner.xcodeproj/project.pbxproj'
46 |
--------------------------------------------------------------------------------
/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to learn about possible attributes.
3 | // Hover to view descriptions of existing attributes.
4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": "Launch file",
9 | "type": "go",
10 | "request": "launch",
11 | "mode": "debug",
12 | "program": "${file}"
13 | },
14 | {
15 | "name": "titanius",
16 | "request": "launch",
17 | "type": "dart"
18 | },
19 | {
20 | "name": "titanius (profile mode)",
21 | "request": "launch",
22 | "type": "dart",
23 | "flutterMode": "profile"
24 | },
25 | {
26 | "name": "titanius (release mode)",
27 | "request": "launch",
28 | "type": "dart",
29 | "flutterMode": "release"
30 | }
31 | ]
32 | }
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2023 Denis Solonenko
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/analysis_options.yaml:
--------------------------------------------------------------------------------
1 | # This file configures the analyzer, which statically analyzes Dart code to
2 | # check for errors, warnings, and lints.
3 | #
4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6 | # invoked from the command line by running `flutter analyze`.
7 |
8 | # The following line activates a set of recommended lints for Flutter apps,
9 | # packages, and plugins designed to encourage good coding practices.
10 | include: package:flutter_lints/flutter.yaml
11 |
12 | linter:
13 | # The lint rules applied to this project can be customized in the
14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml`
15 | # included above or to enable additional rules. A list of all available lints
16 | # and their documentation is published at
17 | # https://dart-lang.github.io/linter/lints/index.html.
18 | #
19 | # Instead of disabling a lint rule for the entire project in the
20 | # section below, it can also be suppressed for a single line of code
21 | # or a specific dart file by using the `// ignore: name_of_lint` and
22 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file
23 | # producing the lint.
24 | rules:
25 | # avoid_print: false # Uncomment to disable the `avoid_print` rule
26 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
27 |
28 | # Additional information about this file can be found at
29 | # https://dart.dev/guides/language/analysis-options
30 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 | **/*.keystore
13 | **/*.jks
14 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | flutterVersionCode = '1'
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | flutterVersionName = '1.0'
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply plugin: 'kotlin-android'
26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27 |
28 | android {
29 | compileSdkVersion 34
30 | ndkVersion flutter.ndkVersion
31 |
32 | compileOptions {
33 | sourceCompatibility JavaVersion.VERSION_1_8
34 | targetCompatibility JavaVersion.VERSION_1_8
35 | }
36 |
37 | kotlinOptions {
38 | jvmTarget = '1.8'
39 | }
40 |
41 | sourceSets {
42 | main.java.srcDirs += 'src/main/kotlin'
43 | }
44 |
45 | defaultConfig {
46 | applicationId "app.titanius.launcher"
47 | minSdkVersion 26
48 | targetSdkVersion 26
49 | versionCode flutterVersionCode.toInteger()
50 | versionName flutterVersionName
51 | }
52 |
53 | signingConfigs {
54 | release {
55 | if (System.getenv()["CI"]) { // CI=true is exported by Codemagic
56 | storeFile file(System.getenv()["CM_KEYSTORE_PATH"])
57 | storePassword System.getenv()["CM_KEYSTORE_PASSWORD"]
58 | keyAlias System.getenv()["CM_KEY_ALIAS"]
59 | keyPassword System.getenv()["CM_KEY_PASSWORD"]
60 | }
61 | }
62 | }
63 |
64 | buildTypes {
65 | release {
66 | signingConfig signingConfigs.release
67 | }
68 | }
69 | }
70 |
71 | flutter {
72 | source '../..'
73 | }
74 |
75 | dependencies {
76 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
77 | implementation 'androidx.documentfile:documentfile:1.0.1'
78 | }
79 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
20 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
38 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/android/app/src/main/java/io/flutter/app/FlutterMultiDexApplication.java:
--------------------------------------------------------------------------------
1 | // Generated file.
2 | //
3 | // If you wish to remove Flutter's multidex support, delete this entire file.
4 | //
5 | // Modifications to this file should be done in a copy under a different name
6 | // as this file may be regenerated.
7 |
8 | package io.flutter.app;
9 |
10 | import android.app.Application;
11 | import android.content.Context;
12 | import androidx.annotation.CallSuper;
13 | import androidx.multidex.MultiDex;
14 |
15 | /**
16 | * Extension of {@link android.app.Application}, adding multidex support.
17 | */
18 | public class FlutterMultiDexApplication extends Application {
19 | @Override
20 | @CallSuper
21 | protected void attachBaseContext(Context base) {
22 | super.attachBaseContext(base);
23 | MultiDex.install(this);
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/dev/solonenko/titanius/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package app.titanius.launcher
2 |
3 | import android.content.ContentUris
4 | import android.content.ContentResolver
5 | import android.content.Intent
6 | import android.net.Uri
7 | import android.os.Build
8 | import android.provider.MediaStore
9 | import androidx.annotation.RequiresApi
10 | import io.flutter.embedding.android.FlutterActivity
11 | import io.flutter.embedding.engine.FlutterEngine
12 | import io.flutter.plugin.common.MethodCall
13 | import io.flutter.plugin.common.MethodChannel
14 |
15 | class MainActivity : FlutterActivity() {
16 | private val CHANNEL = "file_utils"
17 |
18 | override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
19 | super.configureFlutterEngine(flutterEngine)
20 | MethodChannel(flutterEngine.dartExecutor.binaryMessenger, CHANNEL).setMethodCallHandler { call, result ->
21 | if (call.method == "getContentUri") {
22 | val path = call.argument("path")
23 | if (path != null) {
24 | val contentUri = getContentUriFromFilePath(path)
25 | if (contentUri != null) {
26 | result.success(contentUri)
27 | } else {
28 | result.error("INVALID_URI", "Invalid URI", null)
29 | }
30 | } else {
31 | result.error("INVALID_ARGUMENTS", "Invalid arguments", null)
32 | }
33 | } else {
34 | result.notImplemented()
35 | }
36 | }
37 | }
38 |
39 | private fun getContentUriFromFilePath(filePath: String): String? {
40 | val contentResolver = applicationContext.contentResolver
41 | val cursor = contentResolver.query(
42 | MediaStore.Files.getContentUri("external"),
43 | arrayOf(MediaStore.Files.FileColumns._ID),
44 | MediaStore.Files.FileColumns.DATA + "=?",
45 | arrayOf(filePath),
46 | null
47 | )
48 |
49 | var contentUri: String? = null
50 | if (cursor != null && cursor.moveToFirst()) {
51 | val id = cursor.getLong(cursor.getColumnIndex(MediaStore.Files.FileColumns._ID))
52 | contentUri = ContentUris.withAppendedId(MediaStore.Files.getContentUri("external"), id).toString()
53 | cursor.close()
54 | }
55 |
56 | return contentUri
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-xhdpi/banner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/android/app/src/main/res/drawable-xhdpi/banner.png
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher_adaptive_back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/android/app/src/main/res/mipmap-hdpi/ic_launcher_adaptive_back.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher_adaptive_fore.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/android/app/src/main/res/mipmap-hdpi/ic_launcher_adaptive_fore.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher_adaptive_back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/android/app/src/main/res/mipmap-mdpi/ic_launcher_adaptive_back.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher_adaptive_fore.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/android/app/src/main/res/mipmap-mdpi/ic_launcher_adaptive_fore.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher_adaptive_back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/android/app/src/main/res/mipmap-xhdpi/ic_launcher_adaptive_back.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher_adaptive_fore.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/android/app/src/main/res/mipmap-xhdpi/ic_launcher_adaptive_fore.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_adaptive_back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_adaptive_back.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_adaptive_fore.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_adaptive_fore.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_adaptive_back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_adaptive_back.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_adaptive_fore.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_adaptive_fore.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values-night/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
16 |
20 |
21 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
16 |
20 |
21 |
30 |
31 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.8.20'
3 | repositories {
4 | google()
5 | mavenCentral()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:7.1.2'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | mavenCentral()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
24 | }
25 | subprojects {
26 | project.evaluationDependsOn(':app')
27 | }
28 |
29 | tasks.register("clean", Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
6 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
4 | def properties = new Properties()
5 |
6 | assert localPropertiesFile.exists()
7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
8 |
9 | def flutterSdkPath = properties.getProperty("flutter.sdk")
10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
12 |
--------------------------------------------------------------------------------
/assets/images/color/3DO Interactive Multiplayer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/3DO Interactive Multiplayer.png
--------------------------------------------------------------------------------
/assets/images/color/Amstrad CPC.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Amstrad CPC.png
--------------------------------------------------------------------------------
/assets/images/color/Amstrad GX4000.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Amstrad GX4000.png
--------------------------------------------------------------------------------
/assets/images/color/Android.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Android.png
--------------------------------------------------------------------------------
/assets/images/color/Arcade Classics.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Arcade Classics.png
--------------------------------------------------------------------------------
/assets/images/color/Atari 2600.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Atari 2600.png
--------------------------------------------------------------------------------
/assets/images/color/Atari 5200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Atari 5200.png
--------------------------------------------------------------------------------
/assets/images/color/Atari 7800.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Atari 7800.png
--------------------------------------------------------------------------------
/assets/images/color/Atari Jaguar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Atari Jaguar.png
--------------------------------------------------------------------------------
/assets/images/color/Atari Lynx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Atari Lynx.png
--------------------------------------------------------------------------------
/assets/images/color/Atari ST.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Atari ST.png
--------------------------------------------------------------------------------
/assets/images/color/Capcom Play System II.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Capcom Play System II.png
--------------------------------------------------------------------------------
/assets/images/color/Capcom Play System III.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Capcom Play System III.png
--------------------------------------------------------------------------------
/assets/images/color/Capcom Play System.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Capcom Play System.png
--------------------------------------------------------------------------------
/assets/images/color/ColecoVision.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/ColecoVision.png
--------------------------------------------------------------------------------
/assets/images/color/Commodore 64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Commodore 64.png
--------------------------------------------------------------------------------
/assets/images/color/Commodore Amiga CD32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Commodore Amiga CD32.png
--------------------------------------------------------------------------------
/assets/images/color/Commodore Amiga.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Commodore Amiga.png
--------------------------------------------------------------------------------
/assets/images/color/Fairchild Channel F.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Fairchild Channel F.png
--------------------------------------------------------------------------------
/assets/images/color/Final Burn Neo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Final Burn Neo.png
--------------------------------------------------------------------------------
/assets/images/color/GCE Vectrex.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/GCE Vectrex.png
--------------------------------------------------------------------------------
/assets/images/color/MAME.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/MAME.png
--------------------------------------------------------------------------------
/assets/images/color/MS-DOS.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/MS-DOS.png
--------------------------------------------------------------------------------
/assets/images/color/Mattel Intellivision.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Mattel Intellivision.png
--------------------------------------------------------------------------------
/assets/images/color/Microsoft MSX.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Microsoft MSX.png
--------------------------------------------------------------------------------
/assets/images/color/NEC PC Engine SuperGrafx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/NEC PC Engine SuperGrafx.png
--------------------------------------------------------------------------------
/assets/images/color/NEC PC-8801.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/NEC PC-8801.png
--------------------------------------------------------------------------------
/assets/images/color/NEC PC-9801.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/NEC PC-9801.png
--------------------------------------------------------------------------------
/assets/images/color/NEC PC-FX.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/NEC PC-FX.png
--------------------------------------------------------------------------------
/assets/images/color/NEC TurboGrafx-16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/NEC TurboGrafx-16.png
--------------------------------------------------------------------------------
/assets/images/color/NEC TurboGrafx-CD.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/NEC TurboGrafx-CD.png
--------------------------------------------------------------------------------
/assets/images/color/Nintendo 3DS.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Nintendo 3DS.png
--------------------------------------------------------------------------------
/assets/images/color/Nintendo 64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Nintendo 64.png
--------------------------------------------------------------------------------
/assets/images/color/Nintendo DS.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Nintendo DS.png
--------------------------------------------------------------------------------
/assets/images/color/Nintendo Entertainment System.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Nintendo Entertainment System.png
--------------------------------------------------------------------------------
/assets/images/color/Nintendo Famicom Disk System.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Nintendo Famicom Disk System.png
--------------------------------------------------------------------------------
/assets/images/color/Nintendo Game & Watch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Nintendo Game & Watch.png
--------------------------------------------------------------------------------
/assets/images/color/Nintendo Game Boy Advance.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Nintendo Game Boy Advance.png
--------------------------------------------------------------------------------
/assets/images/color/Nintendo Game Boy Color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Nintendo Game Boy Color.png
--------------------------------------------------------------------------------
/assets/images/color/Nintendo Game Boy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Nintendo Game Boy.png
--------------------------------------------------------------------------------
/assets/images/color/Nintendo GameCube.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Nintendo GameCube.png
--------------------------------------------------------------------------------
/assets/images/color/Nintendo Pokemon Mini.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Nintendo Pokemon Mini.png
--------------------------------------------------------------------------------
/assets/images/color/Nintendo Switch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Nintendo Switch.png
--------------------------------------------------------------------------------
/assets/images/color/Nintendo Virtual Boy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Nintendo Virtual Boy.png
--------------------------------------------------------------------------------
/assets/images/color/Nintendo Wii U.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Nintendo Wii U.png
--------------------------------------------------------------------------------
/assets/images/color/Nintendo Wii.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Nintendo Wii.png
--------------------------------------------------------------------------------
/assets/images/color/Nintendo WiiWare.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Nintendo WiiWare.png
--------------------------------------------------------------------------------
/assets/images/color/Philips CD-i.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Philips CD-i.png
--------------------------------------------------------------------------------
/assets/images/color/Pico-8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Pico-8.png
--------------------------------------------------------------------------------
/assets/images/color/SNK Neo Geo CD.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/SNK Neo Geo CD.png
--------------------------------------------------------------------------------
/assets/images/color/SNK Neo Geo Pocket Color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/SNK Neo Geo Pocket Color.png
--------------------------------------------------------------------------------
/assets/images/color/SNK Neo Geo Pocket.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/SNK Neo Geo Pocket.png
--------------------------------------------------------------------------------
/assets/images/color/SNK Neo Geo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/SNK Neo Geo.png
--------------------------------------------------------------------------------
/assets/images/color/Sammy Atomiswave.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Sammy Atomiswave.png
--------------------------------------------------------------------------------
/assets/images/color/ScummVM.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/ScummVM.png
--------------------------------------------------------------------------------
/assets/images/color/Sega 32X.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Sega 32X.png
--------------------------------------------------------------------------------
/assets/images/color/Sega CD.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Sega CD.png
--------------------------------------------------------------------------------
/assets/images/color/Sega Dreamcast.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Sega Dreamcast.png
--------------------------------------------------------------------------------
/assets/images/color/Sega Game Gear.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Sega Game Gear.png
--------------------------------------------------------------------------------
/assets/images/color/Sega Genesis.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Sega Genesis.png
--------------------------------------------------------------------------------
/assets/images/color/Sega Master System.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Sega Master System.png
--------------------------------------------------------------------------------
/assets/images/color/Sega Mega Drive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Sega Mega Drive.png
--------------------------------------------------------------------------------
/assets/images/color/Sega Mega-CD.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Sega Mega-CD.png
--------------------------------------------------------------------------------
/assets/images/color/Sega Naomi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Sega Naomi.png
--------------------------------------------------------------------------------
/assets/images/color/Sega SG-1000.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Sega SG-1000.png
--------------------------------------------------------------------------------
/assets/images/color/Sega Saturn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Sega Saturn.png
--------------------------------------------------------------------------------
/assets/images/color/Sharp X68000.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Sharp X68000.png
--------------------------------------------------------------------------------
/assets/images/color/Sinclair ZX Spectrum.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Sinclair ZX Spectrum.png
--------------------------------------------------------------------------------
/assets/images/color/Sinclair ZX81.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Sinclair ZX81.png
--------------------------------------------------------------------------------
/assets/images/color/Sony PS Vita.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Sony PS Vita.png
--------------------------------------------------------------------------------
/assets/images/color/Sony PSP Minis.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Sony PSP Minis.png
--------------------------------------------------------------------------------
/assets/images/color/Sony PSP.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Sony PSP.png
--------------------------------------------------------------------------------
/assets/images/color/Sony Playstation 2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Sony Playstation 2.png
--------------------------------------------------------------------------------
/assets/images/color/Sony Playstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Sony Playstation.png
--------------------------------------------------------------------------------
/assets/images/color/Super Nintendo Entertainment System.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Super Nintendo Entertainment System.png
--------------------------------------------------------------------------------
/assets/images/color/TIC-80.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/TIC-80.png
--------------------------------------------------------------------------------
/assets/images/color/Watara Supervision.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Watara Supervision.png
--------------------------------------------------------------------------------
/assets/images/color/WonderSwan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/WonderSwan.png
--------------------------------------------------------------------------------
/assets/images/color/Wonderswan Color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/color/Wonderswan Color.png
--------------------------------------------------------------------------------
/assets/images/white/3DO Interactive Multiplayer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/3DO Interactive Multiplayer.png
--------------------------------------------------------------------------------
/assets/images/white/Amstrad CPC.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Amstrad CPC.png
--------------------------------------------------------------------------------
/assets/images/white/Amstrad GX4000.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Amstrad GX4000.png
--------------------------------------------------------------------------------
/assets/images/white/Android.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Android.png
--------------------------------------------------------------------------------
/assets/images/white/Arcade Classics.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Arcade Classics.png
--------------------------------------------------------------------------------
/assets/images/white/Atari 2600.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Atari 2600.png
--------------------------------------------------------------------------------
/assets/images/white/Atari 5200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Atari 5200.png
--------------------------------------------------------------------------------
/assets/images/white/Atari 7800.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Atari 7800.png
--------------------------------------------------------------------------------
/assets/images/white/Atari Jaguar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Atari Jaguar.png
--------------------------------------------------------------------------------
/assets/images/white/Atari Lynx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Atari Lynx.png
--------------------------------------------------------------------------------
/assets/images/white/Atari ST.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Atari ST.png
--------------------------------------------------------------------------------
/assets/images/white/Capcom Play System II.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Capcom Play System II.png
--------------------------------------------------------------------------------
/assets/images/white/Capcom Play System III.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Capcom Play System III.png
--------------------------------------------------------------------------------
/assets/images/white/Capcom Play System.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Capcom Play System.png
--------------------------------------------------------------------------------
/assets/images/white/ColecoVision.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/ColecoVision.png
--------------------------------------------------------------------------------
/assets/images/white/Commodore 64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Commodore 64.png
--------------------------------------------------------------------------------
/assets/images/white/Commodore Amiga CD32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Commodore Amiga CD32.png
--------------------------------------------------------------------------------
/assets/images/white/Commodore Amiga.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Commodore Amiga.png
--------------------------------------------------------------------------------
/assets/images/white/Fairchild Channel F.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Fairchild Channel F.png
--------------------------------------------------------------------------------
/assets/images/white/Final Burn Neo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Final Burn Neo.png
--------------------------------------------------------------------------------
/assets/images/white/GCE Vectrex.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/GCE Vectrex.png
--------------------------------------------------------------------------------
/assets/images/white/MAME.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/MAME.png
--------------------------------------------------------------------------------
/assets/images/white/MS-DOS.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/MS-DOS.png
--------------------------------------------------------------------------------
/assets/images/white/Mattel Intellivision.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Mattel Intellivision.png
--------------------------------------------------------------------------------
/assets/images/white/Microsoft MSX.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Microsoft MSX.png
--------------------------------------------------------------------------------
/assets/images/white/NEC PC Engine SuperGrafx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/NEC PC Engine SuperGrafx.png
--------------------------------------------------------------------------------
/assets/images/white/NEC PC-8801.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/NEC PC-8801.png
--------------------------------------------------------------------------------
/assets/images/white/NEC PC-9801.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/NEC PC-9801.png
--------------------------------------------------------------------------------
/assets/images/white/NEC PC-FX.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/NEC PC-FX.png
--------------------------------------------------------------------------------
/assets/images/white/NEC TurboGrafx-16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/NEC TurboGrafx-16.png
--------------------------------------------------------------------------------
/assets/images/white/NEC TurboGrafx-CD.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/NEC TurboGrafx-CD.png
--------------------------------------------------------------------------------
/assets/images/white/Nintendo 3DS.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Nintendo 3DS.png
--------------------------------------------------------------------------------
/assets/images/white/Nintendo 64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Nintendo 64.png
--------------------------------------------------------------------------------
/assets/images/white/Nintendo DS.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Nintendo DS.png
--------------------------------------------------------------------------------
/assets/images/white/Nintendo Entertainment System.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Nintendo Entertainment System.png
--------------------------------------------------------------------------------
/assets/images/white/Nintendo Famicom Disk System.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Nintendo Famicom Disk System.png
--------------------------------------------------------------------------------
/assets/images/white/Nintendo Game & Watch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Nintendo Game & Watch.png
--------------------------------------------------------------------------------
/assets/images/white/Nintendo Game Boy Advance.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Nintendo Game Boy Advance.png
--------------------------------------------------------------------------------
/assets/images/white/Nintendo Game Boy Color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Nintendo Game Boy Color.png
--------------------------------------------------------------------------------
/assets/images/white/Nintendo Game Boy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Nintendo Game Boy.png
--------------------------------------------------------------------------------
/assets/images/white/Nintendo GameCube.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Nintendo GameCube.png
--------------------------------------------------------------------------------
/assets/images/white/Nintendo Pokemon Mini.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Nintendo Pokemon Mini.png
--------------------------------------------------------------------------------
/assets/images/white/Nintendo Switch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Nintendo Switch.png
--------------------------------------------------------------------------------
/assets/images/white/Nintendo Virtual Boy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Nintendo Virtual Boy.png
--------------------------------------------------------------------------------
/assets/images/white/Nintendo Wii U.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Nintendo Wii U.png
--------------------------------------------------------------------------------
/assets/images/white/Nintendo Wii.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Nintendo Wii.png
--------------------------------------------------------------------------------
/assets/images/white/Nintendo WiiWare.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Nintendo WiiWare.png
--------------------------------------------------------------------------------
/assets/images/white/Philips CD-i.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Philips CD-i.png
--------------------------------------------------------------------------------
/assets/images/white/Pico-8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Pico-8.png
--------------------------------------------------------------------------------
/assets/images/white/SNK Neo Geo CD.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/SNK Neo Geo CD.png
--------------------------------------------------------------------------------
/assets/images/white/SNK Neo Geo Pocket Color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/SNK Neo Geo Pocket Color.png
--------------------------------------------------------------------------------
/assets/images/white/SNK Neo Geo Pocket.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/SNK Neo Geo Pocket.png
--------------------------------------------------------------------------------
/assets/images/white/SNK Neo Geo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/SNK Neo Geo.png
--------------------------------------------------------------------------------
/assets/images/white/Sammy Atomiswave.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Sammy Atomiswave.png
--------------------------------------------------------------------------------
/assets/images/white/ScummVM.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/ScummVM.png
--------------------------------------------------------------------------------
/assets/images/white/Sega 32X.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Sega 32X.png
--------------------------------------------------------------------------------
/assets/images/white/Sega CD.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Sega CD.png
--------------------------------------------------------------------------------
/assets/images/white/Sega Dreamcast.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Sega Dreamcast.png
--------------------------------------------------------------------------------
/assets/images/white/Sega Game Gear.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Sega Game Gear.png
--------------------------------------------------------------------------------
/assets/images/white/Sega Genesis.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Sega Genesis.png
--------------------------------------------------------------------------------
/assets/images/white/Sega Master System.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Sega Master System.png
--------------------------------------------------------------------------------
/assets/images/white/Sega Mega Drive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Sega Mega Drive.png
--------------------------------------------------------------------------------
/assets/images/white/Sega Mega-CD.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Sega Mega-CD.png
--------------------------------------------------------------------------------
/assets/images/white/Sega Naomi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Sega Naomi.png
--------------------------------------------------------------------------------
/assets/images/white/Sega SG-1000.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Sega SG-1000.png
--------------------------------------------------------------------------------
/assets/images/white/Sega Saturn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Sega Saturn.png
--------------------------------------------------------------------------------
/assets/images/white/Sharp X68000.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Sharp X68000.png
--------------------------------------------------------------------------------
/assets/images/white/Sinclair ZX Spectrum.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Sinclair ZX Spectrum.png
--------------------------------------------------------------------------------
/assets/images/white/Sinclair ZX81.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Sinclair ZX81.png
--------------------------------------------------------------------------------
/assets/images/white/Sony PS Vita.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Sony PS Vita.png
--------------------------------------------------------------------------------
/assets/images/white/Sony PSP Minis.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Sony PSP Minis.png
--------------------------------------------------------------------------------
/assets/images/white/Sony PSP.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Sony PSP.png
--------------------------------------------------------------------------------
/assets/images/white/Sony Playstation 2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Sony Playstation 2.png
--------------------------------------------------------------------------------
/assets/images/white/Sony Playstation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Sony Playstation.png
--------------------------------------------------------------------------------
/assets/images/white/Super Nintendo Entertainment System.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Super Nintendo Entertainment System.png
--------------------------------------------------------------------------------
/assets/images/white/TIC-80.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/TIC-80.png
--------------------------------------------------------------------------------
/assets/images/white/Watara Supervision.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Watara Supervision.png
--------------------------------------------------------------------------------
/assets/images/white/WonderSwan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/WonderSwan.png
--------------------------------------------------------------------------------
/assets/images/white/Wonderswan Color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/images/white/Wonderswan Color.png
--------------------------------------------------------------------------------
/assets/screenshots/01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/screenshots/01.png
--------------------------------------------------------------------------------
/assets/screenshots/02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/screenshots/02.png
--------------------------------------------------------------------------------
/assets/screenshots/03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/screenshots/03.png
--------------------------------------------------------------------------------
/assets/screenshots/04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/screenshots/04.png
--------------------------------------------------------------------------------
/assets/screenshots/05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/screenshots/05.png
--------------------------------------------------------------------------------
/assets/screenshots/06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/screenshots/06.png
--------------------------------------------------------------------------------
/assets/screenshots/07.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/assets/screenshots/07.png
--------------------------------------------------------------------------------
/codemagic.yaml:
--------------------------------------------------------------------------------
1 | workflows:
2 | android-workflow:
3 | name: Android Workflow
4 | max_build_duration: 120
5 | triggering:
6 | events:
7 | - push
8 | branch_patterns:
9 | - pattern: 'main'
10 | include: true
11 | source: true
12 | environment:
13 | android_signing:
14 | - titanius
15 | vars:
16 | PACKAGE_NAME: "app.titanius.launcher"
17 | BUILD_NAME: "0.4.$PROJECT_BUILD_NUMBER"
18 | groups:
19 | - github
20 | - screenscraper
21 | flutter: stable
22 | cache:
23 | cache_paths:
24 | - $FLUTTER_ROOT/.pub-cache
25 | - $HOME/.gradle/caches
26 | scripts:
27 | - name: Set up local.properties
28 | script: |
29 | echo "flutter.sdk=$HOME/programs/flutter" > "$CM_BUILD_DIR/android/local.properties"
30 | - name: Get Flutter packages
31 | script: |
32 | flutter packages pub get
33 | - name: Run build_runner
34 | script: |
35 | flutter packages pub run build_runner build - d
36 | - name: Flutter analyze
37 | script: |
38 | flutter analyze
39 | ignore_failure: true
40 | - name: Flutter unit tests
41 | script: |
42 | flutter test
43 | ignore_failure: true
44 | - name: Build APK with Flutter
45 | script: |
46 | flutter build apk --release --build-name=$BUILD_NAME --build-number=$PROJECT_BUILD_NUMBER
47 | - name: Rename the apk file
48 | script: |
49 | mv build/app/outputs/flutter-apk/app-release.apk \
50 | build/app/outputs/flutter-apk/titanius-launcher-$BUILD_NAME.apk
51 | - name: Upload APK to GitHub Releases
52 | script: |
53 | gh release create "$BUILD_NAME" --title "Release $BUILD_NAME" --notes "Automated release from CodeMagic" --draft "build/app/outputs/flutter-apk/titanius-launcher-$BUILD_NAME.apk"
54 | artifacts:
55 | - build/app/outputs/flutter-apk/titanius-launcher-$BUILD_NAME.apk
56 | - build/**/outputs/**/mapping.txt
57 | - flutter_drive.log
58 | publishing:
59 | email:
60 | recipients:
61 | - launcher@titanius.app
62 | notify:
63 | success: false
64 | failure: true
--------------------------------------------------------------------------------
/fonts/Koulen-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/fonts/Koulen-Regular.ttf
--------------------------------------------------------------------------------
/fonts/PromptFont.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/fonts/PromptFont.otf
--------------------------------------------------------------------------------
/fonts/Staatliches-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/fonts/Staatliches-Regular.ttf
--------------------------------------------------------------------------------
/go.mod:
--------------------------------------------------------------------------------
1 | module app.titanius/launcher
2 |
3 | go 1.20
4 |
--------------------------------------------------------------------------------
/go.sum:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/go.sum
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | **/dgph
2 | *.mode1v3
3 | *.mode2v3
4 | *.moved-aside
5 | *.pbxuser
6 | *.perspectivev3
7 | **/*sync/
8 | .sconsign.dblite
9 | .tags*
10 | **/.vagrant/
11 | **/DerivedData/
12 | Icon?
13 | **/Pods/
14 | **/.symlinks/
15 | profile
16 | xcuserdata
17 | **/.generated/
18 | Flutter/App.framework
19 | Flutter/Flutter.framework
20 | Flutter/Flutter.podspec
21 | Flutter/Generated.xcconfig
22 | Flutter/ephemeral/
23 | Flutter/app.flx
24 | Flutter/app.zip
25 | Flutter/flutter_assets/
26 | Flutter/flutter_export_environment.sh
27 | ServiceDefinitions.json
28 | Runner/GeneratedPluginRegistrant.*
29 |
30 | # Exceptions to above rules.
31 | !default.mode1v3
32 | !default.mode2v3
33 | !default.pbxuser
34 | !default.perspectivev3
35 |
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 11.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Podfile:
--------------------------------------------------------------------------------
1 | # Uncomment this line to define a global platform for your project
2 | # platform :ios, '11.0'
3 |
4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true'
6 |
7 | project 'Runner', {
8 | 'Debug' => :debug,
9 | 'Profile' => :release,
10 | 'Release' => :release,
11 | }
12 |
13 | def flutter_root
14 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
15 | unless File.exist?(generated_xcode_build_settings_path)
16 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
17 | end
18 |
19 | File.foreach(generated_xcode_build_settings_path) do |line|
20 | matches = line.match(/FLUTTER_ROOT\=(.*)/)
21 | return matches[1].strip if matches
22 | end
23 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
24 | end
25 |
26 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
27 |
28 | flutter_ios_podfile_setup
29 |
30 | target 'Runner' do
31 | use_frameworks!
32 | use_modular_headers!
33 |
34 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
35 | end
36 |
37 | post_install do |installer|
38 | installer.pods_project.targets.each do |target|
39 | flutter_additional_ios_build_settings(target)
40 | end
41 | end
42 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
37 |
38 |
39 |
40 |
41 |
42 |
52 |
54 |
60 |
61 |
62 |
63 |
69 |
71 |
77 |
78 |
79 |
80 |
82 |
83 |
86 |
87 |
88 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dsolonenko/titanius-launcher/8b695b1fe92f4349771d4934357dd553d66ff1f0/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleDisplayName
8 | Titanius
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | titanius
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | $(FLUTTER_BUILD_NAME)
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | $(FLUTTER_BUILD_NUMBER)
25 | LSRequiresIPhoneOS
26 |
27 | UILaunchStoryboardName
28 | LaunchScreen
29 | UIMainStoryboardFile
30 | Main
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 | UIInterfaceOrientationPortraitUpsideDown
41 | UIInterfaceOrientationLandscapeLeft
42 | UIInterfaceOrientationLandscapeRight
43 |
44 | UIViewControllerBasedStatusBarAppearance
45 |
46 | CADisableMinimumFrameDurationOnPhone
47 |
48 | UIApplicationSupportsIndirectInputEvents
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/lib/data/android_apps.dart:
--------------------------------------------------------------------------------
1 | import 'package:collection/collection.dart';
2 | import 'package:device_apps/device_apps.dart';
3 | import 'package:package_info_plus/package_info_plus.dart';
4 | import 'package:riverpod_annotation/riverpod_annotation.dart';
5 | import 'package:titanius/data/repo.dart';
6 |
7 | part 'android_apps.g.dart';
8 |
9 | @Riverpod(keepAlive: true)
10 | Future> installedApps(InstalledAppsRef ref) async {
11 | final apps = await DeviceApps.getInstalledApplications(
12 | includeAppIcons: true,
13 | includeSystemApps: true,
14 | onlyAppsWithLaunchIntent: true,
15 | );
16 | return apps.map((e) => e as ApplicationWithIcon).sortedBy((element) => element.appName);
17 | }
18 |
19 | @Riverpod(keepAlive: true)
20 | Future> selectedAndroidApps(SelectedAndroidAppsRef ref) async {
21 | final installedApps = await ref.watch(installedAppsProvider.future);
22 | final selectedApps = await ref.watch(androidAppsProvider.future);
23 | return installedApps.where((element) => selectedApps.isSelected(element.packageName)).toList();
24 | }
25 |
26 | @Riverpod(keepAlive: true)
27 | Future packageInfo(PackageInfoRef ref) async {
28 | return PackageInfo.fromPlatform();
29 | }
30 |
--------------------------------------------------------------------------------
/lib/data/emulators.dart:
--------------------------------------------------------------------------------
1 | import 'package:collection/collection.dart';
2 | import 'package:riverpod_annotation/riverpod_annotation.dart';
3 | import 'package:titanius/data/games.dart';
4 |
5 | import 'package:titanius/data/repo.dart';
6 | import 'package:titanius/data/models.dart';
7 |
8 | part 'emulators.g.dart';
9 |
10 | class EmulatorList {
11 | final System system;
12 | final List emulators;
13 | final Emulator? defaultEmulator;
14 |
15 | EmulatorList(this.system, this.emulators, this.defaultEmulator);
16 | }
17 |
18 | @Riverpod(keepAlive: true)
19 | Future> alternativeEmulators(AlternativeEmulatorsRef ref) async {
20 | final perSystemConfigurations = await ref.watch(perSystemConfigurationsProvider.future);
21 | final systems = await ref.watch(loadedSystemsProvider.future);
22 | final customEmulators = await ref.watch(customEmulatorsProvider.future);
23 | final emulators = customEmulators.map((e) => e.toEmulator()).toList();
24 | return systems
25 | .whereNot((element) => element.isCollection)
26 | .whereNot((element) => element.id == "android")
27 | .map((v) => EmulatorList(
28 | v,
29 | [...v.builtInEmulators, ...emulators],
30 | defaultEmulator([...v.builtInEmulators, ...emulators],
31 | perSystemConfigurations.firstWhereOrNull((e) => e.system == v.id)),
32 | ))
33 | .toList();
34 | }
35 |
36 | Emulator? defaultEmulator(List emulators, AlternativeEmulator? alternativeEmulator) {
37 | if (alternativeEmulator != null) {
38 | final alternative = emulators.firstWhereOrNull((e) => e.id == alternativeEmulator.emulator);
39 | if (alternative != null) {
40 | return alternative;
41 | }
42 | }
43 | return emulators.isEmpty ? null : emulators.first;
44 | }
45 |
--------------------------------------------------------------------------------
/lib/data/env.dart:
--------------------------------------------------------------------------------
1 | import 'package:envied/envied.dart';
2 |
3 | part 'env.g.dart';
4 |
5 | @Envied()
6 | abstract class Env {
7 | @EnviedField(varName: 'SSDEVID', obfuscate: true)
8 | static final String devId = _Env.devId;
9 | @EnviedField(varName: 'SSDEVPWD', obfuscate: true)
10 | static final String devPassword = _Env.devPassword;
11 | @EnviedField(varName: 'SSAPPNAME', obfuscate: true)
12 | static final String appName = _Env.appName;
13 | }
14 |
--------------------------------------------------------------------------------
/lib/data/files.dart:
--------------------------------------------------------------------------------
1 | import 'dart:io';
2 |
3 | import 'package:titanius/data/models.dart';
4 |
5 | Future moveFile(File sourceFile, String newPath) async {
6 | try {
7 | return await sourceFile.rename(newPath);
8 | } on FileSystemException catch (_) {
9 | final newFile = await sourceFile.copy(newPath);
10 | await sourceFile.delete();
11 | return newFile;
12 | }
13 | }
14 |
15 | Future> listGamesFromFiles({
16 | required String romsFolder,
17 | required String folder,
18 | required System system,
19 | }) async {
20 | final romsPath = "$romsFolder/$folder";
21 | final pathExists = await Directory(romsPath).exists();
22 | if (!pathExists) {
23 | return [];
24 | }
25 | final dir = Directory(romsPath);
26 | final allFiles = dir.listSync(recursive: true, followLinks: false);
27 | allFiles.removeWhere((element) => _nonRom(element));
28 | final gamesFromFiles = allFiles.map((file) => Game.fromFile(file, system, romsFolder, folder)).toList();
29 | return gamesFromFiles;
30 | }
31 |
32 | bool _nonRom(FileSystemEntity element) {
33 | if (element is Directory) {
34 | return true;
35 | }
36 | final fileName = element.uri.pathSegments.last;
37 | if (fileName.contains("gamelist") || fileName == "neogeo.zip") {
38 | return true;
39 | }
40 | if (fileName.startsWith(".") || fileName.startsWith("ZZZ")) {
41 | return true;
42 | }
43 | return fileName.endsWith(".mp4") ||
44 | fileName.endsWith(".png") ||
45 | fileName.endsWith(".jpg") ||
46 | fileName.endsWith(".jpeg") ||
47 | fileName.endsWith(".gif") ||
48 | fileName.endsWith(".txt") ||
49 | fileName.endsWith(".sav") ||
50 | fileName.endsWith(".p2k") ||
51 | fileName.endsWith(".cfg") ||
52 | fileName.endsWith(".bak");
53 | }
54 |
--------------------------------------------------------------------------------
/lib/data/stack.dart:
--------------------------------------------------------------------------------
1 | class MyStack {
2 | final List _stack = [];
3 |
4 | void push(T item) {
5 | _stack.add(item);
6 | }
7 |
8 | T pop() {
9 | if (isEmpty) {
10 | throw Exception('Stack is empty');
11 | }
12 | return _stack.removeLast();
13 | }
14 |
15 | T peek() {
16 | if (isEmpty) {
17 | throw Exception('Stack is empty');
18 | }
19 | return _stack.last;
20 | }
21 |
22 | bool get isEmpty => _stack.isEmpty;
23 | }
24 |
--------------------------------------------------------------------------------
/lib/data/storage.dart:
--------------------------------------------------------------------------------
1 | import 'package:isar/isar.dart';
2 | import 'package:path_provider/path_provider.dart';
3 | import 'package:riverpod_annotation/riverpod_annotation.dart';
4 |
5 | import 'package:titanius/data/repo.dart';
6 |
7 | part 'storage.g.dart';
8 |
9 | @Riverpod(keepAlive: true)
10 | Future isar(IsarRef ref) async {
11 | final dir = await getApplicationSupportDirectory();
12 | return Isar.open(
13 | [
14 | SettingSchema,
15 | AlternativeEmulatorSchema,
16 | CustomEmulatorSchema,
17 | GameEmulatorSchema,
18 | RecentGameSchema,
19 | AndroidAppSchema,
20 | ],
21 | directory: dir.path,
22 | );
23 | }
24 |
--------------------------------------------------------------------------------
/lib/data/systems.dart:
--------------------------------------------------------------------------------
1 | import 'dart:convert';
2 | import 'dart:io';
3 |
4 | import 'package:flutter/services.dart';
5 | import 'package:riverpod_annotation/riverpod_annotation.dart';
6 |
7 | import 'package:titanius/data/repo.dart';
8 | import 'package:titanius/data/models.dart';
9 |
10 | part 'systems.g.dart';
11 |
12 | @Riverpod(keepAlive: true)
13 | Future> allSupportedSystems(AllSupportedSystemsRef ref) async {
14 | final content = json.decode(
15 | await rootBundle.loadString('assets/metadata.json'),
16 | );
17 | final List systems = content['systems'].map((e) => System.fromJson(e)).toList();
18 | if (!Platform.isAndroid) {
19 | systems.removeWhere((system) => system.id == 'android');
20 | }
21 | systems.sort((a, b) => a.name.compareTo(b.name));
22 | return [...collections, ...systems];
23 | }
24 |
25 | @Riverpod(keepAlive: true)
26 | Future> detectedSystems(DetectedSystemsRef ref) async {
27 | final allSystems = await ref.watch(allSupportedSystemsProvider.future);
28 | final enabledSystems = await ref.watch(enabledSystemsProvider.future);
29 | final detectedSystems = [
30 | for (final system in allSystems)
31 | if (enabledSystems.showSystem(system.id)) system
32 | ];
33 | return detectedSystems;
34 | }
35 |
--------------------------------------------------------------------------------
/lib/pages/filters/genres.dart:
--------------------------------------------------------------------------------
1 | part of 'package:titanius/pages/filter.dart';
2 |
3 | class GenresFilterPage extends HookConsumerWidget {
4 | final String system;
5 | const GenresFilterPage({super.key, required this.system});
6 |
7 | @override
8 | Widget build(BuildContext context, WidgetRef ref) {
9 | final games = ref.watch(gamesInFolderProvider(system));
10 | final filter = ref.watch(temporaryGameFilterProvider(system));
11 |
12 | final selected = useState(null);
13 |
14 | useGamepad(ref, (location, key) {
15 | if (location != "/games/$system/filter/genres") return;
16 | if (key == GamepadButton.b) {
17 | GoRouter.of(context).go("/games/$system/filter");
18 | }
19 | });
20 |
21 | return Scaffold(
22 | appBar: AppBar(
23 | title: const Text('Genres'),
24 | ),
25 | bottomNavigationBar: const PromptBar(
26 | navigations: [],
27 | actions: [
28 | GamepadPrompt([GamepadButton.a], "Change"),
29 | GamepadPrompt([GamepadButton.b], "Apply"),
30 | ],
31 | ),
32 | body: games.when(
33 | data: (gamelist) {
34 | final gameGenres = gamelist.games.map((game) => game.genreId).toSet();
35 | final genres = [...GameGenre.values];
36 | genres.retainWhere((element) => gameGenres.contains(element));
37 | return GroupedListView(
38 | key: PageStorageKey("filter/$system/genres"),
39 | elements: genres,
40 | groupBy: (genre) => GameGenre.getTopGenre(genre).longName,
41 | groupSeparatorBuilder: (String value) => Padding(
42 | padding: const EdgeInsets.all(8.0),
43 | child: Text(
44 | value,
45 | style: const TextStyle(color: Colors.grey),
46 | ),
47 | ),
48 | indexedItemBuilder: (context, genre, index) {
49 | final isSelected = filter.genres.contains(genre);
50 | return ListTile(
51 | autofocus: selected.value == genre || (selected.value == null && index == 0),
52 | onFocusChange: (value) {
53 | if (value) {
54 | selected.value = genre;
55 | }
56 | },
57 | onTap: () {
58 | ref.read(temporaryGameFilterProvider(system).notifier).toggleGenre(genre);
59 | },
60 | title: Text(genre.longName),
61 | trailing: isSelected ? checkBoxOnIcon : checkBoxOffIcon,
62 | );
63 | },
64 | );
65 | },
66 | loading: () => const Center(
67 | child: CircularProgressIndicator(),
68 | ),
69 | error: (error, stack) => const Center(
70 | child: Text('Error'),
71 | ),
72 | ),
73 | );
74 | }
75 | }
76 |
--------------------------------------------------------------------------------
/lib/pages/settings/apps.dart:
--------------------------------------------------------------------------------
1 | part of 'package:titanius/pages/settings.dart';
2 |
3 | class AppsSettingsPage extends HookConsumerWidget {
4 | const AppsSettingsPage({super.key});
5 |
6 | @override
7 | Widget build(BuildContext context, WidgetRef ref) {
8 | final installedApps = ref.watch(installedAppsProvider);
9 | final selectedApps = ref.watch(androidAppsProvider);
10 |
11 | final selected = useState("");
12 |
13 | useGamepad(ref, (location, key) {
14 | if (location != "/select_apps") return;
15 | if (key == GamepadButton.b) {
16 | GoRouter.of(context).go("/games/android");
17 | }
18 | if (key == GamepadButton.y) {
19 | final _ = ref.refresh(installedAppsProvider);
20 | }
21 | });
22 |
23 | return Scaffold(
24 | appBar: AppBar(
25 | title: const Text('Selected Apps'),
26 | ),
27 | bottomNavigationBar: const PromptBar(
28 | navigations: [],
29 | actions: [
30 | GamepadPrompt([GamepadButton.y], "Refresh"),
31 | GamepadPrompt([GamepadButton.a], "Change"),
32 | GamepadPrompt([GamepadButton.b], "Back"),
33 | ],
34 | ),
35 | body: installedApps.when(
36 | data: (installedApps) {
37 | return selectedApps.when(
38 | data: (selectedApps) {
39 | return GroupedListView(
40 | key: const PageStorageKey("settings/apps"),
41 | elements: installedApps,
42 | groupBy: (element) => element.systemApp ? "System" : "Apps",
43 | groupSeparatorBuilder: (String value) => Padding(
44 | padding: const EdgeInsets.all(8.0),
45 | child: Text(
46 | value,
47 | style: const TextStyle(color: Colors.grey),
48 | ),
49 | ),
50 | indexedItemBuilder: (context, app, index) {
51 | final isSelected = selectedApps.isSelected(app.packageName);
52 | return ListTile(
53 | autofocus: selected.value == app.packageName || (selected.value.isEmpty && index == 0),
54 | onFocusChange: (value) {
55 | if (value) {
56 | selected.value = app.packageName;
57 | debugPrint("Focus on ${app.packageName}");
58 | }
59 | },
60 | onTap: () {
61 | ref
62 | .read(androidAppsRepoProvider)
63 | .value!
64 | .selectApp(app.packageName, !isSelected)
65 | .then((value) => ref.refresh(androidAppsProvider));
66 | },
67 | title: Text(app.appName),
68 | subtitle: Text(app.packageName),
69 | leading: CachedMemoryImage(
70 | uniqueKey: app.packageName,
71 | bytes: app.icon,
72 | fit: BoxFit.contain,
73 | ),
74 | trailing: isSelected ? toggleOnIcon : toggleOffIcon,
75 | );
76 | },
77 | );
78 | },
79 | loading: () => const Center(
80 | child: CircularProgressIndicator(),
81 | ),
82 | error: (error, stack) => const Center(
83 | child: Text('Error'),
84 | ),
85 | );
86 | },
87 | loading: () => const Center(
88 | child: CircularProgressIndicator(),
89 | ),
90 | error: (error, stack) => const Center(
91 | child: Text('Error'),
92 | ),
93 | ),
94 | );
95 | }
96 | }
97 |
--------------------------------------------------------------------------------
/lib/pages/settings/daijisho.dart:
--------------------------------------------------------------------------------
1 | part of 'package:titanius/pages/settings.dart';
2 |
3 | class DaijishoWallpaperPacksPage extends HookConsumerWidget {
4 | const DaijishoWallpaperPacksPage({super.key});
5 |
6 | @override
7 | Widget build(BuildContext context, WidgetRef ref) {
8 | final packs = ref.watch(daijishoPlatformWallpapersPacksProvider);
9 |
10 | final selected = useState("");
11 |
12 | useGamepad(ref, (location, key) {
13 | if (location != "/settings/daijisho") return;
14 | if (key == GamepadButton.b) {
15 | GoRouter.of(context).pop();
16 | }
17 | if (key == GamepadButton.x) {
18 | ref
19 | .read(settingsRepoProvider)
20 | .value!
21 | .resetDaijishoWallpaperPack()
22 | .then((value) => ref.refresh(settingsProvider));
23 | GoRouter.of(context).go("/");
24 | }
25 | });
26 |
27 | return Scaffold(
28 | appBar: AppBar(
29 | title: const Text('Daijishō Wallpaper Packs'),
30 | ),
31 | bottomNavigationBar: const PromptBar(
32 | navigations: [],
33 | actions: [
34 | GamepadPrompt([GamepadButton.a], "Apply"),
35 | GamepadPrompt([GamepadButton.x], "Do not use wallpapers"),
36 | GamepadPrompt([GamepadButton.b], "Back"),
37 | ],
38 | ),
39 | body: packs.when(
40 | data: (packs) {
41 | return ListView.builder(
42 | key: const PageStorageKey("settings/emulators"),
43 | itemCount: packs.length,
44 | itemBuilder: (context, index) {
45 | final isSelected = selected.value == packs[index].rootPath || (selected.value.isEmpty && index == 0);
46 | final pack = packs[index];
47 | return ListTile(
48 | autofocus: isSelected,
49 | onFocusChange: (value) {
50 | if (value) {
51 | selected.value = pack.rootPath;
52 | }
53 | },
54 | onTap: () {
55 | ref
56 | .read(settingsRepoProvider)
57 | .value!
58 | .setDaijishoWallpaperPack(pack.rootPath)
59 | .then((value) => ref.refresh(settingsProvider));
60 | GoRouter.of(context).go("/");
61 | },
62 | isThreeLine: true,
63 | title: Row(
64 | children: [
65 | Text(pack.name),
66 | const SizedBox(width: 8),
67 | const Text("by", textScaler: TextScaler.linear(0.6), style: TextStyle(color: Colors.grey)),
68 | const SizedBox(width: 4),
69 | Text(pack.authors.join(", "),
70 | textScaler: const TextScaler.linear(0.8), style: const TextStyle(color: Colors.grey)),
71 | ],
72 | ),
73 | subtitle: Text(pack.description, maxLines: 2, overflow: TextOverflow.ellipsis),
74 | leading: CachedNetworkImage(
75 | imageUrl: pack.thumbnailUrl,
76 | width: 48,
77 | height: 48,
78 | fit: BoxFit.contain,
79 | ),
80 | );
81 | },
82 | );
83 | },
84 | loading: () => const Center(
85 | child: CircularProgressIndicator(),
86 | ),
87 | error: (error, stack) => const Center(
88 | child: Text('Error'),
89 | ),
90 | ),
91 | );
92 | }
93 | }
94 |
--------------------------------------------------------------------------------
/lib/pages/settings/systems.dart:
--------------------------------------------------------------------------------
1 | part of 'package:titanius/pages/settings.dart';
2 |
3 | class ShowSystemsSettingsPage extends HookConsumerWidget {
4 | const ShowSystemsSettingsPage({super.key});
5 |
6 | @override
7 | Widget build(BuildContext context, WidgetRef ref) {
8 | final systems = ref.watch(allSupportedSystemsProvider);
9 | final enabledSystems = ref.watch(enabledSystemsProvider);
10 |
11 | final selected = useState("");
12 |
13 | useGamepad(ref, (location, key) {
14 | if (location != "/settings/systems") return;
15 | if (key == GamepadButton.b) {
16 | GoRouter.of(context).pop();
17 | }
18 | });
19 |
20 | return Scaffold(
21 | appBar: AppBar(
22 | title: const Text('Enabled Systems/Collections'),
23 | ),
24 | bottomNavigationBar: const PromptBar(
25 | navigations: [],
26 | actions: [
27 | GamepadPrompt([GamepadButton.a], "Change"),
28 | GamepadPrompt([GamepadButton.b], "Back"),
29 | ],
30 | ),
31 | body: systems.when(
32 | data: (systems) {
33 | return enabledSystems.when(
34 | data: (enabledSystems) {
35 | return GroupedListView(
36 | key: const PageStorageKey("settings/systems"),
37 | elements: systems,
38 | groupBy: (element) => element.isCollection ? "Collections" : "Systems",
39 | groupSeparatorBuilder: (String value) => Padding(
40 | padding: const EdgeInsets.all(8.0),
41 | child: Text(
42 | value,
43 | style: const TextStyle(color: Colors.grey),
44 | ),
45 | ),
46 | indexedItemBuilder: (context, system, index) {
47 | final showSystem = enabledSystems.showSystem(system.id);
48 | return ListTile(
49 | autofocus: selected.value == system.id || (selected.value.isEmpty && index == 0),
50 | onFocusChange: (value) {
51 | if (value) {
52 | selected.value = system.id;
53 | }
54 | },
55 | onTap: () {
56 | ref
57 | .read(enabledSystemsRepoProvider)
58 | .value!
59 | .setShowSystem(system.id, showSystem ? false : true)
60 | .then((value) {
61 | ref.read(selectedSystemProvider.notifier).set(0);
62 | final _ = ref.refresh(enabledSystemsProvider);
63 | });
64 | },
65 | title: Text(system.name),
66 | trailing: showSystem ? toggleOnIcon : toggleOffIcon,
67 | );
68 | },
69 | );
70 | },
71 | loading: () => const Center(
72 | child: CircularProgressIndicator(),
73 | ),
74 | error: (error, stack) => const Center(
75 | child: Text('Error'),
76 | ),
77 | );
78 | },
79 | loading: () => const Center(
80 | child: CircularProgressIndicator(),
81 | ),
82 | error: (error, stack) => const Center(
83 | child: Text('Error'),
84 | ),
85 | ),
86 | );
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/lib/pages/settings/ui.dart:
--------------------------------------------------------------------------------
1 | part of 'package:titanius/pages/settings.dart';
2 |
3 | class UISettingsPage extends HookConsumerWidget {
4 | const UISettingsPage({super.key});
5 |
6 | @override
7 | Widget build(BuildContext context, WidgetRef ref) {
8 | final settings = ref.watch(settingsProvider);
9 |
10 | final selectedSetting = useState('Show Favouries On Top');
11 |
12 | useGamepad(ref, (location, key) {
13 | if (location != "/settings/ui") return;
14 | if (key == GamepadButton.b) {
15 | GoRouter.of(context).pop();
16 | }
17 | });
18 |
19 | return Scaffold(
20 | appBar: AppBar(
21 | title: const Text('UI Settings'),
22 | ),
23 | bottomNavigationBar: const PromptBar(
24 | navigations: [],
25 | actions: [
26 | GamepadPrompt([GamepadButton.a], "Change"),
27 | GamepadPrompt([GamepadButton.b], "Back"),
28 | ],
29 | ),
30 | body: settings.when(
31 | data: (settings) {
32 | return ListView(
33 | key: const PageStorageKey('settings/ui'),
34 | children: [
35 | _setting(ref, selectedSetting, 'Show Favouries On Top', settings.favouritesOnTop, true,
36 | (p0, p1) => p0.setFavoutesOnTop(p1)),
37 | _setting(ref, selectedSetting, 'Show Only Unique Games In Collections', settings.uniqueGamesInCollections,
38 | true, (p0, p1) => p0.setUniqueGamesInCollections(p1)),
39 | _setting(ref, selectedSetting, 'Show Hidden Games', settings.showHiddenGames, true,
40 | (p0, p1) => p0.setShowHiddenGames(p1)),
41 | _setting(ref, selectedSetting, 'Only Show Roms From gamelist.xml Files', settings.showOnlyGamelistRoms,
42 | true, (p0, p1) => p0.setShowOnlyGamelistRoms(p1),
43 | subtitle: 'Please refresh gamelists'),
44 | _setting(ref, selectedSetting, 'Show Game Videos', settings.showGameVideos, true,
45 | (p0, p1) => p0.setShowGameVideos(p1)),
46 | _setting(ref, selectedSetting, 'Fade Screenshot To Video', settings.fadeToVideo, settings.showGameVideos,
47 | (p0, p1) => p0.setFadeToVideo(p1)),
48 | _setting(ref, selectedSetting, 'Mute Video', settings.muteVideo, settings.showGameVideos,
49 | (p0, p1) => p0.setMuteVideo(p1)),
50 | ],
51 | );
52 | },
53 | loading: () => const Center(
54 | child: CircularProgressIndicator(),
55 | ),
56 | error: (error, stack) => const Center(
57 | child: Text('Error'),
58 | ),
59 | ),
60 | );
61 | }
62 |
63 | Widget _setting(WidgetRef ref, ValueNotifier selectedSetting, String title, bool value, bool enabled,
64 | Future Function(SettingsRepo, bool) onChanged,
65 | {String? subtitle}) {
66 | return ListTile(
67 | enabled: enabled,
68 | autofocus: title == selectedSetting.value,
69 | onFocusChange: (value) {
70 | if (value) {
71 | selectedSetting.value = title;
72 | }
73 | },
74 | onTap: () {
75 | final repo = ref.read(settingsRepoProvider).value!;
76 | onChanged(repo, !value).then((value) => ref.refresh(settingsProvider));
77 | },
78 | title: Text(title),
79 | subtitle: subtitle != null ? Text(subtitle) : null,
80 | trailing: value ? toggleOnIcon : toggleOffIcon,
81 | );
82 | }
83 | }
84 |
--------------------------------------------------------------------------------
/lib/pages/system_proxy.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:go_router/go_router.dart';
3 | import 'package:hooks_riverpod/hooks_riverpod.dart';
4 | import 'package:titanius/data/games.dart';
5 |
6 | import 'package:titanius/pages/android.dart';
7 | import 'package:titanius/pages/games.dart';
8 | import 'package:titanius/data/state.dart';
9 | import 'package:titanius/gamepad.dart';
10 |
11 | class SystemProxy extends HookConsumerWidget {
12 | final String system;
13 | const SystemProxy({super.key, required this.system});
14 | @override
15 | Widget build(BuildContext context, WidgetRef ref) {
16 | final allSystems = ref.watch(loadedSystemsProvider);
17 |
18 | useGamepad(ref, (location, key) {
19 | if (location != "/games/$system") return;
20 | if (allSystems.value == null || allSystems.value!.isEmpty) return;
21 | if (key == GamepadButton.r2 || (system != "android" && key == GamepadButton.right)) {
22 | final currentSystem = ref.read(selectedSystemProvider);
23 | final next = (currentSystem + 1) % allSystems.value!.length;
24 | ref.read(selectedSystemProvider.notifier).set(next);
25 | GoRouter.of(context).go("/games/${allSystems.value![next].id}");
26 | }
27 | if (key == GamepadButton.l2 || (system != "android" && key == GamepadButton.left)) {
28 | final currentSystem = ref.read(selectedSystemProvider);
29 | final prev = currentSystem - 1 < 0 ? allSystems.value!.length - 1 : currentSystem - 1;
30 | ref.read(selectedSystemProvider.notifier).set(prev);
31 | GoRouter.of(context).go("/games/${allSystems.value![prev].id}");
32 | }
33 | if (key == GamepadButton.start) {
34 | GoRouter.of(context).go("/settings?source=$system");
35 | }
36 | });
37 |
38 | if (system == "android") {
39 | return const AndroidPage();
40 | } else {
41 | return GamesPage(
42 | system: system,
43 | );
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/lib/widgets/appbar.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:battery_plus/battery_plus.dart';
3 | import 'package:flutter_riverpod/flutter_riverpod.dart';
4 |
5 | import 'package:titanius/widgets/battery.dart';
6 | import 'package:titanius/widgets/scraper_progress.dart';
7 | import 'package:titanius/widgets/time.dart';
8 | import 'package:titanius/widgets/wifi.dart';
9 |
10 | final batteryProvider = StreamProvider((ref) {
11 | final battery = Battery();
12 | return battery.onBatteryStateChanged.asyncMap((event) async => BatteryInfo(event, await battery.batteryLevel));
13 | });
14 |
15 | class BatteryInfo {
16 | final BatteryState state;
17 | final int level;
18 |
19 | BatteryInfo(this.state, this.level);
20 | }
21 |
22 | class CustomAppBar extends ConsumerWidget implements PreferredSizeWidget {
23 | const CustomAppBar({super.key});
24 |
25 | @override
26 | Size get preferredSize => const Size.fromHeight(30);
27 |
28 | @override
29 | Widget build(BuildContext context, WidgetRef ref) {
30 | return Container(
31 | padding: const EdgeInsets.symmetric(horizontal: 8),
32 | height: preferredSize.height,
33 | color: Theme.of(context).appBarTheme.backgroundColor?.withOpacity(0),
34 | alignment: Alignment.centerRight,
35 | child: const Row(mainAxisSize: MainAxisSize.max, children: [
36 | TimeWidget(),
37 | Spacer(),
38 | ScraperProgressWidget(),
39 | WifiWidget(),
40 | BatteryWidget(),
41 | ]),
42 | );
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/lib/widgets/battery.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:battery_plus/battery_plus.dart';
3 | import 'package:flutter_riverpod/flutter_riverpod.dart';
4 |
5 | final batteryProvider = StreamProvider.autoDispose((ref) {
6 | final battery = Battery();
7 | return battery.onBatteryStateChanged.asyncMap(
8 | (event) async => BatteryInfo(event, await battery.batteryLevel));
9 | });
10 |
11 | class BatteryInfo {
12 | final BatteryState state;
13 | final int level;
14 |
15 | BatteryInfo(this.state, this.level);
16 | }
17 |
18 | class BatteryWidget extends ConsumerWidget {
19 | const BatteryWidget({super.key});
20 |
21 | @override
22 | Widget build(BuildContext context, WidgetRef ref) {
23 | final battery = ref.watch(batteryProvider);
24 | return battery.when(
25 | data: (b) => Row(mainAxisSize: MainAxisSize.max, children: [
26 | _imageForBattery(b),
27 | Text("${b.level}%"),
28 | ]),
29 | loading: () => const Text("Loading..."),
30 | error: (error, stack) => const Text("Error"),
31 | );
32 | }
33 |
34 | Icon _imageForBattery(BatteryInfo b) {
35 | const iconColor = Colors.white;
36 | const iconSize = 24.0;
37 | if (b.state == BatteryState.unknown) {
38 | return const Icon(
39 | Icons.battery_unknown_sharp,
40 | color: iconColor,
41 | size: iconSize,
42 | );
43 | } else if (b.state == BatteryState.charging) {
44 | return const Icon(
45 | Icons.battery_charging_full_sharp,
46 | color: iconColor,
47 | size: iconSize,
48 | );
49 | } else if (b.level > 75) {
50 | return const Icon(
51 | Icons.battery_5_bar_sharp,
52 | color: iconColor,
53 | size: iconSize,
54 | );
55 | } else if (b.level > 50) {
56 | return const Icon(
57 | Icons.battery_4_bar_sharp,
58 | color: iconColor,
59 | size: iconSize,
60 | );
61 | } else if (b.level > 25) {
62 | return const Icon(
63 | Icons.battery_3_bar_sharp,
64 | color: iconColor,
65 | size: iconSize,
66 | );
67 | } else if (b.level > 10) {
68 | return const Icon(
69 | Icons.battery_2_bar_sharp,
70 | color: iconColor,
71 | size: iconSize,
72 | );
73 | } else {
74 | return const Icon(
75 | Icons.battery_1_bar_sharp,
76 | color: iconColor,
77 | size: iconSize,
78 | );
79 | }
80 | }
81 | }
82 |
--------------------------------------------------------------------------------
/lib/widgets/fade_image_to_video.dart:
--------------------------------------------------------------------------------
1 | import 'dart:io';
2 | import 'package:flutter/material.dart';
3 | import 'package:focus_detector_v2/focus_detector_v2.dart';
4 | import 'package:video_player/video_player.dart';
5 |
6 | import 'package:titanius/data/models.dart';
7 | import 'package:titanius/data/repo.dart';
8 |
9 | class FadeImageToVideo extends StatefulWidget {
10 | final Game game;
11 | final Settings settings;
12 |
13 | const FadeImageToVideo({super.key, required this.game, required this.settings});
14 |
15 | @override
16 | FadeImageToVideoState createState() => FadeImageToVideoState();
17 | }
18 |
19 | class FadeImageToVideoState extends State {
20 | late VideoPlayerController _controller;
21 | bool _playVideo = false;
22 | bool _inFocus = true;
23 |
24 | @override
25 | void initState() {
26 | super.initState();
27 | _controller = VideoPlayerController.file(File(widget.game.videoUrl!))..setLooping(true);
28 |
29 | if (widget.settings.muteVideo) {
30 | _controller.setVolume(0.0);
31 | }
32 |
33 | if (widget.settings.fadeToVideo) {
34 | _controller.initialize();
35 | Future.delayed(const Duration(seconds: 2), () async {
36 | if (_inFocus && mounted && _controller.value.isInitialized) {
37 | setState(() {
38 | _playVideo = true;
39 | });
40 | _controller.play();
41 | }
42 | });
43 | } else {
44 | _playVideo = true;
45 | _controller.initialize().then((value) {
46 | if (mounted) {
47 | // force aspect ratio
48 | if (_inFocus) {
49 | setState(() {
50 | _playVideo = true;
51 | });
52 | _controller.play();
53 | }
54 | }
55 | });
56 | }
57 | }
58 |
59 | @override
60 | void dispose() {
61 | _controller.dispose();
62 | super.dispose();
63 | }
64 |
65 | @override
66 | Widget build(BuildContext context) {
67 | return FocusDetector(
68 | onFocusLost: () {
69 | debugPrint('Focus lost');
70 | if (mounted) {
71 | _controller.dispose();
72 | setState(() {
73 | _inFocus = false;
74 | _playVideo = false;
75 | });
76 | }
77 | },
78 | child: _buildVideoPlayer(),
79 | );
80 | }
81 |
82 | Widget _buildVideoPlayer() {
83 | if (_playVideo && _inFocus) {
84 | return AspectRatio(
85 | aspectRatio: _controller.value.aspectRatio,
86 | child: VideoPlayer(_controller),
87 | );
88 | } else {
89 | return Image.file(
90 | File(widget.game.imageUrl!),
91 | fit: BoxFit.contain,
92 | filterQuality: FilterQuality.none,
93 | );
94 | }
95 | }
96 | }
97 |
--------------------------------------------------------------------------------
/lib/widgets/gamepad_prompt.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'package:titanius/gamepad.dart';
4 |
5 | const gamepadFontMappings = {
6 | GamepadButton.up: "\u{219F}",
7 | GamepadButton.down: "\u{21A1}",
8 | GamepadButton.upDown: "\u{21A3}",
9 | GamepadButton.left: "\u{219E}",
10 | GamepadButton.right: "\u{21A0}",
11 | GamepadButton.leftRight: "\u{21A2}",
12 | GamepadButton.a: "\u{21D3}",
13 | GamepadButton.b: "\u{21D2}",
14 | GamepadButton.x: "\u{21D0}",
15 | GamepadButton.y: "\u{21D1}",
16 | GamepadButton.l1: "\u{21B0}",
17 | GamepadButton.l2: "\u{21B2}",
18 | GamepadButton.r1: "\u{21B1}",
19 | GamepadButton.r2: "\u{21B3}",
20 | GamepadButton.start: "\u{21F8}",
21 | GamepadButton.select: "\u{21F7}",
22 | };
23 |
24 | class GamepadPromptWidget extends StatelessWidget {
25 | final List buttons;
26 | final String prompt;
27 |
28 | const GamepadPromptWidget({super.key, required this.buttons, required this.prompt});
29 |
30 | @override
31 | Widget build(BuildContext context) {
32 | String buttonText = buttons.map((button) => gamepadFontMappings[button]).join("");
33 | return Row(
34 | mainAxisSize: MainAxisSize.min,
35 | children: [
36 | Text(buttonText, style: const TextStyle(fontFamily: "Prompt", fontSize: 18)),
37 | Text(prompt),
38 | const SizedBox(width: 8),
39 | ],
40 | );
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/lib/widgets/icons.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | const toggleSize = 40.0;
4 | const toggleOnIcon = Icon(
5 | Icons.toggle_on_outlined,
6 | size: toggleSize,
7 | );
8 | const toggleOffIcon = Icon(
9 | Icons.toggle_off_outlined,
10 | size: toggleSize,
11 | color: Colors.grey,
12 | );
13 |
14 | const arrowRight = Icon(Icons.arrow_right, size: toggleSize);
15 |
--------------------------------------------------------------------------------
/lib/widgets/info_tile.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class InfoTile extends StatelessWidget {
4 | final String title;
5 | final String subtitle;
6 |
7 | const InfoTile({
8 | super.key,
9 | required this.title,
10 | required this.subtitle,
11 | });
12 |
13 | @override
14 | Widget build(BuildContext context) {
15 | return Column(
16 | crossAxisAlignment: CrossAxisAlignment.start,
17 | mainAxisSize: MainAxisSize.min,
18 | children: [
19 | Text(title),
20 | Text(subtitle, style: const TextStyle(color: Colors.grey)),
21 | ],
22 | );
23 | }
24 | }
25 |
26 | class InfoTiles extends StatelessWidget {
27 | final List children;
28 |
29 | const InfoTiles({
30 | super.key,
31 | required this.children,
32 | });
33 |
34 | @override
35 | Widget build(BuildContext context) {
36 | return LayoutBuilder(
37 | builder: (BuildContext context, BoxConstraints constraints) {
38 | final double tileWidth = constraints.maxWidth / 3;
39 | return Wrap(
40 | spacing: 8,
41 | runSpacing: 8,
42 | children: children
43 | .map((e) => Container(
44 | width: tileWidth,
45 | padding: const EdgeInsets.symmetric(horizontal: 4, vertical: 8),
46 | child: e,
47 | ))
48 | .toList(),
49 | );
50 | },
51 | );
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/lib/widgets/prompt_bar.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'package:titanius/gamepad.dart';
4 | import 'package:titanius/widgets/gamepad_prompt.dart';
5 |
6 | class GamepadPrompt {
7 | final List buttons;
8 | final String prompt;
9 |
10 | const GamepadPrompt(this.buttons, this.prompt);
11 | }
12 |
13 | typedef GamepadPrompts = List;
14 |
15 | class PromptBar extends StatelessWidget {
16 | final String text;
17 | final GamepadPrompts navigations;
18 | final GamepadPrompts actions;
19 |
20 | const PromptBar({super.key, this.text = "", this.navigations = const [], this.actions = const []});
21 |
22 | @override
23 | Widget build(BuildContext context) {
24 | return Padding(
25 | padding: const EdgeInsets.all(8),
26 | child: Row(
27 | children: [
28 | ...navigations.map((e) => GamepadPromptWidget(
29 | buttons: e.buttons,
30 | prompt: e.prompt,
31 | )),
32 | Expanded(
33 | child: Text(
34 | text,
35 | textScaler: const TextScaler.linear(0.8),
36 | textAlign: TextAlign.center,
37 | maxLines: 1,
38 | overflow: TextOverflow.ellipsis,
39 | ),
40 | ),
41 | ...actions.map((e) => GamepadPromptWidget(
42 | buttons: e.buttons,
43 | prompt: e.prompt,
44 | )),
45 | ],
46 | ),
47 | );
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/lib/widgets/scraper_progress.dart:
--------------------------------------------------------------------------------
1 | import 'dart:async';
2 | import 'dart:io';
3 |
4 | import 'package:flutter/material.dart';
5 | import 'package:flutter_background_service/flutter_background_service.dart';
6 | import 'package:hooks_riverpod/hooks_riverpod.dart';
7 | import 'package:intl/intl.dart';
8 | import 'package:riverpod_annotation/riverpod_annotation.dart';
9 | import 'package:percent_indicator/percent_indicator.dart';
10 |
11 | part 'scraper_progress.g.dart';
12 |
13 | class ScraperProgress {
14 | final int total;
15 | final int pending;
16 | final int success;
17 | final int error;
18 | final String system;
19 | final String rom;
20 | final String message;
21 |
22 | ScraperProgress({
23 | required this.total,
24 | required this.pending,
25 | required this.success,
26 | required this.error,
27 | required this.system,
28 | required this.rom,
29 | required this.message,
30 | });
31 | }
32 |
33 | class FakeServiceInstance extends ServiceInstance {
34 | final scrapeController = StreamController