Monday, August 12, 2013

PPSSPP Daily Precompiled Binaries for Ubuntu Linux.

Below is my little archive of precompiled binaries of the Playstation Portable (or PSP for short) emulator, PPSSPP, for 64-bit Ubuntu Linux. All binaries are compiled on Ubuntu 13.04. Your mileage may vary on other Linux distributions although I have tested it on Fedora 19 64-bit (works fine). Make sure you have your distro's libSDL installed.

The archive should be updated daily as long as my computer is powered on :)

You can find the build archive Here.

BY CROM! Let us compile PPSSPP for Ubuntu!

This how to is outdated. MaiAT3PlusDecoder is no longer needed as an audio decoder is now rolled into FFMPEG. I do believe the rest of the how to should still work though.

PPSSPP is a Sony Playstation Portable (or PSP for short) Emulator. There is no version of PPSSPP in the Software Center under Ubuntu 13.04, so we need to compile it form source. Luckily it's pretty easy to compile. I use the below command to download the source and compile.

In addition, on MY nVidia setup I had to issue the following command to link the proper libGL.so and clear up the error "No rule to make target `/usr/lib/x86_64-linux-gnu/libGL.so', needed by `PPSSPPSDL'.  Stop." Only use this command IF you are getting the before mentioned error while compiling.
sudo rm /usr/lib/x86_64-linux-gnu/libGL.so && sudo ln -s /usr/lib/libGL.so.1 /usr/lib/x86_64-linux-gnu/libGL.so 
With that out of the way continue on to compile PPSSSPP
git clone git://github.com/hrydgard/ppsspp.git && cd ppsspp && git submodule update -i && ./b.sh && cd build && strip PPSSPPSDL && mkdir ~/Desktop/PPSSPP && cp -a PPSSPPSDL assets ~/Desktop/PPSSPP
After it's finished compiling you can go to your Desktop folder and there should be a directory called PPSSPP. Protip: there is no installation for PPSSPP, just change to the directory and either double click on PPSSPPSDL from your file manager or execute PPSSPPSDL from the terminal.

There will be not background music or voice in certain PSP games on Ubuntu unless you have the mystical audio decoder library. You can find one that MIGHT work here. To install it use the below command after decompressing it. Or place it in the same directory as the PPSSPPSDL binary.
sudo mv ../output/libat3plusdecoder.so ~/Desktop/PPSSPP
If the downloaded decoder library doesn't work you can easily compile your own. To do so download the source and issue the following command.

The source for the audio decoder library can be found here. After the source finishes downloading you will want to decompress the archive and cd into the 'MaiAT3PlusDecoder' directory (do this while in the terminal). Run the following command to compile and install the library.
cd src && make && sudo mv ../output/libat3plusdecoder.so ~/Desktop/PPSSPP