If you havent already gotten your Pi up and running you will need to do so. There are tonnes and tonnes of tutorials out there so I wont cover it here.



MAME (Multi Arcade Machine Emulator) is a programme that will run games. These games are called ROMs and you will need some before you can get started. I suggests you try and find something simple. I used Donkey Kong for all my testing and it worked a treat. I will not tell you where to get them nor will I help you find them and I definitely wont tell you to go to google and search for MAME roms as that would be down right silly......



Now I'm running raspbian wheezy (28 Oct 2012 version) and it works a treat so I would recommend you use this version of the OS as I have had trouble with later releases of raspbian.



Ok now to the nitty gritty, I am just telling you exactly what the tutorial here told me to do but this is a more detailed step by step process purely for completion of this instructable. However I claim no ownership of this.



1 - Download a copy of AdvanceMAME form Silvermans blog (link above)



2 - Open up the GUI interface on your Pi (boot up your pi and type "startx" then hit enter)



3 - Transfer the .zip file you downloaded to the pi directory on your raspberry pi (USB stick is probably the easiest way)



4 - Unzip the file (simply double click and xarchiver should open up)



5 - Run advmame, this is done through terminal. Pending on what the file that gets extracted is called (mine was called mameBin for some reason, however normaly its just called mame) run the following commands.





sudo chmod 777 /dev/fb0 - hit enter you may need to input a password



<folder name>/bin/advmame - hit enter and you'll get some text mentioning the creation of a file. Folder name is whatever the folder you extracted is called.



6 - Now you need to edit the file called advmame.rc. to do this go into th pi directory, right click and select the option of "show hidden". there should be a folder called ".advance", open that and there should be a file called advmame.rc. Double click it to open it. It should open in leafpad and look like a bog standard text file. Scroll to the end and put this in



device_video_clock 5 - 50 / 15.62 / 50 ; 5 - 50 / 15.73 / 60



Save the changes and close the document.



7 - Now place whatever rom you have into the "rom" which is found in mame/share/advance/rom



8 - Run the emulation by typing the following into terminal where folder name is mame, mameBin etc and rom name is the name of the rom



<folder name> /bin/advmame <rom name> - hit enter and it should boot up.



It will probably run really slowly if you are still in the GUI however if you logout and run it from the boot terminal it should be fine !