From 9ba8853d0ee97512cc2d0d4ea1abcce6cabf3559 Mon Sep 17 00:00:00 2001
From: Griffin <19497824+WingofaGriffin@users.noreply.github.com>
Date: Sun, 27 Nov 2022 22:24:49 -0800
Subject: [PATCH 1/2] add standalone emulators to unix
---
resources/systems/unix/es_find_rules.xml | 35 ++++++++++++++++++++++++
resources/systems/unix/es_systems.xml | 6 ++++
2 files changed, 41 insertions(+)
diff --git a/resources/systems/unix/es_find_rules.xml b/resources/systems/unix/es_find_rules.xml
index 122b0e508..0dcf8d711 100644
--- a/resources/systems/unix/es_find_rules.xml
+++ b/resources/systems/unix/es_find_rules.xml
@@ -245,6 +245,17 @@
~/.local/share/flatpak/exports/bin/net.fsuae.FS-UAE
+
+
+
+ gearboy
+
+
+ ~/Applications/gearboy
+ ~/.local/bin/gearboy
+ ~/bin/gearboy
+
+
@@ -434,6 +445,17 @@
/var/lib/flatpak/exports/bin/io.github.shiiion.primehack
~/.local/share/flatpak/exports/bin/io.github.shiiion.primehack
+
+
+
+
+ punes
+
+
+ ~/Applications/punes
+ ~/.local/bin/punes
+ ~/bin/punes
+
@@ -497,6 +519,19 @@
~/bin/publish/Ryujinx
+
+
+
+ sameboy
+ io.github.sameboy.SameBoy
+
+
+ /var/lib/flatpak/exports/bin/io.github.sameboy.SameBoy
+ ~/.local/share/flatpak/exports/bin/io.github.sameboy.SameBoy
+ ~/.local/bin/sameboy
+ ~/bin/sameboy
+
+
diff --git a/resources/systems/unix/es_systems.xml b/resources/systems/unix/es_systems.xml
index d43befe45..eecc1024c 100644
--- a/resources/systems/unix/es_systems.xml
+++ b/resources/systems/unix/es_systems.xml
@@ -435,6 +435,7 @@
%EMULATOR_MEDNAFEN% -force_module nes %ROM%
%EMULATOR_ARES% --fullscreen --system "Famicom" %ROM%
%EMULATOR_ARES% --fullscreen --system "Famicom Disk System" %ROM%
+ %EMULATOR_PUNES% %ROM% -u yes
famicom
famicom
@@ -525,7 +526,9 @@
.bs .BS .cgb .CGB .dmg .DMG .gb .GB .gbc .GBC .sgb .SGB .sfc .SFC .smc .SMC .7z .7Z .zip .ZIP
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/gambatte_libretro.so %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/sameboy_libretro.so %ROM%
+ %EMULATOR_SAMEBOY% -f %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/gearboy_libretro.so %ROM%
+ %EMULATOR_GEARBOY% %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/tgbdual_libretro.so %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/mesen-s_libretro.so %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/bsnes_libretro.so %ROM%
@@ -557,7 +560,9 @@
.bs .BS .cgb .CGB .dmg .DMG .gb .GB .gbc .GBC .sgb .SGB .sfc .SFC .smc .SMC .7z .7Z .zip .ZIP
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/gambatte_libretro.so %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/sameboy_libretro.so %ROM%
+ %EMULATOR_SAMEBOY% -f %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/gearboy_libretro.so %ROM%
+ %EMULATOR_GEARBOY% %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/tgbdual_libretro.so %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/mesen-s_libretro.so %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/bsnes_libretro.so %ROM%
@@ -1127,6 +1132,7 @@
.p8 .P8 .png .PNG
%EMULATOR_PICO-8% -root_path %GAMEDIR% -run %ROM%
%EMULATOR_PICO-8% -root_path %GAMEDIR% -splore
+ %EMULATOR_RETROARCH% -L %CORE_RETROARCH%/retro8_libretro.so %ROM%
pico8
pico8
From 92b5f4d37c077e514906002e532012352462f425 Mon Sep 17 00:00:00 2001
From: Griffin <19497824+WingofaGriffin@users.noreply.github.com>
Date: Mon, 28 Nov 2022 20:52:11 -0800
Subject: [PATCH 2/2] add to macos and windows testing
---
resources/systems/macos/es_find_rules.xml | 16 +++++++++
resources/systems/macos/es_systems.xml | 5 +++
resources/systems/unix/es_find_rules.xml | 2 +-
resources/systems/windows/es_find_rules.xml | 33 +++++++++++++++++++
.../windows/es_find_rules_portable.xml | 24 ++++++++++++++
resources/systems/windows/es_systems.xml | 6 ++++
6 files changed, 85 insertions(+), 1 deletion(-)
diff --git a/resources/systems/macos/es_find_rules.xml b/resources/systems/macos/es_find_rules.xml
index d40e8fe38..fb9ceb0c2 100644
--- a/resources/systems/macos/es_find_rules.xml
+++ b/resources/systems/macos/es_find_rules.xml
@@ -111,6 +111,14 @@
/usr/local/bin/fs-uae
+
+
+
+ /Applications/gearboy
+ /opt/homebrew/bin/gearboy
+ /usr/local/bin/gearboy
+
+
@@ -210,6 +218,14 @@
/Applications/Ruffle.app/Contents/MacOS/ruffle
+
+
+
+ /Applications/sameboy
+ /opt/homebrew/bin/sameboy
+ /usr/local/bin/sameboy
+
+
diff --git a/resources/systems/macos/es_systems.xml b/resources/systems/macos/es_systems.xml
index f8c899a87..8ccbc59f9 100644
--- a/resources/systems/macos/es_systems.xml
+++ b/resources/systems/macos/es_systems.xml
@@ -516,7 +516,9 @@
.bs .BS .cgb .CGB .dmg .DMG .gb .GB .gbc .GBC .sgb .SGB .sfc .SFC .smc .SMC .7z .7Z .zip .ZIP
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/gambatte_libretro.dylib %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/sameboy_libretro.dylib %ROM%
+ %EMULATOR_SAMEBOY% -f %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/gearboy_libretro.dylib %ROM%
+ %EMULATOR_GEARBOY% %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/tgbdual_libretro.dylib %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/mesen-s_libretro.dylib %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/bsnes_libretro.dylib %ROM%
@@ -548,7 +550,9 @@
.bs .BS .cgb .CGB .dmg .DMG .gb .GB .gbc .GBC .sgb .SGB .sfc .SFC .smc .SMC .7z .7Z .zip .ZIP
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/gambatte_libretro.dylib %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/sameboy_libretro.dylib %ROM%
+ %EMULATOR_SAMEBOY% -f %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/gearboy_libretro.dylib %ROM%
+ %EMULATOR_GEARBOY% %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/tgbdual_libretro.dylib %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/mesen-s_libretro.dylib %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/bsnes_libretro.dylib %ROM%
@@ -1102,6 +1106,7 @@
.p8 .P8 .png .PNG
%EMULATOR_PICO-8% -root_path %GAMEDIR% -run %ROM%
%EMULATOR_PICO-8% -root_path %GAMEDIR% -splore
+ %EMULATOR_RETROARCH% -L %CORE_RETROARCH%/retro8_libretro.dylib %ROM%
pico8
pico8
diff --git a/resources/systems/unix/es_find_rules.xml b/resources/systems/unix/es_find_rules.xml
index 0dcf8d711..680b34cee 100644
--- a/resources/systems/unix/es_find_rules.xml
+++ b/resources/systems/unix/es_find_rules.xml
@@ -446,7 +446,7 @@
~/.local/share/flatpak/exports/bin/io.github.shiiion.primehack
-
+
punes
diff --git a/resources/systems/windows/es_find_rules.xml b/resources/systems/windows/es_find_rules.xml
index 47feb85bf..e80952930 100644
--- a/resources/systems/windows/es_find_rules.xml
+++ b/resources/systems/windows/es_find_rules.xml
@@ -261,6 +261,17 @@
%ESPATH%\..\FS-UAE\Windows\x86-64\fs-uae.exe
+
+
+
+ sameboy.exe
+
+
+ %ESPATH%\Emulators\gearboy\gearboy.exe
+ %ESPATH%\gearboy\gearboy.exe
+ %ESPATH%\..\gearboy\gearboy.exe
+
+
@@ -469,6 +480,17 @@
%ESPATH%\..\Project64\Project64.exe
+
+
+
+ punes64.exe
+
+
+ %ESPATH%\Emulators\punes\punes64.exe
+ %ESPATH%\punes\punes64.exe
+ %ESPATH%\..\punes\punes64.exe
+
+
@@ -513,6 +535,17 @@
%ESPATH%\..\ryujinx\Ryujinx.exe
+
+
+
+ sameboy.exe
+
+
+ %ESPATH%\Emulators\sameboy\sameboy.exe
+ %ESPATH%\sameboy\sameboy.exe
+ %ESPATH%\..\sameboy\sameboy.exe
+
+
diff --git a/resources/systems/windows/es_find_rules_portable.xml b/resources/systems/windows/es_find_rules_portable.xml
index 644b778c9..8d455c56c 100644
--- a/resources/systems/windows/es_find_rules_portable.xml
+++ b/resources/systems/windows/es_find_rules_portable.xml
@@ -176,6 +176,14 @@
%ESPATH%\..\FS-UAE\Windows\x86-64\fs-uae.exe
+
+
+
+ %ESPATH%\Emulators\gearboy\gearboy.exe
+ %ESPATH%\gearboy\gearboy.exe
+ %ESPATH%\..\gearboy\gearboy.exe
+
+
@@ -315,6 +323,14 @@
%ESPATH%\..\Project64\Project64.exe
+
+
+
+ %ESPATH%\Emulators\punes\punes64.exe
+ %ESPATH%\punes\punes64.exe
+ %ESPATH%\..\punes\punes64.exe
+
+
@@ -347,6 +363,14 @@
%ESPATH%\..\ryujinx\Ryujinx.exe
+
+
+
+ %ESPATH%\Emulators\sameboy\sameboy.exe
+ %ESPATH%\sameboy\sameboy.exe
+ %ESPATH%\..\sameboy\sameboy.exe
+
+
diff --git a/resources/systems/windows/es_systems.xml b/resources/systems/windows/es_systems.xml
index 61d569808..886acab35 100644
--- a/resources/systems/windows/es_systems.xml
+++ b/resources/systems/windows/es_systems.xml
@@ -525,7 +525,9 @@
.bs .BS .cgb .CGB .dmg .DMG .gb .GB .gbc .GBC .sgb .SGB .sfc .SFC .smc .SMC .7z .7Z .zip .ZIP
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\gambatte_libretro.dll %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\sameboy_libretro.dll %ROM%
+ %EMULATOR_SAMEBOY% -f %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\gearboy_libretro.dll %ROM%
+ %EMULATOR_GEARBOY% %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\tgbdual_libretro.dll %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\mesen-s_libretro.dll %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\bsnes_libretro.dll %ROM%
@@ -557,7 +559,9 @@
.bs .BS .cgb .CGB .dmg .DMG .gb .GB .gbc .GBC .sgb .SGB .sfc .SFC .smc .SMC .7z .7Z .zip .ZIP
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\gambatte_libretro.dll %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\sameboy_libretro.dll %ROM%
+ %EMULATOR_SAMEBOY% -f %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\gearboy_libretro.dll %ROM%
+ %EMULATOR_GEARBOY% %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\tgbdual_libretro.dll %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\mesen-s_libretro.dll %ROM%
%EMULATOR_RETROARCH% -L %CORE_RETROARCH%\bsnes_libretro.dll %ROM%
@@ -990,6 +994,7 @@
%EMULATOR_MEDNAFEN% -force_module nes %ROM%
%EMULATOR_ARES% --fullscreen --system "Famicom" %ROM%
%EMULATOR_ARES% --fullscreen --system "Famicom Disk System" %ROM%
+ %EMULATOR_PUNES% %ROM% -u yes
nes
nes
@@ -1126,6 +1131,7 @@
.p8 .P8 .png .PNG
%EMULATOR_PICO-8% -root_path %GAMEDIR% -run %ROM%
%EMULATOR_PICO-8% -root_path %GAMEDIR% -splore
+ %EMULATOR_RETROARCH% -L %CORE_RETROARCH%\retro8_libretro.dll %ROM%
pico8
pico8