Why does this matter?
Managing your MAME install via Homebrew should address the following major issues around any MAME installation:
MAME system and user files stay separately: With this setup
the MAME system files, which are regularly upgraded via Homebrew, stay in the Homebrew repository of your Mac, while
your user data, such as inis, rom files, artwork and all other content, are in a separate folder of your Mac, where MAME can find them.
Seamless upgrades: By keeping MAME system data separate from your user data, you upgrade MAME via Homebrew without the need for any user data migration. User data upgrades are always separate from MAME system upgrades.
No Gatekeeper woes: Running MAME via Homebrew does not hit Gatekeeper restrictions. MAME is treated like any other CLI tool installed through a trusted package manager. This is why you can launch it without the “macOS cannot verify the developer” or “move it to the bin” popups.
Launch MAME from anywhere: Just open the Terminal and type e.g. mame 1942, and the game launches. It is no longer needed to launch MAME via Terminal from the home directory.
Requirements for this setup on your end
- Main instructions are for ARM64/Silicon Mac, where the necessary changes for Intel Macs are described in a separate chapter (not that difficult)
- Basic Terminal knowledge (recommendation: iTerm2 app)
- Basic Editor knowledge (recommendation: Visual Studio Code app)
- An existing Homebrew installation (for Apple Silicon)
- Understand how to access and use the hidden folder $HOME/Library/Application Support/ folder of your user account $HOME
Let's start from scratch!