OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Gpsp Gba Emulator For Cacko/sharp Roms
tovarish
post Oct 21 2007, 09:49 AM
Post #1





Group: Members
Posts: 299
Joined: 27-October 04
Member No.: 5,233



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
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
bolbit
post Dec 25 2007, 08:22 AM
Post #2





Group: Members
Posts: 111
Joined: 6-September 05
From: Aix en Provence/Paris
Member No.: 8,048



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 :
CODE
#!/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
CODE
#!/bin/bash
export GPSPKEYS=115,97,276,275,273,274,13,32,120,122
cd "$1"
LD_PRELOAD=<pathtolibsdlbvdd> 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.
Go to the top of the page
 
+Quote Post

Posts in this topic
tovarish   Gpsp Gba Emulator For Cacko/sharp Roms   Oct 21 2007, 09:49 AM
bolbit   hi, i'm very interested by this emulator, from...   Oct 31 2007, 08:50 AM
tovarish   strange someone deleted the attachment i had there...   Oct 31 2007, 09:55 AM
bolbit   thanks !!   Nov 1 2007, 05:24 AM
bolbit   hi, bad news, on a C1000 with cacko 1.23, and afte...   Nov 1 2007, 10:12 AM
sidmoraes   QUOTE(bolbit @ Nov 1 2007, 10:12 AM) hi, ...   Nov 1 2007, 11:39 AM
bolbit   thanks, that was that!.   Nov 2 2007, 06:05 AM
Jon_J   gpsp-qt_0.9-SDL-3_arm.ipk places "gpsp" ...   Nov 2 2007, 08:04 AM
Jon_J   I figured that gba_bios.bin needed to be placed in...   Nov 2 2007, 01:26 PM
sidmoraes   QUOTE(Jon_J @ Nov 2 2007, 01:26 PM) I fig...   Nov 2 2007, 07:02 PM
bolbit   Jon_J, you need to place the gba_bios.bin in the s...   Nov 3 2007, 03:04 AM
Jon_J   Here's what I have tried so far: 1. I tried th...   Nov 3 2007, 06:54 AM
sidmoraes   QUOTE(Jon_J @ Nov 3 2007, 06:54 AM) Here...   Nov 3 2007, 10:40 AM
Jon_J   I chmod +x /opt/QtPalmtop/bin/zemufeex_gba.sh and ...   Nov 3 2007, 02:07 PM
sidmoraes   We need to investigate this case with anther aproa...   Nov 3 2007, 06:07 PM
Jon_J   QUOTE(sidmoraes @ Nov 3 2007, 08:07 PM) W...   Nov 4 2007, 07:26 AM
tovarish   what happens when you do this in a terminal window...   Nov 4 2007, 09:11 AM
Jon_J   QUOTE(tovarish @ Nov 4 2007, 11:11 AM) wh...   Nov 4 2007, 09:29 AM
sidmoraes   "./" is your current directory! only...   Nov 4 2007, 11:20 AM
tovarish   QUOTE(sidmoraes @ Nov 4 2007, 08:20 PM) g...   Nov 4 2007, 10:30 PM
bolbit   hi, i had the same issue, the way to run gpsp from...   Nov 9 2007, 07:06 AM
bolbit   To summarize zemuf & gpsp & cresho setup :...   Dec 25 2007, 08:22 AM
AltairTK   QUOTE(bolbit @ Dec 25 2007, 08:22 AM) To ...   Jan 31 2011, 08:32 AM
Jon_J   QUOTEExcuse me if i resumed an old thread, but the...   Feb 1 2011, 12:09 PM
AltairTK   QUOTE(Jon_J @ Feb 1 2011, 12:09 PM) QUOTE...   Feb 2 2011, 07:11 AM
Darth_Sith   I can't get it working. Run in shell (640x480)...   Feb 9 2008, 08:07 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd July 2014 - 09:52 PM