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 >
Text File  |  1977-12-31  |  5KB  |  216 lines

  1. Failat 21
  2. Setenv >NIL: SOURCE `CD`
  3. If NOT EXISTS DIY/CANDY.DIY
  4.  Skip ERROR
  5. Endif
  6. If NOT EXISTS DIY/CANDY2.DIY
  7.  Skip ERROR
  8. Endif
  9. Skip START
  10. Lab ERROR
  11. echo "*Ec"
  12. echo " Ahhhhhh, for some strange reason, the source DIY file/s were NOT FOUND"
  13. echo " in the correct directory!!! Have you moved / deleted them?!!?"
  14. echo ""
  15. ask " Sorry, can't copy what is not there!  Press RETURN...."
  16. Skip END
  17.  
  18. Lab START
  19. Setenv >NIL: WDC " "
  20. Menu
  21. If $WDC EQ CHEATS
  22.  Skip CHEATS
  23. Endif
  24. If $WDC EQ HELP
  25.  Skip HELP
  26. Endif
  27. If $WDC EQ ONE
  28.  Setenv >NIL: TYPE ONE
  29.  Skip GO
  30. Endif
  31. If $WDC EQ TWO
  32.  Setenv >NIL: TYPE TWO
  33.  Skip GO
  34. Endif
  35. If $WDC EQ BOTH
  36.  Setenv >NIL: TYPE BOTH
  37.  Skip GO
  38. Endif
  39. Skip END
  40. ;-----------------------
  41.  
  42. Lab CHEATS
  43. If NOT EXISTS ENV:CHEATS
  44.  echo "*Ec"
  45.  SETENV >NIL: CHEATS pp
  46.  echo " The 'Cheats Executable-Menu' will now be copied when you select the"
  47.  echo " required installation type.  To reverse this, press the same button"
  48.  echo " again."
  49.  echo ""
  50.  Skip START BACK
  51. Endif
  52. Delete >NIL: ENV:CHEATS
  53. echo "*Ec"
  54. echo " The 'Cheats Executable-Menu' will no longer be copied along with the"
  55. echo " Candy-Land file/s"
  56. echo ""
  57. Skip START BACK
  58.  
  59. Lab HELP
  60. echo "*Ec"
  61. echo " Help"
  62. echo " ----"
  63. echo ""
  64. echo " Since there are TWO DIY files included, you must choose which one you"
  65. echo " wish to install, or of course you may install both of them."
  66. echo ""
  67. echo " Candy Land 1 (recommended) has a background pattern (which is revealed"
  68. echo " when an explosion occurs).  This in my opinion makes the landscape better."
  69. echo " The 'Candy Land 1' button will install this landscape."
  70. echo ""
  71. echo " Candy Land 2 is exactly the same as 1 except it DOES NOT have a background"
  72. echo " pattern (which some people prefer).  The 'Candy Land 2' button will install"
  73. echo " this landscape."
  74. echo ""
  75. echo " The 'Both Lands' button will install both of the lands to your game"
  76. echo " directory, and will be named CANDY.DIY and CANDY2.DIY.  This is so you"
  77. echo " can see the difference between the two and decide which one you think is"
  78. echo " best."
  79. echo ""
  80. echo " When the 'Copy Cheats Menu' button is pressed, the Cheats Menu will be"
  81. echo " copied to your WormsDC drawer when you select the appropriate install type"
  82. echo " (ie, one of the other three buttons).  To reverse this, press the same"
  83. echo " button again."
  84. echo ""
  85. ask " Press RETURN to continue..."
  86. echo "*Ec"
  87. Skip Start BACK
  88.  
  89. Lab GO
  90. echo "*Ec"
  91. echo " Attempting to locate your WormsDC drawer......." NOLINE
  92.  
  93. Assign >NIL: Games: EXISTS
  94. If NOT WARN
  95.  If EXISTS Games:WormsDC
  96.   Setenv >NIL: DEST Games:WormsDC
  97.   echo "Found"
  98.   echo ""
  99.   echo " The path is :"
  100.   echo ""
  101.   echo " Games:WormsDC"
  102.   echo ""
  103.   ask " Is this correct? [Y/N] "
  104.   If NOT WARN
  105.    echo "*Ec"
  106.    Skip SELECT
  107.   Endif
  108.   Skip GO2
  109.  Endif
  110. Endif
  111. Assign >NIL: WORK: EXISTS
  112. If NOT WARN
  113.  If EXISTS Work:Games/WormsDC
  114.   Setenv >NIL: DEST Work:Games/WormsDC
  115.   echo "Found"
  116.   echo ""
  117.   echo " The path is :"
  118.   echo ""
  119.   echo " Work:Games/WormsDC"
  120.   echo ""
  121.   ask " Is this correct? [Y/N] "
  122.   If NOT WARN
  123.    echo "*Ec"
  124.    Skip SELECT
  125.   Endif
  126.   Skip GO2
  127.  Endif
  128. Endif
  129. echo " Not Found!"
  130. echo ""
  131. Lab SELECT
  132. echo " Select your WormsDC drawer..."
  133. echo ""
  134. Requestfile - TITLE "Select your WormsDC Drawer..." DRAWERSONLY NOICONS >ENV:DEST
  135. If WARN
  136.  ask " You pressed CANCEL - Do you wish to abort? [Y/N] "
  137.  If WARN
  138.   Skip END
  139.  Endif
  140.  echo "*Ec"
  141.  Skip SELECT BACK
  142. Endif
  143. Lab GO2
  144. echo "*Ec"
  145. CD $DEST
  146. Setenv >NIL: DEST `CD`
  147. If NOT EXISTS TWDIY
  148.  echo " Sorry, the appropriate drawer structure was NOT found in your WormsDC"
  149.  echo " drawer!"
  150.  echo ""
  151.  ask " Do you want to choose a different path? [Y/N] "
  152.  If WARN
  153.   echo "*Ec"
  154.   Skip SELECT BACK
  155.  Endif
  156.  Skip END
  157. Endif
  158. If EXISTS TWDIY/CANDY.DIY
  159.  echo " Candy-Land file/s already exists in your DIY drawer!"
  160.  echo ""
  161.  ask " Should I delete any Candy-Land files within this drawer? [Y/N] "
  162.  If WARN
  163.   Delete >NIL: TWDIY/CANDY.DIY TWDIY/CANDY2.DIY FORCE
  164.  Else
  165.   Skip END
  166.  Endif
  167. Endif
  168. echo "*Ec"
  169. echo " Installing DIY Files........." NOLINE
  170. If $TYPE EQ ONE
  171.  CD "$SOURCE"
  172.  Copy >NIL: DIY/CANDY.DIY "$DEST/TWDIY" NOPRO
  173. Endif
  174. If $TYPE EQ TWO
  175.  CD "$SOURCE"
  176.  Copy >NIL: DIY/CANDY2.DIY "$DEST/TWDIY/CANDY.DIY" NOPRO
  177. Endif
  178. If $TYPE EQ BOTH
  179.  CD "$SOURCE"
  180.  Copy >NIL: DIY/CANDY#? "$DEST/TWDIY" NOPRO
  181. Endif
  182. echo "DONE"
  183. echo ""
  184. If EXISTS ENV:CHEATS
  185.  echo " Copying the Cheats-Menu......" NOLINE
  186.  CD "$SOURCE"
  187.  Copy >NIL: WDC_Cheats#? "$DEST"
  188.  echo "DONE"
  189.  echo ""
  190. Endif
  191. echo ""
  192. echo " All Done!!"
  193. echo ""
  194. If $TYPE EQ ONE
  195.  echo " Candy Land 1 has been copied as CANDY.DIY"
  196.  echo ""
  197.  ask " Press RETURN to continue..."
  198. Endif
  199. If $TYPE EQ TWO
  200.  echo " Candy Land 2 has been copied as CANDY.DIY"
  201.  echo ""
  202.  ask " Press RETURN to continue..."
  203. endif
  204. If $TYPE EQ BOTH
  205.  echo " Candy Lands 1 and 2 have been copied as CANDY.DIY and CANDY2.DIY"
  206.  echo " respectively"
  207.  echo ""
  208.  ask " Press RETURN to continue..."
  209. Endif
  210. Lab END
  211. CD "$SOURCE"
  212. echo "*Ec"
  213. echo " Bye Bye..."
  214. ENV:
  215. Delete >NIL: WDC CHEATS TYPE SOURCE DEST
  216.