home *** CD-ROM | disk | FTP | other *** search
- ;
- ;THE ULTIMATE QUIZ Installer V1.0
- ;Wriiten by Andy Gibson of AGAS Inc. Nov. 1993
- ;Uses the Official Commodore Installer.
- ;
- ;
-
-
-
- ;Display welcome text (doesn't seem to work under Kickstart 1.3 !)
-
- (message
- ; prompt
- "\n\n"
- "AGAS Inc. presents THE ULTIMATE QUIZ Vol.1 \n\n"
- ; #intro-text
- "This Installer can be used to copy all the files\n"
- "to your HD or to another Disk !\n"
- "\n\n"
- "Assign commands will be needed after Install !\n\n"
- "Please select HELP (below) for more deatails.\n"
-
- (Help
- "\n"
- "Instructions ...\n\n"
- "If you have Booted your Amiga from the Disk\n"
- "or HD that the game is to be installed onto\n"
- "then the Assigns will be added to your Startup\n"
- "for you. (As long as the User-Startup file is\n"
- "in the S directory of the Disk or HD.)\n"
- "\n\n"
- "You should continue this Install now ...\n"
-
- "Please click on MORE (below)\n\n"
-
- "If you have Booted from the ORIGINAL Game\n"
- "Floppy then the Assign Command won't work ! \n"
- "You could add it manually to your Startup.\n\n"
- "Assign The_Quiz: 'Wherever You Installed the game To'\n\n"
- "eg. If you Installed the game to Work:Games then\n"
- "you would enter Assign The_Quiz: Work:Games.\n\n"
- "into either your Startup-Sequence or in your\n"
- "User-Startup scripts."
- "\n\n"
- " Click on MORE (below)\n"
-
- "This Installer can be used to Install this game onto\n"
- "Floppy.\n\n"
- "This means that all you Game Compilers out there can\n"
- "copy this game to your compilation disk without\n"
- "having to use OPUS etc.\n\n"
- "The only limitation being that you will have to add\n"
- "the Assigns in by hand via any Text Editor only\n"
- "if you did not Boot from Floppy that you wish this\n"
- "Game to be copied onto.\n\n"
- " Click on MORE (below)\n"
-
- "\n\n"
- "When this game needs its Data Files it looks for\n"
- "them in DF0: DF1: or The_Quiz: devices.\n\n"
- "So if your disk is called Mycomp: then you don't\n"
- "have to Assign anything as long as the Data Files\n"
- "are in your Parent/Root dir.\n\n"
- "The game would then scan DF0: or DF1: to load\n"
- "its Data Files.\n\n"
- " Click on MORE (below)\n"
-
- "\n"
- "If your disk is called The_Quiz: then all the\n"
- "Data Files should also be in the Parent/Root\n"
- "dir. (not inside any drawers).\n\n"
- "Although most people will want to call their\n"
- "disk something else.\n\n"
- "Unless you want to have the Data Files in\n"
- "a dir. eg Assign The_quiz: The_Quiz:YourDir\n"
- "\n\n"
- " Click on MORE (below)\n"
-
- "\n"
- "Basic Rules ...\n\n"
- "Your disk can be called anything you like.\n\n"
- "If the Data Files are in the Parent/Root dir then\n"
- "you won't have to use any Assigns.\n\n"
- "If you want your disk to be called The_Quiz:\n"
- "and don't want to use Assigns, then make sure\n"
- "the Data Files are in the Parent/Root dir.\n"
- "\n"
- " Click on MORE (below)\n"
-
- "If you want to have the Data Files inside a dir.\n"
- "then you will have to use Assigns.\n\n"
- "The Assign must always start Assign The_Quiz:\n\n"
- "as my source code checks that device name for\n"
- "the Data Files.\n\n"
- "The Data Files must NOT be crunched with any\n"
- "crunchers eg. PowerPack etc.\n"
- "All other files can be if you want.\n"
- "\n"
- " Click on MORE (below)\n"
-
- "If you want this game to run 100% from your HD\n"
- "then Boot from HD and then run this Installer.\n\n"
- "The Assigns will be added to your Startup\n"
- "file on your HD for you.\n\n"
- "The same goes for those who wish to install\n"
- "this game to Floppy.\n"
- "The User-Startup file Must be present in your\n"
- "S Dir first though.\n"
- "\n\n"
- " Click on MORE (below)\n"
-
- "\n\n"
- "For more info. View the INSTALL.Doc !\n\n\n"
- "Andy Gibson nov. 1993\n"
- )
- )
-
- (welcome)
-
- (complete 0)
-
-
-
-
-
-
-
- (set TQ_dest
- (askdir
- (prompt "In which disk or drawer do you want the game\n "
- "and its files to be installed in ?")
- (help "This installation will create a drawer named\n"
- "The_Quiz in your choice of directory.\n"
- "All of the files needed to run The Game\n"
- "will be placed inside that directory. \n\n"
- )
- (default @default-dest)
- )
- )
-
-
- ; get the program disk
- (askdisk
- (prompt "Please insert the disk labeled \"The_Quiz\"" )
- (help "All files will be copied from that disk "
- "on to your system." )
- (dest "The_Quiz" )
- )
-
- ; Make dest directory with icon
- (makedir (tackon TQ_dest "The_Quiz") (infos))
- (complete 10)
-
- ; now, we want everything to be copied into this sub-dir
-
- (set TQ_dest (tackon TQ_dest "The_Quiz"))
- (set @default-dest TQ_dest)
-
-
-
-
-
- ;copy the files over now ...
- ;**********
- (copyfiles
- (source "The_Quiz:Quiz"
- (Optional "force")
- (dest TQ_dest) (infos)
- )
- )
- (complete 40)
- ;**********
- (copyfiles
- (source "The_Quiz:Quiz.Data"
- (Optional "force")
- (Dest TQ_Dest) (Infos)
- )
- )
- (Complete 60)
- ;**********
- (copyfiles
- (source "The_Quiz:Quiz_ReadMe"
- (Optional "force")
- (dest TQ_dest) (infos)
- )
- )
- (complete 70)
- ;**********
- (copyfiles
- (source "The_Quiz:Install.doc"
- (Optional "force")
- (dest TQ_dest) (infos)
- )
- )
- (complete 80)
- ;**********
- (copyfiles
- (source "The_Quiz:PPMore"
- (Optional "force")
- (dest TQ_dest) (infos)
- )
- )
- (complete 90)
-
-
- ; Install "The_Quiz:" to the user's startup
-
- (makeassign "The_Quiz" @default-dest)
- (if (exists "S:User-Startup")
- (
- (startup "The_Quiz"
-
- (prompt "You must click on PROCEED below to add \n"
- "an Assign Command to your User-Startup.\n\n"
- "You must also Reset your Amiga when \n"
- "completed so the system can read the \n"
- "Assigns. \n")
-
- (help @Startup-help)
-
- (command "Assign The_Quiz: \"" @default-dest "\"")
- )
- )
- )
-
- (complete 100)
-
-
- (exit "See Ya All Soon")
-