Skip to content

Commit

Permalink
Add fake08 player & update naomi platforms accepted filenames
Browse files Browse the repository at this point in the history
- Future proof PICO8 platform by adding `fake08` player that uses `fake08_libretro_android.so`. Old player will stay for now but will be removed in the future.
- Add `dat` as an acceptable filename for `naomi` platform.
  • Loading branch information
Jetup13 committed Mar 4, 2024
1 parent cb525a4 commit d3f7018
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 8 deletions.
32 changes: 31 additions & 1 deletion platforms/PICO8.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"databaseVersion": 14,
"revisionNumber": 5,
"revisionNumber": 6,
"platform": {
"name": "PICO-8",
"uniqueId": "pico8",
Expand All @@ -20,6 +20,16 @@
"extra": ""
},
"playerList": [
{
"name": "pico8 - RetroArch 64 - fake08",
"uniqueId": "pico8.ra64.fake08",
"description": "Supported extensions: p8, png.",
"acceptedFilenameRegex": "^(.*)\\.(?:p8|png)$",
"amStartArguments": "-n com.retroarch.aarch64/com.retroarch.browser.retroactivity.RetroActivityFuture\n -e ROM {file.path}\n -e LIBRETRO /data/data/com.retroarch.aarch64/cores/fake08_libretro_android.so\n -e CONFIGFILE /storage/emulated/0/Android/data/com.retroarch.aarch64/files/retroarch.cfg\n --activity-clear-task\n --activity-clear-top",
"killPackageProcesses": true,
"killPackageProcessesWarning": true,
"extra": ""
},
{
"name": "pico8 - RetroArch 64 - fake08-arm64",
"uniqueId": "pico8.ra64.libfake08-arm64",
Expand All @@ -40,6 +50,16 @@
"killPackageProcessesWarning": true,
"extra": ""
},
{
"name": "pico8 - RetroArch 32 - fake08",
"uniqueId": "pico8.ra32.fake08",
"description": "Supported extensions: p8, png.",
"acceptedFilenameRegex": "^(.*)\\.(?:p8|png)$",
"amStartArguments": "-n com.retroarch.ra32/com.retroarch.browser.retroactivity.RetroActivityFuture\n -e ROM {file.path}\n -e LIBRETRO /data/data/com.retroarch.ra32/cores/fake08_libretro_android.so\n -e CONFIGFILE /storage/emulated/0/Android/data/com.retroarch.ra32/files/retroarch.cfg\n --activity-clear-task\n --activity-clear-top",
"killPackageProcesses": true,
"killPackageProcessesWarning": true,
"extra": ""
},
{
"name": "pico8 - RetroArch 32 - fake08-arm32",
"uniqueId": "pico8.com.retroarch.ra32",
Expand All @@ -60,6 +80,16 @@
"killPackageProcessesWarning": true,
"extra": ""
},
{
"name": "pico8 - RetroArch - fake08",
"uniqueId": "pico8.ra.fake08",
"description": "Supported extensions: p8, png.",
"acceptedFilenameRegex": "^(.*)\\.(?:p8|png)$",
"amStartArguments": "-n com.retroarch/com.retroarch.browser.retroactivity.RetroActivityFuture\n -e ROM {file.path}\n -e LIBRETRO /data/data/com.retroarch/cores/fake08_libretro_android.so\n -e CONFIGFILE /storage/emulated/0/Android/data/com.retroarch/files/retroarch.cfg\n --activity-clear-task\n --activity-clear-top",
"killPackageProcesses": true,
"killPackageProcessesWarning": true,
"extra": ""
},
{
"name": "pico8 - RetroArch - fake08-arm64",
"uniqueId": "pico8.com.retroarch",
Expand Down
10 changes: 5 additions & 5 deletions platforms/SegaNAOMI.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"databaseVersion": 14,
"revisionNumber": 4,
"revisionNumber": 5,
"platform": {
"name": "Sega NAOMI",
"uniqueId": "naomi",
Expand Down Expand Up @@ -29,7 +29,7 @@
"name": "naomi - com.flycast.emulator",
"uniqueId": "naomi.com.flycast.emulator",
"description": "Supported extensions: 7z, lst, zip.",
"acceptedFilenameRegex": "^(.*)\\.(?:7z|lst|zip)$",
"acceptedFilenameRegex": "^(.*)\\.(?:7z|lst|zip|dat)$",
"amStartArguments": "-n com.flycast.emulator/com.reicast.emulator.MainActivity\n -a android.intent.action.VIEW\n -d {file.path}",
"killPackageProcesses": false,
"killPackageProcessesWarning": true,
Expand All @@ -39,7 +39,7 @@
"name": "naomi - RetroArch 64 - flycast",
"uniqueId": "naomi.ra64.flycast",
"description": "Supported extensions: 7z, lst, zip.",
"acceptedFilenameRegex": "^(.*)\\.(?:7z|lst|zip)$",
"acceptedFilenameRegex": "^(.*)\\.(?:7z|lst|zip|dat)$",
"amStartArguments": "-n com.retroarch.aarch64/com.retroarch.browser.retroactivity.RetroActivityFuture\n -e ROM {file.path}\n -e LIBRETRO /data/data/com.retroarch.aarch64/cores/flycast_libretro_android.so\n -e CONFIGFILE /storage/emulated/0/Android/data/com.retroarch.aarch64/files/retroarch.cfg\n -e IME com.android.inputmethod.latin/.LatinIME\n -e DATADIR /data/data/com.retroarch.aarch64\n -e APK /data/app/com.retroarch.aarch64-1/base.apk\n -e SDCARD /storage/emulated/0\n -e EXTERNAL /storage/emulated/0/Android/data/com.retroarch.aarch64/files\n --activity-clear-task\n --activity-clear-top",
"killPackageProcesses": true,
"killPackageProcessesWarning": true,
Expand All @@ -49,7 +49,7 @@
"name": "naomi - RetroArch 32 - flycast",
"uniqueId": "naomi.ra32.flycast",
"description": "Supported extensions: 7z, lst, zip.",
"acceptedFilenameRegex": "^(.*)\\.(?:7z|lst|zip)$",
"acceptedFilenameRegex": "^(.*)\\.(?:7z|lst|zip|dat)$",
"amStartArguments": "-n com.retroarch.ra32/com.retroarch.browser.retroactivity.RetroActivityFuture\n -e ROM {file.path}\n -e LIBRETRO /data/data/com.retroarch.ra32/cores/flycast_libretro_android.so\n -e CONFIGFILE /storage/emulated/0/Android/data/com.retroarch.ra32/files/retroarch.cfg\n -e IME com.android.inputmethod.latin/.LatinIME\n -e DATADIR /data/data/com.retroarch.ra32\n -e APK /data/app/com.retroarch.ra32-1/base.apk\n -e SDCARD /storage/emulated/0\n -e EXTERNAL /storage/emulated/0/Android/data/com.retroarch.ra32/files\n --activity-clear-task\n --activity-clear-top",
"killPackageProcesses": true,
"killPackageProcessesWarning": true,
Expand All @@ -59,7 +59,7 @@
"name": "naomi - RetroArch - flycast",
"uniqueId": "naomi.ra.flycast",
"description": "Supported extensions: 7z, lst, zip.",
"acceptedFilenameRegex": "^(.*)\\.(?:7z|lst|zip)$",
"acceptedFilenameRegex": "^(.*)\\.(?:7z|lst|zip|dat)$",
"amStartArguments": "-n com.retroarch/com.retroarch.browser.retroactivity.RetroActivityFuture\n -e ROM {file.path}\n -e LIBRETRO /data/data/com.retroarch/cores/flycast_libretro_android.so\n -e CONFIGFILE /storage/emulated/0/Android/data/com.retroarch/files/retroarch.cfg\n -e IME com.android.inputmethod.latin/.LatinIME\n -e DATADIR /data/data/com.retroarch\n -e APK /data/app/com.retroarch-1/base.apk\n -e SDCARD /storage/emulated/0\n -e EXTERNAL /storage/emulated/0/Android/data/com.retroarch/files\n --activity-clear-task\n --activity-clear-top",
"killPackageProcesses": true,
"killPackageProcessesWarning": true,
Expand Down
4 changes: 2 additions & 2 deletions platforms/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@
"platformName": "PICO-8",
"platformShortname": "pico8",
"platformUniqueId": "pico8",
"revisionNumber": 5
"revisionNumber": 6
},
{
"filename": "PalmOS.json",
Expand Down Expand Up @@ -510,7 +510,7 @@
"platformName": "Sega NAOMI",
"platformShortname": "naomi",
"platformUniqueId": "naomi",
"revisionNumber": 4
"revisionNumber": 5
},
{
"filename": "SegaPico.json",
Expand Down

0 comments on commit d3f7018

Please sign in to comment.