OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: GMan on March 17, 2004, 09:34:08 am

Title: SNES on C860
Post by: GMan on March 17, 2004, 09:34:08 am
Hi,

I\'ve got the snes9x emulator from http://www.suhami.net/zaurus/index.cgi?Emulator/snes9x (http://www.suhami.net/zaurus/index.cgi?Emulator/snes9x) and the libSDL from http://www.self-core.org/~kaoru-k/wiki/Lib...inuxZaurus.html (http://www.self-core.org/~kaoru-k/wiki/LibSdlOnLinuxZaurus.html) (thanks to the site at http://viz.aset.psu.edu/ga5in/SharpZaurus.html (http://viz.aset.psu.edu/ga5in/SharpZaurus.html) for the info).

I can play games in fullscreen in landscape mode only with the following command:
Code: [Select]
snes9x -hi -x2 -ns -xs 640 -sy 480

However, the framerate is severely reduced because of the hires option  (-hi) and I think it is doing full VGA (not 100% sure).  Is there a way to run this at 320x240 fullscreen?  I\'ve tried:
Code: [Select]
snes9x -xs 320 -ys 240
but this produces a black box in the middle of my screen and I have to cancel to continue.

If I run:
Code: [Select]
snes9x -xs 640 -ys 480
it runs in fullscreen, but only the top left corner of the screen is actually drawn to.

Any help would be appreciated!
Thanks.
-Gary
Title: SNES on C860
Post by: padishah_emperor on March 22, 2004, 07:49:30 pm
Hi, you need to follow the instructions at
http://viz.aset.psu.edu/ga5in/SharpZaurus.html (http://viz.aset.psu.edu/ga5in/SharpZaurus.html)

You need a script for EACH game you want to launch, and make desktop entry file as described, this puts an entry on your launcher, and treats it like an SL-5500 app, i.e. it runs in QVGA.

This gives you full screen full speed SNES games, just tried it and it works great.
Title: SNES on C860
Post by: GMan on March 23, 2004, 08:57:11 am
Ahh - that was my problem   I thought I didn\'t need to create an icon and could run it from the command line.  I did have to do the SQL_QT_INVERT_ROTATION=1 when using the zports SDL though.

Thanks!
Title: SNES on C860
Post by: padishah_emperor on March 23, 2004, 09:58:07 pm
I believe there may be something wrong with the zports SDL library, on my 860, applications are completely upside-down.
Title: SNES on C860
Post by: GMan on March 23, 2004, 10:55:15 pm
Yeah - but if you add SQL_QT_INVERT_ROTATION=1 to your .sh script it will be right-side up.  I don\'t know if this affects performance.  Do you know of a launcher for snes9x?  Otherwise, I;d have to have a million items in my Games folder.  If not, I\'ll probably look at creating one.
Title: SNES on C860
Post by: stupkid on March 23, 2004, 10:56:15 pm
export SQL_QT_INVERT_ROTATION=1

in the shell script that launches the game should fix it.  

I\'ve had the exact same problem on my c860, but others have not.  I suspect that running the 1.2.5 SDL lib for c860 writes some config that is read by the zports 1.2.6 SDL.  If you run an SDL app from the CLI you will see that it detects that you are running a c860, but then it detects that your display type is sl-5500.  Don\'t know how, why , or where it is getting this info...
Title: SNES on C860
Post by: ads on March 24, 2004, 03:45:51 am
I don\'t know about the 860 but fro the 7xx range \"Zemufeex\" works great and takes alll the hasstle out of writing scripts. Find it on killfiz.
BTW I\'m using the 1.2.5 SDL lib no problem with rotation
Title: SNES on C860
Post by: cowbean on April 27, 2004, 07:49:25 pm
is there something special that must be done to get sounds working?  TIA
Title: SNES on C860
Post by: GMan on April 27, 2004, 09:23:37 pm
cowbean, if you are using the script mentioned above, it includes the \'-ns\' option which disables sounds.  Sound will slow things down...
Title: SNES on C860
Post by: zaphod on April 27, 2004, 10:15:07 pm
Just wondering, has anyone had much luck with other SDL emulators on C7XX and C8XX?

I have gotten the following to work reasonably (playably) well using the patched SDL that comes from the Japanese snes9x site:

snes9x
dgen  Sega Genesis(requires a libstdc++ from familiar)
znester NES emulator
zstella Atari 2600
zmamefull

However, I can only get snes9x and zstella to run full screen. The other two only appear as a small square in the middle of the screen. Still playable though. I\'m not sure which mame is best since there are a bunch of them floating around.
Title: SNES on C860
Post by: ultra-hp on May 10, 2004, 10:44:40 pm
Do I have to make a file called bustamove.sh using vi or some other editor and type the command below?

/opt/QtPalmtop/bin/bustamove.sh:

#!/bin/sh
export SDL_QT_INVERT_ROTATION=1
/home/QtPalmtop/bin/snes9x -xs 320 -ys 240 -ns /home/zaurus/Documents/Rom_Files/Bust-a-Move.smc.gz

If I type #!/bin/sh I get an error
bash: #!/bin/sh: event not found
when I type the rest
export SDL_QT_INVERT_ROTATION=1
/home/QtPalmtop/bin/snes9x -xs 320 -ys 240 -ns /home/zaurus/Documents/Rom_Files/Bust-a-Move.smc.gz
all I get is a black screen. No flickering - nothing - just black.

Any ideas?
Using Cacko 1.21 with Hotfix a