TapiocaFox / Daijishou

Daijishō is a retro launcher that let you manage your retro games libraries. This repo is for assets and served as a main page.
MIT License
1.09k stars 110 forks source link

Suggestion - Update G&W platform #649

Closed hartleyshc closed 5 months ago

hartleyshc commented 5 months ago

Suggestion to update the Game & Watch platform to support the Mame Retroarch core for those roms.

Jetup13 commented 5 months ago

I'll give this a check when I can

Jetup13 commented 5 months ago

I could not get them to work on the Android build of RetroArch's (1.18.0) MAME Current core (02.64 170929e0). Can you provide a tutorial?

Also you can add the MAME players yourself by manually adding it to the json file or downloading the mame platform > add mame players to the gw platform.

hartleyshc commented 5 months ago

Yeah, I was hoping it was something I was doing wrong. I honestly didn't even know they worked on android.

I had previously tried what you suggested, adding the mame platform and using that to load the rom from the g&w platform. Black screen. Then I tried within Retroarch to load the archive, and use the mame core. Failed to load content.

Yet somehow ES-DE did some voodoo and the G&W platform will load the roms just fine using the latest mame core.

When I check the retroarch menu after loading the rom in ES-DE, it is using the same versions as you are testing with as well. Retroarch 64bit nightly 1.18.0, and current core of mame 02.64 170929e0.

hartleyshc commented 5 months ago

Found the issue. They are actually using the latest MESS core (which labels itself in retroarch as the mame core).

Here is the line from the platforms file for ES-DE

<command label="Multi (MESS)">%EMULATOR_RETROARCH% %EXTRA_CONFIGFILE%=/storage/emulated/0/Android/data/%ANDROIDPACKAGE%/files/retroarch.cfg %EXTRA_LIBRETRO%=mamemess_libretro_android.so %EXTRA_ROM%=%ROM%</command>

I tested on retroarch and I was able to load the MESS core, and then the mame based g&w roms loaded no problem.

hartleyshc commented 5 months ago

So I confirmed it works by editing and then sideloading the current Game&watch.json platform file. No idea if this is correct, but just tried to match the current naming conventions of things. Also not sure if MESS is available on on the 32bit version of Retroarch or not. I know initially it was 64bit only, but that was a year or so ago.

{ "name": "gw - RetroArch 64 - mess", "uniqueId": "gw.ra64.mess", "description": "Supported extensions: 7z, chd, cmd, zip.", "acceptedFilenameRegex": "^(.*)\\.(?:7z|chd|cmd|zip)$", "amStartArguments": "-n com.retroarch.aarch64/com.retroarch.browser.retroactivity.RetroActivityFuture\n -e ROM {file.path}\n -e LIBRETRO /data/data/com.retroarch.aarch64/cores/mamemess_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, "extra": "" },

Jetup13 commented 5 months ago

Sorry for the late reply, I updated the platform c08b60c. It should work in both RA64 and RA (mess is not available on 32bit)