Changed the 3dSen, BigPEmu and xenia emulators to use the new %PRECOMMAND% variable

This commit is contained in:
Leon Styhre 2023-09-22 18:02:09 +02:00
parent 6b0e1ac6b7
commit f8ec7781cf
2 changed files with 47 additions and 20 deletions

View file

@ -47,13 +47,13 @@
<entry>/usr/pkg/lib/libretro</entry>
</rule>
</core>
<emulator name="3DSEN-WINE">
<emulator name="3DSEN-WINDOWS">
<!-- Nintendo NES and Famicom emulator 3dSen -->
<rule type="staticpath">
<entry>~/Applications/3dSen/wine*.AppImage</entry>
<entry>~/.local/share/applications/3dSen/wine*.AppImage</entry>
<entry>~/.local/bin/3dSen/wine*.AppImage</entry>
<entry>~/bin/3dSen/wine*.AppImage</entry>
<entry>~/Applications/3dSen/3dSen.exe</entry>
<entry>~/.local/share/applications/3dSen/3dSen.exe</entry>
<entry>~/.local/bin/3dSen/3dSen.exe</entry>
<entry>~/bin/3dSen/3dSen.exe</entry>
</rule>
</emulator>
<emulator name="ADVANCEMAME">
@ -101,13 +101,13 @@
<entry>~/.local/share/flatpak/exports/bin/net.cebix.basilisk</entry>
</rule>
</emulator>
<emulator name="BIGPEMU-WINE">
<emulator name="BIGPEMU-WINDOWS">
<!-- Atari Jaguar emulator BigPEmu -->
<rule type="staticpath">
<entry>~/Applications/BigPEmu/wine*.AppImage</entry>
<entry>~/.local/share/applications/BigPEmu/wine*.AppImage</entry>
<entry>~/.local/bin/BigPEmu/wine*.AppImage</entry>
<entry>~/bin/BigPEmu/wine*.AppImage</entry>
<entry>~/Applications/BigPEmu/BigPEmu.exe</entry>
<entry>~/.local/share/applications/BigPEmu/BigPEmu.exe</entry>
<entry>~/.local/bin/BigPEmu/BigPEmu.exe</entry>
<entry>~/bin/BigPEmu/BigPEmu.exe</entry>
</rule>
</emulator>
<emulator name="BLASTEM">
@ -596,6 +596,15 @@
<entry>~/.local/share/flatpak/exports/bin/io.github.shiiion.primehack</entry>
</rule>
</emulator>
<emulator name="PROTON">
<!-- Microsoft Windows compatibility layer Proton -->
<rule type="staticpath">
<entry>~/Applications/Proton/wine*.AppImage</entry>
<entry>~/.local/share/applications/Proton/wine*.AppImage</entry>
<entry>~/.local/bin/Proton/wine*.AppImage</entry>
<entry>~/bin/Proton/wine*.AppImage</entry>
</rule>
</emulator>
<emulator name="PUNES">
<!-- Nintendo NES and Famicom emulator puNES -->
<rule type="systempath">
@ -933,13 +942,26 @@
<entry>~/.local/share/flatpak/exports/bin/app.xemu.xemu</entry>
</rule>
</emulator>
<emulator name="XENIA-WINE">
<emulator name="WINE">
<!-- Microsoft Windows compatibility layer Wine -->
<rule type="staticpath">
<entry>~/Applications/Wine/wine*.AppImage</entry>
<entry>~/.local/share/applications/Wine/wine*.AppImage</entry>
<entry>~/.local/bin/Wine/wine*.AppImage</entry>
<entry>~/bin/Wine/wine*.AppImage</entry>
</rule>
</emulator>
<emulator name="XENIA-WINDOWS">
<!-- Microsoft Xbox 360 emulator xenia -->
<rule type="staticpath">
<entry>~/Applications/xenia/wine*.AppImage</entry>
<entry>~/.local/share/applications/xenia/wine*.AppImage</entry>
<entry>~/.local/bin/xenia/wine*.AppImage</entry>
<entry>~/bin/xenia/wine*.AppImage</entry>
<entry>~/Applications/xenia/xenia.exe</entry>
<entry>~/.local/share/applications/xenia/xenia.exe</entry>
<entry>~/.local/bin/xenia/xenia.exe</entry>
<entry>~/bin/xenia/xenia.exe</entry>
<entry>~/Applications/xenia/xenia_canary.exe</entry>
<entry>~/.local/share/applications/xenia/xenia_canary.exe</entry>
<entry>~/.local/bin/xenia/xenia_canary.exe</entry>
<entry>~/bin/xenia/xenia_canary.exe</entry>
</rule>
</emulator>
<emulator name="XROAR">

View file

@ -213,7 +213,8 @@
<extension>.abs .ABS .bin .BIN .cdi .CDI .cof .COF .cue .CUE .j64 .J64 .jag .JAG .prg .PRG .rom .ROM .7z .7Z .zip .ZIP</extension>
<command label="Virtual Jaguar">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/virtualjaguar_libretro.so %ROM%</command>
<command label="MAME (Standalone)">%STARTDIR%=~/.mame %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%/atarijaguar jaguar -cart %ROM%</command>
<command label="BigPEmu (Wine)">%STARTDIR%=%EMUDIR% %EMULATOR_BIGPEMU-WINE% BigPEmu.exe %ROM%</command>
<command label="BigPEmu (Wine)">%STARTDIR%=%EMUDIR% %PRECOMMAND_WINE% %EMULATOR_BIGPEMU-WINDOWS% %ROM%</command>
<command label="BigPEmu (Proton)">%STARTDIR%=%EMUDIR% %PRECOMMAND_PROTON% %EMULATOR_BIGPEMU-WINDOWS% %ROM%</command>
<platform>atarijaguar</platform>
<theme>atarijaguar</theme>
</system>
@ -222,7 +223,8 @@
<fullname>Atari Jaguar CD</fullname>
<path>%ROMPATH%/atarijaguarcd</path>
<extension>.abs .ABS .bin .BIN .cdi .CDI .cof .COF .cue .CUE .j64 .J64 .jag .JAG .prg .PRG .rom .ROM .7z .7Z .zip .ZIP</extension>
<command label="BigPEmu (Wine)">%STARTDIR%=%EMUDIR% %EMULATOR_BIGPEMU-WINE% BigPEmu.exe %ROM%</command>
<command label="BigPEmu (Wine)">%STARTDIR%=%EMUDIR% %PRECOMMAND_WINE% %EMULATOR_BIGPEMU-WINDOWS% %ROM%</command>
<command label="BigPEmu (Proton)">%STARTDIR%=%EMUDIR% %PRECOMMAND_PROTON% %EMULATOR_BIGPEMU-WINDOWS% %ROM%</command>
<platform>atarijaguarcd</platform>
<theme>atarijaguarcd</theme>
</system>
@ -554,7 +556,8 @@
<command label="Mednafen (Standalone)">%EMULATOR_MEDNAFEN% -force_module nes %ROM%</command>
<command label="ares (Standalone)">%EMULATOR_ARES% --fullscreen --system "Famicom" %ROM%</command>
<command label="ares FDS (Standalone)">%EMULATOR_ARES% --fullscreen --system "Famicom Disk System" %ROM%</command>
<command label="3dSen (Wine)">%STARTDIR%=%EMUDIR% %EMULATOR_3DSEN-WINE% 3dSen.exe -id=%INJECT%=%BASENAME%.3dsen</command>
<command label="3dSen (Wine)">%STARTDIR%=%EMUDIR% %PRECOMMAND_WINE% %EMULATOR_3DSEN-WINDOWS% -id=%INJECT%=%BASENAME%.3dsen</command>
<command label="3dSen (Proton)">%STARTDIR%=%EMUDIR% %PRECOMMAND_PROTON% %EMULATOR_3DSEN-WINDOWS% -id=%INJECT%=%BASENAME%.3dsen</command>
<platform>famicom</platform>
<theme>famicom</theme>
</system>
@ -1211,7 +1214,8 @@
<command label="Mednafen (Standalone)">%EMULATOR_MEDNAFEN% -force_module nes %ROM%</command>
<command label="ares (Standalone)">%EMULATOR_ARES% --fullscreen --system "Famicom" %ROM%</command>
<command label="ares FDS (Standalone)">%EMULATOR_ARES% --fullscreen --system "Famicom Disk System" %ROM%</command>
<command label="3dSen (Wine)">%STARTDIR%=%EMUDIR% %EMULATOR_3DSEN-WINE% 3dSen.exe -id=%INJECT%=%BASENAME%.3dsen</command>
<command label="3dSen (Wine)">%STARTDIR%=%EMUDIR% %PRECOMMAND_WINE% %EMULATOR_3DSEN-WINDOWS% -id=%INJECT%=%BASENAME%.3dsen</command>
<command label="3dSen (Proton)">%STARTDIR%=%EMUDIR% %PRECOMMAND_PROTON% %EMULATOR_3DSEN-WINDOWS% -id=%INJECT%=%BASENAME%.3dsen</command>
<platform>nes</platform>
<theme>nes</theme>
</system>
@ -2055,7 +2059,8 @@
<fullname>Microsoft Xbox 360</fullname>
<path>%ROMPATH%/xbox360</path>
<extension>. .desktop .iso .ISO .sh .xex .XEX</extension>
<command label="xenia (Wine)">%STARTDIR%=%EMUDIR% %EMULATOR_XENIA-WINE% xenia.exe %ROM%</command>
<command label="xenia (Wine)">%STARTDIR%=%EMUDIR% %PRECOMMAND_WINE% %EMULATOR_XENIA-WINDOWS% %ROM%</command>
<command label="xenia (Proton)">%STARTDIR%=%EMUDIR% %PRECOMMAND_PROTON% %EMULATOR_XENIA-WINDOWS% %ROM%</command>
<command label="Shortcut or script">%ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM%</command>
<platform>xbox360</platform>
<theme>xbox360</theme>