From fb0ab444697f53048a0ebfd3973668e2f354d51e Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sat, 7 Sep 2024 12:32:52 +0200 Subject: [PATCH] Added jgenesis as an alternative emulator for the famicom, gamegear, gb, gbc, genesis, mastersystem, megacd, megacdjp, megadrive, megadrivejp, nes, segacd, sfc, snes and snesna systems on Linux and Windows --- es-app/assets/Windows_Portable_README.txt | 1 + resources/systems/linux/es_find_rules.xml | 9 +++++++++ resources/systems/linux/es_systems.xml | 15 +++++++++++++++ resources/systems/windows/es_find_rules.xml | 10 ++++++++++ .../systems/windows/es_find_rules_portable.xml | 7 +++++++ resources/systems/windows/es_systems.xml | 15 +++++++++++++++ 6 files changed, 57 insertions(+) diff --git a/es-app/assets/Windows_Portable_README.txt b/es-app/assets/Windows_Portable_README.txt index 663099c4d..319023d5a 100644 --- a/es-app/assets/Windows_Portable_README.txt +++ b/es-app/assets/Windows_Portable_README.txt @@ -81,6 +81,7 @@ Emulators\Gearboy\Gearboy.exe Emulators\gopher2600\gopher2600_windows_amd64.exe Emulators\hatari\hatari.exe Emulators\Hypseus Singe\hypseus.exe +Emulators\jgenesis\jgenesis-cli.exe Emulators\KEmulator\KEmulator.exe Emulators\lime3ds\lime3ds.exe Emulators\m2emulator\EMULATOR.EXE diff --git a/resources/systems/linux/es_find_rules.xml b/resources/systems/linux/es_find_rules.xml index 0cf2c978e..27c24d414 100644 --- a/resources/systems/linux/es_find_rules.xml +++ b/resources/systems/linux/es_find_rules.xml @@ -469,6 +469,15 @@ ~/bin/hypseus-singe/hypseus.bin + + + + ~/Applications/jgenesis-cli*.AppImage + ~/.local/share/applications/jgenesis-cli*.AppImage + ~/.local/bin/jgenesis-cli*.AppImage + ~/bin/jgenesis-cli*.AppImage + + diff --git a/resources/systems/linux/es_systems.xml b/resources/systems/linux/es_systems.xml index 58865042d..0b2084b71 100644 --- a/resources/systems/linux/es_systems.xml +++ b/resources/systems/linux/es_systems.xml @@ -650,6 +650,7 @@ %EMULATOR_MEDNAFEN% -force_module nes %ROM% %EMULATOR_ARES% --fullscreen --system "Famicom" %ROM% %EMULATOR_ARES% --fullscreen --system "Famicom Disk System" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% %STARTDIR%=%EMUDIR% %PRECOMMAND_WINE% %EMULATOR_3DSEN-WINDOWS% -id=%INJECT%=%BASENAME%.3dsen %STARTDIR%=%EMUDIR% %PRECOMMAND_PROTON% %EMULATOR_3DSEN-WINDOWS% -id=%INJECT%=%BASENAME%.3dsen famicom @@ -782,6 +783,7 @@ %EMULATOR_MEDNAFEN% -force_module gg %ROM% %EMULATOR_MESEN% --fullscreen %ROM% %EMULATOR_ARES% --fullscreen --system "Game Gear" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% gamegear gamegear @@ -807,6 +809,7 @@ %EMULATOR_MEDNAFEN% -force_module gb %ROM% %EMULATOR_ARES% --fullscreen --system "Game Boy" %ROM% %EMULATOR_SKYEMU% %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% gb gb @@ -850,6 +853,7 @@ %EMULATOR_MEDNAFEN% -force_module gb %ROM% %EMULATOR_ARES% --fullscreen --system "Game Boy Color" %ROM% %EMULATOR_SKYEMU% %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% gbc gbc @@ -877,6 +881,7 @@ %EMULATOR_BLASTEM% -m gen %ROM% %EMULATOR_MEDNAFEN% -force_module md %ROM% %EMULATOR_ARES% --fullscreen --system "Mega Drive" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% genesis genesis @@ -1042,6 +1047,7 @@ %EMULATOR_MEDNAFEN% -force_module sms %ROM% %EMULATOR_MESEN% --fullscreen %ROM% %EMULATOR_ARES% --fullscreen --system "Master System" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% mastersystem mastersystem @@ -1054,6 +1060,7 @@ %EMULATOR_RETROARCH% -L %CORE_RETROARCH%/genesis_plus_gx_wide_libretro.so %ROM% %EMULATOR_RETROARCH% -L %CORE_RETROARCH%/picodrive_libretro.so %ROM% %EMULATOR_ARES% --fullscreen --system "Mega CD" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% segacd megacd @@ -1066,6 +1073,7 @@ %EMULATOR_RETROARCH% -L %CORE_RETROARCH%/genesis_plus_gx_wide_libretro.so %ROM% %EMULATOR_RETROARCH% -L %CORE_RETROARCH%/picodrive_libretro.so %ROM% %EMULATOR_ARES% --fullscreen --system "Mega CD" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% segacd megacdjp @@ -1081,6 +1089,7 @@ %EMULATOR_BLASTEM% -m gen %ROM% %EMULATOR_MEDNAFEN% -force_module md %ROM% %EMULATOR_ARES% --fullscreen --system "Mega Drive" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% megadrive megadrive @@ -1096,6 +1105,7 @@ %EMULATOR_BLASTEM% -m gen %ROM% %EMULATOR_MEDNAFEN% -force_module md %ROM% %EMULATOR_ARES% --fullscreen --system "Mega Drive" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% megadrive megadrivejp @@ -1357,6 +1367,7 @@ %EMULATOR_MEDNAFEN% -force_module nes %ROM% %EMULATOR_ARES% --fullscreen --system "Famicom" %ROM% %EMULATOR_ARES% --fullscreen --system "Famicom Disk System" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% %STARTDIR%=%EMUDIR% %PRECOMMAND_WINE% %EMULATOR_3DSEN-WINDOWS% -id=%INJECT%=%BASENAME%.3dsen %STARTDIR%=%EMUDIR% %PRECOMMAND_PROTON% %EMULATOR_3DSEN-WINDOWS% -id=%INJECT%=%BASENAME%.3dsen nes @@ -1768,6 +1779,7 @@ %EMULATOR_RETROARCH% -L %CORE_RETROARCH%/genesis_plus_gx_wide_libretro.so %ROM% %EMULATOR_RETROARCH% -L %CORE_RETROARCH%/picodrive_libretro.so %ROM% %EMULATOR_ARES% --fullscreen --system "Mega CD" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% segacd segacd @@ -1789,6 +1801,7 @@ %EMULATOR_MESEN% --fullscreen %ROM% %EMULATOR_MEDNAFEN% -force_module snes %ROM% %EMULATOR_ARES% --fullscreen --system "Super Famicom" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% snes sfc @@ -1837,6 +1850,7 @@ %EMULATOR_MESEN% --fullscreen %ROM% %EMULATOR_MEDNAFEN% -force_module snes %ROM% %EMULATOR_ARES% --fullscreen --system "Super Famicom" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% snes snes @@ -1858,6 +1872,7 @@ %EMULATOR_MESEN% --fullscreen %ROM% %EMULATOR_MEDNAFEN% -force_module snes %ROM% %EMULATOR_ARES% --fullscreen --system "Super Famicom" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% snes snesna diff --git a/resources/systems/windows/es_find_rules.xml b/resources/systems/windows/es_find_rules.xml index 171377a3a..a4330e2f9 100644 --- a/resources/systems/windows/es_find_rules.xml +++ b/resources/systems/windows/es_find_rules.xml @@ -412,6 +412,16 @@ %ESPATH%\..\Emulators\Hypseus Singe\hypseus.exe + + + + jgenesis-cli.exe + + + %ESPATH%\Emulators\jgenesis\jgenesis-cli.exe + %ESPATH%\..\Emulators\jgenesis\jgenesis-cli.exe + + diff --git a/resources/systems/windows/es_find_rules_portable.xml b/resources/systems/windows/es_find_rules_portable.xml index 0a4cd3a52..4bda6b2dd 100644 --- a/resources/systems/windows/es_find_rules_portable.xml +++ b/resources/systems/windows/es_find_rules_portable.xml @@ -274,6 +274,13 @@ %ESPATH%\..\Emulators\Hypseus Singe\hypseus.exe + + + + %ESPATH%\Emulators\jgenesis\jgenesis-cli.exe + %ESPATH%\..\Emulators\jgenesis\jgenesis-cli.exe + + diff --git a/resources/systems/windows/es_systems.xml b/resources/systems/windows/es_systems.xml index ff854926c..0bd3e9b6f 100644 --- a/resources/systems/windows/es_systems.xml +++ b/resources/systems/windows/es_systems.xml @@ -645,6 +645,7 @@ %EMULATOR_MEDNAFEN% -force_module nes %ROM% %EMULATOR_ARES% --fullscreen --system "Famicom" %ROM% %EMULATOR_ARES% --fullscreen --system "Famicom Disk System" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% %EMULATOR_3DSEN% -id=%INJECT%=%BASENAME%.3dsen famicom famicom @@ -775,6 +776,7 @@ %EMULATOR_MEDNAFEN% -force_module gg %ROM% %EMULATOR_MESEN% --fullscreen %ROM% %EMULATOR_ARES% --fullscreen --system "Game Gear" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% gamegear gamegear @@ -800,6 +802,7 @@ %EMULATOR_MEDNAFEN% -force_module gb %ROM% %EMULATOR_ARES% --fullscreen --system "Game Boy" %ROM% %EMULATOR_SKYEMU% %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% gb gb @@ -843,6 +846,7 @@ %EMULATOR_MEDNAFEN% -force_module gb %ROM% %EMULATOR_ARES% --fullscreen --system "Game Boy Color" %ROM% %EMULATOR_SKYEMU% %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% gbc gbc @@ -869,6 +873,7 @@ %EMULATOR_RETROARCH% -L %CORE_RETROARCH%\blastem_libretro.dll %ROM% %EMULATOR_MEDNAFEN% -force_module md %ROM% %EMULATOR_ARES% --fullscreen --system "Mega Drive" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% genesis genesis @@ -1037,6 +1042,7 @@ %EMULATOR_MEDNAFEN% -force_module sms %ROM% %EMULATOR_MESEN% --fullscreen %ROM% %EMULATOR_ARES% --fullscreen --system "Master System" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% mastersystem mastersystem @@ -1049,6 +1055,7 @@ %EMULATOR_RETROARCH% -L %CORE_RETROARCH%\genesis_plus_gx_wide_libretro.dll %ROM% %EMULATOR_RETROARCH% -L %CORE_RETROARCH%\picodrive_libretro.dll %ROM% %EMULATOR_ARES% --fullscreen --system "Mega CD" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% segacd megacd @@ -1061,6 +1068,7 @@ %EMULATOR_RETROARCH% -L %CORE_RETROARCH%\genesis_plus_gx_wide_libretro.dll %ROM% %EMULATOR_RETROARCH% -L %CORE_RETROARCH%\picodrive_libretro.dll %ROM% %EMULATOR_ARES% --fullscreen --system "Mega CD" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% segacd megacdjp @@ -1075,6 +1083,7 @@ %EMULATOR_RETROARCH% -L %CORE_RETROARCH%\blastem_libretro.dll %ROM% %EMULATOR_MEDNAFEN% -force_module md %ROM% %EMULATOR_ARES% --fullscreen --system "Mega Drive" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% megadrive megadrive @@ -1089,6 +1098,7 @@ %EMULATOR_RETROARCH% -L %CORE_RETROARCH%\blastem_libretro.dll %ROM% %EMULATOR_MEDNAFEN% -force_module md %ROM% %EMULATOR_ARES% --fullscreen --system "Mega Drive" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% megadrive megadrivejp @@ -1349,6 +1359,7 @@ %EMULATOR_MEDNAFEN% -force_module nes %ROM% %EMULATOR_ARES% --fullscreen --system "Famicom" %ROM% %EMULATOR_ARES% --fullscreen --system "Famicom Disk System" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% %EMULATOR_3DSEN% -id=%INJECT%=%BASENAME%.3dsen nes nes @@ -1755,6 +1766,7 @@ %EMULATOR_RETROARCH% -L %CORE_RETROARCH%\genesis_plus_gx_wide_libretro.dll %ROM% %EMULATOR_RETROARCH% -L %CORE_RETROARCH%\picodrive_libretro.dll %ROM% %EMULATOR_ARES% --fullscreen --system "Mega CD" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% segacd segacd @@ -1776,6 +1788,7 @@ %EMULATOR_MESEN% --fullscreen %ROM% %EMULATOR_MEDNAFEN% -force_module snes %ROM% %EMULATOR_ARES% --fullscreen --system "Super Famicom" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% snes sfc @@ -1824,6 +1837,7 @@ %EMULATOR_MESEN% --fullscreen %ROM% %EMULATOR_MEDNAFEN% -force_module snes %ROM% %EMULATOR_ARES% --fullscreen --system "Super Famicom" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% snes snes @@ -1845,6 +1859,7 @@ %EMULATOR_MESEN% --fullscreen %ROM% %EMULATOR_MEDNAFEN% -force_module snes %ROM% %EMULATOR_ARES% --fullscreen --system "Super Famicom" %ROM% + %EMULATOR_JGENESIS% --file-path %ROM% snes snesna