Gp2x Linux Scripting Bug?


CyberAxe

Member
Joined
Nov 18, 2005
Messages
206
i'm having a problem with a new script ive been trying out i have one script such as "AD&D - Dragon Strike.gpe"

all thats in this file is

Code:
./nes.gpemu "Advanced Dungeons & Dragons - Dragon Strike"

then in the nes.gpemu is this

Code:
/mnt/sd/PreRunSetup.gps
/mnt/sd/Overclock.gps

cd /mnt/sd/GP2x/Applications/Emulators/fceu/
./fceu  "$1.zip"

/mnt/sd/PostRunSetup.gps
/mnt/sd/ReturnToMenu.gps

and then i end up with error message like this when i attempt to run the AD&D - Dragon Strike.gpe

the message below is from a similar script but for sms games (since i already had that one logged)

Code:
: No such file or directoryreRunSetup.gps                                         
: No such file or directoryverclock.gps                                       
: command not found                   
: No such file or directorysd/GP2x/Applications/Emulators/smsplus/                                                                  
./gamegear.gpemu: ./sms_sdl: No such file or directory                                                    
: command not found                   
: No such file or directoryostRunSetup.gps

in theory this should work the only thing i can think of is that GP2x has some sort of problem running a script from a script or at least when dealing with files on the SD as when i use the ReturntoMenu script in other scripts those works ok
 
as soon as you said that i realised what was going wrong i use my own notepad but by default it saves in win/dos format

thanks
 
Back
Top