I Can't Run Vektar (commercial) Using Autorun


T

TelcoLou

Guest
:p

Code:
#!/bin/sh

/mnt/sd/cpu_speed 1 2 200 0.6
sync

cd /usr/gp2x/
exec ./vektar.gpe

I get a nice black screen using this as my 'autorun.gpu' script. What am I doing wrong?

I threw cpu_speed on the SD card, in the root, vektar is there, no other folders or directories ... I'm stupid :)
 
Uhhh, /usr/gp2x/ isn't located on the SD card. You're referencing the NAND with ./ (<current directory>/), not the SD card. Change /usr/gp2x/ to /mnt/sd/, or stop using relative paths.

Also, I think the line where you execute vektar is supposed to go before the sync.
 
Code:
 #!/bin/sh

/mnt/sd/cpu_speed 1 2 200 0.6
exec ./vektar.gpe
sync

cd /mnt/sd/

Nada.
 
No, lolol. Okay. Like this, :lol:
Code:
#!/bin/sh

cd /mnt/sd/
./cpu_speed 1 2 200 0.6
./vektar.gpe
sync

cd /usr/gp2x/
As long as vektar.gpe and cpu_speed are in the root directory of your SD card.
 
YAY! Thanks, iignotus & subcon959 ... this worked:

Code:
#!/bin/sh

cd /mnt/sd/
./cpu_speed 1 2 200 0.6
./vektar.gpe
sync

cd /usr/gp2x/
exec /usr/gp2x/gp2xmenu
 
Yes, I knew it would, lol.

You're very welcome.


DSR

Trooper

Oh and just to let you know, if you cd /usr/gp2x/, you don't have to exec /usr/gp2x/gp2xmenu, you can just ./gp2xmenu since you're in the directory. Just in case you were wondering.


DSR

Trooper
 
Back
Top