This guide will install ZSNES 1.51 with libao support for AMD64/i386 versions of Gutsy & Feisty. Old Guide that this replaces: http://ubuntuforums.org/showthread.p...ighlight=zsnes
F.A.Q.
- What is ZSNES - Official site: http://www.zsnes.com/
ZSNES is a emulator that let's you play games from the Super Nintendo Entertainment System on your computer. You will need to use images of the original SNES cartridges called ROM's, which are in most cases illegal to have.
DO NOT ASK HOW TO GET ROM'S, it is against the rules of this forum. The emulator itself is not illegal. DO NOT ASK ME FOR ROM'S BY PM OR EMAIL!!
Some advantages of playing SNES games on your computer vs playing them on the original console:
- Ability to "Save State", anywhere in a game
- Patch games "On the fly", to be able to play games that were released only in japan with English Translations (i.e. Star Ocean, Tales of Phantasia etc), or to play custom mod's of existing games (i.e. Legend of Zelda - Parallel Worlds)
- You can apply filters to make your screen look more like a NTSC television, or even update the graphics to make games look better than the original.
- No more blowing on carts!
- Why ZSNES 1.51 with libao? - 1.51 does not support netplay, but it is the latest version of ZSNES to date. Libao was added and greatly improves sound IMO on AMD64 systems, and possible i386 as well (note: you must run zsnes with -ad oss at least once in order to use libao).
- What's wrong with the 1.51 version in the main gutsy repository? - It's only for i386, and gutsy users have been experiencing a "can not create mcop directory" error. My version AFAIK does not have this problem. See the following threads for more detail:
http://ubuntuforums.org/showthread.php?t=584105
http://ubuntuforums.org/showthread.php?t=571666 - pSX, mupen64, and/or ZSNES segfault and I can't figure out why! - rcsdnj reports that the "Data execute prevention" on x86_64 processors may be the cause of a segmentation fault. I haven't tried this myself, so proceed with caution:
Originally Posted by
rcsdnj
To stop , I first did it by going to the BIOS and disabled the "XD Technology" option. Since I didn't want to disable it globally, I looked for a way to disable and I found this:
- install prelink package ( sudo aptitude install prelink - I'm not sure about the package name, I'm not in my Ubuntu machine right now)
- run the executable you want to disable the XD technology by using:
execstack -s program_name
I'm not saying this is the solution for the problem, but it's maybe a good test.
How to install ZSNES using my repository (Easiest Way):
Copy the following into Applications > Accessories > Terminal.
Step 1 - Add the repository to your source list.
Gutsy AMD64/i386 Users:
Code:
echo "deb http://packages.dfreer.org gutsy main" | sudo tee -a /etc/apt/sources.list
wget http://packages.dfreer.org/7572013D.gpg -O- | sudo apt-key add -
sudo apt-get update
Feisty AMD64/i386 Users:
Code:
echo "deb http://packages.dfreer.org feisty main" | sudo tee -a /etc/apt/sources.list
wget http://packages.dfreer.org/7572013D.gpg -O- | sudo apt-key add -
sudo apt-get update
Step 2 - Install zsnes
AMD64 Users:
Code:
sudo apt-get install zsnes32
i386 Users:
Code:
sudo apt-get install zsnes
Step 3 - Use libao w/OSS for better sound quality (may fix scratchy sound)
Launch zsnes from Terminal with this command once, so it will use the OSS driver from now on:
AMD64 Users:
i386 Users:
How to Uninstall:
AMD64 Users:
Code:
sudo apt-get remove zsnes32
sudo apt-get autoremove
i386 Users:
Code:
sudo apt-get remove zsnes
sudo apt-get autoremove
How to compile ZSNES 1.51 (Advanced Users):
Note: this is for i386 users. I have not figured out how to compile a 32-bit executable from a 64-bit machine, so if AMD64 users wish to compile, follow the below instructions on a 32-bit machine.
Install needed packages:
Code:
sudo apt-get install nasm build-essential libsdl1.2-dev zlib1g-dev libpng12-dev libncurses5-dev libao-dev
Download zsnes and unpack it:
Code:
cd ~/
wget -c http://superb-west.dl.sourceforge.net/sourceforge/zsnes/zsnes151src.tar.bz2
tar xvf zsnes151src.tar.bz2
cd zsnes_1_51/src/
Configure and compile:
Code:
./configure --with-x --enable-libao --enable-release
make
i386 users only:
AMD64 users only:
Code:
sudo cp ./zsnes ~/Desktop/zsnes_custom
AMD64 users only: Copy the zsnes_custom on your desktop to your AMD64 machine, and install the following package.
Code:
sudo apt-get install ia32-libs
To uninstall compiled version:
Code:
cd ~/zsnes_1_51/src/
sudo make uninstall
cd ../../
sudo rm -Rv ~/zsnes_1_51/
sudo rm zsnes151src.tar.bz2
Bookmarks