home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Amiga Game Guide
/
AmigaGameGuide_CD.iso
/
Amiga
/
Games-AddOns
/
WormsDC-Data
/
Level
/
Candy_Land
/
Install_DIY
next >
Wrap
Text File
|
1977-12-31
|
5KB
|
216 lines
Failat 21
Setenv >NIL: SOURCE `CD`
If NOT EXISTS DIY/CANDY.DIY
Skip ERROR
Endif
If NOT EXISTS DIY/CANDY2.DIY
Skip ERROR
Endif
Skip START
Lab ERROR
echo "*Ec"
echo " Ahhhhhh, for some strange reason, the source DIY file/s were NOT FOUND"
echo " in the correct directory!!! Have you moved / deleted them?!!?"
echo ""
ask " Sorry, can't copy what is not there! Press RETURN...."
Skip END
Lab START
Setenv >NIL: WDC " "
Menu
If $WDC EQ CHEATS
Skip CHEATS
Endif
If $WDC EQ HELP
Skip HELP
Endif
If $WDC EQ ONE
Setenv >NIL: TYPE ONE
Skip GO
Endif
If $WDC EQ TWO
Setenv >NIL: TYPE TWO
Skip GO
Endif
If $WDC EQ BOTH
Setenv >NIL: TYPE BOTH
Skip GO
Endif
Skip END
;-----------------------
Lab CHEATS
If NOT EXISTS ENV:CHEATS
echo "*Ec"
SETENV >NIL: CHEATS pp
echo " The 'Cheats Executable-Menu' will now be copied when you select the"
echo " required installation type. To reverse this, press the same button"
echo " again."
echo ""
Skip START BACK
Endif
Delete >NIL: ENV:CHEATS
echo "*Ec"
echo " The 'Cheats Executable-Menu' will no longer be copied along with the"
echo " Candy-Land file/s"
echo ""
Skip START BACK
Lab HELP
echo "*Ec"
echo " Help"
echo " ----"
echo ""
echo " Since there are TWO DIY files included, you must choose which one you"
echo " wish to install, or of course you may install both of them."
echo ""
echo " Candy Land 1 (recommended) has a background pattern (which is revealed"
echo " when an explosion occurs). This in my opinion makes the landscape better."
echo " The 'Candy Land 1' button will install this landscape."
echo ""
echo " Candy Land 2 is exactly the same as 1 except it DOES NOT have a background"
echo " pattern (which some people prefer). The 'Candy Land 2' button will install"
echo " this landscape."
echo ""
echo " The 'Both Lands' button will install both of the lands to your game"
echo " directory, and will be named CANDY.DIY and CANDY2.DIY. This is so you"
echo " can see the difference between the two and decide which one you think is"
echo " best."
echo ""
echo " When the 'Copy Cheats Menu' button is pressed, the Cheats Menu will be"
echo " copied to your WormsDC drawer when you select the appropriate install type"
echo " (ie, one of the other three buttons). To reverse this, press the same"
echo " button again."
echo "
"
ask " Press RETURN to continue..."
echo "*Ec"
Skip Start BACK
Lab GO
echo "*Ec"
echo " Attempting to locate your WormsDC drawer......." NOLINE
Assign >NIL: Games: EXISTS
If NOT WARN
If EXISTS Games:WormsDC
Setenv >NIL: DEST Games:WormsDC
echo "
Found
"
echo ""
echo " The path is :"
echo "
"
echo " Games:WormsDC"
echo ""
ask " Is this correct? [Y/N] "
If NOT WARN
echo "*Ec"
Skip SELECT
Endif
Skip GO2
Endif
Endif
Assign >NIL: WORK: EXISTS
If NOT WARN
If EXISTS Work:Games/WormsDC
Setenv >NIL: DEST Work:Games/WormsDC
echo "
Found
"
echo ""
echo " The path is :"
echo "
"
echo " Work:Games/WormsDC"
echo ""
ask " Is this correct? [Y/N] "
If NOT WARN
echo "*Ec"
Skip SELECT
Endif
Skip GO2
Endif
Endif
echo "
Not Found!
"
echo ""
Lab SELECT
echo " Select your WormsDC drawer..."
echo ""
Requestfile - TITLE "Select your WormsDC Drawer..." DRAWERSONLY NOICONS >ENV:DEST
If WARN
ask " You pressed CANCEL - Do you wish to abort? [Y/N] "
If WARN
Skip END
Endif
echo "*Ec"
Skip SELECT BACK
Endif
Lab GO2
echo "*Ec"
CD $DEST
Setenv >NIL: DEST `CD`
If NOT EXISTS TWDIY
echo " Sorry, the appropriate drawer structure was NOT found in your WormsDC"
echo " drawer!"
echo ""
ask " Do you want to choose a different path? [Y/N] "
If WARN
echo "*Ec"
Skip SELECT BACK
Endif
Skip END
Endif
If EXISTS TWDIY/CANDY.DIY
echo " Candy-Land file/s already exists in your DIY drawer!"
echo ""
ask " Should I delete any Candy-Land files within this drawer? [Y/N] "
If WARN
Delete >NIL: TWDIY/CANDY.DIY TWDIY/CANDY2.DIY FORCE
Else
Skip END
Endif
Endif
echo "*Ec"
echo " Installing DIY Files........." NOLINE
If $TYPE EQ ONE
CD "$SOURCE"
Copy >NIL: DIY/CANDY.DIY "$DEST/TWDIY" NOPRO
Endif
If $TYPE EQ TWO
CD "$SOURCE"
Copy >NIL: DIY/CANDY2.DIY "$DEST/TWDIY/CANDY.DIY" NOPRO
Endif
If $TYPE EQ BOTH
CD "$SOURCE"
Copy >NIL: DIY/CANDY#? "$DEST/TWDIY" NOPRO
Endif
echo "
DONE
"
echo ""
If EXISTS ENV:CHEATS
echo " Copying the Cheats-Menu......" NOLINE
CD "$SOURCE"
Copy >NIL: WDC_Cheats#? "$DEST"
echo "
DONE
"
echo ""
Endif
echo ""
echo " All Done!!"
echo ""
If $TYPE EQ ONE
echo " Candy Land 1 has been copied as CANDY.DIY"
echo ""
ask "
Press RETURN to continue...
"
Endif
If $TYPE EQ TWO
echo " Candy Land 2 has been copied as CANDY.DIY"
echo ""
ask "
Press RETURN to continue...
"
endif
If $TYPE EQ BOTH
echo " Candy Lands 1 and 2 have been copied as CANDY.DIY and CANDY2.DIY"
echo " respectively"
echo ""
ask "
Press RETURN to continue...
"
Endif
Lab END
CD "$SOURCE"
echo "*Ec"
echo " Bye Bye..."
ENV:
Delete >NIL: WDC CHEATS TYPE SOURCE DEST