Friday, November 22, 2013

Steam Crashing on Fedora 20 when Message Received

I found this on the Steam forums. I was having a problem with Steam under Fedora 20 crashing when I received a message from one of my friends. It's a selinux permissions problem with the sound that is played when you receive a message. Below is a copy and paste of the post.

This is really a bug with Steam that they need to fix. Having execheap is apparently bad and avoidable so hopefully with some pressure Valve should sort it out.

setsebool -P selinuxuser_execheap 1

Is a workaround in the meantime. Although you need to remember to set it back later when it's sorted.

Original Post

Thursday, August 15, 2013

YO! Let's do this shit and compile some Desmume!

As of Ubuntu 13.04 there is an older version of the Nintendo DS emulator, Desmume, in the Software Center. You can install it using the following command (or by searching for Desmume in the Software Center).
sudo apt-get install desmume
Or if you're a bit more daring you can be a hero and compile from source.

To start off lets install some dependencies you'll be needing to make this happen.
sudo apt-get install libsdl1.2-dev libgtk2.0-dev libglade2-dev libosmesa6-dev libagg-dev intltool libgtkglext1-dev liblua5.1-0-dev libsoudtouch-dev
Next we'll need to get the source from the project's Sourceforge page. You can download it here.

Once you get the source you'll need to decompress it. You can double click the archive in your file manager and use the Archive Manage to do the job. Or if you like you can use the terminal command
tar zxfv desmume-0.9.9.tar.gz
Once you have the source in hand you can get ready to make the magic happen.  Use the following commands to configure, make, and install Desmume (4 total commands, one per line).
cd desmume-0.9.9
./configure --prefix=/usr
make
sudo make install
 
Thanks to the nice person @ https://gist.github.com/chrisyco/1470676 for the original guide to compiling Desmume.






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




Thursday, August 8, 2013

HEY! Let's compile Mednafen emulator for Ubuntu!

First things first we need to get the latest source from the Mednafen Forums. Usually the top post, no account needed to download.

Click here for the official Mednafen forums.

Now we'll want to Install some dependencies for compiling.

sudo apt-get install build-essential pkg-config libasound2-dev libcdio-dev libsdl1.2-dev libsdl-net1.2-dev libsndfile1-dev zlib1g-dev  

Next we'll decompress the source. Don't forget to enter the directory the archive decompresses to before you run the compile command.

tar vxfj mednafen-<version>-wip.tar.bz2

And then compile the Mednafen source

./configure && make && sudo make install

After it finishes compiling and installing it's binaries you can fire it up by opening a terminal (yes, its a terminal based program. NO built in GUI) and typing in 'mednafen <rom name>'. The list of supported systems is staggering. Refer to the Mednafen homepage for the run down on what all it can do.

Don't Like the terminal? There are several GUI frontends for Mednafen. The one I recommend is called MFE, it can be found here. Note that while MFE is a great front end it's known to have a little bugger in it's syntax with versions of mednafen above 0.9.11. It's really easy to fix, info about it can be found here.

Screenie of MFE and Mednafen running the NES legend, Duck Tales.