Accidentally remapped lr-mame4all internal settings menu
-
Hey folks,
I really screwed up the other day and and somehow ended up remapping the internal mame4all settings menu from TAB to nothing. Now I'm unable to get into the settings for MAME. Everything I've been researching about this problem hasn't helped. Everything I've seen says to delete the default.cfg file from /opt/retropie/configs/mame-mame4all/cfg. But this hasn't done anything. Is there a mame.ini file anywhere or any place else where I can set the default mapping for the internal MAME settings to TAB again? I'm running RetroPie 3.7 on a Pi 3.
-
I've had this happen to me as well. Unfortunately there is no file that you can edit to change the key mappings within mame (unlike the configuration files for retroarch, etc). The fix is what you've been told: to delete the default.cfg file, which resets the key mappings. If that did not work for you, then perhaps it saved it in another CFG file as well?
-
@cafarellidigital That's very possible, because it seems to affect both lr-mame4all as well as the mame4all emulator. Any idea where else I could look?
-
If you have other CFG files in that directory, delete or move all them out of there, so that the directory is empty. Then try a game and see what happens.
-
@cafarellidigital Absolutely nothing happened. I removed all cfg files from that directory, tried a game and nothing, TAB still not working. Checked the directory, and it didn't even create a new default.cfg, like it's supposed to according to other people. Also tried putting a blank default.cfg file into that directory and that didn't work either. Restarted Emulation Station, still nothing. Restarted the whole system, still nothing. This is driving me nuts.
-
I know the pain all to well. Perhaps this is not the most practical solution but if you have a spare SD card - you could do a fresh install of Retropie and copy the files/folders you need from there and then move them to the configuration you're trying to fix? Of course, you would need to be cautious about what you transfer over.
Alternatively, do a completely fresh install providing you haven't put too much work in getting everything else to work already.
-
@batman No dice. I actually have an older Pi 2 running a working lr-mame4all on it, copied every cfg file and then moved them to my Pi 3. Still not working. It's like mame4all isn't even referencing that directory. Is there somewhere I could check that?
-
@Drignor No idea on where you could check. I'm still green when it comes to the configuration side of Retropie as only had my first install a few weeks ago. Still learning and still running into issues myself.
If you already have an existing configuration that works on another SD card (on the PI2) - you could always make a backup and transfer it over the one you're trying to fix? If the SD card is the same size, you could even create a complete replica image of your working setup and then write the image to the new SD card. If the install on your PI3 is completely different, then I can understand on why you wouldn't want to do that. You could also just move your bios, roms (optional), and configuration files (check "Making a Backup (option 2)) of the wiki:
https://github.com/retropie/retropie-setup/wiki/updating-retropie
Regardless of the two options above, you'll unfortunately lose the work you've put into your PI3 setup but have the assurance of knowing what already works.
Perhaps somebody else may know an easier fix.
-
May be this is not what you want to hear, but I have f***up my install many times and came to the conclusion that I needed to make a backup for every major change I did.
Then if something went wrong I reflashed or used kpartx to read my backup.
-
@Drignor check your mame roms folder for a /cfg/ folder
failing that, search your whole file system for default.cfg
-
@dankcushions Ok, so I have a partial solution. I noticed there was also a default.cfg file in the /home/Pi/RetroPie/roms/arcade/mame2003/config folder. I replaced the other one with this one and it works...kind of. I'm able to use tab to get to the Mame settings menu again, but only in regular mame4all, not lr-mame4all. Small victory, but I'll take it for now until I can figure something else out. Thanks all.
-
@Rion said in Accidentally remapped lr-mame4all internal settings menu:
I have f***up my install many times and came to the conclusion that I needed to make a backup for every major change I did.
I was fortunate enough to learn that lesson prior to RetroPie, but I considerate it of the utmost importance here. I can't recommend this policy highly enough when maintaining and servicing a complex system install like this one.
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.