ZSNES board Forum Index ZSNES board
ZSNES and other SNES related stuff
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ZSNES 1.51b Experimental Linux Binaries
Goto page 1, 2  Next
 
Post new topic   Reply to topic    ZSNES board Forum Index -> ZSNES Talk
View previous topic :: View next topic  
Author Message
Nach
ZSNES Developer
ZSNES Developer


Joined: 27 Jul 2004
Posts: 4596
Location: Solar powered park bench

PostPosted: Thu May 15, 2008 12:46 am    Post subject: ZSNES 1.51b Experimental Linux Binaries Reply with quote

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: 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


Last edited by Nach on Mon Dec 15, 2008 1:36 am; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
DancemasterGlenn
Veteran


Joined: 21 Apr 2007
Posts: 624

PostPosted: Thu May 15, 2008 6:54 am    Post subject: Reply with quote

Thanks for this.
_________________
I bring the trouble.
Back to top
View user's profile Send private message
OmegaX
Rookie


Joined: 04 Nov 2006
Posts: 14

PostPosted: Fri May 16, 2008 12:28 am    Post subject: Reply with quote

Just tested on Arch Linux and so far so good, thanks Very Happy
Back to top
View user's profile Send private message
neo_bahamut1985
-Burninated-
-Burninated-


Joined: 10 Sep 2007
Posts: 878
Location: Unspecified

PostPosted: Mon May 19, 2008 10:06 pm    Post subject: Reply with quote

Hmm...real shame there aren't any 1.51b builds for Windows yet..
_________________
俺はテメエの倒す男だ! 宜しく! お前はもう死んでいる...
Back to top
View user's profile Send private message MSN Messenger
DancemasterGlenn
Veteran


Joined: 21 Apr 2007
Posts: 624

PostPosted: Mon May 19, 2008 10:10 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Nach
ZSNES Developer
ZSNES Developer


Joined: 27 Jul 2004
Posts: 4596
Location: Solar powered park bench

PostPosted: Tue May 20, 2008 12:02 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
neo_bahamut1985
-Burninated-
-Burninated-


Joined: 10 Sep 2007
Posts: 878
Location: Unspecified

PostPosted: Tue May 20, 2008 12:22 am    Post subject: Reply with quote

Ah, crap..my bad. Thought it was a beta build after Zsnes 1.51.
_________________
俺はテメエの倒す男だ! 宜しく! お前はもう死んでいる...
Back to top
View user's profile Send private message MSN Messenger
RedDwarf
Rookie


Joined: 27 Jan 2005
Posts: 38

PostPosted: Sat May 31, 2008 8:44 pm    Post subject: Reply with quote

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:
Back to top
View user's profile Send private message
Nach
ZSNES Developer
ZSNES Developer


Joined: 27 Jul 2004
Posts: 4596
Location: Solar powered park bench

PostPosted: Sun Jun 01, 2008 11:06 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
ScarletWytch
New Member


Joined: 09 Jul 2008
Posts: 1

PostPosted: Wed Jul 09, 2008 1:29 am    Post subject: You are... Reply with quote

you are a GOD!!!!

thank you!!!

Cheers!
Back to top
View user's profile Send private message
elyk1212
New Member


Joined: 01 Aug 2008
Posts: 6

PostPosted: Fri Aug 01, 2008 7:22 am    Post subject: Reply with quote

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.php?p=173896#173896
Back to top
View user's profile Send private message
paulguy
Trooper


Joined: 02 Jul 2005
Posts: 493

PostPosted: Fri Aug 01, 2008 2:41 pm    Post subject: Reply with quote

Man, why would you use arts for zsnes? Doesn't that cause terrible lag? Arts always lags like a second or 2 for me.
Back to top
View user's profile Send private message Visit poster's website
elyk1212
New Member


Joined: 01 Aug 2008
Posts: 6

PostPosted: Fri Aug 01, 2008 3:01 pm    Post subject: Reply with quote

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).
Back to top
View user's profile Send private message
F-3582
Rookie


Joined: 21 Jan 2005
Posts: 40

PostPosted: Sat Aug 02, 2008 5:51 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Temüjin
New Member


Joined: 06 Nov 2008
Posts: 2

PostPosted: Thu Nov 06, 2008 10:17 am    Post subject: Reply with quote

I registered just to say thank you.
Back to top
View user's profile Send private message
gllt
NO VOWELS >:[


Joined: 31 Aug 2008
Posts: 746
Location: Location: Location: Location: Location: Location:

PostPosted: Thu Nov 06, 2008 11:03 am    Post subject: Reply with quote

Temüjin wrote:
I registered just to say thank you.


Congratulations, because I totally forgot why I registered.
_________________
this signature could belong in it's own thread
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Dr. Kylstein
New Member


Joined: 13 Dec 2008
Posts: 3

PostPosted: Sat Dec 13, 2008 11:58 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
dfreer
Hazed


Joined: 11 May 2007
Posts: 80

PostPosted: Sun Dec 14, 2008 3:23 am    Post subject: Reply with quote

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.php?t=6281&start=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.
Back to top
View user's profile Send private message
Nach
ZSNES Developer
ZSNES Developer


Joined: 27 Jul 2004
Posts: 4596
Location: Solar powered park bench

PostPosted: Mon Dec 15, 2008 1:37 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
alexeena
New Member


Joined: 08 Apr 2009
Posts: 1

PostPosted: Fri Apr 10, 2009 6:03 am    Post subject: Reply with quote

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. Smile 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
Back to top
View user's profile Send private message
gllt
NO VOWELS >:[


Joined: 31 Aug 2008
Posts: 746
Location: Location: Location: Location: Location: Location:

PostPosted: Fri Apr 10, 2009 6:49 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Killa B
♥ Love Freak FlonneZilla ♥


Joined: 31 Mar 2007
Posts: 110
Location: USA

PostPosted: Fri Apr 10, 2009 7:14 am    Post subject: Reply with quote

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/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
gllt
NO VOWELS >:[


Joined: 31 Aug 2008
Posts: 746
Location: Location: Location: Location: Location: Location:

PostPosted: Fri Apr 10, 2009 8:51 am    Post subject: Reply with quote

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,"
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
adventure_of_link
Locksmith of Hyrule


Joined: 08 Aug 2004
Posts: 5679
Location: 255.255.255.255

PostPosted: Fri Apr 10, 2009 4:11 pm    Post subject: Reply with quote

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.
_________________

<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
DiGitalX
New Member


Joined: 11 Apr 2009
Posts: 1

PostPosted: Sat Apr 11, 2009 3:06 pm    Post subject: Reply with quote

thanks alot the core2 version works under ubuntu itrepid
_________________
MicroSystem Team
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ZSNES board Forum Index -> ZSNES Talk All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group