UPDATE: Debs with Sound now available here
Hey All,
It’s been a long time coming. Between work, prototyping, other complications I present the AdvanceMAME Debian package.
I was able to get past the issue with AdvanceMAME compiling on Raspbian. It’s the sh2 processor for the Saturn, so I had to disable that. After that, it compiles.
I have the src code up on github if anyone wants to check out the changes I had to make.
Github: https://github.com/ssilverm/AdvanceMAME_RaspberryPi
Debs: http://sheasilverman.com/rpi/raspbian/debs/advancemame_0.106.1-1_armhf.deb http://sheasilverman.com/rpi/raspbian/debs/advancemame-raspberrypi_1-1_armhf.deb (with sound)
To install:
- sudo dpkg -i advancemame_0.106.1-1_armhf.deb
- Once it’s installed, just type advmame and it will create your configuration file.
- Roms go in ~/.advance/rom/
- Edit your advmame.rc for your display:
- For HDMI try:
- device_video_clock 5 – 50 / 15.62 / 50 ; 5 – 50 / 15.73 / 60
- For NTSC TVs try:
- device_video_clock 5 – 50 / 15.73 / 60
- For HDMI try:
- to run a game: advmame gamename (ie advmame sf2)
- ENJOY!!!
Also, another goodie… My deskcade project is coming along incredibly well! I just got in these 18mm Sanwa buttons. They are awesome.
I hope everyone enjoys. Let me know if you have any questions, comments, or suggestions!
-Shea
how is the sound?
Works well once I removed the lines about Sound config and changed the sound no to none.
Speed Rumbler works well! Full speed.
Quite a lot of my roms don’t seem to be compatible however 🙁
Thanks VERY much for the hard work.
Problems with sound aswell
I also have no sound. Tried headphones and HDMI.
Installed newest Raspian image and then installed the .deb
Not getting any audio.
got problems with sound too. Tried with HDMI only.
Hi Shea,
I’ve followed your instructions, which are simple to be fair but I get an error when I try to run advmame in the command line against any ROMs I try. I’m using a HDMI 1080p display.
Unable to initialise the video driver, the errors are:
fb: Unsupported in X
I have a clean raspbian wheezy build, the only thing I have added is is bluetooth and blueman, then followed your mame instructions.
Any help would be great. I have seen other advmame stuff and the error points to missing libraries but I’m a little too new to this to figure out what libraries…
AW
Try running it outside of X. Only on the command line. Let me know what happens.
New debs with sound are now available!
http://blog.sheasilverman.com/2012/11/better-advancemame-debs-with-sound/
Hi,
I’ve followed all the steps and all the process went relatively fine. And now, when I try to run a game (ie. advmame snowbros) this list of errors is shown:
“AdvanceMAME – Copyright (C) 1999-2003 by Andrea Mazzoleni
MAME – Copyright (C) 1997-2003 by Nicola Salmoria and the MAME Team
ALSA lib confmisc.c:768:(parse_card) cannot find card ‘0’
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:768:(parse_card) cannot find card ‘0’
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
The event keyboard driver cannot be used with the SDL video driver
video_init failed”
How can I fix this?
PS: I’m using the analog audio and video output.
Thanks
I found the resolution: install the Raspbian instead of Pisces (another version of debian optimized for RPi). On Raspbian, the ALSA library (or whatever it is) is launched at startup right on the first boot, so now I don’t have a single problem!
Excellent tutorial!
PS: don’t forget to install libsdl1.2-dev dependencies (apt-get install libsdl1.2-dev). This was posted by welshy on the RaspberryPi official forum.
Followed the instructions but not able to run any ROMs, the ROMs work on Windows MAME but not here… any help would be appreciated…
Same issue, I go to run NES and SNES roms and get the PCM unknown error. NeoGeo roms work just fine.
Also having issues with the xbox controller not working in NeoGeo