Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I have been trying to set up a computer to use as an arcade cabinet computer, but I can't figure out how to set up MAME and ROMs on it. I have installed MAME with

sudo apt-get install mame mame-tools gnome-video-arcade sdlmame sdlmame-tools

and I have set up all of the folders and made sure that the .ini file points to the correct ROM path. I downloaded a ROM from freeRoms and put it in the Rom folder still in a zip file. I started up mame by


in the terminal, but when I do that it says "No games found. Please check the rompath specified in the mame.ini file." Could I please have help setting MAME up? I've done pretty much everything that I know how to do and it seems to me like I just have the wrong version of ROMS. I am open to re-installing everything if that would help. Thanks!

share|improve this question
run sudo /usr/games/mame –  user224082 Jan 1 '14 at 6:27
Edit your question and add the ini file and ls /path/to/roms. –  Braiam Jan 10 '14 at 3:13
@DuminduMahawela: running an arcade emulator as root? Eww! –  MestreLion Feb 20 '14 at 8:41

4 Answers 4

Mame is just the emulator - now you need to find ROMs for the games you would like to play and put them in ~/mame/roms (create the directory if it doesn't exist)

share|improve this answer

The default path for user roms is ~/.mame/roms, so before changing any ini files, please first try putting a known-to-work ROM zip there and test it.

When you run mame for the first time, ~/.mame is automatically created, but its roms subfolder is not. So do this:

mkdir -p ~/.mame/roms

Personally, instead of creating a roms dir inside a hidden config folder and then copying files around I chose to symlink it to my data partition Roms folder:

ln -s /path/to/your/roms ~/.mame/roms

Also it's worth noting that you don't need all those packages to install MAME. sdlmame* is now a dummy transitional package, mame-tools is not needed to run games, and gnome-video-arcade is just a GUI (that you're not using, considering you're starting MAME in the terminal). So mame is the only package you really need.

share|improve this answer
I've downloaded rom from this link and keep .zip files in ~/.mame/rom path. But MAME still showing No games found. –  Scotia 웃 Oct 4 '14 at 4:05
it is ~/.mame/roms, not ~/.mame/rom, Note the plural. –  MestreLion Oct 23 '14 at 5:34
I have edited folder name. But still facing the same problem. –  Scotia 웃 Oct 26 '14 at 12:46

Please refer to this guide to set up mame You can download ROMs from different website such as this Roms should be put in the roms directory specified in the file mame.ini

Note that if you need Metal Slug to work (as most of the users downloaded mame just for that game) you need to include the latest rom of neogeo and put it in the rom directory.

share|improve this answer
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  fossfreedom Feb 20 '14 at 20:31

From :

  1. MAME Configuration

Start now MAME with this command so that a hidden folder (.mame) is created in your home directory which will contain all emulator settings:


You can now close the emulator. Run this command to create the configuration file for MAME:

cd ~/.mame && mame -cc

The "mame.ini" file will be created in the ~/.mame folder. Edit now this file with this command:

gedit ~/.mame/mame.ini

For Linux Mint:

pluma ~/.mame/mame.ini

In "rompath", you can set your own ROM directory path or leave default paths:

Next, create the following directories in the ~/.mame folder:


You can create them all with this command:

mkdir ~/.mame/nvram memcard roms inp comments sta snap diff

You can access the rom folder with this command to place your downloaded roms in:

nautilus ~/.mame/roms

As for player controls, you can easily configure them from the main interface of MAME (Configure General Inputs):

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.