XargonWan / RetroDECK

RetroDECK brings you an all-in-one sandboxed application to play your retro games (and even not-so-retro games) on Linux/SteamOS.
https://retrodeck.net
GNU General Public License v3.0
728 stars 32 forks source link

MAME: edit the params in the es_systems instead of relying on a wrapper #734

Closed XargonWan closed 3 months ago

XargonWan commented 3 months ago

This:

<command label="MAME (Standalone)">%STARTDIR%=~/.mame %EMULATOR_MAME% -rompath %GAMEDIR%\;%ROMPATH%/arcade %BASENAME%</command>

Could become:

<command label="MAME (Standalone)">%EMULATOR_MAME% -inipath /var/config/mame/ini -rompath %GAMEDIR%\;%ROMPATH%/arcade %BASENAME%</command>

And in this case the wrapper can be deleted:

NOTE: check if this approach is viable for every other emulator which we're relying on a wrapper

XargonWan commented 3 months ago

Done: https://github.com/XargonWan/RetroDECK/commit/621d74a366ba32b2c1c4f5b751937d8d6a7a09d0