Browny's Grotto :: http://www.clan-elite.info/

Crackling sound in ZSNES on Ubuntu Feisty

1 pages: [ 1 ] [ View newest post ] Post reply.
Still on a retro-gaming bender, I reinstalled ZSNES recently only to find out why I abandoned it in the first place: Bad sound quality on my system.

After much digging I think I've finally stumbled on the solution, so here's the lowdown on getting ZSNES up-and-running from source: (This assumes you've already downloaded it from the ZSNES site and have extracted it to an appropriate place.)

Bash Script:
# You'll need SDL if you don't have it:
sudo apt-get install libsdl1.2-dev

# Configure, make and install ZSNES
./configure --enable-libao --enable-release
make && sudo make install

Now try it out by running zsnes at the command-line. If you get bad sound, you'll need to try another SDL sound driver. By default Ubuntu uses libsdl1.2debian-alsa, but you have two other choices that may fix sound for you. All three are listed below:

Bash Script:
sudo apt-get install libsdl1.2debian-alsa
sudo apt-get install libsdl1.2debian-oss
sudo apt-get install libsdl1.2debian-esd

Installing any one of these drivers will automatically uninstall the others. The esd driver worked for me. oss gave me no sound at all, but generally works for most of the people I've seen in the Ubuntu forums.
I get no sound at all from ZSNES as installed through apt-get in Hardy Heron. Here's the solution as found by an astute Ubuntu forumite:
Plain-Text:
sudo apt-get install libc6-dev g++ gcc libsdl1.2-dev
Then modify your ZSNES shortcut to this:
Plain-Text:
zsnes -ad sdl
All done!
1 pages: [ 1 ] [ View newest post ] Post reply.