Post subject: is it possible to do frame advance on linux snes9x?
Former player
Joined: 3/23/2006
Posts: 211
there seems to be no complete list of controls anywhere for the linux version of snes9x. As far as I can tell: fX = save shift fX = load shift - = slow down shit + = speed up shift 1 = record movie shift 2 = play movie shift 3 = movie stop If there isn't a frame advance for it I'll hack the source myself (if I can get it to compile), but really I don't see why it should work on Windows but not Linux (whats OS specific about frame advance?).
do not forget to *ENJOY THE SAUCE*
Post subject: Re: is it possible to do frame advance on linux snes9x?
Editor, Active player (297)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
I'm sure I have mentioned them somewhere... Frame advance should be one of these keys: comma, period, apostrophe, tilde, backslash. Try apostrophe first. Differences between unix and Windows versions are caused by different maintainers for the user interfaces, and different mechanisms behind them. In Windows, you have dialogs upon dialogs and menus upon menus and a registry or something, whereas in the unix version, the stuff is in unix/x11.cpp in a switch-case. Also, in Windows the function is bound to the physical location of the key in the keyboard, whereas in unix the function is bound to the character symbol produced by that key, which depends on the locale, complicating the thing further for everyone else but people with USA keyboard layout. Newer CVS versions of snes9x might be different in this aspect. The functions behind the keys (such as the frame advance functionality) are in the core, which is common for all versions, but the method of binding the keys to functions is very different in each version, because it is part of the UI. In many cases (as is the case especially when Nitsuja is coding, updates to the Windows version are not mirrored to the unix version. And when Nitsuja is coding, those changes usually also break the unix version, making trying to compile it a chore.
Emulator Coder, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
I've already done all that dirty work (insert microfont here) so you can use my version if you want. You can use any of Backslash, OpenBracket or CloseBracket (that's \ [ ] ) for frame advance. Shift+Backslash in the game window to get a high speed fastforward function on your terminal, Alt+Backslash for a poor man's cheat search on the console, etc. See also the extra command-line options made available.
Former player
Joined: 3/23/2006
Posts: 211
thanks for the answers :) I'll give DeHackEd's version a try...
do not forget to *ENJOY THE SAUCE*
Former player
Joined: 3/23/2006
Posts: 211
I haven't had much success: In the binary version of snes9x 1.43 on linux, comma, period, apostraphe, tilde and backslash all seem to do nothing, even when the game is paused by pressing 'pause'. And 'make' fails when trying to compile DeHackEd's version (./configure seems to work though). The first error make gives is: X11/extensions/xf86dga.h: No such file or directory I'm using gcc 4.0.3.
do not forget to *ENJOY THE SAUCE*
Emulator Coder, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
Edit the makefile. Find "-DUSE_DGA_EXTENSION" and delete it. Rerun make. You could also install the DGA development libraries, but I don't see that as being worth the effort.
Former player
Joined: 3/23/2006
Posts: 211
DeHackEd wrote:
Edit the makefile. Find "-DUSE_DGA_EXTENSION" and delete it. Rerun make. You could also install the DGA development libraries, but I don't see that as being worth the effort.
Now I've done that make gives me this error: /home/ajh02/snes9x-improvement7-src-unix-dehacked-June20_2k6/snes9x/unix/x11.cpp: In function ‘void S9xProcessEvents(bool8)’: /home/ajh02/snes9x-improvement7-src-unix-dehacked-June20_2k6/snes9x/unix/x11.cpp:1617: error: ‘FromPause’ was not declared in this scope does TASvideos have an irc channel by the way?
do not forget to *ENJOY THE SAUCE*
Emulator Coder, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
#nesvideos on irc.freenode.net See also the very top of this page, right underneath that big blue line.
Former player
Joined: 3/23/2006
Posts: 211
DeHackEd wrote:
#nesvideos on irc.freenode.net See also the very top of this page, right underneath that big blue line.
whoops, I know it said somewhere :)
do not forget to *ENJOY THE SAUCE*
Joined: 2/13/2006
Posts: 39
Location: Finland
Thanks for sharing this DeHackEd, I really appreciate it. At least someone supports people using the "right" OS. In the end, I couldn't compile this. I'm using gcc 4.3.6. I'm not a programmer so the error message was cryptic (the latest lines): /home/turambar/snes9x-improvement7-src-unix-dehacked-June20_2k6/snes9x/unix/x11.cpp:1855: warning: unused variable 'skipframes' /home/turambar/snes9x-improvement7-src-unix-dehacked-June20_2k6/snes9x/unix/x11.cpp:1859: warning: unused variable 'FromPause' /home/turambar/snes9x-improvement7-src-unix-dehacked-June20_2k6/snes9x/unix/x11.cpp:1866: error: `FromPause' was not declared in this scope /home/turambar/snes9x-improvement7-src-unix-dehacked-June20_2k6/snes9x/unix/x11.cpp:1866: warning: unused variable 'FromPause' /home/turambar/snes9x-improvement7-src-unix-dehacked-June20_2k6/snes9x/unix/x11.cpp: In function `const char* S9xSelectFilename(const char*, const char*, const char*, const char*)': /home/turambar/snes9x-improvement7-src-unix-dehacked-June20_2k6/snes9x/unix/x11.cpp:2322: error: `FromPause' was not declared in this scope /home/turambar/snes9x-improvement7-src-unix-dehacked-June20_2k6/snes9x/unix/x11.cpp:2322: warning: unused variable 'FromPause' make: *** [unix/x11.o] Error I also tried to enable jma decompressing from the beginning, but I had problems. Firstly the configure script says to use --with-jma switch, but after examining the configure script I found out that the correct switch is --with-jmadecomp. With the correct switch, the process failed with some files in the jma directory. I assume that this version is truly under construction, but I think this feedback is welcome.
Former player
Joined: 3/23/2006
Posts: 211
Well it compiles and runs but mode 7 looks bizarre http://www.geocities.com/huffers2002/Screenshot-1.png the rom isn't corrupt - it works fine with the binary pre-compiled version of snes9x 1.43, but this problem isn't specific to the DeHackEd version of snes9x. I tried compiling snes9x 1.43 myself and that has this problem too, so I'll ask about it on the snes9x forum.
do not forget to *ENJOY THE SAUCE*
Former player
Joined: 3/23/2006
Posts: 211
Well I've posted this problem on the snes9x bugs forum here, but in the meantime, could you upload the binary somewhere? Might that work for me? EDIT: just tried compiling it with the DGA and Vidmode extensions enabled, still the same problem though EDIT: fixed it! I was using gcc 3.4.6... when I switched to gcc 3.3.6 it worked :)
do not forget to *ENJOY THE SAUCE*