GLBasic forum

Main forum => GLBasic - en => Topic started by: kamakazieturtle on 2010-Jan-05

Title: GP2X Utility .gpu
Post by: kamakazieturtle on 2010-Jan-05
Is there a way to compile GP2X programs to not only the game extension .gpe but also for the utility extension .gpu?
Title: Re: GP2X Utility .gpu
Post by: Kitty Hello on 2010-Jan-05
just rename. The "gpe" I create is a simple script file (unix line endings!)
Title: Re: GP2X Utility .gpu
Post by: kamakazieturtle on 2010-Jan-05
Also is there a way to rename the programs too. Whenever I rename the .gpe or .gpu it will not run. I tried changing the .prg files name to the same thing but that didn't work either.

Solved: Edit the .gpe or .gpu file in notepad. Change either of the .prg names to suite yours. Thank you Gernot.  :nw:

#!/bin/sh

if [ -e /sys ]
then
    ./gp2xwiz.prg
else
    ./autorun.prg
fi

cd /usr/gp2x
./gp2xmenu
Title: Re: GP2X Utility .gpu
Post by: Kitty Hello on 2010-Jan-05
Warning: Notepad will save with windows line endings -> it won't work then!!
Title: Re: GP2X Utility .gpu
Post by: kamakazieturtle on 2010-Jan-05
Its was working this morning before I left for work. I'll double check the program tonight.