home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 8
/
amigaformatcd08.iso
/
screenplay
/
shareware
/
lightcyclesv2.00
/
hdinstall
< prev
next >
Wrap
Text File
|
1992-09-02
|
4KB
|
121 lines
; $VER: Light Cycles 2 Install. Last edited 16.07.1995. My second major script! PMV'95! :þ
; Edited by CMU95
Failat 21
Cls
Echo "*e[0m "
Echo " Light Cycles V2.00 Hard Drive Installation Program."
Echo " ~~~~~ ~~~~~~ ~~~~~ ~~~~ ~~~~~ ~~~~~~~~~~~~ ~~~~~~~"
Echo ""
Echo " This script will install Light Cycles V2.00 onto your hard drive."
Echo "Please read any instructions carefully to avoid disasters. Oh yeah,"
Echo "and it ain't my fault if anything screws up!"
Echo ""
Ask " Do you want to continue (Y/N)?"
If Warn
Else
Skip Eend
EndIf
Lab BootPart
Echo ""
Echo " Please select your boot partition (the bit with Workbench on it)"
Echo "Press mouse for requestor..."
WaitMouse
RequestFile >Env:BootPart DRAWERSONLY TITLE="Select boot partition."
Echo ""
Echo " Boot partition is *"" NOLINE
Echo $BootPart NOLINE
Echo "*"." NOLINE
Ask " Is this correct (Y/N)?"
If Warn
Else
Cls
Skip BootPart Back
EndIf
Lab PickDrawer
Echo ""
Echo " O.k. Next we need somewhere to put the game and its data. Use the"
Echo "requester to select this place. You don't need to create a drawer 'cos"
Echo "it'll be done for you. Press a mouse key to continue..."
Echo ""
Waitmouse
RequestFile >Env:UserPath DRAWERSONLY TITLE="Please Choose place to install to."
Cd $UserPath
If Not Exists LightCyclesV2.00
Makedir LightCyclesV2.00
Copy LightCyclesV2.00:Prefs/Drawer.inf LightCyclesV2.00.info
Endif
Echo "Installing game data:"
Echo "Light Cycles program..."
Copy >NIL: LightCyclesV2.00:LCV2.00 LightCyclesV2.00/
Copy >NIL: LightCyclesV2.00:LCV2.00.info LightCyclesV2.00/
Echo "Mystic levels..."
Makedir >NIL: LightCyclesV2.00/Mystic
Copy >NIL: LightCyclesV2.00:Mystic/#? LightCyclesV2.00/Mystic/
Copy >NIL: LightCyclesV2.00:Mystic#? LightCyclesV2.00/
Echo "Original Light Cycles levels..."
Makedir >NIL: LightCyclesV2.00/OriginalLC
Copy >NIL: LightCyclesV2.00:OriginalLC/#? LightCyclesV2.00/OriginalLC/
Copy >NIL: LightCyclesV2.00:OriginalLC#? LightCyclesV2.00/
Echo "Plasma levels..."
Makedir >NIL: LightCyclesV2.00/Plasma
Copy >NIL: LightCyclesV2.00:Plasma/#? LightCyclesV2.00/Plasma/
Copy >NIL: LightCyclesV2.00:Plasma#? LightCyclesV2.00/
Echo "Original Tron levels..."
Makedir >NIL: LightCyclesV2.00/OriginalTron
Copy >NIL: LightCyclesV2.00:OriginalTron/#? LightCyclesV2.00/OriginalTron/
Copy >NIL: LightCyclesV2.00:OriginalTron#? LightCyclesV2.00/
Echo "System data..."
Makedir >NIL: LightCyclesV2.00/SysData
Copy >NIL: LightCyclesV2.00:SysData LightCyclesV2.00/SysData/
Echo "AmigaGuide file..."
Copy >NIL: LightCyclesV2.00:GuideMe.Guide LightCyclesV2.00/
Copy >NIL: LightCyclesV2.00:GuideMe.Guide.info LightCyclesV2.00/
Echo ""
Echo " Light Cycles needs these three libraries to work:"
Echo " AmigaGuide.Library"
Echo " IffParse.Library"
Echo " MathTrans.Library"
Echo ""
Ask " Should I copy the necessary libraries to your Libs: drawer (Y/N)"
If Warn
CD $BootPart
Copy LightCyclesV2.00:Libs/amigaguide.library Libs/
Copy LightCyclesV2.00:Libs/iffparse.library Libs/
Copy LightCyclesV2.00:Libs/mathtrans.library Libs/
Endif
Echo ""
Echo " An assign needs to be made for Light Cycles to work properly. You"
Echo "can do this yourself if you like, but it is just as easy to let me do"
Echo "it if you use a User-Startup. So, should I add the line"
Echo ""
Echo "*"Assign LightCyclesV2.00: " NOLINE
Echo $UserPath NOLINE
Echo "LightCyclesV2.00*""
Echo ""
Echo "to the file: *"S:User-Startup*"" NOLINE
Ask " (Y/N) ?"
If Warn
Else
Skip Eend
EndIf
CD $BootPart
If exists S
Echo >>S/User-Startup "Assign LightCyclesV2.00: " NOLINE
Echo >>S/User-Startup "*"" NOLINE
Echo >>S/User-Startup $UserPath NOLINE
Echo >>S/User-Startup "LightCyclesV2.00*""
Else
Echo "??? - Couldn't find *"S*" directory - ???"
Endif
Echo ""
Echo " It's done! - Installation of Light Cycles is complete!"
Echo "You should find everything in your"
Echo " *"" NOLINE
Echo $UserPath NOLINE
Echo "LightCyclesV2.00*" drawer."
Echo ""
Echo " You'll need to reboot your computer to update everything."
Lab Eend
Echo ""
Echo " Click the close gadget to continue."