Often times people seem to have issues getting the GameBoy Adavnce emulator GPSP to work on RetroPie. These are the following steps that I did to get it to work for me. If you didn’t see my post about setting up RetroPie then click here to check that out!
From that post I say that often times when RetroPie is installed it doesn’t seem to load everything it needs for the GPSP emulator. The first thing you’d want to do is perform a RetroPie Binary Update. To do that type the following in the terminal:
|pi@raspberrypi ~ $ cd RetroPie-Setup /p
pi@raspberrypi ~/RetroPie-Setup $ sudo ./retropie_setup.sh
Next, I selected Option 5: UPDATE RetroPie Binaries. Hang on! Sometimes this take a while but it is necessary to get things to work and keep everything up to date. Once that was done I rebooted the system.
|pi@raspberrypi ~ $ sudo reboot|
For the GameBoy Advance tab to load in EmulationStation, make sure you have at least one game rom loaded in the GBA directory located at
GameBoy Advance also needs a bios file in order for the games to work. From a previous post I put “gba_bios.bin” in the following directory.
For information about loading roms or the BIOS file check this post.
Once the RaspberryPi is rebooted the GBA bios file has to be moved to the correct directory which is:
If you followed my last post then type in the following to copy the file over. If you have the file elsewhere just cd into that directory and then the second line will be the same.
|pi@raspberrypi ~ $ cd /home/pi/RetroPie/BIOS
pi@raspberrypi ~ $ sudo cp gba_bios.bin /opt/retropie/emulators/gpsp/raspberrypi
Now that a game rom is in the gba directory and a copy of the gba_bios.bin bios file is in the correct location I went into EmulationStation with
|pi@raspberrypi ~ $ cd
pi@raspberrypi ~ $ vncserver -kill :0
pi@raspberrypi ~ $ emulationstation
The first line is to kill a VNC session that I have at bootup. (Check here to install TightVNCServer, and here to set it to load at boot up if you’re interested.)
Load a GBA game and the game should play! If you are using a controller you might find out that it isn’t working. This emulator does not use the RetroArch configuration file. By default only a keyboard is set up so you will need to plug one in if you don’t already have one.
Load the emulator menu with F10 and go to the option to configure a controller. You will have to use a mix of the controller and keyboard to get all the buttons set up but once you do you can unplug the keyboard.
One thing to note is all the hotkeys that you may have set up will not work. All the options though are in the GPSP Menu system so it will just be one added step.
The input file for the controller and keyboard are located at:
That’s it! Now you can enjoy all your GBA games on your RaspberyPi.
Check out these other helpful links:
Mapping Controllers (1 of 3): For EmulationStation
Mapping Controllers (2 of 3): Mapping Controllers to a File
Mapping Controllers (3 of 3): Setting up Controllers in RetroArch
Auto detecting controllers in EmulationStation 2.0+
RetroPie: Adding game roms, BIOS files, and enabling save states
Setting up GameBoy Advance for RetroPie
Adding a XBMC tab in EmulationStation
Adding an Apps tab in EmulationStation
Setting up Playstation for RetroPie
Creating power logs for EmulationStation (1 of 2)
Creating power logs for EmulationStation (2 of 2)