Parce que je suis gentil. Morceau choisi de mon wiki ;-)
====== Installation de pifba ======
<code bash>
$ mkdir pifba
$ cd pifba
$ wget
http://pifba.googlecode.com/git/piFBA.zip$ unzip piFBA.zip
</code>
pour le jeux avec les gamepads, j'ai modifié le fichier fba2x.cfg
<code text>
[Joystick]
# Get codes from "jstest /dev/input/js0"
# from package "joystick"
A_1=0
B_1=1
X_1=2
Y_1=3
L_1=6
R_1=7
START_1=4
SELECT_1=5
#Joystick axis
JA_LR=0
JA_UD=1
#player 2 button configuration
A_2=0
B_2=1
X_2=2
Y_2=3
L_2=6
R_2=7
START_2=4
SELECT_2=5
#Joystick axis
JA_LR_2=0
JA_UD_2=1
[Graphics]
DisplaySmoothStretch=1
# Display Effect: 0 none, 1 scanlines
DisplayEffect=0
DisplayBorder=0
MaintainAspectRatio=1
</code>
d'après
https://code.google.com/p/pifba/ :
Joystick SELECT+START now quits the frontend. Joystick SELECT now opens the menu and START will start a game.
2nd player controls now configurable for joystick and keyboard.
et c'est vrai ;-)
ensuite on modifie le fichier pimenu.cfg en noubliant pas de renommer les icones :
<code text>
[General]
#Exit the program on quit? 0 yes, 1 no
kioskmode=0
#icon_count must match number of commands here.
#There must also be corresponding ICON[012...].bmp files in pimenu directory
icon_count=6
icon_command_0=/home/pi/mame4all-pi/mame
icon_args_0=
icon_command_1=/home/pi/pifba/fbacapex
icon_args_1=
icon_command_2=/home/pi/pisnes/snes9x.gui
icon_args_2=
icon_command_3=/home/pi/gngeo-pi/bin/gngeo
icon_args_3=-i ../roms
icon_command_4=/usr/local/bin/advmenu
icon_args_4=
icon_command_5=/home/pi/pcsx_rearmed/pcsx
icon_args_5=
</code>
reste plus qu'à déposer le roms dans le répertoire "roms" de pifba. Le programme fbacapex fait le reste. Il est lancé à partir de pimenu.
Pour ton pb gngeo :
====== Installation gngeo ======
https://code.google.com/p/gngeo/celui ci fonctionne, mais il ya des soucis avec la configuration de de retour vers le menu à partir d'un gamepad.
http://blog.sheasilverman.com/2012/06/neo-geo-emulation-on-the-raspberry-pi/il faut alors modifier le code source :
How to exit GNGEO from gamepad - no keyboard
http://www.raspberrypi.org/phpBB3/viewtopic.php?t=42324&p=341248la version intégrée dans rétropie fonctionne mieux :
https://github.com/ymartel06/GnGeo-Pi/wiki/Controllers utiliser l'usb
Installation
<code bash>
$ git clone
https://github.com/ymartel06/GnGeo-Pi.git$ cd GnGeo-Pi/releases/binaries/
$ tar xzf gngeo-pi-0.85.tar.gz
$ cd gngeo-pi-0.85/
$ mv installdir/ gngeo-pi
$ mv gngeo-pi/ ~/
</code>
ensuite on crée le répertoire de configuration .gngeo à la racine de l'utilisateur pi
<code bash>
$ mkdir .gngeo
$ cd .gngeo
$ vim gngeorc
</code>
fichier de configuration gngeorc
<code text>
# GNGEO Sample resource file
# Path to dynamicly load opengl (only used for the opengl blitter)
#libglpath /usr/lib/arm-linux-gnueabihf/libGL.so
# Where your rom are?
rompath /home/pi/gngeo-pi/roms
# Where did you put yout neogeo.zip bios file?
biospath /home/pi/gngeo-pi/roms
# Where gngeo can find its datafile (font/skin/etc.)
datafile /home/pi/gngeo-pi/share/gngeo/gngeo_data.zip
# Play in fullscreen?
fullscreen true
# Which blitter? 'gngeo --blitter help' for a list
# soft
# opengl
# yuv
blitter soft
# Which effect? 'gngeo --effect help' for a list
# none
# scanline
# scanline50
# scale2x
# scale2x50
# scale2x75
# doublex
# sai
# supersai
# eagle
effect none
# Enable the raster interrupt?
raster false
# scale the output image
scale 1
# 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 true
# enable the 68k inline debuger? (disable the sound)
debug false
# Use hardware surface for the screen?
hwsurface false
# 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,<C3><A9>,',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..
#p1control A=J0B2,B=J0B1,C=J0B3,D=J0B0,START=J0B4,COIN=J0B5,UP=J0a1,DOWN=J0a1,LEFT=J0A0,RIGHT=J0A0,MENU=HOTKEY0
#p2control A=J1B2,B=J1B1,C=J1B3,D=J1B0,START=J1B4,COIN=J1B5,UP=J1a1,DOWN=J1a1,LEFT=J1A0,RIGHT=J1A0
p1control A=J0B2,B=J0B1,C=J0B3,D=J0B0,START=J0B4,UP=J0a1,DOWN=J0a1,LEFT=J0A0,RIGHT=J0A0,MENU=J0B5
p2control A=J1B2,B=J1B1,C=J1B3,D=J1B0,START=J1B4,COIN=J1B5,UP=J1a1,DOWN=J1a1,LEFT=J1A0,RIGHT=J1A0
</code>