Page 1 of 3

Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Tue Jul 31, 2012 1:52 am
by SSilver2k2
Hey all,

Just wanted to let you all know that
  • MAME
    MESS
    Gngeo (Neo Geo)
    Cave Story
    and Quake 3 Arena
Raspbian binaries are now available. I've posted them on my site at http://blog.sheasilverman.com/2012/07/r ... -binaries/

I hope everyone enjoys them. Let me know if you have any issues.

Youtube Video Review by me: http://youtu.be/73eBi738jT4

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Tue Jul 31, 2012 7:12 am
by obcd
Thanks for the binaries.
I would appreciate it if you could provide a link to the sources as well. A short description of what needs to be done to get things compiled would be interesting as well.
As the major goal of the Pi is education, and as a lot of linux noobs (like myself) start using it, knowing how to compile things is interesting and might be the first step into programming something.
Compiling a game or emulator and seeing it running afterwards is way more fun than seeing "Hello world" appear in a terminal window on your screen. (I know the second is important as well)

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Tue Jul 31, 2012 8:47 am
by JRT
Great stuff - I'm also interested in how these were compiled. I'm a reasonably experienced programmer, but have worked only in windows environments for about 10 years now... So I'm looking for any info on how to compile/work on Linux.

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Tue Jul 31, 2012 10:49 am
by SSilver2k2
I'll start writing up the instructions for how to compile these yourself :)

I'll try to post them today or tomorrow (i wrote down a lot of notes lol)

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Tue Jul 31, 2012 12:32 pm
by ratherDashing
Are these using SDL or OpenGL ES?

What versions of each program are you using?

Thanks for all of your work!

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Tue Jul 31, 2012 2:40 pm
by danboid
Hi SSilver2k2!

I'm hoping to get a GLES(2) port of Q3 running on the Pandaboard. I have got a couple of versions to compile but they won't run. Is your Q3 port compiled from the RPi Q3 github tree?

Seeing as you compiled it for Raspbian which is basically Debian (Ubuntu) armhf like I'm running here (Ubuntu 12.04 armhf) I thought it was worth trying to run it on my Panda but I get:

./ioquake3.arm: error while loading shared libraries: libbcm_host.so: cannot open shared object file: No such file or directory

I noticed that the Q3 source for RPi on github also depended upon this broadcom lib so I'm guessing that I won't be able to run this port on my Pandaboard without some extensive hacking.

Any help or tips will be much appreciated!

Thanks!

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Tue Jul 31, 2012 5:10 pm
by dimitris
hello
iam a total beginner in linux-rasbian-etc, and i want your help!
i have downloaded the mameBin.zip in /home/pi directory.
what should i do next to play the game?

:roll: :roll:

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Tue Jul 31, 2012 7:55 pm
by markysoft
Thanks for the MAME binary: finally Robotron running on my Pi!
Shame it's not powerful enough for the graphic effects.

Keep up the good work!

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Tue Jul 31, 2012 11:15 pm
by SSilver2k2
Welcome to the board dimitris!

On my site I have a couple tutorials on how to install each one, just click on Raspberry Pi Gaming in the menu.

Here's a direct link to the MAME install tutorial: http://blog.sheasilverman.com/2012/06/r ... me-part-2/
dimitris wrote:hello
iam a total beginner in linux-rasbian-etc, and i want your help!
i have downloaded the mameBin.zip in /home/pi directory.
what should i do next to play the game?

:roll: :roll:

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Tue Jul 31, 2012 11:19 pm
by SSilver2k2
Paul, one of the commenters on my site was the one that compiled the Raspbian version of Quake 3.

His website is http://www.apt-e.org/, so you might want to go there if you want to talk to him directly.

He did post this on my site though:
It was mainly to do with libsdl1.2debran and an option in the build script which disables the sound, this enabled cross platform compilation without the need for any sound libs. I have to say, I got some help from other sites, but none of the builds I tried worked at all, pulling all the ideas together did the trick.
danboid wrote:SNIP!

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Wed Aug 01, 2012 9:08 am
by ade_mcc
Thank you SSilver2k2, Quake 3 runs great, cheers.
I'm having a bit of an issue with Mame following your instructions from the blog:
Step 2: chmod 777 /dev/fb0 creates a permissions error, so I sudo chmod 777 /dev/fb0
When running advmame for the first time from either terminal or LDXE, I don't see any additional files added to /advance and/or cannot find a created advmame.rc generated.
Subsequently running advmame doesn't seem to do anything either. Being a beginner Linux user, I don't know where to begin investigating. Any suggestions?
Cheers for all your work, it's much appreciated!

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Wed Aug 01, 2012 3:51 pm
by SSilver2k2
ade_mcc wrote:Thank you SSilver2k2, Quake 3 runs great, cheers.
I'm having a bit of an issue with Mame following your instructions from the blog:
Step 2: chmod 777 /dev/fb0 creates a permissions error, so I sudo chmod 777 /dev/fb0
When running advmame for the first time from either terminal or LDXE, I don't see any additional files added to /advance and/or cannot find a created advmame.rc generated.
Subsequently running advmame doesn't seem to do anything either. Being a beginner Linux user, I don't know where to begin investigating. Any suggestions?
Cheers for all your work, it's much appreciated!
try running: "cd ~/.advance/"
The . in front of advance means its a "hidden" folder. "~" is a shortcut to your home directory. So cd ~/.advance could be rewritten as cd /home/pi/.advance/

You can see all files and folders in a directory by running "ls -la"

The advmame.rc file should be in the .advance/ folder.

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Wed Aug 01, 2012 7:59 pm
by ade_mcc
Thank you, I have leant a lot just by getting this sorted. It now works nicely - just enjoying Pang!
Cheers!

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Sat Aug 04, 2012 9:31 am
by ndrs
Thanks. I think binaries like this would been sticked but the imposibility of thread editing it's a lack in that way.

I'm enjoying all of this, for sure.

Soon the Rpi will be usable to play in a lot of emulators.

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Tue Aug 07, 2012 2:31 pm
by POPEYE
Is it possible to strech neo-geo image?

When I'm trying to run mame I get error:
Signal SIGSEGV[MAPERR], fault at 0x54442d18, from code at (nil)
Compiled Jun 11 2012, 17:28:43
No stack backtrace: compile without CFLAGS=-fomit-frame-pointer and with LDFLAGS=-rdynamic


Can it be because I have pal tv set and don't know what to add to advmame.rc?

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Tue Aug 07, 2012 3:44 pm
by rui
So I'm having an issue trying to load up a cart. I get the following error:

Code: Select all

Device cartridge load (smb2.nes) failed: File not found
I edited my advmess.rc to have my rom directory load from my home folder as well:

Code: Select all

dir_rom /root/.advance/rom:/home/pi/mess/share/advance/rom
What am I doing wrong?

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Tue Aug 07, 2012 5:53 pm
by SSilver2k2
Yes it is possible to stretch the neo geo screen.
Set fullscreen to true and set effect to 2x 75% scanline in the ~/.gngeo/gngeorc file

I'm not sure about the other error :(
POPEYE wrote:Is it possible to strech neo-geo image?

When I'm trying to run mame I get error:
Signal SIGSEGV[MAPERR], fault at 0x54442d18, from code at (nil)
Compiled Jun 11 2012, 17:28:43
No stack backtrace: compile without CFLAGS=-fomit-frame-pointer and with LDFLAGS=-rdynamic


Can it be because I have pal tv set and don't know what to add to advmame.rc?

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Tue Aug 07, 2012 5:55 pm
by SSilver2k2
What is the full command you are using to launch it?

it should be something like ./advmess nes -cart smb2.nes, with the smb2.nes file in a folder called nes.

IE: /rom/nes/smb2.nes
rui wrote:So I'm having an issue trying to load up a cart. I get the following error:

Code: Select all

Device cartridge load (smb2.nes) failed: File not found
I edited my advmess.rc to have my rom directory load from my home folder as well:

Code: Select all

dir_rom /root/.advance/rom:/home/pi/mess/share/advance/rom
What am I doing wrong?

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Wed Aug 08, 2012 9:24 pm
by jose1711_
thank you SSilver2k2, i tried gngeo. games seems to run fine, but sound becomes choppy (alsa underrun) very soon. are you experiencing the same problem? thank you, jose

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Thu Aug 09, 2012 4:57 pm
by POPEYE
Set fullscreen to true and set effect to 2x 75% scanline in the ~/.gngeo/gngeorc file
When I do so I get: "Screen initialization failed", if I start under X. If I start in console the system just hangs up with black screen.
The only option which works - doublex, but it stretchs images only horizontally.

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Thu Aug 09, 2012 7:33 pm
by SSilver2k2
Weird. I'll try again and let you know.
POPEYE wrote:
Set fullscreen to true and set effect to 2x 75% scanline in the ~/.gngeo/gngeorc file
When I do so I get: "Screen initialization failed", if I start under X. If I start in console the system just hangs up with black screen.
The only option which works - doublex, but it stretchs images only horizontally.

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Fri Aug 10, 2012 2:10 am
by SSilver2k2
Ok, for gngeo, open up your ~/.gngeo/gngeorc file and check to make sure these are correct:

Code: Select all

# Play in fullscreen?
fullscreen true


# Which effect? 'gngeo --effect help' for a list
# none	
# scanline
# scanline50
# scale2x
# scale2x50
# scale2x75
# doublex
# sai
# supersai
# eagle
effect scale2x50
fullscreen should be set to true, and effect should say scale2x50

This has worked for me on console and looks great.

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Sat Aug 11, 2012 5:30 pm
by jose1711_
how 'bout that sound problem? noone else spotted this?

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Sat Aug 11, 2012 5:43 pm
by blc
Hullo

Thanks for all your efforts with this. I'm using the latest raspbian image with the latest firmware, but gngeo constantly locks up. When I ran it for the first time it locked up on exit, as your instructions suggested it would, but the .gngeo directory hadn't been created. I've created the folder manually and moved the configuration file in there, but every time it finishes loading a game or I try to exit the GUI it hangs the whole system.

I've only tried 1 game so far (metal slug x), but if the GUI constantly hangs it suggests that there isn't an issue with just that game. I've already ironed out the power supply issues I was previously having; I've got a healthy 4.9v across TP1 & TP2 and everything else seems stable.

Any ideas? I'm also going to try out some of your other emulator binaries later.

Re: Raspbian binaries now available (MESS, MAME, neogeo)

Posted: Sat Aug 11, 2012 7:32 pm
by blc
Plus, can you also update your binary zip files to remove the __MACOSX/ folders? It's not really a big deal, but I keep forgetting to remove this folder and end up with a messy filesystem...