home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 8 / amigaformatcd08.iso / screenplay / shareware / lightcyclesv2.00 / hdinstall < prev    next >
Text File  |  1992-09-02  |  4KB  |  121 lines

  1. ; $VER: Light Cycles 2 Install. Last edited 16.07.1995. My second major script! PMV'95! :þ
  2. ; Edited by CMU95
  3. Failat 21
  4. Cls
  5. Echo "*e[0m "
  6. Echo "             Light Cycles V2.00 Hard Drive Installation Program."
  7. Echo "             ~~~~~ ~~~~~~ ~~~~~ ~~~~ ~~~~~ ~~~~~~~~~~~~ ~~~~~~~"
  8. Echo ""
  9. Echo "  This script will install Light Cycles V2.00 onto your hard drive."
  10. Echo "Please read any instructions carefully to avoid disasters. Oh yeah,"
  11. Echo "and it ain't my fault if anything screws up!"
  12. Echo ""
  13. Ask "  Do you want to continue (Y/N)?"
  14. If Warn
  15. Else
  16.    Skip Eend
  17. EndIf
  18. Lab BootPart
  19. Echo ""
  20. Echo "  Please select your boot partition (the bit with Workbench on it)"
  21. Echo "Press mouse for requestor..."
  22. WaitMouse
  23. RequestFile >Env:BootPart DRAWERSONLY TITLE="Select boot partition."
  24. Echo ""
  25. Echo "  Boot partition is *"" NOLINE
  26. Echo $BootPart NOLINE
  27. Echo "*"." NOLINE
  28. Ask "  Is this correct (Y/N)?"
  29. If Warn
  30. Else
  31.    Cls
  32.    Skip BootPart Back
  33. EndIf
  34. Lab PickDrawer
  35. Echo ""
  36. Echo "  O.k. Next we need somewhere to put the game and its data. Use the"
  37. Echo "requester to select this place. You don't need to create a drawer 'cos"
  38. Echo "it'll be done for you. Press a mouse key to continue..."
  39. Echo ""
  40. Waitmouse
  41. RequestFile >Env:UserPath DRAWERSONLY TITLE="Please Choose place to install to."
  42. Cd $UserPath
  43. If Not Exists LightCyclesV2.00
  44.    Makedir LightCyclesV2.00
  45.    Copy LightCyclesV2.00:Prefs/Drawer.inf LightCyclesV2.00.info
  46. Endif
  47. Echo "Installing game data:"
  48. Echo "Light Cycles program..."
  49. Copy >NIL: LightCyclesV2.00:LCV2.00 LightCyclesV2.00/
  50. Copy >NIL: LightCyclesV2.00:LCV2.00.info LightCyclesV2.00/
  51. Echo "Mystic levels..."
  52. Makedir >NIL: LightCyclesV2.00/Mystic
  53. Copy >NIL: LightCyclesV2.00:Mystic/#? LightCyclesV2.00/Mystic/
  54. Copy >NIL: LightCyclesV2.00:Mystic#? LightCyclesV2.00/
  55. Echo "Original Light Cycles levels..."
  56. Makedir >NIL: LightCyclesV2.00/OriginalLC
  57. Copy >NIL: LightCyclesV2.00:OriginalLC/#? LightCyclesV2.00/OriginalLC/
  58. Copy >NIL: LightCyclesV2.00:OriginalLC#? LightCyclesV2.00/
  59. Echo "Plasma levels..."
  60. Makedir >NIL: LightCyclesV2.00/Plasma
  61. Copy >NIL: LightCyclesV2.00:Plasma/#? LightCyclesV2.00/Plasma/
  62. Copy >NIL: LightCyclesV2.00:Plasma#? LightCyclesV2.00/
  63. Echo "Original Tron levels..."
  64. Makedir >NIL: LightCyclesV2.00/OriginalTron
  65. Copy >NIL: LightCyclesV2.00:OriginalTron/#? LightCyclesV2.00/OriginalTron/
  66. Copy >NIL: LightCyclesV2.00:OriginalTron#? LightCyclesV2.00/
  67. Echo "System data..."
  68. Makedir >NIL: LightCyclesV2.00/SysData
  69. Copy >NIL: LightCyclesV2.00:SysData LightCyclesV2.00/SysData/
  70. Echo "AmigaGuide file..."
  71. Copy >NIL: LightCyclesV2.00:GuideMe.Guide LightCyclesV2.00/
  72. Copy >NIL: LightCyclesV2.00:GuideMe.Guide.info LightCyclesV2.00/
  73. Echo ""
  74. Echo "  Light Cycles needs these three libraries to work:"
  75. Echo "    AmigaGuide.Library"
  76. Echo "    IffParse.Library"
  77. Echo "    MathTrans.Library"
  78. Echo ""
  79. Ask "  Should I copy the necessary libraries to your Libs: drawer (Y/N)"
  80. If Warn
  81.    CD $BootPart
  82.    Copy LightCyclesV2.00:Libs/amigaguide.library Libs/
  83.    Copy LightCyclesV2.00:Libs/iffparse.library Libs/
  84.    Copy LightCyclesV2.00:Libs/mathtrans.library Libs/
  85. Endif
  86. Echo ""
  87. Echo "  An assign needs to be made for Light Cycles to work properly. You"
  88. Echo "can do this yourself if you like, but it is just as easy to let me do"
  89. Echo "it if you use a User-Startup. So, should I add the line"
  90. Echo ""
  91. Echo "*"Assign LightCyclesV2.00: " NOLINE
  92. Echo $UserPath NOLINE
  93. Echo "LightCyclesV2.00*""
  94. Echo ""
  95. Echo "to the file: *"S:User-Startup*"" NOLINE
  96. Ask " (Y/N) ?"
  97. If Warn
  98. Else
  99.    Skip Eend
  100. EndIf
  101. CD $BootPart
  102. If exists S
  103.    Echo >>S/User-Startup "Assign LightCyclesV2.00: " NOLINE
  104.    Echo >>S/User-Startup "*"" NOLINE
  105.    Echo >>S/User-Startup $UserPath NOLINE
  106.    Echo >>S/User-Startup "LightCyclesV2.00*""
  107. Else
  108.    Echo "??? - Couldn't find *"S*" directory - ???"
  109. Endif
  110. Echo ""
  111. Echo "  It's done! - Installation of Light Cycles is complete!"
  112. Echo "You should find everything in your"
  113. Echo " *"" NOLINE
  114. Echo $UserPath NOLINE
  115. Echo "LightCyclesV2.00*" drawer."
  116. Echo ""
  117. Echo "  You'll need to reboot your computer to update everything."
  118. Lab Eend
  119. Echo ""
  120. Echo "  Click the close gadget to continue."
  121.