Script Help


Greenchili

Member
Joined
Dec 1, 2005
Messages
120
I've been trying to make some scripts to load my GP2X stuff in order to reduce the clutter in the directories but have run into a few snags.

I was wondering if someone could help out here.

Certain emulators do not seem to like being loaded from my scripts. The same thing happened with trying to load other scripts but I got around that by just cutting and pasting the commands into my script.

Here is a basic script outline

Code:
cd /mnt/sd/emu/vice   ; change to emu directory
./x64 -directory data/c64:data/drives -sidengine 0 -refresh 2 ; execute emu

##  so that cfg files are saved correctly
sync
sync

cd /usr/gp2x
exec /usr/gp2x/gp2xmenu


For some reason several emu's do not seem to like me running them from a script. In particular gp2xhandy, gnuboy, mame, nesgp2x, squidgesnes. So any hints would be great.

I tried the "exec" command, but that does not seem to work either.
 
What? No script experts here?

I know some people are doing this cause I've seen them mention it.
 
Back
Top