[Coco] Nitros9 Script question

Robert Gault robert.gault at worldnet.att.net
Sat Oct 2 23:06:56 EDT 2004


Charlie wrote:
> After looking at the nitros9 script mb to make a boot disk, I had the idea 
> maybe I could make a script to start the game rogue with a saved game.
> 
> This is what I tried:
> 
> chx /h0/games/rogue/cmds
> chd /h0/games/rogue
> dir
> echo Type name of saved game.
> var.1
> echo Starting ROGUE with saved game %1
> ex rogue %1
> 
> What happens is, the script runs, you can type the name of the saved game 
> (Romar.adv). The script says "Starting ROGUE with saved game Romar.adv"
> The disk light goes for a little bit and then nothing happens. It sits there 
> and never runs the game. Pressing CNTRL-C gives error 003 and I'm returned 
> to the Shell prompt.
> 
> Can anyone explain how to fix this script, or what I did wrong?
> Thanks.
> 
> Charlie
> 
> 
> 
> 

Rogue runs best in a graphics screen although it will run on a test 
screen. Here is how I started a game on my hard drive per your request.

chd /h2/games/rogue; chx /h2/games/rogue/cmds
makegw
dir
echo Type name of saved game.
var.1
echo Starting ROGUE with saved game %1
rogue %1 <>>>/1
chd /dd; chx /dd/cmds

This worked nicely and if you hit ENTER without a saved game, the game 
starts new.

Here is my makegw script which is kept in the game directory.
display 1b 24
display 1b 20 5 0 0 50 18 0 1 1
display 1b 31 1 0
display 1b 21 <>/1




More information about the Coco mailing list