user pi hasn’t rights to write in the mame.cfg file.
So when you left a game and start a new game, the mame.cfg you configure in the last game had not been saved, because your user (pi) hadn’t the rights.
To make user pi has the rights you have tu type the command : sudo chmod 777 -R /opt/retropie/
for all emulators sudo chmod 777 /opt/retropie/emulators/mame4all/mame.cfg
for only mame4all
the problem is not the mame.cfg, I can edit that file with Winscp. loggin: root and password: ……. but in that file I can edit some controls but not all. only you can edit all within a game of MAME4ALL as you can see in the picture costs. I read in the forum that these controls keeps the mame inside and can not be edited. retropie in 1.9 as it was not necessary to be root, if kept, but now the problem of being tenenmos root
I was mapping the controls for MAME using the keyboard and I accidentally set the “TAB” button as the Exit button. Now I can’t access the configuration page from a game using TAB because it will exit the game.
Is there another way I can access it or possibly reset it?
I know how to access my Raspi through the Terminal commands on my Mac if that makes a difference.
You can change the config back here:
I imagine if you rename that file a new one would be created if you dont want to edit it.
I’m going to jump in here, because I’ve been trying to resolve the same issue (accidentally set my MAME UI Select button to NONE and then can’t use the UI). You do not need to delete the mame.cfg file. You actually need to delete or rename the default.cfg file that exists under the /cfg/ folder in mame4all then reboot and go into mame.
mv default.cfg default_old.cfg
(The ‘mv’ command is renaming the default.cfg file instead of deleting)