From 9567f5c99504911aa1bfd9957a59c2b0ad4c5d96 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Mon, 11 Sep 2023 18:23:38 +0200 Subject: [PATCH] Added support for the AdvanceMAME (mame-advmame) system on Unix and Windows --- es-app/assets/Windows_Portable_README.txt | 1 + resources/systems/unix/es_find_rules.xml | 12 ++++++++++++ resources/systems/unix/es_systems.xml | 4 ++-- resources/systems/windows/es_find_rules.xml | 10 ++++++++++ resources/systems/windows/es_find_rules_portable.xml | 7 +++++++ resources/systems/windows/es_systems.xml | 4 ++-- 6 files changed, 34 insertions(+), 4 deletions(-) diff --git a/es-app/assets/Windows_Portable_README.txt b/es-app/assets/Windows_Portable_README.txt index 099471ceb..184ac8e32 100644 --- a/es-app/assets/Windows_Portable_README.txt +++ b/es-app/assets/Windows_Portable_README.txt @@ -42,6 +42,7 @@ Preconfigured emulator locations: Emulators\RetroArch-Win64\retroarch.exe Emulators\RetroArch\retroarch.exe Emulators\3dSen\3dSen.exe +Emulators\AdvanceMAME\advmame.exe Emulators\AppleWin\AppleWin.exe Emulators\ArcadeFlashWeb\ArcadeFlashWeb.exe Emulators\ares\ares.exe diff --git a/resources/systems/unix/es_find_rules.xml b/resources/systems/unix/es_find_rules.xml index 6cbfd0cc5..90f3b1388 100644 --- a/resources/systems/unix/es_find_rules.xml +++ b/resources/systems/unix/es_find_rules.xml @@ -56,6 +56,18 @@ ~/bin/3dSen/wine*.AppImage + + + + advmame + + + ~/Applications/advancemame/advmame + ~/.local/share/applications/advancemame/advmame + ~/.local/bin/advancemame/advmame + ~/bin/advancemame/advmame + + diff --git a/resources/systems/unix/es_systems.xml b/resources/systems/unix/es_systems.xml index 81541da55..0fbea8d7d 100644 --- a/resources/systems/unix/es_systems.xml +++ b/resources/systems/unix/es_systems.xml @@ -860,8 +860,8 @@ mame-advmame AdvanceMAME %ROMPATH%/mame-advmame - .chd .cue .CUE .CHD .cmd .CMD .fba .FBA .iso .ISO .7z .7Z .zip .ZIP - PLACEHOLDER %ROM% + .7z .7Z .zip .ZIP + %STARTDIR%=~/.advance %EMULATOR_ADVANCEMAME% %BASENAME% arcade mame-advmame diff --git a/resources/systems/windows/es_find_rules.xml b/resources/systems/windows/es_find_rules.xml index b585ec269..3292ab133 100644 --- a/resources/systems/windows/es_find_rules.xml +++ b/resources/systems/windows/es_find_rules.xml @@ -52,6 +52,16 @@ %ESPATH%\..\Emulators\3dSen\3dSen.exe + + + + advmame.exe + + + %ESPATH%\Emulators\AdvanceMAME\advmame.exe + %ESPATH%\..\Emulators\AdvanceMAME\advmame.exe + + diff --git a/resources/systems/windows/es_find_rules_portable.xml b/resources/systems/windows/es_find_rules_portable.xml index 543eb9207..dc5fe37fe 100644 --- a/resources/systems/windows/es_find_rules_portable.xml +++ b/resources/systems/windows/es_find_rules_portable.xml @@ -28,6 +28,13 @@ %ESPATH%\..\Emulators\3dSen\3dSen.exe + + + + %ESPATH%\Emulators\AdvanceMAME\advmame.exe + %ESPATH%\..\Emulators\AdvanceMAME\advmame.exe + + diff --git a/resources/systems/windows/es_systems.xml b/resources/systems/windows/es_systems.xml index 8788c3576..290458ef2 100644 --- a/resources/systems/windows/es_systems.xml +++ b/resources/systems/windows/es_systems.xml @@ -858,8 +858,8 @@ mame-advmame AdvanceMAME %ROMPATH%\mame-advmame - .chd .cue .CUE .CHD .cmd .CMD .fba .FBA .iso .ISO .7z .7Z .zip .ZIP - PLACEHOLDER %ROM% + .7z .7Z .zip .ZIP + %STARTDIR%=%EMUDIR% %EMULATOR_ADVANCEMAME% %BASENAME% arcade mame-advmame