element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Freescale i.MX6 Development Platforms
  • Products
  • Dev Tools
  • Single-Board Computers
  • Freescale i.MX6 Development Platforms
  • More
  • Cancel
Freescale i.MX6 Development Platforms
Blog GnGeo on SABRE Lite (i.MX6)
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Freescale i.MX6 Development Platforms requires membership for participation - click to join
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: oneleggedredcow
  • Date Created: 9 Apr 2014 2:57 AM Date Created
  • Views 420 views
  • Likes 0 likes
  • Comments 0 comments
Related
Recommended

GnGeo on SABRE Lite (i.MX6)

oneleggedredcow
oneleggedredcow
9 Apr 2014

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:

 

image

 

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)

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2023 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube