Mr 2X
Member
I'm curious about the gpe script that GLBasic apps use to distinguish between GP2X and Wiz.
Here it is:
What does it mean [ -e /sys ] ?
If I replace .prg files with the correct gpe files of other games/apps, I think it can make a single folder with GP2X and Wiz versions of them.
Is it right ?
Here it is:
Code:
#!/bin/sh
if [ -e /sys ]
then
./gp2xwiz.prg
else
./gp2x.prg
fi
cd /usr/gp2x
./gp2xmenu
What does it mean [ -e /sys ] ?
If I replace .prg files with the correct gpe files of other games/apps, I think it can make a single folder with GP2X and Wiz versions of them.
Is it right ?