UPDATE: New Raspbian Binaries Available
I’m going to start this with saying that the Neo Geo is one of my favorite systems EVER. Over the years I’ve owned multiple Neo Geo Arcade Cabinets, tons of Neo Geo boards, and a drawer full of cartridges for the system. It’s an amazing piece of hardware. The first games came out in 1989, and the system had games still coming out in 2004. There is even a homebrew scene that is still running which releases a game every couple of years.
Last week I started messing with Gngeo, an open source Neo Geo emulator. I have gotten it compiled and running. King of Fighters 98 is running at 60fps. It looks lovely. The configuration was kind of a pain, but I think I have everything working right. So without further ado, below is the guide for installing and running Gngeo on the Raspberry Pi!
- If you havent setup /dev/fb0 yet, just go ahead and do sudo chmod 777 /dev/fb0
- Download the Gngeo binaries here
- Download the Gngeo config file here
- Unzip the binaries. They should unzip to a folder called gneogeo
- You should have 3 folders, the ones that matter are “bin” and “roms”. Inside “roms” you need to put in a neogeo bios file as well as any legally obtained game files you have. I will not give any hints or tips on where to obtain these files.
- On the command line go into the bin folder (cd ~/gneogeo/bin), and type ./gngeo -i ../roms/
- The first time it may fail, crash, lockup your pi, or even get into a small gui looking menu. Immediately exit (this can also sometimes cause a crash).
- What this first run has done is create a hidden folder in your home folder called .gngeo.
- Go into .gngeo (cd ~/.gngeo), and copy the config file you downloaded earlier. This setups the keys and some video stuffs.
- Go back into the gneogeo/bin directory and run ./gngeo -i ../roms/
- You should now see a gui, press enter on “load game”. You should see a list of roms available to you. Press up and down to get to your desired game, then press enter to start it.
- Press 3 to give Player 1 a credit, 4 to give Player 2 a credit. Press 1 to start player 1, 2 to start player 2. Up down left and right control player 1, and z, x, a, and d map to the Neo Geo’s A B C and D buttons.
Press escape when done 🙂
So far I have played King of Fighters 98, Metal Slug X, and Samurai Shodown 2 at full speed with no issues 🙂
Let me know if anyone has any issues or tips.
It’s works one time and then many problems ; glitches, Z80 error, keyboard not working….
Hey William, next time you get on IRC msg me and I will try and help sort it out. I’d love to try and get this working.
If you are getting a Z80 error, it may be the BIOS you are using. Yours might be corrupted.
Also getting the Z80 Error. I’ve tried more neogeo.zip’s than I can count.
i’ve a z80 on one rom while others work fine.
any idea?
is this complelty random or what?
Pingback: Un émulateur NeoGeo pour le Raspberry Pi | Geek in your face | Scoop.it
followed step by step, runs ok but doesn’t create hidden folder in home folder (i’ve got ‘show hidden’ flagged) i tried to do this manually but not permitted
I have the exact same issue, did you manage to resolve this?
never mind i put the gngeorc.txt in same folder as bin and it worked
the only game I’ve tried is metal slug 3 and 1, but i get a @not enough memory@ error
this is working great now, I made some newb mistakes the first time. When is there anyway to make it full screen? i saw in the command line scale is set to 2, is there a way to change that to make the gameplay are larger?
thanks again for all your help!
Hey, thanks! I can get Metal Slug 3 game loaded, but keyboard won’t work.. hmm.. what is the problem? btw, I am using raspbian pisces.. is there any requirement I should install?
Pingback: Neogeo files | Auctivastoreen
The problem im having is when i start the gui it says no games found. I put my games in the roms folder
did you make sure to run the game with ./gngeo -i ../roms/
yep. i tried putting games in the gneogeo folder the roms folder the bin folder. could it be the roms?
I couldn’t play MetalSlug 3, it says something about the romset is too old.
Could someone please give me step by step directions. how to download and unzip the files where to unzip the files to. ive tried everything and cant get it to work.
Do i download neogeo cd roms or neogeo pocket
just neogeo, not pocket or cd
I downloaded MetalSlug X ROM (which works with Kawaks, not NeorageX) and tried again. I also copied the neogeo.rom in the roms directory. When i select the rom and start loading it, “GnGeo can’t init mslugx, Maybe the romset you’re using is too old”.
Now what is wrong! :S
Actually, I was copied “neogeo.zip” from my NeorageX emulator, but i don’t think that is the problem. The same bios file works for any emulator right?
Is the gngeo the emulator or do i have to find an emulator to put in the roms folder
Pingback: Raspberry Pi Türkiye Topluluğu Raspberry Pi ile Neo Geo Oyunlarını Açmak | Raspberry Pi Türkiye Topluluğu
Hi,
I’ve found this right now… but my RPi is compiling the gngeo source code for a while…
So, I’m waiting…and will use my compilation..
I think that not all bios works with gngeo, and the same applies to the ROM files. ROM files must “agree” with the romrc file. I recommend the Universe BIOS 😉
When I get something I’ll come back here. As my keyboard is a flexible one from China 😛 I’ll try to use my NGS GamePad… with KOF 2003 😀
“./gngeo -i ../roms/ ” returns just with “command not found” … Any help?
Hi,
When I enable the opengl in the config file the gngeo returns something like “libgl not found”…
Can someone help me?
Don’t enable OpenGL. OpenGL isn’t supported on the Raspberry Pi, only OpenGL ES.
Thx.
All I get is a black screen now. When I first ran the new binaries it gave me the gui and saw the roms. I quit out and pasted in the gngeorc stuff into the file that was in .gngeo and now when I run it all I get is a black screen. I’m using the composite out going to a old TV.
When I run it on composite all I get is a black screen. If I run it on hdmi I see the interface and it sees the roms. When I select one (metal slug) and try to run it, the top half of the interface is blacked out and then nothing. no error message, no nothing. Seems to be locked up. I can exit out. I’ve tried installing this 3 times using the old build and the new build. Will some kind person please help me find out what I’m doing wrong? It’s really frustrating.
If you have AIM you can IM me at SSilver2k2
This is really cool. But I can’t get it to work… I can get a game to load, but the keyboard won’t work, nothing happens when I press keys… Any ideas?
Did you make sure to follow the step about downloading the gngeorc file? That has the key mappings in it.
I think I did everything correctly, I’ll have another crack at installing it and see if it works this time…
Usually when your keyboard stops working its power related. Are you sure you’re pumping out 700+ma?
Hi, I have the same problem, How am I sure I’m pumping out 700+ma plz ?
Hey man, great blog. I have managed to learn allot about Linux and the Pi from here. I have Quake 3 and some old MAME games running sweet. Can’t get the Neo Geo to run though. I get the GUI and the rom list but if I try to boot say Metal Slug, the loading screen fills up and then just stops. Any ideas? Probably making a noob mistake but any and all help greatly appreciated. Cheers.
Great blog, runs perfect on my pi. Is it possibble to play it with a gamepad, how i configure that? Thx
Hi, all is working well, what gngeo version have you used? Colud you give us some instructions for compiling? With my compiled version there are some roms loading, missing sprites, backrounds, poping… but with yours the same rom worked fine without any error. I looked into your gngeo_data.zip and found the rom drivers, tried to import them to my compiled version but they are in .drv format, and it works only with the .rc format…. any idea?
Nice tutorial!!! I have a problem, i want to change the keyboard configuration, but i didn’t know the code (like DOWN=K261, ecc…), where i can find them?
I’ve found a FAQ on gngeo site that say:
The easiest way to configure your keyboard is with the folowing method:
start gngeo with a game (no matter wich one)
press the F4 key.
Now, every time you press a key, its scancode is print one the screen.
So, you just have to press successively the press you want to use, and note the associated scancode somewhere.
Now edit your gngeorc file at the line p1key (or p2key), and modify the default scancode with yours
…but when i press F4 nothing happen!!
Tnx for the help 😉
Hi! many thanks for this great blog and all the work done.
I’ve manually created the ~/.gngeo and then putted the “gngeorc” within.
This avoid the error message when the emulator is launched for the first time.
Anyway, is there anyone who knows how tu use the “~/gneogeo/share/gngeo/gngeo_data.zip” ?
This can be filled in the “gngeorc” (as the different paths) but when it’s done the emulator complains that the path was already given, even if you launch it without any option 🙁
Hi
i was albe to run metalslug and others game. terrific.
just a copuple of things:
– how to have it full scrreen. righrt now is something like 300×200
– how to enable the joypad.
thanks
ciao
Simple run gneogeo without x (remember to disable vsync)
Pingback: Authentic Neo Geo experience on the Raspberry Pi « gothi
Hi to all,
Gneogeo works fine without X and… go FULLSCREEN 🙂
Simple start gneogeo and you must set vsync = false in the option menu. (differently black screen and freeze).
No way to enable and configure the joypad (PS2)?
Ciao!
if fullscreen doesn’t work you can add these lines in /etc/fb.modes
mode “320×240”
geometry 320 240 656 512 16
timings 0 0 0 0 0 0 0
rgba 5/11,6/5,5/0,0/16
endmode
ciao
Hello there. thanks a lot for the binaries and the tutorial. A few weeks ago I got it working perfectly, but yesterday my SD card got corrupted and I had to install everything again. Now I got it working except for the sound from the analog output (there is no sound, or sometimes, some cracking noise). I am using the new binaries and I haven’t done anything different (both times I used the latest Raspbian image from 16-12-2012). Do you know what could be causing this? I checked the sound works with other applications.
Hi, I finished installing and everything runs fine however there is no sound and I can’t get it to go full screen. Any help?
Managed to get full screen and sound however I am only getting 1-5 fps.
Hey,
I’m getting this same issue, how did you manage to work it out?
i was able to get gngeo running with sound great in x but through commandline text doesnt show up and there are lines in the screen and through either i cant get the controls to work
Hello,
most of the errors i had were from the rom/bios, i neede to use the latest for mame, not the old one of my psp, but now its work fine, with an average of 30 fps.
However i can’t use a joystick as the F4 key don’t show anynthing (sadly). So i don’t know the button of my generic controller. Even worse with a xbox360 controller which isn’t map to /dev/js0…
Does someone already manage to use a joystick with this emulator? it would make a wonderfull neogeo emulator !
Hi, I am having a bit of trouble. After entering the ./gngeo -i ../roms/ command the gui starts ups without issue, I exit but no .gngeo folder is being created. This leaves me without a directory to put the config file, also when I start the emulator there are no roms listed under load game, is this likely to be related to the aforementioned problem?
Any help would be greatly appreciated.
Cheers
If someone is looking for a way to exit gngeo on PI without a keyboard (ie pressing one gamepad button) can try this.
http://www.raspberrypi.org/phpBB3/viewtopic.php?t=42324&p=341248
Its a solution for someone is running Pi as a console/arcade machine
Regards
Thanks for the headsup. I need to recompile a TankStick compatible version of GNGeo soon. This is a perfect resource!
Pingback: 라즈베리파이에 네오지오 설치하기(How to install neogeo on R-Pi)
Pingback: 공대팬더의 좌충우돌 이야기 – 네오지오 설치 하기
Pingback: 라즈베리파이 네오지오 에뮬 설치 및 구동하기 - 1부 - |
Pingback: Une mini borne d’arcade avec un Raspberry Pi – Part 1 | thibsert
Just a heads up, the zip file for this is littered with ‘invisible’ MAC OS files. Takes a little bit of work to clean up all the __MACOS/ dirs and .DS_Store files.
Hmm. Got up to the part where I have to run the executable, and got this error: “error while loading shared libraries: /usr/lib/arm-linux-gnueabihf/libasound.so.2: unexpected PLT reloc type 0x20”. So I tried to install libasound2, and was told I already have the latest version.
Pingback: How To Fix Neo Geo Mame Error Missing Files in Windows