From 8a2b2ee05cdae8c7065bc46675e187f17eba260e Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Wed, 22 Dec 2021 22:52:45 +0100 Subject: [PATCH] Added additional emulator configuration for the 64dd, n64, dos, pc and ps2 systems. --- resources/systems/macos/es_find_rules.xml | 14 +++++++++-- resources/systems/macos/es_systems.xml | 4 +-- resources/systems/unix/es_find_rules.xml | 11 +++++++++ resources/systems/unix/es_systems.xml | 5 ++-- resources/systems/windows/es_find_rules.xml | 27 +++++++++++++++++++++ resources/systems/windows/es_systems.xml | 7 ++++-- 6 files changed, 60 insertions(+), 8 deletions(-) diff --git a/resources/systems/macos/es_find_rules.xml b/resources/systems/macos/es_find_rules.xml index 665e7ef87..842766308 100644 --- a/resources/systems/macos/es_find_rules.xml +++ b/resources/systems/macos/es_find_rules.xml @@ -15,15 +15,25 @@ - + + /Applications/dosbox-staging.app/Contents/MacOS/dosbox + /usr/local/bin/dosbox-staging - + + /Applications/mupen64plus.app/Contents/MacOS/mupen64plus + /usr/local/bin/mupen64plus + + + + /Applications/PCSX2.app/Contents/MacOS/PCSX2 + + \ No newline at end of file diff --git a/resources/systems/macos/es_systems.xml b/resources/systems/macos/es_systems.xml index 0cddaf852..3a701709b 100644 --- a/resources/systems/macos/es_systems.xml +++ b/resources/systems/macos/es_systems.xml @@ -936,8 +936,8 @@ ps2 Sony PlayStation 2 %ROMPATH%/ps2 - .7z .7Z .zip .ZIP - PLACEHOLDER %ROM% + .iso .ISO .isz .ISZ .cso .CSO .bin .BIN .elf .ELF + %EMULATOR_PCSX2% --nogui %ROM% ps2 ps2 diff --git a/resources/systems/unix/es_find_rules.xml b/resources/systems/unix/es_find_rules.xml index bfe62414f..9ff49dcbb 100644 --- a/resources/systems/unix/es_find_rules.xml +++ b/resources/systems/unix/es_find_rules.xml @@ -44,6 +44,17 @@ /var/lib/flatpak/exports/bin/io.github.dosbox-staging + + + + PCSX2 + pcsx2 + net.pcsx2.PCSX2 + + + /var/lib/flatpak/exports/bin/net.pcsx2.PCSX2 + + diff --git a/resources/systems/unix/es_systems.xml b/resources/systems/unix/es_systems.xml index 21e2937e7..6166f2ae8 100644 --- a/resources/systems/unix/es_systems.xml +++ b/resources/systems/unix/es_systems.xml @@ -936,8 +936,9 @@ ps2 Sony PlayStation 2 %ROMPATH%/ps2 - .iso .ISO .isz .ISZ .cso .CSO .bin .BIN .elf .ELF .7z .7Z .zip .ZIP - %EMULATOR_RETROARCH% -L %CORE_RETROARCH%/pcsx2_libretro.so %ROM% + .iso .ISO .isz .ISZ .cso .CSO .bin .BIN .elf .ELF + %EMULATOR_RETROARCH% -L %CORE_RETROARCH%/pcsx2_libretro.so %ROM% + %EMULATOR_PCSX2% --nogui %ROM% ps2 ps2 diff --git a/resources/systems/windows/es_find_rules.xml b/resources/systems/windows/es_find_rules.xml index def611e58..87da45eee 100644 --- a/resources/systems/windows/es_find_rules.xml +++ b/resources/systems/windows/es_find_rules.xml @@ -36,6 +36,33 @@ %EMUPATH%\cores + + + + dosbox.exe + + + + %ESPATH%\dosbox-staging\dosbox.exe + %ESPATH%\..\dosbox-staging\dosbox.exe + + + + + + SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\pcsx2\DisplayIcon + + + pcsx2.exe + + + C:\Program Files (x86)\PCSX2\pcsx2.exe + D:\Program Files (x86)\PCSX2\pcsx2.exe + + %ESPATH%\PCSX2\pcsx2.exe + %ESPATH%\..\PCSX2\pcsx2.exe + + diff --git a/resources/systems/windows/es_systems.xml b/resources/systems/windows/es_systems.xml index 659eb24d0..696818e62 100644 --- a/resources/systems/windows/es_systems.xml +++ b/resources/systems/windows/es_systems.xml @@ -337,6 +337,7 @@ %EMULATOR_RETROARCH% -L %CORE_RETROARCH%\dosbox_core_libretro.dll %ROM% %EMULATOR_RETROARCH% -L %CORE_RETROARCH%\dosbox_pure_libretro.dll %ROM% %EMULATOR_RETROARCH% -L %CORE_RETROARCH%\dosbox_svn_libretro.dll %ROM% + %EMULATOR_DOSBOX_STAGING% %ROM% dos dos @@ -861,6 +862,7 @@ %EMULATOR_RETROARCH% -L %CORE_RETROARCH%\dosbox_core_libretro.dll %ROM% %EMULATOR_RETROARCH% -L %CORE_RETROARCH%\dosbox_pure_libretro.dll %ROM% %EMULATOR_RETROARCH% -L %CORE_RETROARCH%\dosbox_svn_libretro.dll %ROM% + %EMULATOR_DOSBOX_STAGING% %ROM% pc pc @@ -934,8 +936,9 @@ ps2 Sony PlayStation 2 %ROMPATH%\ps2 - .iso .ISO .isz .ISZ .cso .CSO .bin .BIN .elf .ELF .7z .7Z .zip .ZIP - %EMULATOR_RETROARCH% -L %CORE_RETROARCH%\pcsx2_libretro.dll %ROM% + .iso .ISO .isz .ISZ .cso .CSO .bin .BIN .elf .ELF + %EMULATOR_RETROARCH% -L %CORE_RETROARCH%\pcsx2_libretro.dll %ROM% + %EMULATOR_PCSX2% --nogui %ROM% ps2 ps2