Added additional emulator configuration for the 64dd, n64, dos, pc and ps2 systems.

This commit is contained in:
Leon Styhre 2021-12-22 22:52:45 +01:00
parent c2d3719edf
commit 8a2b2ee05c
6 changed files with 60 additions and 8 deletions

View file

@ -15,15 +15,25 @@
</rule> </rule>
</core> </core>
<emulator name="DOSBOX_STAGING"> <emulator name="DOSBOX_STAGING">
<!-- DOS emulator DOSBox Staging, Homebrew version --> <!-- DOS emulator DOSBox Staging -->
<rule type="staticpath"> <rule type="staticpath">
<entry>/Applications/dosbox-staging.app/Contents/MacOS/dosbox</entry>
<!-- Homebrew version -->
<entry>/usr/local/bin/dosbox-staging</entry> <entry>/usr/local/bin/dosbox-staging</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="MUPEN64PLUS"> <emulator name="MUPEN64PLUS">
<!-- Nintendo 64 emulator Mupen64Plus, Homebrew version --> <!-- Nintendo 64 emulator Mupen64Plus -->
<rule type="staticpath"> <rule type="staticpath">
<entry>/Applications/mupen64plus.app/Contents/MacOS/mupen64plus</entry>
<!-- Homebrew version -->
<entry>/usr/local/bin/mupen64plus</entry> <entry>/usr/local/bin/mupen64plus</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="PCSX2">
<!-- Sony PlayStation 2 emulator PCSX2 -->
<rule type="staticpath">
<entry>/Applications/PCSX2.app/Contents/MacOS/PCSX2</entry>
</rule>
</emulator>
</ruleList> </ruleList>

View file

@ -936,8 +936,8 @@
<name>ps2</name> <name>ps2</name>
<fullname>Sony PlayStation 2</fullname> <fullname>Sony PlayStation 2</fullname>
<path>%ROMPATH%/ps2</path> <path>%ROMPATH%/ps2</path>
<extension>.7z .7Z .zip .ZIP</extension> <extension>.iso .ISO .isz .ISZ .cso .CSO .bin .BIN .elf .ELF</extension>
<command>PLACEHOLDER %ROM%</command> <command label="PCSX2 (Standalone)">%EMULATOR_PCSX2% --nogui %ROM%</command>
<platform>ps2</platform> <platform>ps2</platform>
<theme>ps2</theme> <theme>ps2</theme>
</system> </system>

View file

@ -44,6 +44,17 @@
<entry>/var/lib/flatpak/exports/bin/io.github.dosbox-staging</entry> <entry>/var/lib/flatpak/exports/bin/io.github.dosbox-staging</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="PCSX2">
<!-- Sony PlayStation 2 emulator PCSX2 -->
<rule type="systempath">
<entry>PCSX2</entry>
<entry>pcsx2</entry>
<entry>net.pcsx2.PCSX2</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/net.pcsx2.PCSX2</entry>
</rule>
</emulator>
<emulator name="RPCS3"> <emulator name="RPCS3">
<!-- Sony PlayStation 3 emulator RPCS3 --> <!-- Sony PlayStation 3 emulator RPCS3 -->
<rule type="systempath"> <rule type="systempath">

View file

@ -936,8 +936,9 @@
<name>ps2</name> <name>ps2</name>
<fullname>Sony PlayStation 2</fullname> <fullname>Sony PlayStation 2</fullname>
<path>%ROMPATH%/ps2</path> <path>%ROMPATH%/ps2</path>
<extension>.iso .ISO .isz .ISZ .cso .CSO .bin .BIN .elf .ELF .7z .7Z .zip .ZIP</extension> <extension>.iso .ISO .isz .ISZ .cso .CSO .bin .BIN .elf .ELF</extension>
<command>%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/pcsx2_libretro.so %ROM%</command> <command label="PCSX2">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/pcsx2_libretro.so %ROM%</command>
<command label="PCSX2 (Standalone)">%EMULATOR_PCSX2% --nogui %ROM%</command>
<platform>ps2</platform> <platform>ps2</platform>
<theme>ps2</theme> <theme>ps2</theme>
</system> </system>

View file

@ -36,6 +36,33 @@
<entry>%EMUPATH%\cores</entry> <entry>%EMUPATH%\cores</entry>
</rule> </rule>
</core> </core>
<emulator name="DOSBOX_STAGING">
<!-- DOS emulator DOSBox Staging -->
<rule type="systempath">
<entry>dosbox.exe</entry>
</rule>
<rule type="staticpath">
<!-- Portable installation -->
<entry>%ESPATH%\dosbox-staging\dosbox.exe</entry>
<entry>%ESPATH%\..\dosbox-staging\dosbox.exe</entry>
</rule>
</emulator>
<emulator name="PCSX2">
<!-- Sony PlayStation 2 emulator PCSX2 -->
<rule type="winregistryvalue">
<entry>SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\pcsx2\DisplayIcon</entry>
</rule>
<rule type="systempath">
<entry>pcsx2.exe</entry>
</rule>
<rule type="staticpath">
<entry>C:\Program Files (x86)\PCSX2\pcsx2.exe</entry>
<entry>D:\Program Files (x86)\PCSX2\pcsx2.exe</entry>
<!-- Portable installation -->
<entry>%ESPATH%\PCSX2\pcsx2.exe</entry>
<entry>%ESPATH%\..\PCSX2\pcsx2.exe</entry>
</rule>
</emulator>
<emulator name="RPCS3"> <emulator name="RPCS3">
<!-- Sony PlayStation 3 emulator RPCS3 --> <!-- Sony PlayStation 3 emulator RPCS3 -->
<rule type="systempath"> <rule type="systempath">

View file

@ -337,6 +337,7 @@
<command label="DOSBox-Core">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\dosbox_core_libretro.dll %ROM%</command> <command label="DOSBox-Core">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\dosbox_core_libretro.dll %ROM%</command>
<command label="DOSBox-Pure">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\dosbox_pure_libretro.dll %ROM%</command> <command label="DOSBox-Pure">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\dosbox_pure_libretro.dll %ROM%</command>
<command label="DOSBox-SVN">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\dosbox_svn_libretro.dll %ROM%</command> <command label="DOSBox-SVN">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\dosbox_svn_libretro.dll %ROM%</command>
<command label="DOSBox Staging (Standalone)">%EMULATOR_DOSBOX_STAGING% %ROM%</command>
<platform>dos</platform> <platform>dos</platform>
<theme>dos</theme> <theme>dos</theme>
</system> </system>
@ -861,6 +862,7 @@
<command label="DOSBox-Core">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\dosbox_core_libretro.dll %ROM%</command> <command label="DOSBox-Core">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\dosbox_core_libretro.dll %ROM%</command>
<command label="DOSBox-Pure">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\dosbox_pure_libretro.dll %ROM%</command> <command label="DOSBox-Pure">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\dosbox_pure_libretro.dll %ROM%</command>
<command label="DOSBox-SVN">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\dosbox_svn_libretro.dll %ROM%</command> <command label="DOSBox-SVN">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\dosbox_svn_libretro.dll %ROM%</command>
<command label="DOSBox Staging (Standalone)">%EMULATOR_DOSBOX_STAGING% %ROM%</command>
<platform>pc</platform> <platform>pc</platform>
<theme>pc</theme> <theme>pc</theme>
</system> </system>
@ -934,8 +936,9 @@
<name>ps2</name> <name>ps2</name>
<fullname>Sony PlayStation 2</fullname> <fullname>Sony PlayStation 2</fullname>
<path>%ROMPATH%\ps2</path> <path>%ROMPATH%\ps2</path>
<extension>.iso .ISO .isz .ISZ .cso .CSO .bin .BIN .elf .ELF .7z .7Z .zip .ZIP</extension> <extension>.iso .ISO .isz .ISZ .cso .CSO .bin .BIN .elf .ELF</extension>
<command>%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\pcsx2_libretro.dll %ROM%</command> <command label="PCSX2">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\pcsx2_libretro.dll %ROM%</command>
<command label="PCSX2 (Standalone)">%EMULATOR_PCSX2% --nogui %ROM%</command>
<platform>ps2</platform> <platform>ps2</platform>
<theme>ps2</theme> <theme>ps2</theme>
</system> </system>