LinuxCommandLibrary

mame

TLDR

Run arcade ROM

$ mame [romname]
copy
List available games
$ mame -listfull
copy
Run with fullscreen
$ mame -window 0 [romname]
copy
Verify ROM set
$ mame -verifyroms [romname]
copy
Show controls for game
$ mame -listctrl [romname]
copy
Configure controls
$ mame [romname] -ui_active
copy

SYNOPSIS

mame [options] [system] [media...]

DESCRIPTION

MAME (Multiple Arcade Machine Emulator) emulates arcade game hardware. It preserves gaming history by documenting and emulating arcade machines, allowing original software to run on modern computers.
MAME supports thousands of arcade systems and some home consoles.

PARAMETERS

-window

Run windowed (1) or fullscreen (0).
-listfull
List all supported systems.
-verifyroms
Verify ROM integrity.
-rompath path
ROM directory.
-listctrl
Show control configuration.
-ui_active
Activate UI during emulation.
-createconfig
Create default config.

DIRECTORY STRUCTURE

$ ~/.mame/
├── roms/      # Game ROMs
├── cfg/       # Configurations
├── nvram/     # Saved data
└── snap/      # Screenshots
copy

CAVEATS

ROMs must be legally obtained. ROM sets change between versions. Some games need CHD files. Performance varies by emulated system.

HISTORY

MAME was started by Nicola Salmoria in 1997. It merged with MESS in 2015 to become a universal emulation project preserving both arcade and home systems.

SEE ALSO

Copied to clipboard