Mupen64plus

THESE INSTRUCTIONS ARE OUT DATED... PLEASE SEE THE FORUMS http://talk.maemo.org/showthread.php?t=57647

Installation instructions

Source and Binaries: [1]

  1. Download both the binaries and source files from above.
  2. Extract both to mupen64plus folder in /home/user directory. (Tip: Get the 7zip package and use 7z x <filename>)
  3. Move into mupen64plus folder.
  4. Run executable with ./mupen64plus
  5. If you get an error here,
    chmod +x mupen64plus
    and then try again.
  6. On first run this will create config files at /home/user/.mupen64plus (if you are logged in to root, it will place this in /root/ directory, which is a no-no)
  7. Move there and edit mupen64plus.conf (I would suggest using leafpad). This is where you define plugins to use. GFX should be gles2n64.so, audio should be dummyaudio.so (I have yet to find a game that can handle actual audio, but if you want to try it use jttl_audio.so), input should be mupen64_input.so (Or blight_input.so with some tweaking below). Finally, RSP should be the default.
  8. Save the file and then open gles2n64.so for editing. Here I changed the screen width to 640 and height to 480 (for original resolution.. only reason) and set frame skip to 2 (you are going to need it) also disable fog (cannot remember if it was enabled).
  9. Now that is all done the emulator should be good to go. Create a symlink
    sudo ln -s /home/user/mupen64plus/mupen64plus /usr/bin/mupen64plus
    and navigate to a folder with ROMs in it.
  10. mupen64plus <romname>
    should be all you need. Note that it has serious issues with ROM files with spaces or brackets in them, so rename your ROM to as simple a name as possible. I would suggest Mario Kart 64 as a test ROM as it runs very well.

If you want to get blight_input working. Go and install the application Ren'Py (There is probably an easier way to do this.. but ren'py appears to install libsdl nice and neatly with a few bugfixes). Once done edit the blight_input.conf file with keymap. Also note that Blight supports the PS3 sixaxis completely, including joysticks, you just need to remap the keys. If anyone is interested, I can upload my modified blight_input.conf with fully working PS3 controller maps.

Now, commands needed (assuming you have 7zip-full, leafpad, rootsh and the files saved in MyDocs folder) In a new terminal: If you don't want to install 7z extract it on your computer and mv files to that folder instead.

mkdir mupen64plus
cd mupen64plus
7z x ../MyDocs/binaries.zip
7z x ../MyDocs/Mupen <press tab>
7z x Mup <tab>

(if it extracts it to tar.. and not fully... can't remember what it does) (Also unsure of directory level it extracts everything to, however it should all be in the mupen64plus folder, so use the mv command to get it all there)

chmod +x mupen64plus
./mupen64plus
cd /home/user/.mupen64plus
leafpad mupen64plus.conf (edit as specified above)
leafpad gles2n64.conf (edit as specified above)
sudo ln -s /home/user/mupen64plus/mupen64plus /usr/bin/mupen64plus

To start game:

cd MyDocs/<gamelocation>
mupen64plus <romname>