In this blog post, we’re going to get GnGeo up and running on the SABRE LiteSABRE Lite (i.MX6) board.  GnGeo is an emulator for the Neo Geo gaming system.

 

Installing Dependencies

There are a couple of dependencies that you need to install to compile GnGeo.  However, before we do that it is always good to do an update and upgrade first:

 

 

After that completes, here are the dependencies that I installed:

 

 

I’m not sure which dependencies from the top two lines are really needed.  I compiled Advance MAME first, so I already had all of these when I started.

 

Now before we can start building GnGeo, we need to do one small thing:

 

 

This creates a symbolic link to the zconf.h file that GnGeo will be looking for.  GnGeo looks for the header file in a different location than where it actually exists, so we need to create a symbolic link so that GnGeo can find the header file.

 

The source code for GnGeo can be downloaded with the following command:

 

 

Then we use the standard process to build the code:

 

 

 

I was prepared for this to take a really long time, but it built fairly quickly for me.

 

Once this is complete, you can launch GnGeo and see a screen like the following one:

 

neogeo.png

 

Configuration

Before you can start playing games on GnGeo, you need to do a little bit of configuration.

 

The first step is to find a file called neogeo.zip.  Once you download this, you need to unzip it into:

 

/usr/games/lib/gngeo

 

The next step is to find a file called gngeo_data.zip.  Download this file and place it into the same directory (still zipped up).

 

The final step is to copy over the sample configuration file:

 

cp <gngeo>/sample_gngeorc ~/.gngeo/gngeorc

 

Getting ROMs

The final step is to get a ROM of a game that you want to play.  You need to place this .zip file (still zipped up) into your rompath.  The rompath is specified in the configuration file:

 

~/.gngeo/gngeorc

 

And by default it is set to the same directory that you put the contents of neogeo.zip and gngeo_data.zip into:

 

/usr/games/lib/gngeo

 

But you can change that to be any path that you want.  To play a game, just fire up gngeo with the name of the game that you would like to play, without the .zip file extension:

 

gngeo <game_name>

 

Summary

That’s how to get GnGeo up and running on your SABRE LiteSABRE Lite (i.MX6) board.  Have fun playing classic games!

 

See Also

Getting Started with SABRE Lite (i.MX6)

Using Advance MAME to Play Arcade-Style Games on SABRE Lite (i.MX6)

GnGeo on SABRE Lite (i.MX6)