#5130
trimmtrabb
Participant

There is some info on gngeo here:
https://github.com/retropie/RetroPie-Setup/wiki/GnGeo-Pi
https://github.com/ymartel06/GnGeo-Pi/wiki

Note: “Gngeo-Pi is compliant with roms set of mame 0.138”

Looks like you need to create a file ‘gngeorc’ in /home/pi/.gngeo/
Copy the contents of https://github.com/ssilverm/PiMAME/blob/master/.gngeo/gngeorc

Then use jtest to determine the buttons on your gamepad. If you press one of the buttons you should see one of the buttons 0-11 change from off to on.

Then you need to edit gngeorc, this is the line you need to edit:
p1control A=,B=,C=,D=,START=,COIN=,UP=,DOWN=,LEFT=,RIGHT=,MENU=

So pick which button you want to use for ‘A’ on your gamepad, run jtest and note the output when you press it, let’s say it’s recognised as button ‘1’ (will show as 1:on in jtest)

Then edit gngeorc accordingly:
p1control A=J0B1,B=,C=,D=,START=,COIN=,UP=,DOWN=,LEFT=,RIGHT=,MENU=

Look at the samples for guidance:

# some sample joystick configuration
# Xbox360
# p1control A=J0B0,B=J0B1,C=J0B2,D=J0B3,START=J0B6,COIN=J0B10,UP=J0a1,DOWN=J0a1,LEFT=J0A0,RIGHT=J0A0,MENU=J0B7
# Dualshock2
# p1control A=J0B2,B=J0B1,C=J0B3,D=J0B0,START=J0B9,COIN=J0B8,UP=J0a1,DOWN=J0a1,LEFT=J0A0,RIGHT=J0A0

Regarding the left/right/up/down controls it looks like you want to use axis 4 and 5 going by the output of jtest. So you would edit the controls like this:

p1control A=J0B1,B=,C=,D=,START=,COIN=,UP=J0a5,DOWN=J0a5,LEFT=J0A4,RIGHT=J0A4,MENU=

Use lower or uppercase ‘a’ to invert the axis

Then you need to edit gngeorc to point to the roms, bios and datafile. Edit this line:

# Where your rom are?
rompath /home/pi/roms

change it to:

# Where your rom are?
rompath /home/pi/RetroPie/roms/neogeo

then change

# Where did you put yout neogeo.zip bios file?
biospath /home/pi/roms

to:

# Where did you put yout neogeo.zip bios file?
biospath /home/pi/RetroPie/emulators/gngeo-pi-0.85/neogeobios

*note* you need to create a neogeobios folder to put the bios in

Also change

# Where gngeo can find its datafile (font/skin/etc.)
#datafile /usr/games/lib/gngeo/gngeo_data.zip
datafile /usr/local/share/gngeo/gngeo_data.zip

to:

# Where gngeo can find its datafile (font/skin/etc.)
datafile /home/pi/RetroPie/emulators/gngeo-pi-0.85/installdir/share/gngeo/gngeo_data.zip

You also need to change to the rom type you are using:

# country?
# japan, usa, europe
country usa

So to sum up, put your roms in /home/pi/RetroPie/roms/neogeo
Put your bios in /home/pi/RetroPie/emulators/gngeo-pi-0.85/neogeobios

Edit your gngeorc as above and you should be good to go.

All of the above is assuming you are running the stock RetroPie image 1.9.1 and haven’t modified es-systems.cfg