OESF Portables Forum
Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: tovarish on October 21, 2007, 01:49:16 pm
-
Who wants a near full speed and very playable GBA emulator for the Sharp Roms. Suhami(is that his name?) compiled the original gpsp for pdaxrom and I ported it to the sharp rom (http://www.suhami.net/ez/?page_id=7).
It needed a compiler upgrade, the 2.95 gcc is not up to the task of compiling anything anymore.
Gpsp since it is made for the psp and then ported to gp2x has very good arm assembly optimisation for near full speed play. I have tried many games and most of them are very playable.
I am including the executable in this post as well as the script needed to play it in zemu frontend. I have modified Suhami's code to change the key bindings to
(L,R,Down,Up,Left,Right,Start,Select,B,A) => (SDLK_a,SDLK_s,SDLK_DOWN,SDLK_UP,SDLK_LEFT,SDLK_RIGHT,SDLK_q,SDLK_w,SDLK_z,SDLK_
)
If you dont like these keys suhami aslo mentions in his website and i checked his code that you can use the environment variable GPSPKEYS as shown below to use your favorite keys.
GPSPKEYS= L,R,Down,Up,Left,Right,Start,Select,B,A
$ export GPSPKEYS=303,120,274,273,276,275,13,32,306,308
I am sorry not to ipk it but maybe someone can do it for me... and oh yes you need libsdl for it.
tovarish
-
hi, i'm very interested by this emulator, from where this executable for cacko can be downloaded?
thanks
-
strange someone deleted the attachment i had there but i see that the porter himself has compiled it for sharp roms. you can get it from here
http://www.suhami.net/zaurus/gpsp/gpsp-qt_0.9-SDL-3_arm.ipk (http://www.suhami.net/zaurus/gpsp/gpsp-qt_0.9-SDL-3_arm.ipk)
-
thanks !!
-
hi, bad news, on a C1000 with cacko 1.23, and after copying the gba-bios.bin file on the same directory than the rom directory, gpsp just freeze the zaurus (reset needed).
Any hint?
-
hi, bad news, on a C1000 with cacko 1.23, and after copying the gba-bios.bin file on the same directory than the rom directory, gpsp just freeze the zaurus (reset needed).
Any hint?
I have a c1000 and a c3100 with cacko, working. I beleive you need another version of libsdl, with bvdd support. Package from feed don't work.
Get from this address: http://piro.sytes.net/~piro/pukiwiki/pukiw...vdd%CD%D1libSDL (http://piro.sytes.net/~piro/pukiwiki/pukiwiki.php?bvdd%CD%D1libSDL)
Give to us your feedback.
-
thanks, that was that!.
-
gpsp-qt_0.9-SDL-3_arm.ipk places "gpsp" here:
/opt/QtPalmtop/bin/gpsp
I placed my "gba_bios.bin" in the same directory, but when run from a console, I get:
gba_bios.bin not found
Where does the bios file need to be placed?
If I put it where I have my game stored, I know it won't be found there either. I tried that and got the same result.
My gba games are all here:
/hdd3/Documents/application/Game_Roms/gba/
-
I figured that gba_bios.bin needed to be placed in /home/zaurus/
I tried it and my Z locked up. (SL-C3100 with Cacko 1.23)
So I downloaded libsdl_1.2.5-bvdd-03_arm.ipk from this thread, and installed it after uninstalling libsdl_1.2.5-bvdd-07-2
gpsp still locks up my Z.
tovarish, where is the script that allows this to be used in the zemu frontend?
I have Cresho's entire zemu package with all games working, including Turbografx CD games.
I would like to get Gpsp Gba Emulator working, but I don't want to break my current setup that uses the zemu frontend.
-
I figured that gba_bios.bin needed to be placed in /home/zaurus/
I tried it and my Z locked up. (SL-C3100 with Cacko 1.23)
So I downloaded libsdl_1.2.5-bvdd-03_arm.ipk from this thread, and installed it after uninstalling libsdl_1.2.5-bvdd-07-2
gpsp still locks up my Z.
tovarish, where is the script that allows this to be used in the zemu frontend?
I have Cresho's entire zemu package with all games working, including Turbografx CD games.
I would like to get Gpsp Gba Emulator working, but I don't want to break my current setup that uses the zemu frontend.
This is my script:
# cat /opt/QtPalmtop/bin/zemufeex_gba.sh
#!/bin/bash
cd "$1"
#GPSPKEYS=L,R,Down,Up,Left,Right,Start,Select,B,A
#export GPSPKEYS=105,111,122,119,97,115,109,110,107,106
#export GPSPKEYS=111,112,304,113,9,97,13,32,107,108
#export GPSPKEYS=303,120,274,273,276,275,13,32,306,308
#export GPSPKEYS=97,115,274,273,276,275,13,32,122,120
#Sidao
export GPSPKEYS=115,97,276,275,273,274,13,32,120,122
gpsp "$2"
#VisualBoyAdvance --auto-frameskip --rom-size16 "$2"
exit 0
#
I tried some keys combination, and I like my "joystick" in my zaurus keyborad.
-
Jon_J, you need to place the gba_bios.bin in the same directory as the gba rom directory, and launch gpsp from that directory.
about the sdl lib, i have downloaded the v6 : http://piro.sytes.net/~piro/zaurus/SDL/lib...bvdd-06_arm.ipk (http://piro.sytes.net/~piro/zaurus/SDL/libsdl_1.2.5-bvdd-06_arm.ipk) and it works for gpsp.
This sdl lib breaks the cresho setup for the other emulators : the arrow key are inverted in snes. do not know how to correct this yet (did not tried the GPSPKEY setup above...)
I have done quite the same scrip than above to run gpsp from qt. Note that you need to un-check the "run in magnified screen" box to have the arrow keys not inverted.
-
Here's what I have tried so far:
1. I tried this emulator in pdaxii13 and discovered that I needed to launch it in a console after I navigate to the directory that gpsp and gpsp_bios.bin are located. It launched in a very small size and the controls are backwards.
2. So I tried the same method in Cacko, and my machine froze up.
3. Next, I tried my 2nd console that I have set up for Turbografx CD games. This console has "run in magnified screen" checked. This stopped the game from freezing. I still have to navigate to the directory to launch the emulator. The controls are reversed here. Running this emulator this way is similar to to running psxforall, in that you navigate your file system in a text console, and the emu options are available.
Next, I need to use the script that I use in turbografx, but modify it to make the controls work and make it recognize gba games, which takes me to the last thing I did.
4. I copied sidmoraes script, placed it into /opt/QtPalmtop/bin and launched Zemu. When I selected the game ROM in Zemu's file browser, it looks like it starts to load, but throws me back to the file browser. So I think I need to make a new script that has part of the above script and some of the turbografx script. As I recall, all the different emus in Cresho's package have similar named scripts.
-
Here's what I have tried so far:
1. I tried this emulator in pdaxii13 and discovered that I needed to launch it in a console after I navigate to the directory that gpsp and gpsp_bios.bin are located. It launched in a very small size and the controls are backwards.
2. So I tried the same method in Cacko, and my machine froze up.
3. Next, I tried my 2nd console that I have set up for Turbografx CD games. This console has "run in magnified screen" checked. This stopped the game from freezing. I still have to navigate to the directory to launch the emulator. The controls are reversed here. Running this emulator this way is similar to to running psxforall, in that you navigate your file system in a text console, and the emu options are available.
Next, I need to use the script that I use in turbografx, but modify it to make the controls work and make it recognize gba games, which takes me to the last thing I did.
4. I copied sidmoraes script, placed it into /opt/QtPalmtop/bin and launched Zemu. When I selected the game ROM in Zemu's file browser, it looks like it starts to load, but throws me back to the file browser. So I think I need to make a new script that has part of the above script and some of the turbografx script. As I recall, all the different emus in Cresho's package have similar named scripts.
First: Take a look at the executables, or, make shure zaurus can execute: chmod +x "/opt/QtPalmtop/bin/zemufeex_gba.sh" and "chmod /opt/QtPalmtop/bin/gpsp", as I can remember, I make this litle trick.
Second: We have a linux machine, you can have diferent versions of libs and load the proper one. Change the script, in the line "gpsp $2", change to 'LD_PRELOAD=<where are the right lib is> gpsp "$2"', like this:
LD_PRELOAD=/opt/QtPalmtop/lib/libsdl.so.0.7.2 gpsp "$2"
You can see what file is from what version with "ipkg files <package>"
Remember to copy the files from the least used libs to another place, and use this version only when required.
Give to us your feedback
-
I chmod +x /opt/QtPalmtop/bin/zemufeex_gba.sh and gpsp
I tried these 3 libsdl IPKs, none of them have libsdl.so.0.7.2
libsdl_1.2.5-bvdd-03_arm.ipk
libsdl_1.2.5-bvdd-06_arm.ipk
libsdl_1.2.5-bvdd-07-2_arm.ipk
So I tried loading it with
LD_PRELOAD=/opt/QtPalmtop/lib/libsdl.so.0.0.7
All the above IPKs have these same files.
libsdl.so
libsdl.1.2.so.0
libsdl.1.2.so.0.0.5
libsdl.1.2.so.0.0.7
zemu didn't launch the game, it just tried and went back to the file browser.
When I tried launching gpsp in a console, after CD-ing to /opt/QtPalmtop/bin, my Z would just freeze up.
I tried launching it in a console with each of the above SDL libs installed seperately.
The GUI installer won't let you install a different version without un-installing the previous one.
The only method that has worked for me so far, is to open a console that has "run in magnified screen" checked.
This is the only way I can launch gpsp without it freezing up my Zaurus.
This launches gpsp front end where you can change settings, or load a game through a text type file browser.
However, the controls are backwards.
I have a 2nd copy of qkonsole binary renamed to qkonsole2, just for turbografx CD games.
It behaves separately from the original QKonsole and has it's own .desktop file.
I don't remember how the turbografx CD games are handled in this console,
I'll have to look up my instructions for launching TG-CD games, since I have removed them from my hard drive on this Zaurus.
The controls for those games were correct.
-
We need to investigate this case with anther aproach...
Give to me the results of this comand:
ldd /opt/QtPalmtop/bin/gpsp
-
We need to investigate this case with anther aproach...
Give to me the results of this comand:
ldd /opt/QtPalmtop/bin/gpsp
ldd /opt/QtPalmtop/bin/gpsp
libSDL-1.2.so.0 => /home/QtPalmtop/lib/libSDL-1.2.so.0 (0x40022000)
libqpe.so.1 => /home/QtPalmtop/lib/libqpe.so.1 (0x40078000)
libqte.so.2 => /home/QtPalmtop/lib/libqte.so.2 (0x4020a000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40618000)
libz.so.1 => /usr/lib/libz.so.1 (0x40636000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x40650000)
libc.so.6 => /lib/libc.so.6 (0x4065f000)
libjpeg.so.62 => /home/QtPalmtop/lib/libjpeg.so.62 (0x4077a000)
libm.so.6 => /lib/libm.so.6 (0x407a0000)
libdl.so.2 => /lib/libdl.so.2 (0x407ce000)
libcrypt.so.1 => /home/QtPalmtop/lib/libcrypt.so.1 (0x407d9000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Thanks for looking into this.
EDIT:
When I said this, I was wrong.
libsdl_1.2.5-bvdd-03_arm.ipk
libsdl_1.2.5-bvdd-06_arm.ipk
libsdl_1.2.5-bvdd-07-2_arm.ipk
All the above IPKs have these same files.
libsdl.so
libsdl.1.2.so.0
libsdl.1.2.so.0.0.5
libsdl.1.2.so.0.0.7
All those IPKs have
libsdl.so
libsdl.1.2.so.0
libsdl.1.2.so.0.0.5
---------------------
libSDL_1.2.6-zports-5_arm.ipk has
libsdl.so
libsdl.1.2.so.0
libsdl.1.2.so.0.0.7
libSDL_1.2.6-zports-5_arm.ipk is required by Cresho's zemu
-
what happens when you do this in a terminal window. "/path/to/roms" should also have the gba bios rom.
cd /path/to/roms
./gpsp
-
what happens when you do this in a terminal window. "/path/to/roms" should also have the gba bios rom.
cd /path/to/roms
./gpsp
I copied gba_bios.bin to the below directory, then navigated to it. (I checked with ls, and am sure I'm in the correct directory.)
cd /hdd3/Documents/application/Game_Roms/gba
./gpsp
-bash ./gpsp: No such file or directory
It seems "gpsp" only works if I'm in /opt/QtPalmtop/bin
-
"./" is your current directory! only will work if executable is in this directory. Run without this, like this:
cd /hdd3/Documents/application/Game_Roms/gba
gpsd <rom file>
Again, Give to us your feedback.
-
gpsd <rom file>
should be
gpsp <rom name>
and i am sorry about
./gpsp
I have the executable in the same dir as my roms.
it should have been
gpsp
-
hi,
i had the same issue, the way to run gpsp from any directory is to sudo (for me at least !)
so move to the gba rom directrory and try >sudo gpsp.
-
To summarize zemuf & gpsp & cresho setup :
for a fresh cacko 1.23
Cresho setup :
install :
snes9x_SDL-2_arm.ipk
zemufe_0.1.1-3ex_arm.ipk
znester_7.1.1_arm.ipk
libmad_0.15.0b-zports-0_arm.ipk
libSDL_1.2.6-zports-5_arm.ipk
libSDL-mixer_1.2.6-zports-0_arm.ipk
edit zemufeex_smc.sh (in /opt/QtPalmtop/bin) and make it looks like this :
#!/bin/bash
export S9XKEYS=27,100,99,115,120,97,122,13,32,103,106,117,110,121,98,105,109
export SDL_QT_INVERT_ROTATION=1
cd "$1"
snes9x -win -16 -h 85 -mfs 8 "$2"
exit 0
note : the S9XKEYS setup is optional, it modifie the keys to replace the ok/center key with L.
for znester, create a directory in /home/zaurus/.znester and place the cresho znester.rc in that directory.
install gpsp : gpsp-qt_0.9-SDL-3_arm.ipk
type chown zaurus /opt/QtPalmtop/bin/gpsp as root (by default gpsp is own by root only)
to keep the cresho setup and be able to run gpsp (that requires a sdl lib with bvdd ie ibsdl_1.2.5-bvdd-07-2_arm.ipk)
you need to extract the file libsdl.1.2.so.0.0.5 from libsdl_1.2.5-bvdd-07-2_arm.ipk , rename it to libSDL-1.2.so.0 and put it where you want.
and then create/modify zemufeex_gba.sh (in /opt/QtPalmtop/bin) like
#!/bin/bash
export GPSPKEYS=115,97,276,275,273,274,13,32,120,122
cd "$1"
LD_PRELOAD= gpsp "$2"
exit 0
so gpsp will use this lib and the other emulators the zport one! and everything works with zemuf.
Everything comes from this thread and others on this forum.
-
I can't get it working.
Run in shell (640x480) freeze my c1000 (cacko), run via zemu close the app and return 127:error.
I don't know how to run a shell in 320x240. Anyone can explain me this?
However I think it's an erro of the library.
-
To summarize zemuf & gpsp & cresho setup :
for a fresh cacko 1.23
Cresho setup :
install :
snes9x_SDL-2_arm.ipk
zemufe_0.1.1-3ex_arm.ipk
znester_7.1.1_arm.ipk
libmad_0.15.0b-zports-0_arm.ipk
libSDL_1.2.6-zports-5_arm.ipk
libSDL-mixer_1.2.6-zports-0_arm.ipk
edit zemufeex_smc.sh (in /opt/QtPalmtop/bin) and make it looks like this :
#!/bin/bash
export S9XKEYS=27,100,99,115,120,97,122,13,32,103,106,117,110,121,98,105,109
export SDL_QT_INVERT_ROTATION=1
cd "$1"
snes9x -win -16 -h 85 -mfs 8 "$2"
exit 0
note : the S9XKEYS setup is optional, it modifie the keys to replace the ok/center key with L.
for znester, create a directory in /home/zaurus/.znester and place the cresho znester.rc in that directory.
install gpsp : gpsp-qt_0.9-SDL-3_arm.ipk
type chown zaurus /opt/QtPalmtop/bin/gpsp as root (by default gpsp is own by root only)
to keep the cresho setup and be able to run gpsp (that requires a sdl lib with bvdd ie ibsdl_1.2.5-bvdd-07-2_arm.ipk)
you need to extract the file libsdl.1.2.so.0.0.5 from libsdl_1.2.5-bvdd-07-2_arm.ipk , rename it to libSDL-1.2.so.0 and put it where you want.
and then create/modify zemufeex_gba.sh (in /opt/QtPalmtop/bin) like
#!/bin/bash
export GPSPKEYS=115,97,276,275,273,274,13,32,120,122
cd "$1"
LD_PRELOAD= gpsp "$2"
exit 0
so gpsp will use this lib and the other emulators the zport one! and everything works with zemuf.
Everything comes from this thread and others on this forum.
Excuse me if i resumed an old thread, but the site "Suhami.net" (at least for me) is unreachable and i haven't the package gpsp-qt_0.9-SDL-3_arm.ipk...
I have searched for this in various sites, and i found a version probably not compatible with cacko 1.23 and/or libsdl.1.2.so.0.0.5 (the emulator exits with error cmd__12QPaintDeviceiP8QPainterP13QPDevCmdParam.)
Have someone this package? So I try this on my C1000.
Thanx very much!
-
Excuse me if i resumed an old thread, but the site "Suhami.net" (at least for me) is unreachable and i haven't the package gpsp-qt_0.9-SDL-3_arm.ipk...
I have searched for this in various sites, and i found a version probably not compatible with cacko 1.23 and/or libsdl.1.2.so.0.0.5 (the emulator exits with error cmd__12QPaintDeviceiP8QPainterP13QPDevCmdParam.)
Have someone this package? So I try this on my C1000.
Thanx very much!
I haven't used my Zaurus for playing games for a long time, but I have the package you are asking for.
Be sure to check the package name, as the forum sometimes changes it. Name it as below without the quotes.
"gpsp-qt_0.9-SDL-3_arm.ipk"
I have also attached a "readme" text file in a "zip" file
-
Excuse me if i resumed an old thread, but the site "Suhami.net" (at least for me) is unreachable and i haven't the package gpsp-qt_0.9-SDL-3_arm.ipk...
I have searched for this in various sites, and i found a version probably not compatible with cacko 1.23 and/or libsdl.1.2.so.0.0.5 (the emulator exits with error cmd__12QPaintDeviceiP8QPainterP13QPDevCmdParam.)
Have someone this package? So I try this on my C1000.
Thanx very much!
I haven't used my Zaurus for playing games for a long time, but I have the package you are asking for.
Be sure to check the package name, as the forum sometimes changes it. Name it as below without the quotes.
"gpsp-qt_0.9-SDL-3_arm.ipk"
I have also attached a "readme" text file in a "zip" file
Thank you very very very much!
Now all works fine and fast