MAME is a hardware emulator. it faithfully reproduces the behaviour of many arcade machines (it is not a simulation). This program is not a game but can directly, through ROM images, run the complete system of these old arcade machines. These ROMs are subject to copyright and it is in most of the cases illegal to use them if you do not own the arcade machine.
This package provides the MAME binary and configuration files and support libraries.
Place ROMs in ~/roms or edit the ini file located in ~/snap/mame/common/mame.ini to point to where your ROMs and other files are. Alternatively, just make ~/roms a symlink to wherever your roms are located in your home. If your roms are on externally mounted storage (such as a USB drive) you'll need to snap connect name:removable-storage before running mame.
This snap is not maintained by the upstream MAME developers.
For versions of Ubuntu between 14.04 LTS (Trusty Tahr) and 15.10 (Wily Werewolf), as well as Ubuntu flavours that don’t include snap by default, snap can be installed from the Ubuntu Software Centre by searching for snapd.
Alternatively, snapd can be installed from the command line:
sudo apt update
sudo apt install snapd
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
To install MAME, simply use the following command: