Thursday, May 6, 2010

Getting MAME working on Ubuntu 9.10 (Karmic)

Getting Mame (the arcade game emulator) working on my Thinkpad T500 took the following steps:
  1. Install mame and the pulse audio driver:
    sudo aptitude install mame libsdl1.2debian-pulseaudio

  2. At this point, sounds was crackling, but enabling multithreading fixed that:
    mame -multithreading

And that's it. I modified my /etc/sdlmame/mame.ini to enable multithreading, lower the volume, and have it run in a window rather than fullscreen so I don't need to specify those options on the command line. Try 'man mame' for explanations of other options. When starting mame, 'TAB' pops up the mame option menu including all the keyboard command mappings. 'ESC' quits the menu or the game. '1' starts game play.

Also, Mame seems to be the best supported emulator. I tried to get a few others (nestra, fceu) working without success.


  1. awesome! yeah, it definitely seems like mame has the largest community and is the most widely supported. next up, build a cabinet!

    btw, are you going to upgrade to ubuntu lucid? I did just a few days go. I tend to stick to the LTSes, so I hadn't upgraded in a couple years, but I'm liking lucid so far.

  2. Yup - I'm on Lucid. It's nice - haven't noticed any difference from the one before, which is a good thing..