From 3b361e6a7354dbf4d8415648c4c0df41f3db723c Mon Sep 17 00:00:00 2001 From: laz Date: Fri, 21 Mar 2025 21:18:07 +0100 Subject: [PATCH] More Heresy --- .../external-emulator/external-emulator.md | 86 +++++++++++-------- 1 file changed, 48 insertions(+), 38 deletions(-) diff --git a/wiki-rtd/docs/wiki_experiments/external-emulator/external-emulator.md b/wiki-rtd/docs/wiki_experiments/external-emulator/external-emulator.md index e38457c..14d90bb 100644 --- a/wiki-rtd/docs/wiki_experiments/external-emulator/external-emulator.md +++ b/wiki-rtd/docs/wiki_experiments/external-emulator/external-emulator.md @@ -85,57 +85,67 @@ Copy & paste: 4. Save and close the file. -## How-to: Add a Flatpak Emulator +## How-to: Edit es_systems.xml file 1. Go to the ES-DE Linux Folder via the path above (depending how you installed RetroDECK). 2. Find and open `es_systems.xml`. 3. Search for and find the system entry you want to add and external system to. +**Example:** GameCube -Local APP: - -``` - -%EMULATOR_HOST% --host /usr/bin/dolphin-emu -b -e %ROM% - -``` - - -``` - -%EMULATOR_HOST% --host /usr/bin/dolphin-emu -b -e %ROM% - -``` - - -Example of full: ``` - supracan - Funtech Super A'Can - %ROMPATH%/supracan - .bin .BIN .7z .7Z .zip .ZIP - %EMULATOR_RETROARCH% -L %CORE_RETROARCH%/mame_libretro.so "supracan -rompath \"%GAMEDIRRAW%;%ROMPATH%/supracan\" -cart \"%ROMRAW%\"" - %EMULATOR_MAME% -inipath /var/config/mame/ini -rompath %GAMEDIR%\;%ROMPATH%/supracan supracan -cart %ROM% - supracan - supracan + gc + Nintendo GameCube + %ROMPATH%/gc + .ciso .CISO .dff .DFF .dol .DOL .elf .ELF .gcm .GCM .gcz .GCZ .iso .ISO .json .JSON .m3u .M3U .rvz .RVZ .tgc .TGC .wad .WAD .wbfs .WBFS .wia .WIA .7z .7Z .zip .ZIP + %INJECT%=%BASENAME%.esprefix %EMULATOR_DOLPHIN% -b -e %ROM% + %EMULATOR_RETROARCH% -L %CORE_RETROARCH%/dolphin_libretro.so %ROM% + %INJECT%=%BASENAME%.esprefix %EMULATOR_PRIMEHACK% -b -e %ROM% + + gc + gc ``` + +4. Copy and paste one of entries and add one or more additional entries. + +5. Modify the command labels values: + +- Point it towards the `%EMULATOR_FLATPAKSPAWN% --host` system. +- Add the real path of the external emulator (check the .desktop files on your system to where they are pointing towards). +- Change the label="" so it ends with (External) or any other name you want. + +6. Examples and results: + +**Dolphin Installed as an Native Application:** + + %EMULATOR_HOST% --host /usr/bin/dolphin-emu -b -e %ROM% + +**Dolphin Installed as an Flatpak Application:** + + %EMULATOR_HOST% --host flatpak run --branch=stable --arch=x86_64 --command=/app/bin/dolphin-emu-wrapper org.DolphinEmu.dolphin-emu -b -e %ROM% + +**Combined Results:** + ``` - switch - Nintendo Switch - %ROMPATH%/switch - .nca .NCA .nro .NRO .nso .NSO .nsp .NSP .xci .XCI - %EMULATOR_RYUJINX% %ROM% - %INJECT%=%BASENAME%.esprefix %EMULATOR_YUZU% -f -g %ROM% - %EMULATOR_FLATPAKSPAWN% --host flatpak run --branch=stable --arch=x86_64 --command=ryujinx-wrapper --file-forwarding io.github.ryubing.Ryujinx %ROM% - switch - switch + gc + Nintendo GameCube + %ROMPATH%/gc + .ciso .CISO .dff .DFF .dol .DOL .elf .ELF .gcm .GCM .gcz .GCZ .iso .ISO .json .JSON .m3u .M3U .rvz .RVZ .tgc .TGC .wad .WAD .wbfs .WBFS .wia .WIA .7z .7Z .zip .ZIP + %INJECT%=%BASENAME%.esprefix %EMULATOR_DOLPHIN% -b -e %ROM% + %EMULATOR_RETROARCH% -L %CORE_RETROARCH%/dolphin_libretro.so %ROM% + %INJECT%=%BASENAME%.esprefix %EMULATOR_PRIMEHACK% -b -e %ROM% + %EMULATOR_HOST% --host flatpak run --branch=stable --arch=x86_64 --command=/app/bin/dolphin-emu-wrapper org.DolphinEmu.dolphin-emu -b -e %ROM% + %EMULATOR_HOST% --host /usr/bin/dolphin-emu -b -e %ROM% + + gc + gc ``` -run --branch=stable --arch=x86_64 --command=ryujinx-wrapper --file-forwarding io.github.ryubing.Ryujinx -/var/lib/flatpak/exports/bin/org.ryujinx.Ryujinx -~/.local/share/flatpak/exports/bin/org.ryujinx.Ryujinx +7. Save the file and launch RetroDECK. + +8. Set the alternative emulators to one of your new entries to try it out, they should popup in the Alternative Emulators Menu per game or per system.