OESF Portables Forum
Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: Anonymous on February 23, 2004, 08:34:51 pm
-
I really find the snes9x emulator for the zaurus rather amazing, but the landscape view is kind of annoying, is there any way of doing this? I gather it\'s an SDL related thing... Any help would be apreciated, ALOT... Thanks.
-
Not that I have found, and believe me when I say that I have searched long and hard for an answer.
I think snes9x being designed to run in landscape mode has something to do with having direct access to the frame buffer. What that exactly means, I don\'t know. I hope a developer will read this and try to explain it to us.
I have found a way to rotate the screen, but it just flips it 270 degrees instead of 90 degrees. That really doesn\'t do us any good, still in landscape view.
I do know of a way to change your control keys though, which may be useful considering how impossible it is to use s,d,x and c for gameplay whenever you are holding the zaurus sideways to view landscape mode.
check out this page for more info:
http://www.suhami.net/zaurus/snes/keybind (http://www.suhami.net/zaurus/snes/keybind)
Basicly you need to export your new keys by typing this in the console:
export S9XKEYS=27,100,99,115,120,97,122,13,32,103,106,117,110,121,98,105,109
Those numbers are your control keys in this order:
Quit,A,B,X,Y,L,R,START,SELECT,LEFT,RIGHT,UP,DOWN,L+U,L+D,R+U,R+D
(quit = 27, A = 100, etc...)
You don\'t want to mess with the \"LEFT,RIGHT,UP,DOWN,L+U,L+D,R+U,R+D\" controls so leave those blank...
export S9XKEYS=27,100,99,115,120,97,122,13,32
Then use the key chart on the link I posted above to change those numbers to whatever keys you want to use for the controls.
-
Well, that helps alot for the buttons, I was getting pised at the az and such. As for the screen, I was looking at a japanese (I think, couldn\'t userstand it) site that dealt with libsdl poting (dealing with 1.2.5 stable I think, no cvs here) and I did however make out roate (in english, wow) on the site, I think I\'ll download the patch and see what it does (comments are hopefully in english), I hope that\'ll lead somewhere, otherwise maybe someon japanese could read it (probably has nothing to do with what I hope, but ah well.
Hmmm... so you turned the screen 270 degrees? It was portrait but upside down? Probably SDL related, if so rotating it the other way shouldn\'t be too hard, a simple patch for SDL should solve the problem, and be much nicer for playing
-
Oh, it can be done. I was reading through the SDL 1.2.7 documentation (there is a readme file relating to qtopia) and the author specifically says one can run SDL apps fullscreen in both landscape and portrait modes. I compiled SDL 1.2.7 for use with the qtopia libraries (\'twas a cross compile) yet, running snes9x gives me the good old \"Parachute deployed\" followed by a Segmentation Fault, good times...
I\'m going to try the sdl test apps (compiling now) to see if it\'s a problem with my compile or if anything runs. If all\'s good maybe a recompile of snes9x is in order (the one circulating is rather old is it not anyways?
I should probably post in the devel forums, but I seem to recall the official snes9x not using SDL, maybe the snes9x/sdl for the z was a fork at one point, if anyone can point me to the code that\'d be great, thanks...
-
I\'m curious if anyone ever did find a way to run snes9x in portrate mode. Anyone care to respond? I would love to be able to do this.
thanks
-
I would like to know the same thing. But so far I have little to no luck be abel to run any sdl progames in something other than landscape mode.
JP
-
Would they fit? I think the SNES had a horizonal resolution exceeding the 240 pixels which would be available on a 5x00 IF rotated portrait. :?:
-
It does fit in landscap mode. But Its A PAIN to play.
JP
-
It IS a pain to play in landscape mode. Doesn\'t it just need to be recompiled for portrait? Then if it didn\'t fit the screen that would be another problem. Oh well.
-
Form what I have read. The resone it runs in landscape mode is becouse it was desjied for the C series ( of couse since this is open souce it make no differnce). I have found the sdl varable that is used to roate the screen but the only thing I can do with it is invert, I beleave if its any thing other tham a muplay of 2 it dos not work. If any DIA HARD HACKER is reading this can you give me some insight(as I am not a programer. And I am not a newbe.). Thx
JP
-
anybody get this working on and sl-6000??????
-
Actually the reason why SDL runs in landscape by default is because of the natural orientation of the LCD/framebuffer for all of the Zaurus models. If you do not apply any rotation whatsoever, images on screen will appear in landscape. For the 5x00 and 6000 models Qtopia rotates everything 90 degrees clockwise by default.
If you apply any kind of rotation you have to start transposing the images, which will slow things down.
-
hey CoreyC or anybody else who can help out here, i want to use (m,n,j,k) as my abxy keys but in the game these keys act as both what i changed them to and direction keys. how do i stop them from being direction keys(i dont want mario to jump and crouch at the same time)? i use the pad for direction and dont need other keys doing the same thing.
i tried adding the direction key numbers to the export command: export S9XKEYS=27,106,110,109,107,98,104,13,8,274,273,276,275. as you can see i used 274,273,276,275 and while that corected my problem of the abxy keys it made the pad do only walk left and crouch. maybe i got the numbers wrong?
-
I\'ve been playing on my sl-5500 using a pocketop keyboard. It suprisingly works like a charm by simply turning IRK on and starting up snes9x. The only down side is... no easy handheld gaming... (since you have to set up the keyboard).
Here is the script i use to play
#! /bin/sh
export S9XKEYS=27,99,120,100,115,97,122,13,32,106,108,105,107,110,111,44
SDL_QT_ROTATION=2 snes9x -ns $1
I put that in the file \"s9x\" and just run this command to play.
s9x /mnt/cf/snes/zelda.smc
dont forget to chmod +x s9x
Lately I made a different shell script for each game I have. I also made icons for each game in png format so I can just start a game from the launcher. If anyone would like them let me know.
-
Hey thanks for the tips demosthenes. Anyone else have any ideas on how I can fix my other problem? Would someone care to post what keys they use for their 5500 or 5600?
Thanks again.
-
Hello everybody,
I was wondering, would it be possible to use the application keys (address book, calendar, menu and mail) as the snes buttons? In the link that was given previously (http://www.suhami.net/zaurus/snes/keybind) the mappings for these keys don\'t appear. Does anybody know what is their corresponding number?
Also, theoretically, it is possible to save your game by pressing FN-x and restoring the game by pressing SHIFT-FN-x. But how do you press the function keys (in a 5x00 series)?
Thanks!
-
Is there a way to map the keys to the buttons on the front of the zaurus? How can I make the center button on the directional pad be assigned to \'a\'?
-
well the centre button is the same as the \'space\' key. Don\'t know about the others.