PDA

View Full Version : Newest Zsnes in Hoary Howto


poofyhairguy
May 31st, 2005, 09:39 PM
If you are like me, the old version of Zsnes in Hoary's universe makes you sad. Problem is that Sid is only a little better, so you must do more to get the most recent version. Here are the steps.

I got 1.42 working for me with this. Someone test!

Open up your terminal.

First you must remove the old zsnes:

sudo apt-get remove zsnes

Then you need to install some things:

sudo apt-get install libpng3 libstdc++6

Then:

wget ftp://ftp.uni-bayreuth.de/pub/linux/Mandrakelinux/devel/cooker/i586/media/contrib/zsnes-1.42-1mdk.i586.rpm




(note: the forum truncates the address so you have to copy the link instead)

Then:

sudo alien zsnes-1.42-1mdk.i586.rpm

Finally when thats done:

sudo dpkg -i zsnes_1.42-1_i386.deb

If there are no errors, launch with the command:

zsnes


EDIT
------------------------------------------------------------------------------------------------------------------------------

There is now a better way to get newer Zsnes.

wget http://sethkinast.com/ubuntu/hoary/backports/zsnes_1.420-0ubuntu1~5.04ubp1_i386.deb

sudo dpkg -i zsnes_1.420-0ubuntu1~5.04ubp1_i386.deb

Thank Seth for making this new package.

bored2k
May 31st, 2005, 09:48 PM
sudo apt-get zsnes
sudo apt-get zsnes
E: Invalid operation zsnes

;)

Thanks for the reminder, now I got the urge to play classics like Zelda: Link to the Past and some other RPG's I never got to finish because I was a huge ignorant fool (FF 3 I'm looking at you).

ltmon
May 31st, 2005, 10:14 PM
I've been snes9x, fronted by snes9express to play my snes games (battle toads rocks!). Both these are installable from universe.

I don't really know a great deal about the emulator, I just do enough to get a game on screen. My question really is, what would zsnes and in particular the new version do for me? What is the difference between one snes emulator and the next?

Cheers,

L.

tiglionabbit
May 31st, 2005, 10:14 PM
I had no problem installing it from CVS. However, I was helped by the good people in #zsnes on freenode, and I couldn't repeat it for you. The new version of zsnes is a ton faster in 32 bit color, but has bad crashes all over, but fortunately never in mid play.

Btw, it's `sudo apt-get install zsnes`. Apt-get needs a command, like install/remove/etc. `man apt` and the pages referenced in it plz.

Link to the Past is an awesome game! I own it on SNES and GBA and STILL I had to play it on zsnes just so I could use my bright LCD monitor, playstation controller, and the HQ2X filter that makes it look awesome.

poofyhairguy
May 31st, 2005, 11:37 PM
playstation controller

Yep. I just bought a retrocon so I wanted the new zsnes to work. I am happy.

bored2k
May 31st, 2005, 11:42 PM
Yep. I just bought a retrocon so I wanted the new zsnes to work. I am happy.
My brother used to work at RadioShack. He gave me this ps2 adapter.. oh my CPS2/NEOGEO games so rule with that..

poofyhairguy
May 31st, 2005, 11:55 PM
I can safely say that Super Mario Kart works great with this new release. Quite nice I say. This howto+

http://www.axess.com/twilight/console/detail/retrocon.jpg

+

usb adaptor is fun time

panickedthumb
June 2nd, 2005, 06:54 PM
Whoa Mario Kart works? Mario Kart has never worked in ANYTHING!!!

benplaut
June 3rd, 2005, 04:11 AM
geeks :roll:

statsministern
June 3rd, 2005, 04:40 AM
Synaptic wants to upgrade Zsnes 1.42 to 1.35... how do i get rid of that upgrade?

Evoreth
June 3rd, 2005, 08:16 AM
Synaptic wants to upgrade Zsnes 1.42 to 1.35... how do i get rid of that upgrade?
I simply locked the package in Synaptic: Package -> Lock Version.
That might not be the best solution, though.

poofyhairguy
June 3rd, 2005, 05:27 PM
I simply locked the package in Synaptic: Package -> Lock Version.
That might not be the best solution, though.


good idea.

jdong
June 3rd, 2005, 06:01 PM
Guys, DON't force RPM's to install on Ubuntu... that's really not a responsible thing to do.

It's much better if you just compile from source and use checkinstall to get it debian-aware.

statsministern
June 3rd, 2005, 06:52 PM
I simply locked the package in Synaptic: Package -> Lock Version.
That might not be the best solution, though.

Well that works for now... I usually compiles but not in this case :-?

mrt
June 3rd, 2005, 11:00 PM
I have no sound - any ideas?
mike@linus:~$ zsnes

ZSNES v1.42 (c) 1997-2005, ZSNES Team

Be sure to check http://www.zsnes.com/ for the latest version.
Please report crashes to zsnes-devel@lists.sourceforge.net.

ZSNES is written by the ZSNES Team (See AUTHORS.TXT)
ZSNES comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions;
please read 'LICENSE' thoroughly before doing so.

Use ZSNES -? for command line definitions.

MMX support found and enabled.

Sound init failed!
freq: 32000, channels: 2, samples: 1024
ZSNES could not find any joysticks.
mike@linus:~$

Stabicron
June 5th, 2005, 09:42 PM
Why can't anyone follow the handy guide in zsnes own forums and just compile it, zsnes anyways is a breeze to do. All you need is the build essential packacke and nasm. I will post the link to the easy to do insturctions.

http://board.zsnes.com/phpBB2/viewtopic.php?t=2322

Just follow the as root part and only do this small substitution
instead of:
make install
do
sudo make install

Also in the tar step they say take a close look at the tar ya get and match the filename of course *copy and paste doesn't always work* :P

When done it should be located in /usr/local/bin/

What I do after is use the menu editor for gnome from the unoffical ubuntu guide and make a entry for zsnes and point it to that. From then on I can run it from the menus anytime I wish. The menu editor in kde works as well.

That is the only change you will need to make for Ubuntu, runs really well too.

poofyhairguy
June 6th, 2005, 02:38 AM
Why can't anyone follow the handy guide in zsnes own forums and just compile it,

You can. I prefer to use Alien. You can do it either way though.

pdk001
June 6th, 2005, 06:16 AM
thanks for the tip. i will try it right away

NTolerance
June 6th, 2005, 08:59 AM
Why can't anyone follow the handy guide in zsnes own forums and just compile it, zsnes anyways is a breeze to do. All you need is the build essential packacke and nasm. I will post the link to the easy to do insturctions.

http://board.zsnes.com/phpBB2/viewtopic.php?t=2322

Just follow the as root part and only do this small substitution
instead of:
make install
do
sudo make install

Also in the tar step they say take a close look at the tar ya get and match the filename of course *copy and paste doesn't always work* :P

When done it should be located in /usr/local/bin/

What I do after is use the menu editor for gnome from the unoffical ubuntu guide and make a entry for zsnes and point it to that. From then on I can run it from the menus anytime I wish. The menu editor in kde works as well.

That is the only change you will need to make for Ubuntu, runs really well too.


I agree, compiling ZSNES from source on Ubuntu is easy.

Leif
June 6th, 2005, 09:14 AM
I have no sound - any ideas?


Do you still get this ? I get this when another device is using the audio channel already. Shutdown xmms/totem etc., wait a minute or two and try again.

Stabicron
June 6th, 2005, 02:24 PM
I have no sound - any ideas?
mike@linus:~$ zsnes

ZSNES v1.42 (c) 1997-2005, ZSNES Team

Be sure to check http://www.zsnes.com/ for the latest version.
Please report crashes to zsnes-devel@lists.sourceforge.net.

ZSNES is written by the ZSNES Team (See AUTHORS.TXT)
ZSNES comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions;
please read 'LICENSE' thoroughly before doing so.

Use ZSNES -? for command line definitions.

MMX support found and enabled.

Sound init failed!
freq: 32000, channels: 2, samples: 1024
ZSNES could not find any joysticks.
mike@linus:~$

If this is still a problem for you I have a few questions. First how did you install it? did you compile or do what was posted at the beginning. Second, what kind of sound device do you have? Is it a soundblaster or maybe onboard audio via motherboard. Third were you doing anything else that plays sound at the time? Like xmms or maybe xine or anything else that outputs sound. Some sound devices don't like it when more than one thing accesses it *usually on older devices, but yeah they still exist*.

If you installed it via the method posted at the beginning of this thread I would try getting the source and following the instructions to compile it and see if that works. Worth a shot in anycase I would think.

poofyhairguy
June 6th, 2005, 02:27 PM
Do you still get this ? I get this when another device is using the audio channel already. Shutdown xmms/totem etc., wait a minute or two and try again.

there is a way around that. Search for sound in the forum...

mrt
June 6th, 2005, 02:54 PM
Its a soundblaster card, but uses an Ensonique driver(?). There is also onboard audio (intel mobo) but no distro I've tried recently seems to be able to use it, so I've disabled it in BIOS and bought the aforementioned soundblaster.

No other sound app was running at the time. I installed it according to the original post, but I'll try compiling current sources tonight.

I thought it might be SDL related, but I was able to get the SDL version of http://www.nexuiz.com/ to run with sound after doing this http://ubuntuguide.org/#configuresoundproperly

I'll post back later with what I find, thanks for the replies.

mrt
June 6th, 2005, 08:30 PM
./configure yields
checking for sdl-config... no
checking for SDL - version >= 1.2.0... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: error: SDL >= 1.2.0 is required

but i'm sure sdl is installed. "sdl-config" however is missing

jdong
June 7th, 2005, 09:10 AM
there is a -dev package (maybe libsdl-dev?). Do a Synaptic search for sdl, and install all the -dev packages.

joele
June 10th, 2005, 11:23 AM
This problem was easy to fix (once I found how) LOL I tried all sorts of suggestions with no results...

The solution that worked was installing 'libsdl1.2debian-all' replacing 'libsdl1.2debian-oss' which was installed by default... problem solved all apps that were missing sound now work 100%..

poofyhairguy
June 15th, 2005, 05:53 PM
edit

TristanMike
June 28th, 2005, 01:43 PM
I'm sorry, I'm confused now, which is the best way? To do as the poofyhairguy said at the beginning? Or to compile from the website?
TristanMike

ケイト
June 28th, 2005, 07:17 PM
Whoa Mario Kart works? Mario Kart has never worked in ANYTHING!!!
It's been working in both ZSNES and SNES9x for some years now.

bored2k
June 28th, 2005, 07:37 PM
It's been working in both ZSNES and SNES9x for some years now.
Street Fighter Alpha has never worked though.. Not like I have needed it since the past year or so after I gave CPS2 another shot >:-D

ケイト
June 28th, 2005, 08:49 PM
Street Fighter Alpha has never worked though.. Not like I have needed it since the past year or so after I gave CPS2 another shot >:-D
Oh, I remember running Street Fighter Alpha in SNES9x! Err, it was xSNES9x, to be exact (the Xbox port). You needed to download some special graphic packs and such to make it work. I remember they implented SDD-1 decompression "on-the-fly" some time ago. All Snes9x versions over 1.42 should support Street Fighter Alpha and Star Ocean. I can't remember if the ZSNES team also implented this.

bored2k
June 28th, 2005, 08:57 PM
Oh, I remember running Street Fighter Alpha in SNES9x! Err, it was xSNES9x, to be exact (the Xbox port). You needed to download some special graphic packs and such to make it work. I remember they implented SDD-1 decompression "on-the-fly" some time ago. All Snes9x versions over 1.42 should support Street Fighter Alpha and Star Ocean. I can't remember if the ZSNES team also implented this.
All that fuzz to play a horrendous port ? I'm glad we have CPS2/MAME :D

poofyhairguy
June 29th, 2005, 03:59 AM
I'm sorry, I'm confused now, which is the best way? To do as the poofyhairguy said at the beginning? Or to compile from the website?
TristanMike


It probably goes like this:

1. Use the backport- disadvantage is that it isn't the newest version of Zsnes.

2. Compile it yourself using the "make deb" command instead of "make" (after you install the program fakeroot)- disadvantage is that is compiling from source....a thing I dislike to do a lot.

3. Force the RPM using the old instructions- its the newest version of Zsnes but apt-get thinks the older version is newer (and will upgrade it if you do not lock it in synaptic). Also some think that forcing RPMs is asking for trouble. I like doing it for fun.....so I like this way best.

Do what fits you.

TristanMike
June 30th, 2005, 12:10 AM
Merci Beaucoup (thank you)! :)
Tristan Mike

ケイト
July 3rd, 2005, 07:46 PM
All that fuzz to play a horrendous port ? I'm glad we have CPS2/MAME :D
It was probably more to get Star Ocean working than Street Fighter, because Star Ocean is claimed to be one of SNES's best RPG's after all.

RagnArok
July 10th, 2005, 02:16 PM
I don't get sound in my games!? this is pscyho! I've never got sound from zsnes in Ubuntu? it worked perfectly for me in Slackware?
plz do anyone know what may be the problem? xmms workes perfectly and i've done the soundfixes from the Ubuntu guide ??

BoyOfDestiny
July 21st, 2005, 06:42 AM
Don't worry, blame esd. "sudo killall esd". then run zsnes... if you want to disable esd you can do so from gnome menu... just search for other posts on this... A LOT of people are having sound problems in hoary... please let it be gone in breezy.

Corp
July 31st, 2005, 03:04 PM
I've tried to install zsnes 3 different ways now, and every time I get the same error. Whenever i try to run zsnes it says this:

Could not set 512x448 video mode: No available video device

I have searched on google, this forum, and the zsnes forums and none of the suggestions have helped me. I have tried editing all of the zsnes config files i could find, but it still tries to run it in 512x448 for some reason. does anybody know why this happens, or how I can fix it? Thanks in advance.

poofyhairguy
July 31st, 2005, 03:17 PM
I've tried to install zsnes 3 different ways now, and every time I get the same error. Whenever i try to run zsnes it says this:

Could not set 512x448 video mode: No available video device

I have searched on google, this forum, and the zsnes forums and none of the suggestions have helped me. I have tried editing all of the zsnes config files i could find, but it still tries to run it in 512x448 for some reason. does anybody know why this happens, or how I can fix it? Thanks in advance.

What video card do you have?

Corp
July 31st, 2005, 03:32 PM
Sorry, TI4200, I think it has the right drivers and everything, because under device manager it is listed as a TI4200, however I'm a linux noob so I wouldn't be suprised if I was wrong.

poofyhairguy
July 31st, 2005, 04:13 PM
Sorry, TI4200, I think it has the right drivers and everything, because under device manager it is listed as a TI4200, however I'm a linux noob so I wouldn't be suprised if I was wrong.


Good. An Nvidia card. That will make it easier.


You have the official drivers?

http://ubuntuguide.org/#installnvidiadriver

Does it crash and just give you an error?

Corp
July 31st, 2005, 04:25 PM
Just installed the drivers, rebooted, and tried to run zsnes again, but it still gives the errors. Would it be easier to do this over aim?

poofyhairguy
July 31st, 2005, 04:31 PM
Just installed the drivers, rebooted, and tried to run zsnes again, but it still gives the errors. Would it be easier to do this over aim?

I can't hit aim right now. Try something: go in synaptic and install this:

snes9express

Tell me what works with it....and we will see whats messed up and whats not.

Corp
July 31st, 2005, 04:36 PM
Installed snes9express, it works. I dont know exactly what you need to know, but i can play games with it.

mjkelly
July 31st, 2005, 05:12 PM
I got zsnes up and running but it lags very badly. Its framerate must be like 10 fps.

Any suggestions?

Im using an ati radeon 9250 but fglrx cant be installed for this card so im using the default driver with mesa3d. Is this the problem? Im sure i dont need any advanced 3d graphics driver to run snes graphics do i?

poofyhairguy
July 31st, 2005, 05:26 PM
I got zsnes up and running but it lags very badly. Its framerate must be like 10 fps.

Any suggestions?

Im using an ati radeon 9250 but fglrx cant be installed for this card so im using the default driver with mesa3d. Is this the problem? Im sure i dont need any advanced 3d graphics driver to run snes graphics do i?

hmm....have you tried the program three posts above?

poofyhairguy
July 31st, 2005, 05:27 PM
Installed snes9express, it works. I dont know exactly what you need to know, but i can play games with it.

Sound works? Joystick works? Plays well?

Corp
July 31st, 2005, 05:36 PM
Sound works, plays well, but my snes controller using a super smart joy usb adapter does not work after following your other how to.

edit:
It seems the controller doesnt work because it is looking for js0 in /dev instead of in /dev/input

edit 2:
figured out how to change where it looked for the joystick, works fine now :cool:

mjkelly
July 31st, 2005, 06:20 PM
Sound works fine. It says no joysticks detected also.

When i move the mouse around the screen it skips heavily. I think 10fps was an overstatement its more like 2-3 fps. Like if i move the mouse just a slight ammount it skips all the way across the screen. Also the response time is very bad. Like theres a 1-2 second delay from anything i press on the keyboard til its reflected in the game.

EDIT
ok i just turned on the fps and it is between 3-4 fps
EDIT again...
ok i fixed it. i had to turn the resolution up to a higher standard and now its working fine.

Corp
August 2nd, 2005, 09:06 PM
Anyone else have any ideas as to why it gives me that error?

TristanMike
September 30th, 2005, 03:57 PM
Out of curiosity, what kind of processor use should I be getting with the Zsnes? Right now, when I start it up and am on the blue screen where I choose my roms, it eats 100% of my processor while on the screen. When a game is loaded, it's hovers anywhere between 75%-85%. Is this a normal usage for the Zsnes? Could some other people please confirm what their Zsnes eats up of the processor. That seems like a lot of juice.
Thank You
TristanMike

DirtDawg
September 30th, 2005, 04:31 PM
EDIT
------------------------------------------------------------------------------------------------------------------------------
There is now a better way to get newer Zsnes.
Thank Seth for making this new package.

Is there a ppc package?

BoyOfDestiny
May 16th, 2006, 02:33 PM
Is there a ppc package?
Nope.

Anyway, I just want to let everyone know that the zsnes cvs repository is no longer updated. They are now using SVN.

Here is a little script I made to download and build it.

Make sure you have the dependencies and subversion installed!

#!/bin/sh
svn co https://svn.bountysource.com/zsnes/trunk/ zsnes-svn
cd zsnes-svn
cd src
make clean
./autogen.sh
make