mame-libretro configs keep getting overwritten
-
I'm having a lot of trouble getting Mame working with my ipac 4 setup.
I've mapped all 4 players to the correct keys in configs/all/retroarch.cfg (accessed via samba), and that seems OK in NES and SNES, but not for MAME.
I edited configs/mame-libretro/retroarch.cfg, but those settings get overwritten whenever I restart the system. I just did a simple test case. I changed 'input_shader_next' from "m" to "nul" since that is a conflict I need to remove. I saved and closed the file and then reopened it and saw the change was still there. I then rebooted and the change had been reverted.
Is this file being re-written based on some other config? How do I prevent that?
-
My /opt/retropie/configs/mame-libretro/retroarch.cfg isn't overwritten at a reboot, its timestamp still is Nov 25th. Which version is your RetroPie? Maybe you installed something that does this?
A somewhat dirty hack would be to set the file to read-only using the command
chmod u-w /opt/retropie/configs/mame-libretro/retroarch.cfg
, but it would be better if we found out what causes the rewrite of the file. -
The main menu says EmulationStation 2.7.3RP. I downloaded retropie earlier this week and then did a full update of the packages (maybe that was a mistake?).
I watched the config file change, and it looks it was written when I exited MAME.
-
Which version of MAME do you use? See https://github.com/RetroPie/RetroPie-Setup/wiki/MAME for the different versions. I'm using mame2003 which is the preconfigured one in the RetroPie image.
Normally, you could monitor changes to a file using the tool "auditd", but as I just found out by testing it, the Linux kernel of RetroPie hasn't been built with audit support. :(
-
yeah, its the preconfigured mame2003. It does seem that the read-only hack will work, so I guess I'll go with that.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.