Skip to content

A simple shell script to download, patch and compile MAME on OSX / Linux

Notifications You must be signed in to change notification settings

tomav/Mame-Installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

Mame-Installer

A simple shell script to download source, patch and compile MAME (SDLMAME) on OSX / Linux using SDL Framework.
Current version if 0.147u4.

What is MAME ?

MAME stands for Multiple Arcade Machine Emulator. When used in conjunction with images of the original arcade game's ROM and disk data, MAME attempts to reproduce that game as faithfully as possible on a more modern general-purpose computer. MAME can currently emulate several thousand different classic arcade video games from the late 1970s through the modern era. (source http://mamedev.org/)

What is MAME Installer ?

MAME can be downloaded from it official website http://mamedev.org/ but is only available as Windows executables.
If you want to run MAME under OSX / Linux, you have to :

This script should help you in this second case.

Prerequisites

On OSX :

On Linux :

  • build-essential
  • gconf2
  • libgconf2-dev
  • libgtk2.0-dev
  • libsdl1.2-dev
  • libsdl-ttf2.0-dev

Howto

Basic usage :

bash mame_installer.sh ~/Desktop/MAME

Optional param for faster build :

# for dual-core processors
bash mame_installer.sh ~/Desktop/MAME -j3

# for quad-core processors
bash mame_installer.sh ~/Desktop/MAME -j5

Now wait until the end of compilation (~35min@basic / ~25min@j3 on my MBA 1.8Ghz Intel Core i7) You should find a fresh mame64 binary ready to use.

Tested on

  • [PASSED] Mac OSX 10.8 / XCode 4.5.1
  • [FAILED] Debian GNU/Linux Squeeze 2.6.32-5-amd64 (gcc4.4 issue ?)

TODO

  • Add a check on install folder to ask for files overwrite
  • Don't hardcode files URL to fetch which are version specific...

Feedbacks

Do not hesitate to contribute !

About

A simple shell script to download, patch and compile MAME on OSX / Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages