Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NeoGeo #24

Closed
williambout opened this issue Aug 13, 2012 · 27 comments
Closed

Add NeoGeo #24

williambout opened this issue Aug 13, 2012 · 27 comments

Comments

@williambout
Copy link

You should add NeoGeo emulator : http://blog.sheasilverman.com/2012/06/neo-geo-emulation-on-the-raspberry-pi/

@petrockblog
Copy link
Member

Are you running the NeoGeo emulator successfully?

@williambout
Copy link
Author

Yep. Here is a video I've made http://www.youtube.com/watch?v=oeUTnLhOhww

Envoyé de mon iPhone

Le 3 sept. 2012 à 23:05, Florian notifications@github.com a écrit :

Are you running the NeoGeo emulator successfully?


Reply to this email directly or view it on GitHub.

@petrockblog
Copy link
Member

Ok, that IS working fine. I will add it with the next commit ;-)

@williambout
Copy link
Author

Great. You'll find all you need here : http://blog.sheasilverman.com/raspberry-pi-emulation/

William

Le 4 sept. 2012 à 10:11, Florian notifications@github.com a écrit :

Ok, that IS working fine. I will add it with the next commit ;-)


Reply to this email directly or view it on GitHub.

@petrockblog
Copy link
Member

I just tried out the pre-compiled binaries and the tutorial from the Sheas blog, but they are not working. I will try to compile GnGeo on my own and add the script for that to the RetroPie script.

@elpendor
Copy link
Contributor

elpendor commented Sep 6, 2012

Works fine here. What's the error?

@petrockblog
Copy link
Member

It does not generate the .gngeo directory when calling it with gngeo -i ...
Hmmm, seems that I need to spend some more time. Are you using the latest firmware with all upgrades?

@elpendor
Copy link
Contributor

elpendor commented Sep 6, 2012

Yeah.

Now that I think about it, it happened the same thing to me the first time. Hmm, I can't remember what I did.

Did you run it using sudo? How about running it with no extra parameters?

@petrockblog
Copy link
Member

I tried it both, as admin and as user pi. But I have to admit that I did not spent too much time trying. Job-related I am away for a week now. I can have another look at it when I come back.

@elpendor
Copy link
Contributor

elpendor commented Sep 6, 2012

I'd say just run ./gngeo. I think that's what I did when it didn't create it.

@williambout
Copy link
Author

Oh and Playstation One Emulator looks pretty cool also, check it out : http://youtu.be/XDBWODvWSkY

@petrockblog
Copy link
Member

With which command line parameters are you starting gngeo? Currently, I just got a black screen when I try to start, e.g., Metal Slug. Do I need to use a certain BIOS?

@petrockblog
Copy link
Member

Ok, following the instructions from "blc" (http://www.raspberrypi.org/phpBB3/viewtopic.php?p=148248#p148248) I managed to compile gngeo and to start gngeo with Metal Slug 1. However, I can only see the first seconds of the splash video and get a segmentation fault afterwards. I included the installation script for gngeo in the recent commit - if someone has an idea how to solve this problem the gngeo emulator would be a nice addition to the RetroPie collection.

@petrockblog
Copy link
Member

@elpendor: I really would like to close this issue with gngeo. As written above I managed to compile it and make it run for a few seconds.
Could you maybe answer me a few questions in the hope that these will lead me to a solution?

  • From where did you download the sources of gngeo?
  • Which version are you using?
  • Did you use the Universe BIOS or something else?
  • Where exactly did you put the BIOS? ToadKing wrote this: (http://www.raspberrypi.org/phpBB3/viewtopic.php?p=189697#p189697), but I only managed to make gngeo run by extracting the BIOS zip file, putting it some place and pointing gngeo to it via command line parameters.
  • With which ROM did you test your installation?

Thanks a lot!

@elpendor
Copy link
Contributor

elpendor commented Oct 9, 2012

  • I got the compiled binaries from the blog mentioned a few posts earlier (http://sheasilverman.com/rpi/gneogeo.zip)
  • Check first answer.
  • The BIOS file I used does contain the Universe BIOS (several versions) and some other.
  • Same folder as the ROMS. File is called neogeo.zip, did not extract it.
  • Metal Slug 3 and 5

@petrockblog
Copy link
Member

Thanks for that!

@petrockblog
Copy link
Member

Are these steps working for someone?
http://dhruvgairola.blogspot.ca/2012/10/raspberry-pi-with-neogeo.html

@aguirrech
Copy link

hi petrock, did you resouled the segmentation fault issue? I have tried some roms like street hoop or kabuki klash but all i get is choopy gfx glitches, sound is working well.

Any suggestion?

@petrockblog
Copy link
Member

I had it successfully running ONCE. Then I tested the RetroPie script with another installation and I got these segmentation faults again. I used Metal Slug for testing ...

@aguirrech
Copy link

Have you constasted gfx issues, like background missing or sprites flickering in some games, Street Hoop, Kabuki Klash, neodrift, and other ones? Otherwise sound is working well. I can't get neogeo roms listed in emulation station after installing it by your retropie_setup source mode. Any ideas?

@aguirrech
Copy link

may be with an older gngeo version?

@petrockblog
Copy link
Member

I run Metal Slug without any graphic glitches and with perfect sound (even via analog audio out).
Could you provide the link to the sources that you used for compiling GnGeo? Also, it would help me a lot if you could point me to

  • the content of your ~/.gngeo/gngeorc
  • the command line that you use for starting a game
  • the BIOS version that you are using,

@petrockblog
Copy link
Member

In order to have ES showing NeoGeo roms, you need to add some lines to ~/.emulationstation/es_systems.cfg:

NAME=NeoGeo
PATH=$rootdir/roms/neogeo
EXTENSION=.zip .ZIP
COMMAND=hereTheCommandToStartA %ROM%
PLATFORMID=24

@aguirrech
Copy link

Hi, i compiled myslef lastest gngeo version 0.7 with this tutorial.

Bios mode is set to Arcade it is the only that i can'get running. Other bios modes, Home and Unibios, boots but nothing is displayed. What bios version have you installed?

Here is gngeorc

# GNGEO Sample resource file

# Path to dynamicly load opengl (only used for the opengl blitter)
libglpath /usr/lib/libGL.so

# Where your rom are?
rompath /home/pi

# Where did you put yout neogeo.zip bios file?
#biospath /usr/games/lib/gngeo

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

# Play in fullscreen?
fullscreen true

# Which blitter? 'gngeo --blitter help' for a list
# soft
# opengl
# yuv


# Which effect? 'gngeo --effect help' for a list
# none  
# scanline
# effect scanline50
effect scale2x
# effect scale2x50
# effect scale2x75
# effect doublex
# effect sai
# supersai
# effect eagle
# effect none

# Enable the raster interrupt?
# raster true

# scale the output image 
# scale 2

# Have interpolation?
interpolation false

# Have sound?
sound true

# Shown FPS
showfps false

# autoframeskip control
autoframeskip true
sleepidle false

# Synchronise the display with VBLANK (you may desactiva autoframeskip if vsync is on)
vsync false

# enable joystick support ?
joystick false

# enable the 68k inline debuger? (disable the sound)
debug false

# Use hardware surface for the screen?
hwsurface true

# Use PAL timing? (buggy)
pal false

# Sample rate
samplerate 22050

# country?
# japan, usa, europe
country europe

# system type? arcade or home or unibios (unibios.rom needed)
system arcade

# NeoRageX-style hotkey configuration
# Up to 4 hotkeys per player can be defined (
# Only fire buttons (A-D) can be combined
# A = 1, B = 2, C = 4, D = 8

# Samples:
# Map CD to P1 hotkey 0
p1hotkey0 4,8
# Map BC to P1 hotkey 1
p1hotkey1 2,4
#Map ABC to P1 hotkey 2
p1hotkey2 1,2,4
#p1hotkey3
#p2hotkey0
#p2hotkey1
#p2hotkey2
#p2hotkey3

# Key configuration
# order : A,B,C,D,START,COIN,UP,DOWN,LEFT,RIGHT
# please see SDL_keysym.h for key definition
# or push F4 during game : the keysym code of
# keys will be printed (also work for joysticks) 
# same thing as joypads for hotkeys


Azerty configuration: 
# p1: w,x,q,s,&,",up,down,left,right
# p2: l,m,o,p,é,',NUM 8,NUM 5,NUM 4,NUM 6
p1key    119,120,113,115,38,34,273,274,276,275
#p2key    108,109,111,112,233,39,264,261,260,262

p1control A=K119,B=K120,C=K113,D=K115,START=K38,COIN=K34,UP=K273,DOWN=K274,LEFT=K276,RIGHT=K275,MENU=K27
#p2control A=K108,B=K109,C=K111,D=K112,START=K233,COIN=K39,UP=K264,DOWN=K261,LEFT=K260,RIGHT=K262,MENU=K27

# Qwerty configuration:
# p1: z,x,a,s,1,3,up,down,left,right
# p2: l,;,o,p,2,4,NUM 8,NUM 5,NUM 4,NUM 6
#p1control A=K122,B=K120,C=K97,D=K115,START=K49,COIN=K51,UP=K273,DOWN=K274,LEFT=K276,RIGHT=K275,MENU=K27
#p2control A=K108,B=K59,C=K111,D=K112,START=K50,COIN=K52,UP=K264,DOWN=K261,LEFT=K260,RIGHT=K262,MENU=K27

# 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

# Meaning of the code:
# Kxxx : keyboad key number xxx
# JxByy : Joystick number x Button yy
# JxAyy : Joystick number x Axe yy (use a lowercase 'a' if you need to invert the axis)
# JxHyy : Joystick number x Hat yy
# by the way, you can define a button multiple time, for example A=J0B0,A=K123,etc..

:)

@petrockblog
Copy link
Member

Thanks for that!

I just put the whole code from above into a code environment.

I did not play around with the system type settings yet - good point!

@ReliCWeb
Copy link

I'll have to try the above config, but I did a fresh source compile of gngeo using RetroPie-Setup and I can't seem to get it working quite right. I've copied my bios and roms to their locations referred to by the es_systems.cfg COMMAND. I can get the gamelist to appear in ES no problem, and when I select a game it launches the bios (NeoGeo Max Spec screen, at least I think that's the bios) but immediately crashes when it tries to load the game.

If I write a custom launcher script it works great. It launches from ES with no issues. The script is similar to below (paths might be off, don't have Pi handy):

#!/bin/bash
/home/pi/RetroPie/emulators/gngeo-0.7/src/gngeo mslug
exit 0

Note how it's just passing in 'mslug'. GnGeo has games setup with shortcodes so you can just pass the shortcode to launch the game. 'gngeo -l' will list the games it's setup with I believe. It's odd that if I pass the whole rom path it doesn't work. I don't have everything handy in front of me, but I recall it appending an extra '.zip' to the end, resulting in it not being able to find the file. Is that a GnGeo issue?

@petrockblog
Copy link
Member

I finally managed to come up with a reproducible way for installing GnGeo. There was an error in setting up gngeorc in the home directory of the current user.

ghost pushed a commit to Odroid-RetroArena/RetroPie-Setup that referenced this issue Sep 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants