• Thanks to @johnnygal @Kato and @mholgatem for compiling and contributing to this!

    MAME Rom Sets
    MAME4ALL uses 0.37b5
    AdvMAME uses 0.106

    Properly Verify and Name Roms

    Rotate Display
    sudo nano /boot/config.txt

    Then you need to add a line at the end that reads ONE OF THE FOLLOWING:
    display_rotate=0        Normal
    display_rotate=1 90 degrees
    display_rotate=2 180 degrees
    display_rotate=3 270 degrees
    display_rotate=0x10000 horizontal flip
    display_rotate=0x20000 vertical flip

    Note: the 90 and 270 degrees rotation options require additional memory on GPU, so won't work with the 16M GPU split.

    Problems with HDMI
    If there is no video using a HDMI to DVI lead or adapter, edit /boot/config.txt and uncomment

    If no analog audio, try editing config.txt and uncomment

    USB Soundcard Setup
    To use a USB soundcard:
    Edit /etc/modprobe.d/alsa-base.conf:
    and comment out the lines below:
    # Keep snd-usb-audio from beeing loaded as first soundcard
    #options snd-usb-audio index=-2

    You can check the GPU's firmware version by entering the following:
    sudo /opt/vc/bin/vcgencmd version

    Shutdown Switch
    To install python for shutdown switch:
    sudo apt-get install python-dev
    wget http://pypi.python.org/packages/source/R/RPi.GPIO/RPi.GPIO-0.4.1a.tar.gz
    tar xzf RPi.GPIO-0.4.1a.tar.gz
    sudo python setup.py install

    SET GPIO#17 to be internally pulled up, then need no resistors and only 2 wires
    Connect one side of button to gnd and other to GPIO#17 - i.e. shorts pins 9 and 11.
    Script to monitor GPIO #17:
    [Save as /home/pi/bin/shutdown.py]
    import RPi.GPIO as GPIO
    import time
    import os
    GPIO.setup(17, GPIO.IN,pull_up_down=GPIO.PUD_UP)
    while True:
    print GPIO.input(17)
    if(GPIO.input(17) == False):
    os.system("sudo shutdown -h now")

    To set it to run on boot just add the following text to /etc/rc.local, just before exit 0
    python /home/pi/bin/shutdown.py &

    Increase Volume of Soundcard
    amixer controls

    To find id of volume device
    amixer cget numid=1

    Shows min/max values and current value.
    amixer cset numid=1 0 

    e.g. sets value to 0 (was min -10239,max 400)


    Audio Related Problems

    Run a ROM on Startup

    Upload Multiple Files of Folders

    Two XBOX controllers in PiSNES

    A huge thanks to @Kato for this!

    Enjoy! Hope this answers some questions!
    This was updated on 3/5/14 to be easier to read and adding new items.
    And then again on 3/11/14 with some new stuff and clean up.
  • The instructions are not working for including Mame4All into AdvanceMenu.
    It keeps giving an "Invalid Arguement" for the first directory location line. I have tried to use the "/home/pi/emulator" path, but it gives the same error.
  • I identified the error.
    There is a typo in the first line "emulator "mame4all' generic ..." the single quote after mame4all should be a double quote.

    Also, I used the path "/home/pi/emulators/mame4all-pi/" for the paths instead of the indiecity.
  • From thread: http://pimame.org/forum/discussion/524/trackball-issue#Item_4

    To change mouse polling, from a terminal: sudo nano /boot/cmdline.txt ... then add usbhid.mousepoll={number in ms} ... to the end.
    1000 hz = 1 ms
    500 hz = 2 ms
    250 hz = 4 ms
    125 hz = 8 ms
    100 hz = 10 ms
  • Can you elaborate on "Get correct game titles when using mame4all under advmenu" please? I'm not sure what you mean by "run on the mame4all binary".
  • When you use Mame4all as the emulator from the advmenu, the games list shows up as the filenames, so is often difficult to tell which game is which.

    To produce a file that can be used by advmenu to give the correct titles, run this command in the Mame4all directory:
    mame -listinfo > mame4all.lst

    Then copy the mame4all.lst file into the .advance directory.
  • Actually, after a week of pain, it should be:
    ./mame -listinfo > mame4all.lst
  • I've just updated this to include new items and be easier to read, etc.
    Tell me what you think :D

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!