Added support for the standalone emulator Citra.

Also added some missing portable emulator configuration for Windows.
This commit is contained in:
Leon Styhre 2022-02-22 22:20:45 +01:00
parent 74e0ec1816
commit d44c4e09fe
6 changed files with 51 additions and 2 deletions

View file

@ -14,6 +14,14 @@
<entry>/Applications/RetroArch.app/Contents/Resources/cores</entry> <entry>/Applications/RetroArch.app/Contents/Resources/cores</entry>
</rule> </rule>
</core> </core>
<emulator name="CITRA">
<!-- Nintendo 3DS emulator Citra -->
<rule type="staticpath">
<entry>/Applications/citra-qt.app/Contents/MacOS/citra-qt</entry>
<entry>/Applications/Citra/nightly/citra-qt.app/Contents/MacOS/citra-qt</entry>
<entry>/Applications/Citra/canary/citra-qt.app/Contents/MacOS/citra-qt</entry>
</rule>
</emulator>
<emulator name="DOLPHIN"> <emulator name="DOLPHIN">
<!-- Nintendo GameCube and Wii emulator Dolphin --> <!-- Nintendo GameCube and Wii emulator Dolphin -->
<rule type="staticpath"> <rule type="staticpath">

View file

@ -716,8 +716,7 @@
<fullname>Nintendo 3DS</fullname> <fullname>Nintendo 3DS</fullname>
<path>%ROMPATH%/n3ds</path> <path>%ROMPATH%/n3ds</path>
<extension>.3ds .3DS .3dsx .3DSX .app .APP .axf .AXF .cci .CCI .cxi .CXI .elf .ELF .7z .7Z .zip .ZIP</extension> <extension>.3ds .3DS .3dsx .3DSX .app .APP .axf .AXF .cci .CCI .cxi .CXI .elf .ELF .7z .7Z .zip .ZIP</extension>
<command label="Citra">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/citra_libretro.dylib %ROM%</command> <command label="Citra (Standalone)">%EMULATOR_CITRA% %ROM%</command>
<command label="Citra 2018">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/citra2018_libretro.dylib %ROM%</command>
<platform>n3ds</platform> <platform>n3ds</platform>
<theme>n3ds</theme> <theme>n3ds</theme>
</system> </system>

View file

@ -34,6 +34,16 @@
<entry>/usr/pkg/lib/libretro</entry> <entry>/usr/pkg/lib/libretro</entry>
</rule> </rule>
</core> </core>
<emulator name="CITRA">
<!-- Nintendo 3DS emulator Citra -->
<rule type="systempath">
<entry>citra-emu.citra-nightly</entry>
<entry>org.citra_emu.citra</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.citra_emu.citra</entry>
</rule>
</emulator>
<emulator name="DOLPHIN"> <emulator name="DOLPHIN">
<!-- Nintendo GameCube and Wii emulator Dolphin --> <!-- Nintendo GameCube and Wii emulator Dolphin -->
<rule type="systempath"> <rule type="systempath">

View file

@ -720,6 +720,7 @@
<extension>.3ds .3DS .3dsx .3DSX .app .APP .axf .AXF .cci .CCI .cxi .CXI .elf .ELF .7z .7Z .zip .ZIP</extension> <extension>.3ds .3DS .3dsx .3DSX .app .APP .axf .AXF .cci .CCI .cxi .CXI .elf .ELF .7z .7Z .zip .ZIP</extension>
<command label="Citra">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/citra_libretro.so %ROM%</command> <command label="Citra">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/citra_libretro.so %ROM%</command>
<command label="Citra 2018">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/citra2018_libretro.so %ROM%</command> <command label="Citra 2018">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/citra2018_libretro.so %ROM%</command>
<command label="Citra (Standalone)">%EMULATOR_CITRA% %ROM%</command>
<platform>n3ds</platform> <platform>n3ds</platform>
<theme>n3ds</theme> <theme>n3ds</theme>
</system> </system>

View file

@ -36,11 +36,31 @@
<entry>%EMUPATH%\cores</entry> <entry>%EMUPATH%\cores</entry>
</rule> </rule>
</core> </core>
<emulator name="CITRA">
<!-- Nintendo 3DS emulator Citra -->
<rule type="systempath">
<entry>citra.exe</entry>
</rule>
<rule type="staticpath">
<entry>~\AppData\Local\Citra\nightly-mingw\citra.exe</entry>
<entry>~\AppData\Local\Citra\canary-mingw\citra.exe</entry>
<!-- Portable installation -->
<entry>%ESPATH%\Citra\nightly-mingw\citra.exe</entry>
<entry>%ESPATH%\..\Citra\nightly-mingw\citra.exe</entry>
<entry>%ESPATH%\Citra\canary-mingw\citra.exe</entry>
<entry>%ESPATH%\..\Citra\canary-mingw\citra.exe</entry>
</rule>
</emulator>
<emulator name="DOLPHIN"> <emulator name="DOLPHIN">
<!-- Nintendo GameCube and Wii emulator Dolphin --> <!-- Nintendo GameCube and Wii emulator Dolphin -->
<rule type="systempath"> <rule type="systempath">
<entry>dolphin.exe</entry> <entry>dolphin.exe</entry>
</rule> </rule>
<rule type="staticpath">
<!-- Portable installation -->
<entry>%ESPATH%\Dolphin-x64\Dolphin.exe</entry>
<entry>%ESPATH%\..\Dolphin-x64\Dolphin.exe</entry>
</rule>
</emulator> </emulator>
<emulator name="DOSBOX-STAGING"> <emulator name="DOSBOX-STAGING">
<!-- DOS emulator DOSBox Staging --> <!-- DOS emulator DOSBox Staging -->
@ -58,12 +78,22 @@
<rule type="systempath"> <rule type="systempath">
<entry>fs-uae.exe</entry> <entry>fs-uae.exe</entry>
</rule> </rule>
<rule type="staticpath">
<!-- Portable installation -->
<entry>%ESPATH%\FS-UAE\Windows\x86-64\fs-uae.exe</entry>
<entry>%ESPATH%\..\FS-UAE\Windows\x86-64\fs-uae.exe</entry>
</rule>
</emulator> </emulator>
<emulator name="MAME"> <emulator name="MAME">
<!-- Arcade emulator MAME --> <!-- Arcade emulator MAME -->
<rule type="systempath"> <rule type="systempath">
<entry>mame.exe</entry> <entry>mame.exe</entry>
</rule> </rule>
<rule type="staticpath">
<!-- Portable installation -->
<entry>%ESPATH%\mame\mame.exe</entry>
<entry>%ESPATH%\..\mame\mame.exe</entry>
</rule>
</emulator> </emulator>
<emulator name="PCSX2"> <emulator name="PCSX2">
<!-- Sony PlayStation 2 emulator PCSX2 --> <!-- Sony PlayStation 2 emulator PCSX2 -->

View file

@ -720,6 +720,7 @@
<extension>.3ds .3DS .3dsx .3DSX .app .APP .axf .AXF .cci .CCI .cxi .CXI .elf .ELF .7z .7Z .zip .ZIP</extension> <extension>.3ds .3DS .3dsx .3DSX .app .APP .axf .AXF .cci .CCI .cxi .CXI .elf .ELF .7z .7Z .zip .ZIP</extension>
<command label="Citra">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\citra_libretro.dll %ROM%</command> <command label="Citra">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\citra_libretro.dll %ROM%</command>
<command label="Citra 2018">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\citra2018_libretro.dll %ROM%</command> <command label="Citra 2018">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\citra2018_libretro.dll %ROM%</command>
<command label="Citra (Standalone)">%EMULATOR_CITRA% %ROM%</command>
<platform>n3ds</platform> <platform>n3ds</platform>
<theme>n3ds</theme> <theme>n3ds</theme>
</system> </system>