How To Get the Latest Version of MAME Running On Mac OS X Lion [Part 1 of 3]

Posted on: 14 Comments

For the uninitiated, there’s an amazing piece of software out there known as the Multiple Arcade Machine Emulator, or MAME. As the name suggestions, MAME is designed to emulate the hardware of old arcade machines, so that you can run their software on modern PCs. The compatibility of MAME varies from game to game and system to system, but for the most part it can play anything that came out in the 80s and 90s.

There’s a problem however. MAME was originally developed as a DOS application, and has been heavily Windows focused since its inception. Various ports of it exist for other platforms now (including mobile devices such as the iPhone), but the optimal platform for MAME is still Windows. Thankfully, you’re not out of luck if you’d like to run it on a Mac.

MAME is open source, so theoretically you can compile it for any platform you’d like. In practice however, meeting all the dependencies and configuring your complier is outside of the scope of the average user. Because of this, people have made precompiled binary packages.

If you’ve Googled around enough to find this article, you’ve probably heard of MacMAME and MAME OS X by now. Unfortunately, these programs are both woefully out of date. MacMAME hasn’t been updated since 2006, and MAME OS X hasn’t been updated since 2009. MAME OS X has a pretty nice interface, and still does a pretty dutiful job of emulating games, so if all you’re trying to do is play Pac-Man, go give it a try. If you start running into issues / slow downs however, you’ll need to use a more recent version of MAME.

The version of MAME you want to download is known as SDLMAME. SDL, or Simple DirectMedia Layer is a cross platform framework which provides OpenGL with access to a system’s hardware, and is required for SDLMAME. Thankfully, it’s also free and open source, and can be downloaded from their website.

Once you download the Mac Runtime Library, mount the .dmg file. Open a Finder window and browse to /Library/Frameworks, then copy the SDL.framework folder into it. That’s all their is to it. You can unmount and delete the SDL .dmg file now.

Next, we need to download SDLMAME. Thankfully, someone’s been kind enough to keep precompiled versions of it up to date here. Download and extract the file.

Oh no! What’s this!? This isn’t a .dmg…! It’s… it’s a folder! Full of things that most certainly aren’t applications!

Relax! MAME and SDLMAME are a type of software known as “Command Line Applications”. Unlike your favorite web browser, text editor, or email client, MAME doesn’t have a graphical user interface. For now, put the folder some place you’ll remember, such as your User folder, or your Documents folder.

Now we need to open up the aforementioned command line. Go to your Applications folder, then the Utilities folder, and launch Terminal. How to use the terminal is outside of the scope of this application, but all you really need to know at this point is how to move between folders. type “cd foldername” to move into a folder, “cd ..” to move up a folder, and “ls” to list the files and folders in a folder.

 

Use your newfound Terminal skills to move to the SDLMAME folder you downloaded earlier. You’ll notice an filed called mame64. This is what we’ve been working towards this whole time. Type “./mame64″ to launch MAME.

If you see this screen… Congratulations! MAME is working! It just isn’t configured yet. Continue onto Part 2 of this guide for how to properly configure MAME.

14 Responses

  1. clark says:

    I CAN NOT navigate to library/frameworks and it is driving me NUTS!!! when I list contents in username/library it is NOT located in the folder! Help????

    • Stu says:

      Your system has two different Library folders. There’s a system wide Library folder as well as one for each individual user. The Frameworks folder is in the system wide Library folder, not the user one you were trying to go to.

      To reach the system wide Library folder, click on the hard drive icon on your desktop. It’ll be one of the few folders there. Frameworks should be pretty easy to find inside of it.

  2. clark says:

    Im sorry I should be more specific. Firstly, before i go further with getting mame. could you be so kind as to let me know if it is possible to run Kaillera on OSX 10.7? I am a high tier mortal kombat 2 player and NEED to be able to play with my peers online. If you could offer any assistance it would be GREATLY appreciated.

    • Stu says:

      I unfortunately don’t have any experience with Kaillera. Some basic Google searching seems to imply that there isn’t a Mac version however. It looks like you’ll probably have to dual boot Windows on your Mac and install MAME that way if Kaillera support is that important to you.

      • Clark says:

        Stu, I really appreciate your speedy and helpful response. Since dual boot/bootcamp with windows is my only option, and I will be doing so for the sole purpose of being able to play MK2 P2P with other players online, do you have a specific windows build to recommend? I have heard 7 s not exactly mame heaven.

  3. jarrod says:

    I can get up to the part where we go to launch ./mame64 then i get this message Jarrod-Whitesells-iMac:sdlmame0145-x86_64 jarrodwhitesell$ ./mame64
    dyld: Library not loaded: @rpath/SDL.framework/Versions/A/SDL
    Referenced from: /Users/jarrodwhitesell/Desktop/sdlmame0145-x86_64/./mame64
    Reason: image not found
    Trace/BPT trap: 5
    ……please help

  4. josh says:

    i have the same error and can not figure it out.

  5. Adam Newman says:

    installed the SDL into frameworks, downloaded sdlmame, but when I enter the directory and type ./mame64 I get:

    -bash: ./mame64: Operation not permitted

    If I just type mame64 I get:

    -bash: mame64: command not found

  6. Bradley says:

    Stu, can you PLEASE make a video of this process? I’m getting stuck after everything is downloaded. I don’t know how to open what it is I need to open in Terminal. Thanks in advanced!

  7. johnny says:

    Yes, a video tutorial of the whole process would be greatly appreciated. It’s driving me nuts

Leave a Reply