home *** CD-ROM | disk | FTP | other *** search
- ; $VER: SWOS HD Install-Script V1.0 (20.12.94) by Roland for Sentinel
-
- (set GameDir "SWOS")
- (set TotalDisks 2)
- (set CurrentDisk 0)
- (set Percent 20)
- (set DiskPercent (/ (- 100 Percent) TotalDisks))
- (set keuze 0)
-
- ;try to figure out a place where the user usually installs his games
- (if (exists "Games:" (noreq) )
- (set @default-dest "Games:")
- (if (exists "SYS:Games" (noreq) )
- (set @default-dest "SYS:Games")
- (if (exists "Work:Games" (noreq) )
- (set @default-dest "Work:Games")
- (set @default-dest "SYS:")
- )
- )
- )
-
- ;ask the user to select a directory to install the game into
- (set default-dest
- (tackon (askdir (prompt "Where would you like " @app-name " installed?\n"
- "A drawer called " GameDir " will be created.")
- (help @askdir-help)
- (default @default-dest)
- (newpath)
- )
- GameDir
- )
- )
- (set @default-dest default-dest)
- (complete 5)
-
- ;create the selected directory and a subdirectory called Data
- (makedir @default-dest
- (infos)
- )
- (makedir (tackon @default-dest "data")
- )
- (makedir (tackon @default-dest "grafs")
- )
- (makedir (tackon @default-dest "sound")
- )
- (complete 10)
-
- ;copy all extra files to this directory
- ;(set keuze
- ; (askchoice (prompt "Which HD-version do you wish to install?\n\n"
- ; "If you have 4MB or more RAM you can install "
- ; "the 4MB version which doesn't load during "
- ; "the game.")
- ; (help @askchoice-help)
- ; (choices "2MB Version" "4MB Version (RAM)")
- ; )
- ;)
- ;(if (= keuze 0)
- ; copy the extra files for the 2mb version
- ; ( (copylib (prompt "Copying hd.library to LIBS:...")
- ; (help @copylib-help)
- ; (source "hdgame.library")
- ; (dest "LIBS:")
- ; (confirm)
- ; )
- ; (copyfiles (source "Sensible World of Soccer")
- ; (dest @default-dest)
- ; )
- ; (copyfiles (source "Sensible World of Soccer.icon")
- ; (dest @default-dest)
- ; (newname "Sensible World of Soccer.info")
- ; )
- ; (copyfiles (source "Mountlist")
- ; (dest @default-dest)
- ; )
- ; (copyfiles (source "Boot")
- ; (dest @default-dest)
- ; )
- ; (copyfiles (source "Reboot")
- ; (dest @default-dest)
- ; )
- ; )
- ; install the extra files for the 4MB-version:
- (
- (copyfiles (source "Sensible World of Soccer")
- (dest @default-dest)
- )
- (copyfiles (source "Sensible World of Soccer.icon")
- (dest @default-dest)
- (newname "Sensible World of Soccer.info")
- )
- (copyfiles (source "ssboot.4mb")
- (dest @default-dest)
- (newname "ssboot")
- )
- )
- ;)
- (complete 20)
-
- (askdisk (prompt "Please insert SWOS disk 1 in any drive.")
- (help @askdisk-help)
- (dest "SWOS")
- ; (assigns)
- )
-
- (copyfiles (source "SWOS:swos")
- (dest @default-dest)
- )
- (copyfiles (source "SWOS:swos.rel")
- (dest @default-dest)
- )
- (copyfiles (source "SWOS:swos2")
- (dest @default-dest)
- )
- (copyfiles (source "SWOS:swos2.rel")
- (dest @default-dest)
- )
- (copyfiles (source "SWOS:grafs")
- (dest (tackon @default-dest "grafs"))
- (all)
- )
- (copyfiles (source "SWOS:sound")
- (dest (tackon @default-dest "sound"))
- (all)
- )
-
- (complete 60)
-
- (askdisk (prompt "Please insert SWOS disk 2 in any drive.")
- (help @askdisk-help)
- (dest "SWOS2")
- ; (assigns)
- )
-
- (copyfiles (source "SWOS2:data")
- (dest (tackon @default-dest "data"))
- (all)
- )
- (copyfiles (source "SWOS2:grafs")
- (dest (tackon @default-dest "grafs"))
- (all)
- )
- (copyfiles (source "SWOS2:sound")
- (dest (tackon @default-dest "sound"))
- (all)
- )
-
- (complete 100)
-