How do I make MAME save the in-game input mappings?

When you’ve got the MAME core open, and are running a game, you may remap the controls using a menu that you open with the Tab key.

However, I am unable to get these configurations to “stick,” it just resets to the default every time I load a new game.

What should I do?

Make sure a MAME/cfg folder exists in your save directory. If you don’t have a save directory set, it uses your content folder by default. If that dir is read only it won’t be able to save MAME configs with your changed controls there.

MAME auto generates a configuration file on exit, but it’s going into the config folder, not the save folder.

By default it’s saving to the “config” folder, not the “content directory.”

Are you sure that’s right?

EDIT: I reverted to 1.3.2, and changed nothing else about my configuration. MAME now saves in game controller configs normally again.

1.3.4 doesn’t seem quite as stable as all that.