qemu + gta pnd how to ge it runnung?


rohezal

Advanced Member
Joined
Oct 18, 2009
Messages
1,712
hi i am a qemu noob, how can i get the gta release running? i got the pnd and qemu. it says "scripts/qemu.sh not found" in pnd_run.

do i have to download  a qemu image (with freedos, reactos or something)? or do i need to create my own image with windows 95 / 98 on it (got some cds flying around)?
 
I think it's just broken at the moment. It's not working on mine either. Installing Qemu didn't seem to make any difference.
 
GTA... great memories :D

I'm also not able to start the game.

The pnd out:

Code:
=======================================================================================
PND             : /media/SD/pandora/menu/gta.pnd
PND_FSTYPE      : Squashfs
APPDATADIR      : /media/SD/pandora/appdata/gta
APPDD_FSTYPE    : ext4
PND_CPUSPEED    : <unset>
EXENAME         : scripts/qemu.sh
ARGUMENTS       : <unset>
=======================================================================================
[ START ]--- Mount the PND ----------
Mounting : mount -t squashfs -o ro "/dev/loop1" "/mnt/utmp/gta"
Mounting the Union FS : mount -t aufs -o exec,dirs="/media/SD/pandora/appdata/gta=rw+nolwh":"/mnt/pnd/gta=rr" none "/mnt/utmp/gta"
[SUCCESS]--- Mount the PND ----------
[ START ]--- Starting the application ( scripts/qemu.sh  ) ----------
mkdir: cannot create directory `images': File exists
qemu: -hda /mnt/utmp/gta/bin/DRDosGTA.qcow2: could not open disk image /mnt/utmp/gta/bin/DRDosGTA.qcow2: Permission denied
[ FAILED]--- Starting the application ( scripts/qemu.sh  ) ----------
[ START ]--- Restoring the frame buffer status ----------
[SUCCESS]--- Restoring the frame buffer status ----------
[ START ]--- uMount the PND ----------
[ START ]--- Waiting the Union to be available ----------
[SUCCESS]--- Waiting the Union to be available ----------
auplink:plink.c:223: AUFS_CTL_PLINK_MAINT: Inappropriate ioctl for device
rmdir: failed to remove `/mnt/utmp/gta': Device or resource busy
[ START ]--- Waiting the PND mount dir to be free ----------
[SUCCESS]--- Waiting the PND mount dir to be free ----------
cleanup done
[SUCCESS]--- uMount the PND ----------
=======================================================================================
Return code is : 2
 
Oh good Morning,Yesterday was it late here.

Hmm i have no Problems,have you a Fat32 Formated SD Card/USB Stick?

Maybe it work when i simply take a "Sudo" into the SH Command Line.

Sometimes in Qemu Times had i to do this.

Will Try to fix,thx for Report ;)

Will make a Official Thread over this soon ^_^

hi i am a qemu noob, how can i get the gta release running? i got the pnd and qemu. it says "scripts/qemu.sh not found" in pnd_run.

do i have to download  a qemu image (with freedos, reactos or something)? or do i need to create my own image with windows 95 / 98 on it (got some cds flying around)?
No,only the PND is needed :)

Its a out of the Box PND with a untouched Freeware GTA packed into a Image with the Open DRDos.

No Files are from Microsoft and no Files are extra needed to download for this.

Will try to fix ^_^
 
Last edited by a moderator:
Hm, tried with a FAT32 USB stick ... but doesn't work.

PND out:

Code:
=======================================================================================
PND             : /media/sda1/pandora/menu/gta.pnd
PND_FSTYPE      : Squashfs
APPDATADIR      : /media/sda1/pandora/appdata/gta
APPDD_FSTYPE    : vfat
PND_CPUSPEED    : <unset>
EXENAME         : scripts/qemu.sh
ARGUMENTS       : <unset>
=======================================================================================
[ START ]--- Mount the PND ----------
Mounting : mount -t squashfs -o ro "/dev/loop4" "/mnt/utmp/gta"
Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/sda1/pandora/appdata/gta=rw+nolwh":"/mnt/pnd/gta=rr" none "/mnt/utmp/gta"
[SUCCESS]--- Mount the PND ----------
[ START ]--- Starting the application ( scripts/qemu.sh  ) ----------
mkdir: cannot create directory `images': File exists
qemu: -hda /mnt/utmp/gta/bin/DRDosGTA.qcow2: could not open disk image /mnt/utmp/gta/bin/DRDosGTA.qcow2: Permission denied
[ FAILED]--- Starting the application ( scripts/qemu.sh  ) ----------
[ START ]--- Restoring the frame buffer status ----------
[SUCCESS]--- Restoring the frame buffer status ----------
[ START ]--- uMount the PND ----------
[ START ]--- Waiting the Union to be available ----------
[SUCCESS]--- Waiting the Union to be available ----------
auplink:plink.c:223: AUFS_CTL_PLINK_MAINT: Inappropriate ioctl for device
rmdir: failed to remove `/mnt/utmp/gta': Device or resource busy
[ START ]--- Waiting the PND mount dir to be free ----------
[SUCCESS]--- Waiting the PND mount dir to be free ----------
cleanup done
[SUCCESS]--- uMount the PND ----------
=======================================================================================
Return code is : 2
 
@Ingoreis: I guess Qemu will want to open the qcow2 image file has readonly, but beeing in the PND, that may be difficult for FAT32 SDCard :( I don't know Qemu well, but maybe you can open the qcow as readonly and have all writing done on a diff file that you can put on the SDCard?
 
Thx for Answer

It work unpacked here very fine.

But in a Packed PND work it not.

I guess you are right but maybe have i a simple Solution.

I will try to build in a gksu before executing Qemu.

That should work.

The Game Image itself is ever copied to the Appdata Directory when it work.

Maybe gksu is my little helper here ;)
 
Thx for Answer

It work unpacked here very fine.

But in a Packed PND work it not.

I guess you are right but maybe have i a simple Solution.

I will try to build in a gksu before executing Qemu.

That should work.

The Game Image itself is ever copied to the Appdata Directory when it work.

Maybe gksu is my little helper here ;)
I'm not sure gksudo can be of any help. The quick and dirty way is to just copy the .qcow file from the bin folder to a newly created one, so it will have full access, at the expence of SDCard space. Just check in the lauch script the copy qcow file exit, if not, copy it...
 
It work now,thx for the Tip with the new created Directory ;)

But unfortunaly do i not exactly know how to use the

if

Command :rolleyes:

Now it copy ever the Image.

Seem that in my Tests Yesterday i forgot to delete the Appdata Directory every Time :rolleyes:

Here a Test PND.

http://qemu.openpandora.org/PNDs/Gta-Freeware.pnd

(upload finished in a minute)

When it work fine will i release oder X86 Games as PND too,because Qemu itself is often

some Users to complicated who only want to Play :D
 
Last edited by a moderator:
try something like

if [ ! -d images ];then
 mkdir images
fi
if [ ! -e images/DRDosGTA.qcow ];then
 cp bin/DRDosGTA.qcow images/
fi

should work (space are important inside brackets, don't forget them).
 
is it not possible to wget the qcow instead of bundling it in the pnd?
Its a good Idea too but i like more the

"Its all inside one PND Solution" ;)

@Ptitseb,thx work now.

Deleted 2 Times the Appdata,started 2 times the PND and have 2 Times the Game ^_^

Will upload it ,learned again more Things ,thx :)
 
Last edited by a moderator:
Thx for Reporting :)

CC and Rebirth Users are recomment to overclock to 900MHZ or more.

GHZ Users dont need that.

:)
 
This game is fantastic, played a lot when I was younger :)

Is there a way to play this in fullscreen?

I've a Rebirth Pandora, but even at 900MHz it isn't very fast. It's playable but not "fluid" :)

Do you know what to do to speed this a little bit up?
 
Last edited by a moderator:
Nice to hear ;)

I should start in Fullscreen Mode.

Things to make your Pandora faster:

You can with OPP5 overclock up to 1 GHZ and type the Command

sudo /usr/pandora/scripts/op_sysspeed.sh 363
to overclock your Pandoras Mem Speed.

the exact Commands are in this Thread:

http://boards.openpandora.org/index.php/topic/12478-overclocking-gpuram-lets-get-the-facts/

Edit: btw:

You can Switch Fullscreen Mode and Windowed Mode with CTRL+ALT+F :)

Edit Edit: Fixed Version now on the Repo,enjoy.

Real Puplishing this Evening with a new Thread and Video,see you then and thx for all ;)
 
Last edited by a moderator:
thx ingo for efforts!

I've done what you told me above, but it's still a little bit to slow for me...

I think it's time to uprade to the GHz Edition in EDs shop :D
 
Back
Top