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> <entry>/usr/pkg/lib/libretro</entry>
</rule> </rule>
</core> </core>
<emulator name="3DSEN-WINE"> <emulator name="3DSEN-WINDOWS">
<!-- Nintendo NES and Famicom emulator 3dSen --> <!-- Nintendo NES and Famicom emulator 3dSen -->
<rule type="staticpath"> <rule type="staticpath">
<entry>~/Applications/3dSen/wine*.AppImage</entry> <entry>~/Applications/3dSen/3dSen.exe</entry>
<entry>~/.local/share/applications/3dSen/wine*.AppImage</entry> <entry>~/.local/share/applications/3dSen/3dSen.exe</entry>
<entry>~/.local/bin/3dSen/wine*.AppImage</entry> <entry>~/.local/bin/3dSen/3dSen.exe</entry>
<entry>~/bin/3dSen/wine*.AppImage</entry> <entry>~/bin/3dSen/3dSen.exe</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="ADVANCEMAME"> <emulator name="ADVANCEMAME">
@ -101,13 +101,13 @@
<entry>~/.local/share/flatpak/exports/bin/net.cebix.basilisk</entry> <entry>~/.local/share/flatpak/exports/bin/net.cebix.basilisk</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="BIGPEMU-WINE"> <emulator name="BIGPEMU-WINDOWS">
<!-- Atari Jaguar emulator BigPEmu --> <!-- Atari Jaguar emulator BigPEmu -->
<rule type="staticpath"> <rule type="staticpath">
<entry>~/Applications/BigPEmu/wine*.AppImage</entry> <entry>~/Applications/BigPEmu/BigPEmu.exe</entry>
<entry>~/.local/share/applications/BigPEmu/wine*.AppImage</entry> <entry>~/.local/share/applications/BigPEmu/BigPEmu.exe</entry>
<entry>~/.local/bin/BigPEmu/wine*.AppImage</entry> <entry>~/.local/bin/BigPEmu/BigPEmu.exe</entry>
<entry>~/bin/BigPEmu/wine*.AppImage</entry> <entry>~/bin/BigPEmu/BigPEmu.exe</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="BLASTEM"> <emulator name="BLASTEM">
@ -596,6 +596,15 @@
<entry>~/.local/share/flatpak/exports/bin/io.github.shiiion.primehack</entry> <entry>~/.local/share/flatpak/exports/bin/io.github.shiiion.primehack</entry>
</rule> </rule>
</emulator> </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"> <emulator name="PUNES">
<!-- Nintendo NES and Famicom emulator puNES --> <!-- Nintendo NES and Famicom emulator puNES -->
<rule type="systempath"> <rule type="systempath">
@ -933,13 +942,26 @@
<entry>~/.local/share/flatpak/exports/bin/app.xemu.xemu</entry> <entry>~/.local/share/flatpak/exports/bin/app.xemu.xemu</entry>
</rule> </rule>
</emulator> </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 --> <!-- Microsoft Xbox 360 emulator xenia -->
<rule type="staticpath"> <rule type="staticpath">
<entry>~/Applications/xenia/wine*.AppImage</entry> <entry>~/Applications/xenia/xenia.exe</entry>
<entry>~/.local/share/applications/xenia/wine*.AppImage</entry> <entry>~/.local/share/applications/xenia/xenia.exe</entry>
<entry>~/.local/bin/xenia/wine*.AppImage</entry> <entry>~/.local/bin/xenia/xenia.exe</entry>
<entry>~/bin/xenia/wine*.AppImage</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> </rule>
</emulator> </emulator>
<emulator name="XROAR"> <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> <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="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="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> <platform>atarijaguar</platform>
<theme>atarijaguar</theme> <theme>atarijaguar</theme>
</system> </system>
@ -222,7 +223,8 @@
<fullname>Atari Jaguar CD</fullname> <fullname>Atari Jaguar CD</fullname>
<path>%ROMPATH%/atarijaguarcd</path> <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> <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> <platform>atarijaguarcd</platform>
<theme>atarijaguarcd</theme> <theme>atarijaguarcd</theme>
</system> </system>
@ -554,7 +556,8 @@
<command label="Mednafen (Standalone)">%EMULATOR_MEDNAFEN% -force_module nes %ROM%</command> <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 (Standalone)">%EMULATOR_ARES% --fullscreen --system "Famicom" %ROM%</command>
<command label="ares FDS (Standalone)">%EMULATOR_ARES% --fullscreen --system "Famicom Disk System" %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> <platform>famicom</platform>
<theme>famicom</theme> <theme>famicom</theme>
</system> </system>
@ -1211,7 +1214,8 @@
<command label="Mednafen (Standalone)">%EMULATOR_MEDNAFEN% -force_module nes %ROM%</command> <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 (Standalone)">%EMULATOR_ARES% --fullscreen --system "Famicom" %ROM%</command>
<command label="ares FDS (Standalone)">%EMULATOR_ARES% --fullscreen --system "Famicom Disk System" %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> <platform>nes</platform>
<theme>nes</theme> <theme>nes</theme>
</system> </system>
@ -2055,7 +2059,8 @@
<fullname>Microsoft Xbox 360</fullname> <fullname>Microsoft Xbox 360</fullname>
<path>%ROMPATH%/xbox360</path> <path>%ROMPATH%/xbox360</path>
<extension>. .desktop .iso .ISO .sh .xex .XEX</extension> <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> <command label="Shortcut or script">%ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM%</command>
<platform>xbox360</platform> <platform>xbox360</platform>
<theme>xbox360</theme> <theme>xbox360</theme>