Added support for the standalone emulator mGBA.

Also fixed an incorrect RetroArch core path for the emulator VBA-M.
This commit is contained in:
Leon Styhre 2022-02-23 19:48:44 +01:00
parent f642947868
commit ab85733145
6 changed files with 43 additions and 7 deletions

View file

@ -32,7 +32,6 @@
<!-- DOS emulator DOSBox Staging -->
<rule type="staticpath">
<entry>/Applications/dosbox-staging.app/Contents/MacOS/dosbox</entry>
<!-- Homebrew version -->
<entry>/opt/homebrew/bin/dosbox-staging</entry>
<entry>/usr/local/bin/dosbox-staging</entry>
</rule>
@ -41,16 +40,22 @@
<!-- Commodore Amiga emulator FS-UAE -->
<rule type="staticpath">
<entry>/Applications/FS-UAE.app/Contents/MacOS/fs-uae</entry>
<!-- Homebrew version -->
<entry>/opt/homebrew/bin/fs-uae</entry>
<entry>/usr/local/bin/fs-uae</entry>
</rule>
</emulator>
<emulator name="MGBA">
<!-- Nintendo Game Boy Advance emulator mGBA -->
<rule type="staticpath">
<entry>/Applications/mGBA.app/Contents/MacOS/mGBA</entry>
<entry>/opt/homebrew/bin/mGBA</entry>
<entry>/usr/local/bin/mGBA</entry>
</rule>
</emulator>
<emulator name="MUPEN64PLUS">
<!-- Nintendo 64 emulator Mupen64Plus -->
<rule type="staticpath">
<entry>/Applications/mupen64plus.app/Contents/MacOS/mupen64plus</entry>
<!-- Homebrew version -->
<entry>/usr/local/bin/mupen64plus</entry>
</rule>
</emulator>
@ -70,7 +75,6 @@
<!-- Sony PlayStation Portable emulator PPSSPP -->
<rule type="staticpath">
<entry>/Applications/PPSSPPSDL.app/Contents/MacOS/PPSSPPSDL</entry>
<!-- Homebrew version -->
<entry>/opt/homebrew/bin/ppsspp</entry>
<entry>/usr/local/bin/ppsspp</entry>
</rule>

View file

@ -452,7 +452,8 @@
<path>%ROMPATH%/gba</path>
<extension>.agb .AGB .bin .BIN .cgb .CGB .dmg .DMG .gb .GB .gba .GBA .gbc .GBC .sgb .SGB .7z .7Z .zip .ZIP</extension>
<command label="mGBA">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/mgba_libretro.dylib %ROM%</command>
<command label="VBA-M">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/vbam_next_libretro.dylib %ROM%</command>
<command label="mGBA (Standalone)">%EMULATOR_MGBA% -f %ROM%</command>
<command label="VBA-M">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/vbam_libretro.dylib %ROM%</command>
<command label="VBA Next">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/vba_next_libretro.dylib %ROM%</command>
<command label="gpSP">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/gpsp_libretro.dylib %ROM%</command>
<platform>gba</platform>

View file

@ -84,6 +84,19 @@
<entry>mame</entry>
</rule>
</emulator>
<emulator name="MGBA">
<!-- Nintendo Game Boy Advance emulator mGBA -->
<rule type="systempath">
<entry>mgba</entry>
<entry>io.mgba.mGBA</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/io.mgba.mGBA</entry>
<entry>~/Applications/mGBA*.AppImage</entry>
<entry>~/.local/bin/mGBA*.AppImage</entry>
<entry>~/bin/mGBA*.AppImage</entry>
</rule>
</emulator>
<emulator name="MUPEN64PLUS">
<!-- Nintendo 64 emulator Mupen64Plus -->
<rule type="systempath">

View file

@ -454,7 +454,8 @@
<path>%ROMPATH%/gba</path>
<extension>.agb .AGB .bin .BIN .cgb .CGB .dmg .DMG .gb .GB .gba .GBA .gbc .GBC .sgb .SGB .7z .7Z .zip .ZIP</extension>
<command label="mGBA">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/mgba_libretro.so %ROM%</command>
<command label="VBA-M">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/vbam_next_libretro.so %ROM%</command>
<command label="mGBA (Standalone)">%EMULATOR_MGBA% -f %ROM%</command>
<command label="VBA-M">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/vbam_libretro.so %ROM%</command>
<command label="VBA Next">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/vba_next_libretro.so %ROM%</command>
<command label="gpSP">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/gpsp_libretro.so %ROM%</command>
<platform>gba</platform>

View file

@ -90,6 +90,21 @@
<entry>%ESPATH%\..\mame\mame.exe</entry>
</rule>
</emulator>
<emulator name="MGBA">
<!-- Nintendo Game Boy Advance emulator mGBA -->
<rule type="winregistryvalue">
<entry>SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\mGBA_is1\InstallLocation|mGBA.exe</entry>
</rule>
<rule type="systempath">
<entry>mGBA.exe</entry>
</rule>
<rule type="staticpath">
<entry>C:\Program Files\mGBA\mGBA.exe</entry>
<entry>D:\Program Files\mGBA\mGBA.exe</entry>
<entry>%ESPATH%\mGBA\mGBA.exe</entry>
<entry>%ESPATH%\..\mGBA\mGBA.exe</entry>
</rule>
</emulator>
<emulator name="MUPEN64PLUS">
<!-- Nintendo 64 emulator Mupen64Plus -->
<rule type="systempath">
@ -123,6 +138,7 @@
</rule>
<rule type="staticpath">
<entry>C:\Program Files\PPSSPP\PPSSPPWindows64.exe</entry>
<entry>D:\Program Files\PPSSPP\PPSSPPWindows64.exe</entry>
<entry>%ESPATH%\PPSSPP\PPSSPPWindows64.exe</entry>
<entry>%ESPATH%\..\PPSSPP\PPSSPPWindows64.exe</entry>
</rule>

View file

@ -454,7 +454,8 @@
<path>%ROMPATH%\gba</path>
<extension>.agb .AGB .bin .BIN .cgb .CGB .dmg .DMG .gb .GB .gba .GBA .gbc .GBC .sgb .SGB .7z .7Z .zip .ZIP</extension>
<command label="mGBA">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\mgba_libretro.dll %ROM%</command>
<command label="VBA-M">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\vbam_next_libretro.dll %ROM%</command>
<command label="mGBA (Standalone)">%EMULATOR_MGBA% -f %ROM%</command>
<command label="VBA-M">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\vbam_libretro.dll %ROM%</command>
<command label="VBA Next">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\vba_next_libretro.dll %ROM%</command>
<command label="gpSP">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\gpsp_libretro.dll %ROM%</command>
<platform>gba</platform>