Vanfanel
Posts: 433
Joined: Sat Aug 18, 2012 5:58 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Wed Jun 05, 2013 9:08 am

@Klapper123: Felix is not the author. DPR is the porter and optimizer here.

Stormatree
Posts: 3
Joined: Thu Jun 06, 2013 2:58 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Thu Jun 06, 2013 3:04 pm

I just downloaded DPR's latest version, and everything seems to work except my 360 controller. I have a feeling it's more to do with my Raspberry Pi not being able to interface with it for some reason, and not the emulator's fault.
Just for troubleshooting, would there be any reason that a 360 controller wouldn't work with the emulator?

User avatar
Aloshi
Posts: 359
Joined: Sat Jun 23, 2012 6:42 pm
Contact: Website

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Thu Jun 06, 2013 3:46 pm

Have you installed and set up a driver (e.g. xboxdrv)?

Stormatree
Posts: 3
Joined: Thu Jun 06, 2013 2:58 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Thu Jun 06, 2013 3:50 pm

Aloshi wrote:Have you installed and set up a driver (e.g. xboxdrv)?
Yeah I tried that, still no dice.
I need a way to test if the controller works outside the emulator or not.

BrianXP7
Posts: 21
Joined: Sat Mar 30, 2013 6:35 am

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Thu Jun 06, 2013 4:03 pm

Is the binary and source here different from the one on RetroPie?

User avatar
Aloshi
Posts: 359
Joined: Sat Jun 23, 2012 6:42 pm
Contact: Website

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Thu Jun 06, 2013 7:02 pm

@Stormatree - if you run xboxdrv without the "--silent" argument, it'll print inputs as they come (and you might want to make sure you don't end the command with "&" or you probably won't be able to turn it off).

@BrianXP7 - it should pull directly from DPR's repository on GitHub.

BrianXP7
Posts: 21
Joined: Sat Mar 30, 2013 6:35 am

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Fri Jun 07, 2013 6:26 am

Aloshi wrote:@Stormatree - if you run xboxdrv without the "--silent" argument, it'll print inputs as they come (and you might want to make sure you don't end the command with "&" or you probably won't be able to turn it off).

@BrianXP7 - it should pull directly from DPR's repository on GitHub.
That's strange. The binary here works but the one from RetroPie doesn't. I used the binary installation from RetroPie and I got this when I tried launching it under the terminal:

Code: Select all

[email protected] ~ $ cd /home/brianxp7/RetroPie/emulators/gpsp/raspberrypi
[email protected] ~/RetroPie/emulators/gpsp/raspberrypi $ ./gpsp
./gpsp: error while loading shared libraries: libEGL.so.1: cannot open shared object file: No such file or directory
I'm pretty sure I had libgl1-mesa-dev installed without any problems. So, I replaced the broken binary with the one here but it won't launch from Emulation Station. (It only shows that SDL window for less than a second.) I tried rebuilding the binary from source using the RetroPie setup script the same applies to the binary from here. At least they both work stand alone.

Here's the debug log from RetroPie, just in case:

Code: Select all

RetroArch files:
-rwxr-xr-x 1 root staff 1.8M Jun  7 00:13 /usr/local/bin/retroarch
-rwxr-xr-x 1 root staff 1.9K Jun  7 00:13 /usr/local/bin/retroarch-zip
-rw-r--r-- 1 brianxp7 brianxp7 16K Jun  7 00:13 /home/brianxp7/RetroPie/configs/all/retroarch.cfg

Active lines in /home/brianxp7/RetroPie/configs/all/retroarch.cfg:
system_directory = /home/brianxp7/RetroPie/emulatorcores/
video_smooth = false
video_aspect_ratio = 1.33
audio_out_rate = 48000
audio_driver = alsathread
input_player1_a = x
input_player1_b = z
input_player1_y = a
input_player1_x = s
input_player1_start = enter
input_player1_select = rshift
input_player1_l = q
input_player1_r = w
input_player1_left = left
input_player1_right = right
input_player1_up = up
input_player1_down = down
input_exit_emulator = escape
input_rewind = r
rewind_enable = true
rewind_buffer_size = 10
rewind_granularity = 2

Emulation Station files:
-rwxr-xr-x 1 brianxp7 brianxp7 4.3M Jun  7 00:13 /home/brianxp7/RetroPie/supplementary/EmulationStation/emulationstation
-rw-r--r-- 1 brianxp7 brianxp7 7.7K Jun  7 00:13 /home/brianxp7/RetroPie/../.emulationstation/es_systems.cfg
-rw-r--r-- 1 brianxp7 brianxp7 633 Jun  5 15:00 /home/brianxp7/RetroPie/../.emulationstation/es_input.cfg

Content of es_systems.cfg:
DESCNAME=Apple ][
NAME=apple2
PATH=/home/brianxp7/RetroPie/roms/apple2
EXTENSION=.txt
COMMAND=/home/brianxp7/RetroPie/emulators/linapple-src_2a/Start.sh

DESCNAME=Atari 2600
NAME=atari2600
PATH=/home/brianxp7/RetroPie/roms/atari2600
EXTENSION=.a26 .A26 .bin .BIN .rom .ROM .zip .ZIP .gz .GZ
COMMAND=/home/brianxp7/RetroPie/supplementary/runcommand/runcommand.sh 1 "retroarch -L /home/brianxp7/RetroPie/emulatorcores/stella-libretro/stella_libretro.so --config /home/brianxp7/RetroPie/configs/all/retroarch.cfg --appendconfig /home/brianxp7/RetroPie/configs/atari2600/retroarch.cfg %ROM%"
PLATFORMID=22

DESCNAME=Basilisk II
NAME=basiliskii
PATH=/home/brianxp7/RetroPie/roms/basiliskii
EXTENSION=.txt
COMMAND=sudo modprobe snd_pcm_oss && xinit /home/brianxp7/RetroPie/emulators/basiliskii/installdir/bin/BasiliskII
# Or possibly just COMMAND=xinit /home/brianxp7/RetroPie/emulators/basiliskii/installdir/bin/BasiliskII

DESCNAME=Cave Story
NAME=cavestory
PATH=/home/brianxp7/RetroPie/roms/cavestory
EXTENSION=.txt
COMMAND=/home/brianxp7/RetroPie/supplementary/runcommand/runcommand.sh 1 "retroarch -L /home/brianxp7/RetroPie/emulatorcores/nxengine-libretro/nxengine_libretro.so --config /home/brianxp7/RetroPie/configs/all/retroarch.cfg --appendconfig /home/brianxp7/RetroPie/configs/cavestory/retroarch.cfg /home/brianxp7/RetroPie/emulatorcores/nxengine-libretro/datafiles/Doukutsu.exe"

DESCNAME=C64
NAME=c64
PATH=/home/brianxp7/RetroPie/roms/c64
EXTENSION=.crt .CRT .d64 .D64 .g64 .G64 .t64 .T64 .tap .TAP .x64 .X64 .zip .ZIP
COMMAND=/home/brianxp7/RetroPie/emulators/vice-2.3.dfsg/installdir/bin/x64 %ROM%
PLATFORMID=40

DESCNAME=Doom
NAME=doom
PATH=/home/brianxp7/RetroPie/roms/doom
EXTENSION=.WAD .wad
COMMAND=/home/brianxp7/RetroPie/supplementary/runcommand/runcommand.sh 1 "retroarch -L /home/brianxp7/RetroPie/emulatorcores/libretro-prboom/prboom_libretro.so --config /home/brianxp7/RetroPie/configs/all/retroarch.cfg --appendconfig /home/brianxp7/RetroPie/configs/doom/retroarch.cfg %ROM%"
PLATFORMID=1

DESCNAME=Duke Nukem 3D
NAME=duke3d
PATH=/home/brianxp7/RetroPie/roms/duke3d
EXTENSION=.grp .GRP
COMMAND=eduke32 -g %ROM% -gamegrp %ROM%
PLATFORMID=1

DESCNAME=Game Boy
NAME=gb
PATH=/home/brianxp7/RetroPie/roms/gb
EXTENSION=.gb .GB
COMMAND=/home/brianxp7/RetroPie/supplementary/runcommand/runcommand.sh 1 "retroarch -L /home/brianxp7/RetroPie/emulatorcores/gambatte-libretro/libgambatte/gambatte_libretro.so --config /home/brianxp7/RetroPie/configs/all/retroarch.cfg --appendconfig /home/brianxp7/RetroPie/configs/gb/retroarch.cfg %ROM%"
PLATFORMID=4

DESCNAME=Game Boy Advance
NAME=gba
PATH=/home/brianxp7/RetroPie/roms/gba
EXTENSION=.gba .GBA
COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/brianxp7/RetroPie/emulators/gpsp/raspberrypi/gpsp %ROM%"
PLATFORMID=5

DESCNAME=Game Boy Color
NAME=gbc
PATH=/home/brianxp7/RetroPie/roms/gbc
EXTENSION=.gbc .GBC
COMMAND=/home/brianxp7/RetroPie/supplementary/runcommand/runcommand.sh 1 "retroarch -L /home/brianxp7/RetroPie/emulatorcores/gambatte-libretro/libgambatte/gambatte_libretro.so --config /home/brianxp7/RetroPie/configs/all/retroarch.cfg --appendconfig /home/brianxp7/RetroPie/configs/gbc/retroarch.cfg %ROM%"
PLATFORMID=41

DESCNAME=Sega Game Gear
NAME=gamegear
PATH=/home/brianxp7/RetroPie/roms/gamegear
EXTENSION=.gg .GG
COMMAND=/home/brianxp7/RetroPie/emulators/osmose-0.8.1+rpi20121122/osmose %ROM% -joy -tv -fs
PLATFORMID=20

DESCNAME=Intellivision
NAME=intellivision
PATH=/home/brianxp7/RetroPie/roms/intellivision
EXTENSION=.int .INT .bin .BIN
COMMAND=/home/brianxp7/RetroPie/emulators/jzintv-1.0-beta4/bin/jzintv -z1 -f1 -q %ROM%
PLATFORMID=32

DESCNAME=MAME
NAME=mame
PATH=/home/brianxp7/RetroPie/roms/mame
EXTENSION=.zip .ZIP
COMMAND=retroarch -L /home/brianxp7/RetroPie/emulatorcores/imame4all-libretro/libretro.so --config /home/brianxp7/RetroPie/configs/all/retroarch.cfg --appendconfig /home/brianxp7/RetroPie/configs/mame/retroarch.cfg %ROM% 
PLATFORMID=23

DESCNAME=FinalBurn Alpha
NAME=fba
PATH=/home/brianxp7/RetroPie/roms/fba
EXTENSION=.zip .ZIP
COMMAND=/home/brianxp7/RetroPie/supplementary/runcommand/runcommand.sh 1 "retroarch -L /home/brianxp7/RetroPie/emulatorcores/fba-libretro/fb_alpha_libretro.so --config /home/brianxp7/RetroPie/configs/all/retroarch.cfg --appendconfig /home/brianxp7/RetroPie/configs/fba/retroarch.cfg %ROM%"
PLATFORMID=23

DESCNAME=PC (x86)
NAME=x86
PATH=/home/brianxp7/RetroPie/roms/x86
EXTENSION=.txt
COMMAND=/home/brianxp7/RetroPie/emulators/rpix86/Start.sh
PLATFORMID=1

DESCNAME=ScummVM
NAME=scummvm
PATH=/home/brianxp7/RetroPie/roms/scummvm
EXTENSION=.exe .EXE
COMMAND=scummvm
PLATFORMID=20

DESCNAME=Sega Master System II
NAME=mastersystem
PATH=/home/brianxp7/RetroPie/roms/mastersystem
EXTENSION=.sms .SMS
COMMAND=/home/brianxp7/RetroPie/emulators/osmose-0.8.1+rpi20121122/osmose %ROM% -joy -tv -fs
PLATFORMID=35

DESCNAME=Sega Mega Drive / Genesis
NAME=megadrive
PATH=/home/brianxp7/RetroPie/roms/megadrive
EXTENSION=.smd .SMD .md .MD .bin .BIN .zip .ZIP .gz .GZ .bz2 .BZ2
COMMAND=/home/brianxp7/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/brianxp7/RetroPie/emulators/dgen-sdl/dgen -f -r /home/brianxp7/RetroPie/configs/all/dgenrc %ROM%"
# alternatively: COMMAND=export LD_LIBRARY_PATH="/home/brianxp7/RetroPie/supplementary/dispmanx/SDL12-kms-dispmanx/build/.libs"; /home/brianxp7/RetroPie/emulators/dgen-sdl/dgen %ROM%
PLATFORMID=18

DESCNAME=NeoGeo
NAME=neogeo
PATH=/home/brianxp7/RetroPie/roms/neogeo
EXTENSION=.zip .ZIP
COMMAND=/home/brianxp7/RetroPie/emulators/gngeo-0.7/installdir/bin/gngeo -i /home/brianxp7/RetroPie/roms/neogeo -B /home/brianxp7/RetroPie/emulators/gngeo-0.7/neogeo-bios %ROM%
PLATFORMID=24

DESCNAME=Nintendo Entertainment System
NAME=nes
PATH=/home/brianxp7/RetroPie/roms/nes
EXTENSION=.nes .NES
COMMAND=/home/brianxp7/RetroPie/supplementary/runcommand/runcommand.sh 1 "retroarch -L /home/brianxp7/RetroPie/emulatorcores/fceu-next/fceumm-code/fceumm_libretro.so --config /home/brianxp7/RetroPie/configs/all/retroarch.cfg --appendconfig /home/brianxp7/RetroPie/configs/nes/retroarch.cfg %ROM%"
PLATFORMID=7

DESCNAME=PC Engine/TurboGrafx 16
NAME=pcengine
PATH=/home/brianxp7/RetroPie/roms/pcengine
EXTENSION=.pce
COMMAND=/home/brianxp7/RetroPie/supplementary/runcommand/runcommand.sh 1 "retroarch -L /home/brianxp7/RetroPie/emulatorcores/mednafen-pce-libretro/libretro.so --config /home/brianxp7/RetroPie/configs/all/retroarch.cfg --appendconfig /home/brianxp7/RetroPie/configs/pcengine/retroarch.cfg %ROM%"
PLATFORMID=34

DESCNAME=Sony Playstation 1
NAME=psx
PATH=/home/brianxp7/RetroPie/roms/psx
EXTENSION=.img .IMG .7z .7Z .pbp .PBP .bin .BIN
COMMAND=/home/brianxp7/RetroPie/supplementary/runcommand/runcommand.sh 1 "retroarch -L /home/brianxp7/RetroPie/emulatorcores/pcsx_rearmed/libretro.so --config /home/brianxp7/RetroPie/configs/all/retroarch.cfg --appendconfig /home/brianxp7/RetroPie/configs/psx/retroarch.cfg %ROM%"
PLATFORMID=10

DESCNAME=Playstation Portable
NAME=psp
PATH=/home/brianxp7/RetroPie/roms/psp
EXTENSION=.iso .ISO .cso .CSO
COMMAND=/home/brianxp7/RetroPie/emulators/ppsspp/PPSSPPSDL %ROM% en
PLATFORMID=13

DESCNAME=Super Nintendo
NAME=snes
PATH=/home/brianxp7/RetroPie/roms/snes
EXTENSION=.smc .sfc .fig .swc .SMC .SFC .FIG .SWC
COMMAND=/home/brianxp7/RetroPie/supplementary/runcommand/runcommand.sh 1 "retroarch -L /home/brianxp7/RetroPie/emulatorcores/pocketsnes-libretro/libretro.so --config /home/brianxp7/RetroPie/configs/all/retroarch.cfg --appendconfig /home/brianxp7/RetroPie/configs/snes/retroarch.cfg %ROM%"
# alternatively: COMMAND=/home/brianxp7/RetroPie/emulators/snes9x-rpi/snes9x %ROM%
# alternatively: COMMAND=/home/brianxp7/RetroPie/emulators/pisnes/snes9x %ROM%
PLATFORMID=6

DESCNAME=ZX Spectrum
NAME=zxspectrum
PATH=/home/brianxp7/RetroPie/roms/zxspectrum
EXTENSION=.z80 .Z80
COMMAND=xinit fuse


Content of es_input.cfg:
<?xml version="1.0"?>
<inputList>
	<inputConfig type="keyboard">
		<input name="a" type="key" id="120" value="1" />
		<input name="b" type="key" id="122" value="1" />
		<input name="down" type="key" id="274" value="1" />
		<input name="left" type="key" id="276" value="1" />
		<input name="menu" type="key" id="13" value="1" />
		<input name="pagedown" type="key" id="281" value="1" />
		<input name="pageup" type="key" id="280" value="1" />
		<input name="right" type="key" id="275" value="1" />
		<input name="select" type="key" id="97" value="1" />
		<input name="up" type="key" id="273" value="1" />
	</inputConfig>
</inputList>

Emulators and cores:
-rwxr-xr-x 1 brianxp7 brianxp7 812K Jun  7 00:12 /home/brianxp7/RetroPie/emulatorcores/fceu-next/fceumm-code/fceumm_libretro.so
-rwxr-xr-x 1 brianxp7 brianxp7 805K Jun  7 00:12 /home/brianxp7/RetroPie/emulatorcores/libretro-prboom/prboom_libretro.so
-rw-r--r-- 1 brianxp7 brianxp7 310K Jun  7 00:12 /home/brianxp7/RetroPie/emulatorcores/libretro-prboom/prboom.wad
-rwxr-xr-x 1 brianxp7 brianxp7 1.5M Jun  7 00:12 /home/brianxp7/RetroPie/emulatorcores/stella-libretro/stella_libretro.so
-rwxr-xr-x 1 brianxp7 brianxp7 949K Jun  7 00:12 /home/brianxp7/RetroPie/emulatorcores/nxengine-libretro/nxengine_libretro.so
-rwxr-xr-x 1 brianxp7 brianxp7 312K Jun  7 00:12 /home/brianxp7/RetroPie/emulatorcores/gambatte-libretro/libgambatte/gambatte_libretro.so
-rwxr-xr-x 1 brianxp7 brianxp7 3.1M Jun  7 00:12 /home/brianxp7/RetroPie/emulatorcores/Genesis-Plus-GX/genesis_plus_gx_libretro.so
-rwxr-xr-x 1 brianxp7 brianxp7 20M Jun  7 00:12 /home/brianxp7/RetroPie/emulatorcores/fba-libretro/fb_alpha_libretro.so
-rwxr-xr-x 1 brianxp7 brianxp7 2.3M Jun  7 00:12 /home/brianxp7/RetroPie/emulatorcores/pcsx_rearmed/libretro.so
-rwxr-xr-x 1 brianxp7 brianxp7 3.6M Jun  7 00:12 /home/brianxp7/RetroPie/emulatorcores/mednafen-pce-libretro/libretro.so
-rwxr-xr-x 1 brianxp7 brianxp7 970K Jun  7 00:12 /home/brianxp7/RetroPie/emulatorcores/pocketsnes-libretro/libretro.so
 does NOT exist.
/home/brianxp7/RetroPie/emulatorcors/uae4all/uae4all does NOT exist.

SNESDev:
-rwxr-xr-x 1 brianxp7 brianxp7 37K Jun  7 00:13 /home/brianxp7/RetroPie/supplementary/SNESDev-Rpi/bin/SNESDev

Summary of ROMS directory:
4.0K	/home/brianxp7/RetroPie/roms/cavestory
4.0K	/home/brianxp7/RetroPie/roms/gbc
4.0K	/home/brianxp7/RetroPie/roms/gamegear
4.0K	/home/brianxp7/RetroPie/roms/mame
4.0K	/home/brianxp7/RetroPie/roms/c64
4.0K	/home/brianxp7/RetroPie/roms/amiga
518M	/home/brianxp7/RetroPie/roms/gba
4.0K	/home/brianxp7/RetroPie/roms/apple2
4.0K	/home/brianxp7/RetroPie/roms/mastersystem
4.0K	/home/brianxp7/RetroPie/roms/nes
468K	/home/brianxp7/RetroPie/roms/zmachine
316K	/home/brianxp7/RetroPie/roms/doom
4.0K	/home/brianxp7/RetroPie/roms/psp
4.0K	/home/brianxp7/RetroPie/roms/fba
4.0K	/home/brianxp7/RetroPie/roms/scummvm
4.0K	/home/brianxp7/RetroPie/roms/zxspectrum
4.0K	/home/brianxp7/RetroPie/roms/megadrive
4.0K	/home/brianxp7/RetroPie/roms/intellivision
4.0K	/home/brianxp7/RetroPie/roms/neogeo
4.0K	/home/brianxp7/RetroPie/roms/x86
4.0K	/home/brianxp7/RetroPie/roms/basiliskii
4.0K	/home/brianxp7/RetroPie/roms/psx
4.0K	/home/brianxp7/RetroPie/roms/snes
4.0K	/home/brianxp7/RetroPie/roms/atari2600
11M	/home/brianxp7/RetroPie/roms/duke3d
4.0K	/home/brianxp7/RetroPie/roms/pcengine
4.0K	/home/brianxp7/RetroPie/roms/gb
529M	/home/brianxp7/RetroPie/roms/
529M	total

Unrecognized ROM extensions:
/home/brianxp7/RetroPie/roms/gba/MegaMan Battle Network 6 Cybeast Gregar.sav
/home/brianxp7/RetroPie/roms/gba/MegaMan Battle Network.sav
/home/brianxp7/RetroPie/roms/gba/Super Mario Advance 2 - Super Mario World.sav
/home/brianxp7/RetroPie/roms/gba/Sonic Advance 2.sav
/home/brianxp7/RetroPie/roms/gba/Metroid Fusion.sav
/home/brianxp7/RetroPie/roms/gba/MegaMan Zero 3.sav
/home/brianxp7/RetroPie/roms/gba/Kirby & the Amazing Mirror.sav
/home/brianxp7/RetroPie/roms/gba/Pokemon FireRed.sav
/home/brianxp7/RetroPie/roms/gba/Metroid Zero Mission.sav
/home/brianxp7/RetroPie/roms/gba/MegaMan Zero.sav
/home/brianxp7/RetroPie/roms/gba/Final Fantasy Tactics Advance.sav
/home/brianxp7/RetroPie/roms/gba/Super Mario Advance 3 - Yoshi's Island.sav
/home/brianxp7/RetroPie/roms/gba/Mother 1+2.sav
/home/brianxp7/RetroPie/roms/gba/MegaMan Zero 4.sav
/home/brianxp7/RetroPie/roms/gba/Pokemon Emerald.sav
/home/brianxp7/RetroPie/roms/gba/The Legend of Zelda - The Minish Cap.sav
/home/brianxp7/RetroPie/roms/gba/Fire Emblem.sav
/home/brianxp7/RetroPie/roms/gba/MegaMan Zero 2.sav
/home/brianxp7/RetroPie/roms/gba/WarioWare, Inc. - Mega Microgames!.sav
/home/brianxp7/RetroPie/roms/gba/Sonic Advance.sav
/home/brianxp7/RetroPie/roms/gba/Super Mario Advance 4 - Super Mario Bros. 3.sav
/home/brianxp7/RetroPie/roms/gba/MegaMan & Bass.sav
/home/brianxp7/RetroPie/roms/gba/Sonic Advance 3.sav
/home/brianxp7/RetroPie/roms/gba/gba_bios.bin
/home/brianxp7/RetroPie/roms/gba/Mother 3.sav

Check for needed APT packages:
Checking for somelib: install ok installed
installed: libsdl1.2-dev
Checking for somelib: install ok installed
installed: screen
Checking for somelib: install ok installed
installed: scons
Checking for somelib: install ok installed
installed: libasound2-dev
Checking for somelib: install ok installed
installed: pkg-config
Checking for somelib: install ok installed
installed: libgtk2.0-dev
Checking for somelib: install ok installed
installed: libboost-filesystem-dev
Checking for somelib: install ok installed
installed: libboost-system-dev
Checking for somelib: install ok installed
installed: zip
Checking for somelib: install ok installed
installed: libxml2
Checking for somelib: install ok installed
installed: libxml2-dev
Checking for somelib: install ok installed
installed: libbz2-dev
Checking for somelib: install ok installed
installed: python-imaging
Checking for somelib: install ok installed
installed: libfreeimage-dev
Checking for somelib: install ok installed
installed: libfreetype6-dev
Checking for somelib: install ok installed
installed: libaudiofile-dev
Checking for somelib: install ok installed
installed: libsdl-sound1.2-dev
Checking for somelib: install ok installed
installed: libsdl-mixer1.2-dev

End of log file

BrianXP7
Posts: 21
Joined: Sat Mar 30, 2013 6:35 am

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Fri Jun 07, 2013 7:59 am

I finally found the solution. The runcommand.sh script isn't found because es_systems.cfg led it to the wrong directory. I created a separate user other than the default "pi" (it's "brianxp7") but the configuration file for GBA didn't know that. Here's what I mean.

It was orignally this:

Code: Select all

DESCNAME=Game Boy Advance
NAME=gba
PATH=/home/brianxp7/RetroPie/roms/gba
EXTENSION=.gba .GBA
COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/brianxp7/RetroPie/emulators/gpsp/raspberrypi/gpsp %ROM%"
PLATFORMID=5
I just had to do this:

Code: Select all

DESCNAME=Game Boy Advance
NAME=gba
PATH=/home/brianxp7/RetroPie/roms/gba
EXTENSION=.gba .GBA
COMMAND=/home/brianxp7/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/brianxp7/RetroPie/emulators/gpsp/raspberrypi/gpsp %ROM%"
PLATFORMID=5
It's the only line that used the "pi" user instead of the current user installing RetroPie. This only applies to the binary installation. The source has been fixed. See this commit: https://github.com/petrockblog/RetroPie ... 91c59d28cb

milkmandan
Posts: 9
Joined: Thu Jun 06, 2013 12:07 am

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Mon Jun 10, 2013 11:18 am

I have a similar problem with running gpsp.
Launching gpsp under terminal gives me the following error message:

Code: Select all

./gpsp: error while loading shared libraries: libGLESv2.so.2: cannot open shared object file: No such file or directory
I am on a fresh image from the recent RetroPie 1.6 beta img file.

Any ideas as to what could be wrong?

I have the 'gba_bios.bin' copied in the gba roms directory and /home/pi/RetroPie/emulators/gpsp/raspberrypi/

and my es_systems.cfg displays the following for GBA

Code: Select all

DESCNAME=Game Boy Advance
NAME=gba
PATH=/home/pi/RetroPie/roms/gba
EXTENSION=.gba .GBA
COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/gpsp/raspberrypi/gpsp %ROM%"
PLATFORMID=5
The paths are all correct. :\

User avatar
Cia91
Posts: 89
Joined: Tue Jan 29, 2013 3:01 pm
Location: Pavia (italy)

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Mon Jul 08, 2013 5:29 pm

Hi all!

I'm running pokemon on my raspberry, but when i launch a game i get only a white screen.

Is a configuration problem or what else?
Download GamePi OS: www.raspberrygaming.tk

matty_g_8
Posts: 20
Joined: Wed Jul 24, 2013 9:48 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Mon Aug 05, 2013 12:06 am

Cia91 wrote:Hi all!

I'm running pokemon on my raspberry, but when i launch a game i get only a white screen.

Is a configuration problem or what else?
Im having the same problem...did u figure it out?

burkey0307
Posts: 1
Joined: Fri Jul 05, 2013 7:32 am

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Fri Aug 09, 2013 5:40 pm

milkmandan wrote:I have a similar problem with running gpsp.
Launching gpsp under terminal gives me the following error message:

Code: Select all

./gpsp: error while loading shared libraries: libGLESv2.so.2: cannot open shared object file: No such file or directory
I am on a fresh image from the recent RetroPie 1.6 beta img file.

Any ideas as to what could be wrong?

I have the 'gba_bios.bin' copied in the gba roms directory and /home/pi/RetroPie/emulators/gpsp/raspberrypi/

and my es_systems.cfg displays the following for GBA

Code: Select all

DESCNAME=Game Boy Advance
NAME=gba
PATH=/home/pi/RetroPie/roms/gba
EXTENSION=.gba .GBA
COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/gpsp/raspberrypi/gpsp %ROM%"
PLATFORMID=5
The paths are all correct. :\
I'm having the same problem. It appears that there is no file named gpsp in that directory, nor is there one in any of the other directories.

edit: Solved it. I renamed the gpsp directory to gpsp_old, and then did a source-based installation of gpsp again. The gpsp file appeared in the proper directory, and it runs fine now.

matty_g_8
Posts: 20
Joined: Wed Jul 24, 2013 9:48 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Tue Sep 03, 2013 10:18 am

im currently using 2 snes controllers. I modified the keys to suit the controllers, the only problem is it will only use player 2's controller?

any idea how to fix

welshy
Posts: 1667
Joined: Mon Oct 29, 2012 2:07 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Tue Sep 03, 2013 11:29 am

matty_g_8
For an explanation on 2 player control See Here - http://www.raspberrypi.org/phpBB3/viewt ... 78&t=54560
"The list of things I have heard now contains everything!"

matty_g_8
Posts: 20
Joined: Wed Jul 24, 2013 9:48 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Tue Sep 03, 2013 11:47 am

welshy wrote:matty_g_8
For an explanation on 2 player control See Here - http://www.raspberrypi.org/phpBB3/viewt ... 78&t=54560
hi welshy I checked it out but its not what im after...Gpsp controls will only work when I have the controller plugged into snes port for player 2...where all other emulators see player 1 as 1 and 2 as 2

welshy
Posts: 1667
Joined: Mon Oct 29, 2012 2:07 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Tue Sep 03, 2013 12:07 pm

matty_g_8
Ok, perhaps you need to change the GpSP config script to change the controller as its defaulting to port 2?
"The list of things I have heard now contains everything!"

matty_g_8
Posts: 20
Joined: Wed Jul 24, 2013 9:48 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Tue Sep 03, 2013 1:08 pm

welshy wrote:matty_g_8
Ok, perhaps you need to change the GpSP config script to change the controller as its defaulting to port 2?
yeh just not sure how to go bout it

User avatar
chibcha8
Posts: 12
Joined: Mon Aug 12, 2013 3:00 am

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Thu Sep 05, 2013 4:54 am

This may or may not be the right place for this question, but i cant change my controls on gpSP for anything. I open the menu and go to configure gamepad (i dont remember exactly what it says, but something along those lines), and it doesnt give me any options, just "back"
-- "They don't think it be like it is, but it do." -Oscar Gamble --

DPR
Posts: 21
Joined: Mon Mar 18, 2013 12:45 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Thu Sep 05, 2013 6:20 am

> chibcha8
It seems you haven't got last version of gpsp.
Try some of this
Source code: https://github.com/DPRCZ/gpsp
Binary: https://www.dropbox.com/s/2x9tz60v06h15u9/gpsp.tar.gz

User avatar
chibcha8
Posts: 12
Joined: Mon Aug 12, 2013 3:00 am

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Thu Sep 05, 2013 10:43 pm

So, i see that i have to change the code at line 560 to remap my controls, but how to i "say" that i want the input to come from my gamepad, instead of the keyboard?
-- "They don't think it be like it is, but it do." -Oscar Gamble --

DPR
Posts: 21
Joined: Mon Mar 18, 2013 12:45 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Fri Sep 06, 2013 6:58 am

No, this version supporting configuration of control via GUI. So you don't have to change anything. If you want to compile yourself:
1. download the git repository
2. go to directory /gpsp/raspberrypi/
3. run make.

User avatar
chibcha8
Posts: 12
Joined: Mon Aug 12, 2013 3:00 am

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Fri Sep 06, 2013 11:35 am

I dont have that file, can i download it somewhere?
-- "They don't think it be like it is, but it do." -Oscar Gamble --

welshy
Posts: 1667
Joined: Mon Oct 29, 2012 2:07 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Fri Sep 06, 2013 12:14 pm

chibcha8
DPR has put the Link above
Source Code: https://github.com/DPRCZ/gpsp
At the Right is a Cloud Symbol that says 'Download ZIP', just Click on it.
"The list of things I have heard now contains everything!"

User avatar
chibcha8
Posts: 12
Joined: Mon Aug 12, 2013 3:00 am

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Sat Sep 07, 2013 12:54 am

So do i click "make" or "makefile"?

(Sorry, im pretty new to this)
-- "They don't think it be like it is, but it do." -Oscar Gamble --

welshy
Posts: 1667
Joined: Mon Oct 29, 2012 2:07 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Sat Sep 07, 2013 6:21 am

chibcha8
Turn you RPi on and from Console Type startx to open X Windows
Download the ZIP file, open the File Manager and put it in the /home/pi Directory and extract it (uncompress) by right clicking on your mouse and select ‘extract here’.
Now you are going to need certain Dependencies to build it, SDL and Zlib
Open a Terminal
Type - sudo apt-get install libsdl1.2-dev zlib1g-dev
Once completed
CD (Change Directory) into the folder raspberrypi where the makefile is
Type - cd gpsp-master/raspberrypi
Then Type - make
It will take a approximately 45 minutes to compile the Source Code (depending on your 'Overclock' setting).
Congratulations! You have now compiled and built the emulator!
Put your GBA Bios in the folder along with any ROMS you have
Now to run the emulator (it’s the executable a little ‘Cog’ symbol)
Type - ./gpsp

The keys.txt file explains the Controls (open with leafpad)
"The list of things I have heard now contains everything!"

Return to “Gaming”