After looking around on the net it looked like RetroArch was the best way to run old emulator games, specifically ToadKing’s port for the Pi over at github. Unfortunately there didn’t seem to be any packages available so the only option to install it was to compile it yourself. I decided to set out and build some package. At the moment I’ve only packaged retroarch-rpi, libretro-fceu and retroarch-phoenix. I’ll be adding the other libs as I get a chance.
I built everything using qemu-user as per my previous past. I didn’t create the packages from scratch, I based my packages off the ones that Filthy Pants made for Ubuntu. I’ve made my sources available on github.
I’m using Raspbian provided on the main Raspberry Pi site dated 2012-08-16. I’ve made the packages available, first you need to add the following to /etc/apt/sources.list.d/changeover.list:
deb http://archive.changeover.za.net/raspbian wheezy main
Then you’ll need to import my key:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 2747C7CF
I recommend making sure everything is up-to-date:
sudo apt-get update; sudo apt-get dist-upgrade
Then install the packages (take note, the only libs I’ve packaged so far are the NES ones):
sudo apt-get install libretro-fceu retroarch retroarch-phoenix
I included RetroArch-Phoenix to launch your game, however I wouldn’t recommend using it as it incorrectly sets the video driver. I have made up a config that works for me. Put the contents into a file in your home directory called ~/.config/retroarch/retroarch.cfg:
video_driver = "rpi" audio_driver = "alsa" input_player1_a = "x" input_player1_b = "z" input_player1_start = "enter" input_player1_select = "rshift" input_player1_left = "left" input_player1_right = "right" input_player1_up = "up" libretro_path = "/usr/lib/libretro-fceu.so"
Then launch RetroArch like this:
retroarch <filename.nes> -c ~/.config/retroarch/retroarch.cfg -v
If the game doesn’t launch, try making sure you’re using a CPU/GPU split of 128MB/128MB.
If you don’t have sound, make sure that the snd_bcm2835 module is loaded, follow the steps over at eLinux
EDIT 2012-09-04: Updated to not use rpi-update because Raspbian now packages the firmware.