Multiple Arcade Machine Emulator (MAME) is a free and open source application used as a reference of the inner workings of arcade gaming systems. A side effect of this is that MAME can be used to play old arcade games if you can find the games. MAME uses data dumps from the Read Only Memory chips (ROMs) that were used in the original arcade games.
You can download the ROMs of some games from the mamedev.org website. I am going to use Robot Bowl as an example.
You will have to use the terminal app and the console to get MAME working, but it is very easy following the steps below. You will also need admin privileges on the computer, this is not absolutely necessary to run MAME, but that is how I am going to cover it here.
These instructions are for SDLMAME version 0.156 64-bit which was released on November 28, 2014.
Lets get started.
- Visit http://wiki.mamedev.org/index.php/SDL_Supported_Platforms and click on the URL for “Apple Macintosh OS X Intel” with a build target of “MAME”. Curretly that URL is http://sdlmame.lngn.net/
- Follow the instructions at the top of the page and install the “SDL runtime library”
- From the SDL website download SDL2-2.0.3.dmg or the latest version.
- Double-click the SDL2-2.0.3.dmg file which will mount it as a drive.
- Open the Terminal application Applications > Utilities > Terminal
- Enter “open /Library/Frameworks” into the terminal window, this will open a window for the Frameworks directory
- Drag the “SDL2.framework” file from the SDL2 window into the “Frameworks” window, you may be prompted to enter an Admin username and password to authenticate your desire to modify the Frameworks directory. Click “Authenticate” and then enter an Admin Username and Password.
- Back at the SDLMAME page click on the “SDLMAME v0.156 64-bit” link and save the file to your computer. I am placing it in the “Documents” directory.
- Double-click the zip file, when finished you should now have a folder named “mame0156-64bit”, now rename this folder “mame”, keep in mind that case counts so make sure the folder name is all lower-case.
- Open the “mame” folder and take a look at the contents
- Over in the Terminal app, enter “cd ~/Documents/mame” and then “ls -al” to double-check that you are in the right directory
- Now to create the MAME configuration file enter “./mame64 -createconfig” this will create a “mame.ini” file in the “mame” directory
- Now to get a ROM visit the mamedev.org website and the Robot Bowl game at http://mamedev.org/roms/robotbwl/
- Click on “I understand…” and download the game to the Documents/mame/roms directory
- WARNING: ROMs are saved as zip files and they should stay zipped. MAME will handle unzipping them and using the contents inside. If you use a web browser that automatically unzips files when you download them you will need to change that setting to preserve the original files.
- In Yosemite the keyboard does not use the function keys on as F-1 through F19 the way other operating systems do, they are assigned all kinds of other functions. You can hold the “Function (fn)” key down everytime you want to use a function key or you can open the System Preferences > Keyboard and check the “Use all F1, F2, etc. keys as standard function keys” box. If you check this box you can use the “fn” key to utilize the special functions of those keys. That is my preferred method.
- Now to launch MAMA and give Robot Bowl a try
- In the Terminal enter “./mame64”
- Use the arrow keys to select “robotbwl Robot Bowl” and tap Enter
- You may see a screen warning about using ROMs that you are not legally entitled to play, give it a quick read and know that you have been given permission by H.R. Kaufmann, president of Xidy, the original ROM images for Robot Bowl have been made available for free, non-commercial use. On your keyboard the left then right arrows to move on.
- Then you may see a message that there are known problems with this game. The sound emulation isn’t 100% accurate. Click the left then right arrow keys again to move on.
- Now the game should be playing its attract animation of a stick figure coming out to bowl.
- Tap the “Tab” key to bring up the in-game configuration menu and choose “Input (this Game)”
- NOTE: I prefer not to change the “Input (general)” controls from the default. By keeping the general defaults tutorials and other help I may use in the future will work without me having to translate which keys to press.
- This is really cool, when you look at the input controls for a specific game, it shows ALL of the control options for that game making it very easy to learn how to play that game and re-configure the buttons and controls for it.
- For Robot Bowl the default controls are:
- 1 Player Start: 1
- Coin 1: 5
- P1 Left Button: Left arrow key
- P1 Right Button: Right arrow key
- P1 Button 1: Left Control key or mouse button 1 (left mouse button)
- P1 Button 2: Left Alt key or muse button 3 (right mouse button)
- Hook Left: Z key
- Hook Right: X key
- You can use the arrow keys to navigate to any of these and change them by tapping the Enter key then tapping the key you want to use; you can have more than one key assigned to a single control.
And that is it; you now have MAME up and running on your Mac OSX Yosemite computer.
You can find a lot more information about customizing MAME in the ~/Documents/mame/docs directory, especially in the config.txt file.