View unanswered posts | View active topics It is currently Thu Apr 17, 2014 3:49 am



Reply to topic  [ 57 posts ]  Go to page 1, 2, 3  Next
ZSNES 1.51b Experimental Linux Binaries 
Author Message
ZSNES Developer
ZSNES Developer
User avatar

Joined: Tue Jul 27, 2004 9:54 pm
Posts: 3888
Location: Solar powered park bench
Post ZSNES 1.51b Experimental Linux Binaries
These will only work if you have the right libraries installed.
Since these are from Debian Unstable you probably don't, but what the heck.

Makes use of:
SDL
OpenGL
curses
libao
Possibly others.

Code:
ldd zsnes
        linux-gate.so.1 =>  (0xffffe000)
        libz.so.1 => /var/chroot/sid-ia32/usr/lib/libz.so.1 (0xf7f1f000)
        libSDL-1.2.so.0 => /var/chroot/sid-ia32/usr/lib/libSDL-1.2.so.0 (0xf7e6e000)
        libpng12.so.0 => /var/chroot/sid-ia32/usr/lib/libpng12.so.0 (0xf7e4b000)
        libncurses.so.5 => /var/chroot/sid-ia32/lib/libncurses.so.5 (0xf7e1a000)
        libao.so.2 => /var/chroot/sid-ia32/usr/lib/libao.so.2 (0xf7e15000)
        libGL.so.1 => /var/chroot/sid-ia32/usr/lib/libGL.so.1 (0xf7db3000)
        libstdc++.so.6 => /var/chroot/sid-ia32/usr/lib/libstdc++.so.6 (0xf7cc6000)
        libm.so.6 => /var/chroot/sid-ia32/lib/libm.so.6 (0xf7ca1000)
        libgcc_s.so.1 => /var/chroot/sid-ia32/lib/libgcc_s.so.1 (0xf7c94000)
        libc.so.6 => /var/chroot/sid-ia32/lib/libc.so.6 (0xf7b5e000)
        libpthread.so.0 => /var/chroot/sid-ia32/lib/libpthread.so.0 (0xf7b47000)
        libdl.so.2 => /var/chroot/sid-ia32/lib/libdl.so.2 (0xf7b43000)
        libdirectfb-1.0.so.0 => /var/chroot/sid-ia32/usr/lib/libdirectfb-1.0.so.0 (0xf7adf000)
        libfusion-1.0.so.0 => /var/chroot/sid-ia32/usr/lib/libfusion-1.0.so.0 (0xf7ad7000)
        libdirect-1.0.so.0 => /var/chroot/sid-ia32/usr/lib/libdirect-1.0.so.0 (0xf7ac3000)
        libvga.so.1 => /var/chroot/sid-ia32/usr/lib/libvga.so.1 (0xf7a64000)
        libX11.so.6 => /var/chroot/sid-ia32/usr/lib/libX11.so.6 (0xf7978000)
        libXext.so.6 => /var/chroot/sid-ia32/usr/lib/libXext.so.6 (0xf796a000)
        libXxf86vm.so.1 => /var/chroot/sid-ia32/usr/lib/libXxf86vm.so.1 (0xf7965000)
        libXdamage.so.1 => /var/chroot/sid-ia32/usr/lib/libXdamage.so.1 (0xf7961000)
        libXfixes.so.3 => /var/chroot/sid-ia32/usr/lib/libXfixes.so.3 (0xf795c000)
        libdrm.so.2 => /var/chroot/sid-ia32/usr/lib/libdrm.so.2 (0xf7953000)
        /lib/ld-linux.so.2 (0xf7f6a000)
        libx86.so.1 => /var/chroot/sid-ia32/lib/libx86.so.1 (0xf7950000)
        libXau.so.6 => /var/chroot/sid-ia32/usr/lib/libXau.so.6 (0xf794d000)
        libXdmcp.so.6 => /var/chroot/sid-ia32/usr/lib/libXdmcp.so.6 (0xf7947000)


Updated for new scheduling in Linux, affecting libao threads.
Also made source compatible with GCC 4.3

http://zsnes.sf.net/zsnes-1.51b-i586.tar.gz
http://zsnes.sf.net/zsnes-1.51b-amdfam10.tar.gz
http://zsnes.sf.net/zsnes-1.51b-athlon64.tar.gz
http://zsnes.sf.net/zsnes-1.51b-athlon64-sse3.tar.gz
http://zsnes.sf.net/zsnes-1.51b-core2.tar.gz
http://zsnes.sf.net/zsnes-1.51b-pentium4.tar.gz
http://zsnes.sf.net/zsnes-1.51b-pentium-m.tar.gz

http://zsnes.sf.net/zsnes151bsrc.tar.bz2


If you use 64 bit Linux and get a crash on startup, see this thread: viewtopic.php?f=2&t=12339

_________________
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding


Last edited by Nach on Mon Dec 15, 2008 1:36 am, edited 2 times in total.



Thu May 15, 2008 12:46 am
Profile WWW
Veteran
User avatar

Joined: Sat Apr 21, 2007 7:05 pm
Posts: 637
Post 
Thanks for this.

_________________
I bring the trouble.


Thu May 15, 2008 6:54 am
Profile
Rookie
User avatar

Joined: Sat Nov 04, 2006 3:04 am
Posts: 14
Post 
Just tested on Arch Linux and so far so good, thanks :D


Fri May 16, 2008 12:28 am
Profile
-Burninated-
User avatar

Joined: Mon Sep 10, 2007 10:33 pm
Posts: 878
Location: Unspecified
Post 
Hmm...real shame there aren't any 1.51b builds for Windows yet..

_________________
俺はテメエの倒す男だ! 宜しく! お前はもう死んでいる...


Mon May 19, 2008 10:06 pm
Profile
Veteran
User avatar

Joined: Sat Apr 21, 2007 7:05 pm
Posts: 637
Post 
Maybe because this fixes a problem not exhibited in windows builds because of recent changes to linux audio setup? So impatient...

_________________
I bring the trouble.


Mon May 19, 2008 10:10 pm
Profile
ZSNES Developer
ZSNES Developer
User avatar

Joined: Tue Jul 27, 2004 9:54 pm
Posts: 3888
Location: Solar powered park bench
Post 
neo_bahamut1985 wrote:
Hmm...real shame there aren't any 1.51b builds for Windows yet..

Sure there is, it's called v1.51, and you can download it from www.zsnes.com

_________________
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding


Tue May 20, 2008 12:02 am
Profile WWW
-Burninated-
User avatar

Joined: Mon Sep 10, 2007 10:33 pm
Posts: 878
Location: Unspecified
Post 
Ah, crap..my bad. Thought it was a beta build after Zsnes 1.51.

_________________
俺はテメエの倒す男だ! 宜しく! お前はもう死んでいる...


Tue May 20, 2008 12:22 am
Profile
Rookie

Joined: Thu Jan 27, 2005 6:28 pm
Posts: 37
Post 
I though about packaging it for openSUSE and saw this patch in the actual 1.51(a) package:
Code:
--- src/initc.c 
+++ src/initc.c 2007/08/17 14:20:26 
@@ -2621,7 +2621,7 @@ 
     } 
   
     sramsavedis = 0; 
-    memcpy(&sndrot, regsbackup, 3019); 
+    //memcpy(&sndrot, regsbackup, 3019); 
   
     if (yesoutofmemory) { asm_call(outofmemfix); } 
     asm_call(GUIDoReset);

...makes any sense or better I remove it?



Nach wrote:
Possibly others.

Commands you will not need never again HOWTO :-p

From my 1.51(a) build:
- Needed libs
Quote:
$ readelf -d /usr/bin/zsnes | grep NEEDED
0x00000001 (NEEDED) Shared library: [libz.so.1]
0x00000001 (NEEDED) Shared library: [libSDL-1.2.so.0]
0x00000001 (NEEDED) Shared library: [libpthread.so.0]
0x00000001 (NEEDED) Shared library: [libpng12.so.0]
0x00000001 (NEEDED) Shared library: [libncurses.so.5]
0x00000001 (NEEDED) Shared library: [libao.so.2]
0x00000001 (NEEDED) Shared library: [libGL.so.1]
0x00000001 (NEEDED) Shared library: [libstdc++.so.6]
0x00000001 (NEEDED) Shared library: [libm.so.6]
0x00000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.6]

- All libs marked like needed are really needed
Quote:
$ ldd -u -r /usr/bin/zsnes
Unused direct dependencies:


Sat May 31, 2008 8:44 pm
Profile
ZSNES Developer
ZSNES Developer
User avatar

Joined: Tue Jul 27, 2004 9:54 pm
Posts: 3888
Location: Solar powered park bench
Post 
RedDwarf wrote:
I though about packaging it for openSUSE and saw this patch in the actual 1.51(a) package:
Code:
--- src/initc.c 
+++ src/initc.c 2007/08/17 14:20:26 
@@ -2621,7 +2621,7 @@ 
     } 
   
     sramsavedis = 0; 
-    memcpy(&sndrot, regsbackup, 3019); 
+    //memcpy(&sndrot, regsbackup, 3019); 
   
     if (yesoutofmemory) { asm_call(outofmemfix); } 
     asm_call(GUIDoReset);

...makes any sense or better I remove it?

That breaks start up state on subsequent games or on making movies, I have no idea why someone would do that.

_________________
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding


Sun Jun 01, 2008 11:06 pm
Profile WWW
Post You are...
you are a GOD!!!!

thank you!!!

Cheers!


Wed Jul 09, 2008 1:29 am
New Member

Joined: Fri Aug 01, 2008 7:08 am
Posts: 6
Post 
Thanks for the binaries! The only versions I could find (of 1.51b) that supported aRts.

One small issue though I am having. It does not seem to give up control of the mouse back to X11 when I exit from fullscreen mode:

http://board.zsnes.com/phpBB2/viewtopic ... 896#173896


Fri Aug 01, 2008 7:22 am
Profile
Zealot
User avatar

Joined: Sat Jul 02, 2005 1:01 am
Posts: 1031
Post 
Man, why would you use arts for zsnes? Doesn't that cause terrible lag? Arts always lags like a second or 2 for me.


Fri Aug 01, 2008 2:41 pm
Profile WWW
New Member

Joined: Fri Aug 01, 2008 7:08 am
Posts: 6
Post 
paulguy wrote:
Man, why would you use arts for zsnes? Doesn't that cause terrible lag? Arts always lags like a second or 2 for me.


No, it doesn't cause lag for me. Please see my post link for the reason. Basically, There is an issue with automatic ALSA mixing on the (assuming) /dev/dsp oss emulation for me (within Mandriva 2008.0). Zsnes using SDL and others using bare ALSA (with out a sound server) lock the sound device. I have tried implementing software mixing as indicated on Alsa documents (using .asoundrc etc), but no luck yet.

Anyhow, I have found as a work around, if every application uses a aRts it will properly mix (and time slice) access to the sound device(s).


Fri Aug 01, 2008 3:01 pm
Profile
Rookie

Joined: Fri Jan 21, 2005 4:17 pm
Posts: 40
Post 
I just tested it with...gasp... Pulseaudio.

Setting Pulse as the default engine produces latencies of a almost a second, while accessing it via SDL (which uses Pulse, as well), makes it work like a charm.


Sat Aug 02, 2008 5:51 pm
Profile
Post 
I registered just to say thank you.


Thu Nov 06, 2008 10:17 am
NO VOWELS >:[
User avatar

Joined: Sun Aug 31, 2008 11:59 am
Posts: 753
Location: ALABAMA
Post 
Temüjin wrote:
I registered just to say thank you.


Congratulations, because I totally forgot why I registered.


Thu Nov 06, 2008 11:03 am
Profile YIM WWW
New Member

Joined: Sat Dec 13, 2008 11:51 pm
Posts: 3
Post 
Quote:
ZSNES v1.51, (c) 1997-2007, ZSNES Team
Be sure to check http://www.zsnes.com/ for the latest version.

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.TXT' thoroughly before doing so.

Use ZSNES -? for command line definitions.

Starting Mouse detection.
Unable to poll /dev/input/event3. Make sure you have read permissions to it.
Unable to poll /dev/input/event2. Make sure you have read permissions to it.
Unable to poll /dev/input/event6. Make sure you have read permissions to it.
Unable to poll /dev/input/event5. Make sure you have read permissions to it.
Unable to poll /dev/input/event4. Make sure you have read permissions to it.
Unable to poll /dev/input/event1. Make sure you have read permissions to it.
Unable to poll /dev/input/event0. Make sure you have read permissions to it.
ManyMouse: 0 mice detected.
Segmentation fault

I tried the core2 and i586 binaries on Ubuntu 8.10 x86-64.

Edit: tried sudo:
Quote:
ZSNES v1.51, (c) 1997-2007, ZSNES Team
Be sure to check http://www.zsnes.com/ for the latest version.

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.TXT' thoroughly before doing so.

Use ZSNES -? for command line definitions.

Starting Mouse detection.
ManyMouse: 2 mice detected.
Using ManyMouse for:
Mouse 0: Microsoft Microsoft IntelliMouse� Explorer
Mouse 1: Macintosh mouse button emulation
Segmentation fault


Sat Dec 13, 2008 11:58 pm
Profile
Lurker
User avatar

Joined: Fri May 11, 2007 4:28 am
Posts: 139
Post 
Dr. Kylstein wrote:
I tried the core2 and i586 binaries on Ubuntu 8.10 x86-64.

Edit: tried sudo:


I like how ubuntu users like to throw sudo in front of every command just hoping it will somehow *work*.

Try this:
http://board.zsnes.com/phpBB2/viewtopic ... =75#137039

Helpful hint: on 64-bit Ubuntu systems, 32-bit libs are generally in /usr/lib32, and 64-bit libs are in /usr/lib/. The files you will want to system link are in /usr/lib32/ao/plugins-2/ I believe.


Sun Dec 14, 2008 3:23 am
Profile
ZSNES Developer
ZSNES Developer
User avatar

Joined: Tue Jul 27, 2004 9:54 pm
Posts: 3888
Location: Solar powered park bench
Post 
A thread to elaborate on what dfreer said: http://board.zsnes.com/phpBB2/viewtopic.php?t=12339

_________________
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding


Mon Dec 15, 2008 1:37 am
Profile WWW
Post 
What is the best linux distribution for learning to use many? First, a bit about my background.. I currently work as a Network Engineer, mainly with Cisco routers/switches and VPN devices. I am throughly familiar with Windows, both as a workstation and server, and have one more test to go to complete my MCSE. However, I have no real experience with Linux, and feel like this is both a hole in my personal knowledge and in my resume. :) I can do basic user stuff both from a command line and in Xwindows, but have no real command of it.
_________________
affiliateelite ~ affiliateelite.com ~ adgooroo ~ adgooroo.com


Last edited by alexeena on Sun Apr 12, 2009 6:06 am, edited 1 time in total.



Fri Apr 10, 2009 6:03 am
NO VOWELS >:[
User avatar

Joined: Sun Aug 31, 2008 11:59 am
Posts: 753
Location: ALABAMA
Post 
alexeena wrote:
What is the best linux distribution for learning to use many? First, a bit about my background.. I currently work as a Network Engineer, mainly with Cisco routers/switches and VPN devices. I am throughly familiar with Windows, both as a workstation and server, and have one more test to go to complete my MCSE. However, I have no real experience with Linux, and feel like this is both a hole in my personal knowledge and in my resume. :) I can do basic user stuff both from a command line and in Xwindows, but have no real command of it.


Semi-OT, but heres my opinions

Debian (I like Debian Unstable generally, but now that 5 is out, eh. Etch was too old'd for me.)

I used to recommend Arch but since they're dropping i686 the jokes on me, but it was only ever recommended by me because it technically wasn't debian, that being said debian is often recommended I believe because apt-get is kinda simple

rpms are kind of argh to deal with compared to debs but I wont diss fedora or anything just because of that

so Debian Unstable
Slackware (If you want a different view of everything after you've been debian-ized)
Ubuntu (If for some reason you want debian to be even easier but you also want to be ridiculed a lot)
FreeBSD (Technically not Linux, but its a good learning experience)

lots of live ones like xPUD, puppy linux, slitaz, tiny core linux, etc

LFS should be a good learning experience, but you tend to learn more about things that werent intended to be taught with that massacre

I'm about to try Kwort Linux, oh and last but not least I can recommend that you try stuff like grml, thats a good live cd enviornment to play with imo

and try some other oses like Haiku (beos reimplementation), ReactOS (nt kernel reimplementation), Syllable (Linux/Unix based beos similar), Solaris, Nexenta (Solaris Kernel, Ubuntu Userland I think), Parsix (Debian Based), menuet and kolibiri are asm based novelty oses imo

damn small linux is a good first time enviornment to play around with, it was my first


Fri Apr 10, 2009 6:49 am
Profile YIM WWW
♥ Love Freak FlonneZilla ♥
User avatar

Joined: Sat Mar 31, 2007 11:59 pm
Posts: 111
Location: USA
Post 
gllt wrote:
I used to recommend Arch but since they're dropping i686 the jokes on me,
Dude that was an April Fool's joke. http://www.archlinux.org/news/441/


Fri Apr 10, 2009 7:14 am
Profile WWW
NO VOWELS >:[
User avatar

Joined: Sun Aug 31, 2008 11:59 am
Posts: 753
Location: ALABAMA
Post 
Killa B wrote:
gllt wrote:
I used to recommend Arch but since they're dropping i686 the jokes on me,
Dude that was an April Fool's joke. http://www.archlinux.org/news/441/


"the jokes on me,"


Fri Apr 10, 2009 8:51 am
Profile YIM WWW
Locksmith of Hyrule
User avatar

Joined: Sun Aug 08, 2004 6:49 am
Posts: 3630
Location: 255.255.255.255
Post 
SliTaz Linux and some other lightweight Linux distro (not DSL) that IIRC JDartliff posted seem pretty good too..

I'd recommend Gentoo if you REALLY wanna learn some Linux (eg: setting up boot configs, config/compile the kernel, etc) but they like to stick little hacks in their portage software that tend to break said software (even ZSNES ended up being a victim of it.) Your best choice here would be Linux From Scratch to do this sort of thing.

_________________
Image
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.


Fri Apr 10, 2009 4:11 pm
Profile YIM WWW
Post 
thanks alot the core2 version works under ubuntu itrepid


Sat Apr 11, 2009 3:06 pm
Display posts from previous:  Sort by  
Reply to topic   [ 57 posts ]  Go to page 1, 2, 3  Next

Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software.