//*********************************************************************************
//      This header defines the project
//*********************************************************************************
@DefineProject
	@Name = "Gradient Designer fx"
	@Version = "1.0"
	@OutDrive = C
	@Subdir = "\\3DS4"
	@Immediate = 1 
	@InDiskBell = 1  
	@AssumeHardDisk = 1
@EndProject     

@DefineVars
	@Integer @TEMP
	@Integer @NUM           = 1
	@QString @MYSTRING      = "\\TEMP"
	@QString @PROCSTR       = "PROCESS"
	@Dir     @MYDIR         = "\\MYDIR"
	@Dir     @PROCDIR       = "\\PROCESS"
	@Dir     @GRADDIR       = "\\GRADIENT"
	@Dir     @TEMPDIR       = "\\TEMP"
	@QString @NUMSTR        = "1"
@EndVars


//*********************************************************************************
//      Display the Intro Screen 
//*********************************************************************************
@Display
@MoveCStr(1, 23, 63, "                            ")      
@MoveCStr(2, 23, 63, "  Gradient Designer fx 1.0  ") @MoveCStr(2, 51, 1, " ")     
@MoveCStr(3, 23, 63, "                            ") @MoveCStr(3, 51, 1, " ")     
@MoveCStr(4, 24, 1,  "                            ")

			     Installation Program
	
	
	
	  This program will install @Name onto your machine.
	  You will be asked to locate your Autodesk 3D Studio directory 
	  for the installation.

		
	   

	     Copyright HSC Software 1994-1995.  All Rights Reserved.

				      @Pause
@EndDisplay

//*********************************************************************************
//      Get the drive info 
//*********************************************************************************
ASK_DRIVE:
@GetOutDrive
	@LocalWindow(13, 39)
	@MoveCStr(1, 23, 63, "                            ")      
	@MoveCStr(2, 23, 63, "  Gradient Designer fx 1.0  ") @MoveCStr(2, 51, 1, " ")     
	@MoveCStr(3, 23, 63, "                            ") @MoveCStr(3, 51, 1, " ")     
	@MoveCStr(4, 24, 1,  "                            ")

	   In which drive do you have Autodesk 3D Studio installed?
	// Suppress disk drives and CD-ROM Drives from install
	@Suppress (0,17)  
@EndOutDrive
@If (@Removable)
	@Display
		You cannot install @Name onto a floppy drive!

				@Pause
		@Goto ASK_DRIVE 
	@EndDisplay
@Endif

//*********************************************************************************
//      ASK for 3DS sub-directory 
//*********************************************************************************
ASK_SUBDIR:
@GetSubdir
@MoveCStr(1, 23, 63, "                            ")      
@MoveCStr(2, 23, 63, "  Gradient Designer fx 1.0  ") @MoveCStr(2, 51, 1, " ")     
@MoveCStr(3, 23, 63, "                            ") @MoveCStr(3, 51, 1, " ")     
@MoveCStr(4, 24, 1,  "                            ")

			     Installation Program
	
	
	    Please specify your 3D-Studio directory.  This installation
	    program will automatically install Gradient Designer fx 1.0
	    into this directory.  

	    What is the name of your 3D Studio directory?

	@Prompt = " 3D Studio Directory "
@EndSubdir

//*********************************************************************************
//      Error check:
//              a) Is 3DS really there? (Does 3DS.EXE exist)
//              b) Does the process directory exist?
//*********************************************************************************
@If (!@Exists("@OutDrive:\\@Subdir\\3DS.EXE"))
	@Display
@MoveCStr(1, 32, 244, "          ")     
@MoveCStr(2, 32, 244, " Warning! ") @MoveCStr(2, 42, 1, " ")    
@MoveCStr(3, 32, 244, "          ") @MoveCStr(3, 42, 1, " ")    
@MoveCStr(4, 33, 1, "          ")
				   

 
	    The Autodesk 3D Studio Application was not found in the
	    specified directory, or the specified directory does not
	    exist.  

	    Please specify the directory from which 3D Studio is
	    executed.
	

				      @Pause
	@EndDisplay
	@Goto ASK_DRIVE
@Endif

@If (!@Exists("@OutDrive:\\@Subdir\\3DS.SET"))
	@Display
@MoveCStr(1, 32, 244, "          ")     
@MoveCStr(2, 32, 244, " Warning! ") @MoveCStr(2, 42, 1, " ")    
@MoveCStr(3, 32, 244, "          ") @MoveCStr(3, 42, 1, " ")    
@MoveCStr(4, 33, 1, "          ")


	    The Autodesk 3D Studio "3DS.SET" file was not found in
	    the specified directory:  @OutDrive:@Subdir.  

	    Please specify the directory from which 3D Studio is
	    executed.
	    
	    
				      @Pause
	@EndDisplay
	@Goto ASK_DRIVE
@EndIf

//*********************************************************************************
//      Okay, so 3DS.EXE\PROCESS exist...
//      now verify the \GRADIENT directory
//*********************************************************************************
      
@GetSubdir @GRADDIR
@MoveCStr(1, 23, 63, "                            ")      
@MoveCStr(2, 23, 63, "  Gradient Designer fx 1.0  ") @MoveCStr(2, 51, 1, " ")     
@MoveCStr(3, 23, 63, "                            ") @MoveCStr(3, 51, 1, " ")     
@MoveCStr(4, 24, 1,  "                            ")

                           Installation Program
      

          In addition to Gradient Designer fx plug-in application,
          the installation will also install a number of Gradient
          Presets and Sample Bitmaps.  The default directory is:
          @OutDrive:@Subdir@GRADDIR.
          
          If this is acceptable, press ENTER.  If not, change the
          directory name as desired.
              @Prompt = " Presets and Bitmap Directory "
@EndSubdir

@GRADDIR = @StrHead("@GRADDIR", 9)
@GRADDIR = @StrToken("@GRADDIR", 0, "/")
@GRADDIR = @StrToken("@GRADDIR", 0, "\\")
@GRADDIR = @StrToken("@GRADDIR", 0, ".")

@If ("@GRADDIR" == "\\")
	@GRADDIR = "\\GRADIENT"
@EndIf	
//@Display 
//	Gradient dir is @GRADDIR	   
//    @Pause
//@EndDisplay    
//*********************************************************************************
//      Create the PRESETS directory and the TEMP directory.
//      If they already exist, INSTALL simply continues.
//*********************************************************************************
//*********************************************************************************
// Locate the Temp-Path
//*********************************************************************************
@TEMPDIR = @GetINI( "", "TEMP-PATH", "@OutDrive:\\@Subdir\\3DS.SET")
@If (@StrLen("@TEMPDIR") == 0)
	@TEMPDIR = "TEMP"
	@MkDir ("@OutDrive:\\@Subdir\\@TEMPDIR")
@EndIf

//@Copy ("DEFAULT$.GRD", "@OutDrive:\\@Subdir\\@TEMPDIR")

///////////////////////////////////////////////////
// Locate the Process-Path
///////////////////////////////////////////////////
@PROCSTR = "@GetINI( "", "END\n", "@OutDrive:\\@Subdir\\3DS.SET")"
@PROCSTR = "@GetINI( "", "PROCESS-PATH", "@OutDrive:\\@Subdir\\3DS.SET")"
@PROCDIR = "@PROCSTR"

//*********************************************************************************
//      Okay, so Everything has been verified...
//      Now let's tell 'em what's up and start installin' 
//*********************************************************************************
@Display
@MoveCStr(1, 23, 63, "                            ")      
@MoveCStr(2, 23, 63, "  Gradient Designer fx 1.0  ") @MoveCStr(2, 51, 1, " ")     
@MoveCStr(3, 23, 63, "                            ") @MoveCStr(3, 51, 1, " ")     
@MoveCStr(4, 24, 1,  "                            ")

	      The installer will now install the following files to:
	
	  @OutDrive:@Subdir@PROCDIR
	  *  Gradient Designer fx 1.0 plug-in application and help file.
	
	  @OutDrive:@Subdir@GRADDIR
	  *  Gradient Designer fx 1.0 presets and sample bitmap files.
	
	  @OutDrive:@Subdir@TEMPDIR
	  *  Default gradient and sequence files (These files are supplied
	     to increase visual playback performance, but may be removed if
	     desired. Refer to pg.39 of the Explorer's Guide for more info).

				     @Pause
@EndDisplay

//*********************************************************************************
// Create an unused temporary file
//*********************************************************************************
//@NUM = 0
//@NUMSTR = "00"
//TEMP_SET:
//@If (@NUM < 10) @NUMSTR = "00"
//	@ElseIf (@NUM < 100) @NUMSTR = "0"
//	@Else @NUMSTR = ""
//@EndIf  
//@If(@Exists("@OutDrive:@Subdir\\3DS.@NUMSTR@NUM"))
//	@If (@NUM < 1000)
//		@NUM = (@NUM + 1)
//		@Goto TEMP_SET
//	@Else
//		@NUM = 0
//		@Goto TEMP_SET  
//	@EndIf
//@EndIf
//*********************************************************************************
//      Modifies the 3DS.SET File      
//*********************************************************************************
//@GetOption
//	@LocalWindow(17, 39) 
//	@MoveCStr(1, 23, 63, "                            ")      
//	@MoveCStr(2, 23, 63, "  Gradient Designer fx 1.0  ") @MoveCStr(2, 51, 1, " ")     
//	@MoveCStr(3, 23, 63, "                            ") @MoveCStr(3, 51, 1, " ")     
//	@MoveCStr(4, 24, 1,  "                            ")
//
//			   Modify the 3DS.SET file?
//	    
//		This Installation will now modify your 3DS.SET file to
//		accomodate KPT's required configuration variables.
//
//		Your old 3DS.SET configuration file will be saved as
//		3DS.@NUMSTR@!@NUM.
//    @Option 101 = "Yes, modify the 3DS.SET and continue."
//   @Option 102 = "No, do not modify the 3DS.SET file."
//	
//
//	
//@EndOption
//*********************************************************************************
// If they don't want to modify 3DS.SET, then skip this step
//*********************************************************************************          
//@If (102 [= @Option)
//	@MYSTRING = @GetINI ( "", ";USER-PROG", "@OutDrive:\\@Subdir\\3DS.SET")
//	@NUM = @StrToInt ("@MYSTRING")
//	@If (@NUM < 0) @NUM = 1
//	@EndIf
//	@Goto NO_CHANGE
//@EndIf           
//
//*********************************************************************************
// Copy 3DS.SET to 3DS.OLD 
//*********************************************************************************          
//@Copy   (   "@OutDrive:\\@Subdir\\3DS.SET"                  //Filename
//			"@OutDrive:\\@Subdir\\3DS.@NUMSTR@NUM")                 //Destination
//
//*********************************************************************************
//  Set the Map-Path in 3DS.SET -- check to see if it has already been written.
//                      @GetINI returns "NULL" if the line was NOT found. 
//*********************************************************************************
//@MYSTRING = @GetINI (	"",
//				"MAP-PATH = \"@OutDrive:\\@Subdir@GRADDIR\\IMAG", 
//				"@OutDrive:\\@Subdir\\3DS.@NUMSTR@NUM")				
//@If (@StrLen("@MYSTRING") == 0)    
//	@SetINI ("",                                            //Application
//		"MAP-PATH =",                                           //Key
//		"@OutDrive:\\@Subdir\\3DS.set",                         //New_INI
//		"MAP-PATH = \"@OutDrive:\\@Subdir@GRADDIR\\IMAGE\" ",  //String
//		"@OutDrive:\\@Subdir\\3DS.@NUMSTR@NUM")                 //INI_file
//@EndIf
//*********************************************************************************
//@Copy   (   "@OutDrive:\\@Subdir\\3DS.SET"                  //Filename
//			"@OutDrive:\\@Subdir\\3DS.TMP")                 //Destination
//*********************************************************************************
//@MYSTRING = @GetINI (	"",
//				"MAP-PATH = \"@OutDrive:\\@Subdir@GRADDIR", 
//				"@OutDrive:\\@Subdir\\3DS.@NUMSTR@NUM")				
//@If (@StrLen("@MYSTRING") == 0)    
//	@SetINI ("",                                            //Application
//		"MAP-PATH =",                                  //Key
//		"@OutDrive:\\@Subdir\\3DS.tmp",                 //New_INI
//		"MAP-PATH = \"@OutDrive:\\@Subdir@GRADDIR\" ",  //String
//		"@OutDrive:\\@Subdir\\3DS.set")                 //INI_file
//@EndIf
//				
//*********************************************************************************
// Get the next available USER-Prog number
//*********************************************************************************         
//@MYSTRING = @GetINI ( "", ";USER-PROG", "@OutDrive:\\@Subdir\\3DS.TMP")
//@NUM = @StrToInt ("@MYSTRING")                  
//
//*********************************************************************************
// Set the USER-PROG# in 3DS.SET
//              @GetINI returns KEY (which is != "NULL") when the key is found.
//*********************************************************************************
//@If (@StrLen("@MYSTRING") != 0) 
//	@SetINI (       "",                                                     //App
//			";USER-PROG@NUM =",                                             //Key
//			"@OutDrive:\\@Subdir\\3DS.SET",                                 //New_ini
//			"USER-PROG@NUM =  \"@PROCSTR\\GRADES_I.PXP\", \"KPT/Gradient\" ",//String
//			"@OutDrive:\\@Subdir\\3DS.TMP")                                 //INI_file 
//	@Delete ("@OutDrive:\\@Subdir\\3DS.TMP")
//	@Goto CONTINUE
//@EndIf
//
//*********************************************************************************
// If An error occurs above, display this WARNING
//*********************************************************************************
//WARNING:
//	@Display
//@MoveCStr(1, 32, 244, "          ")     
//@MoveCStr(2, 32, 244, " Warning! ") @MoveCStr(2, 42, 1, " ")    
//@MoveCStr(3, 32, 244, "          ") @MoveCStr(3, 42, 1, " ")    
//@MoveCStr(4, 33, 1,   "          ")
//
//
//	    There was an error trying to modify your "3DS.SET" file.
//	    You should use a text editor to manually place the following
//	    lines into your "3DS.SET" file (Quotes required).  Refer to
//	    page 2 in the Gradient Designer fx Explorer's Guide:
//	
//	    In the MAP-PATH assignment area add:
//		MAP-PATH = "@OutDrive:@Subdir@GRADDIR" 
//		MAP-PATH = "@OutDrive:@Subdir@GRADDIR\@!IMAGE" 
//
//	    In the USER-PROG# assignment area (# = 1 to 14) add:
//		USER-PROG# =  "@PROCSTR\@!GRADES_I.PXP", "KPT/Gradient"
//			
//			
//				      @Pause
//	@EndDisplay
//	@Copy   ("@OutDrive:\\@Subdir\\3DS.@NUMSTR@NUM"                 //Filename
//			"@OutDrive:\\@Subdir\\3DS.SET")                 //Destination
//	@Delete ("@OutDrive:\\@Subdir\\3DS.@NUMSTR@NUM")
//	@Delete ("@OutDrive:\\@Subdir\\3DS.TMP")
//	@Goto CONTINUE
//
//*********************************************************************************
//  If They do NOT wish to have the 3DS.SET file modified....
//*********************************************************************************
//NO_CHANGE:
//@Display
//@MoveCStr(1, 23, 63, "                            ")      
//@MoveCStr(2, 23, 63, "  Gradient Designer fx 1.0  ") @MoveCStr(2, 51, 1, " ")     
//@MoveCStr(3, 23, 63, "                            ") @MoveCStr(3, 51, 1, " ")     
//@MoveCStr(4, 24, 1,  "                            ")
//
//	You have elected not to have the installation program modify the
//	3DS.SET file.  Please use a text editor to manually place the 
//	following lines into your "3DS.SET" file (Quotes required).
//	Refer to page 2 in the Gradient Designer fx Explorer's Guide:
//	
//	    In the MAP-PATH assignment area add:
//		MAP-PATH = "@OutDrive:@Subdir@GRADDIR" 
//		MAP-PATH = "@OutDrive:@Subdir@GRADDIR\@!IMAGE" 
//
//	    In the USER-PROG# assignment area (# = 1 to 14) add:
//		USER-PROG@NUM =  "@PROCSTR\@!GRADES_I.PXP", "KPT/Gradient"
//			
//			
//				      @Pause
//@EndDisplay
//
//*********************************************************************************
//  Continue with the install...do they want to Overwrite/Prompt?
//*********************************************************************************
CONTINUE:
@If (@DirExists("@OutDrive:@Subdir@GRADDIR"))
	@GetOption
	@LocalWindow(17, 39) 
	@MoveCStr(1, 32, 244, "          ")     
	@MoveCStr(2, 32, 244, " Warning! ") @MoveCStr(2, 42, 1, " ")    
	@MoveCStr(3, 32, 244, "          ") @MoveCStr(3, 42, 1, " ")    
	@MoveCStr(4, 33, 1,   "          ")


	    This is a reinstallation.  You have the option of overwriting
	    all files, but any modified Gradient presets with the same
	    names as the factory installed presets will be overwritten.

	    Select an option:
	    
	    @Option 100 = "Overwrite all Gradient Designer fx 1.0 files."
	    @Option 200 = "Prompt me to overwrite each file as needed."
	@EndOption
@Else @SetOption(100)
@EndIf
@If (100 [= @Option)
	@ClearOption (200)
@ElseIf (200 [= @Option)
	@ClearOption (100)
@EndIf
//*********************************************************************************
// Create the \GRADIENT directory
//*********************************************************************************
@MkDir ("@OutDrive:\\@Subdir@GRADDIR")

//*********************************************************************************
// Clean-up before copying
//*********************************************************************************
@MYDIR = "@Subdir\\@PROCDIR"

@DefineDisk
	@Label = "Disk 1"
	@BeginLib GDFX3DS4.001
		@F DEFAULT$.GRD @S 4810 @O @Subdir@TEMPDIR\DEFAULT$.GRD @Option 200 @AskOverwrite
		@F CALIFD.SEQ @S 36876 @O @Subdir@TEMPDIR\CALIFD.SEQ @Option 200 @AskOverwrite
		@F BUB.SEQ @S 36876 @O @Subdir@TEMPDIR\BUB.SEQ @Option 200 @AskOverwrite
		@F PHOTEXT.SEQ @S 36876 @O @Subdir@TEMPDIR\PHOTEXT.SEQ @Option 200 @AskOverwrite
		@F ADESK2.SEQ @S 36876 @O @Subdir@TEMPDIR\ADESK2.SEQ @Option 200 @AskOverwrite
		@F KAI.SEQ @S 36876 @O @Subdir@TEMPDIR\KAI.SEQ @Option 200 @AskOverwrite
		@F GR-SKELL.SEQ @S 36876 @O @Subdir@TEMPDIR\GR-SKELL.seq @Option 200 @AskOverwrite
		@F CRAYON.SEQ @S 36876 @O @Subdir@TEMPDIR\CRAYON.seq @Option 200 @AskOverwrite
		@F CYCLE.GRD @S 13890 @O @Subdir@GRADDIR\CYCLE.grd @Option 200 @AskOverwrite
		@F WORMHOL1.GRD @S 4810 @O @Subdir@GRADDIR\WORMHOL1.grd @Option 200 @AskOverwrite
		@F WORMHOL2.GRD @S 4810 @O @Subdir@GRADDIR\WORMHOL2.grd @Option 200 @AskOverwrite
		@F VIDEO.GRD @S 145550 @O @Subdir@GRADDIR\VIDEO.grd @Option 200 @AskOverwrite
		@F LIGHTS2.GRD @S 13890 @O @Subdir@GRADDIR\LIGHTS2.grd @Option 200 @AskOverwrite
		@F IK.GRD @S 13890 @O @Subdir@GRADDIR\IK.grd @Option 200 @AskOverwrite
		@F TRANS2.GRD @S 118310 @O @Subdir@GRADDIR\TRANS2.grd @Option 200 @AskOverwrite
		@F TRANS2A.GRD @S 118310 @O @Subdir@GRADDIR\TRANS2A.grd @Option 200 @AskOverwrite
		@F TRANS2B.GRD @S 118310 @O @Subdir@GRADDIR\TRANS2B.grd @Option 200 @AskOverwrite
		@F TRANS2C.GRD @S 118310 @O @Subdir@GRADDIR\TRANS2C.grd @Option 200 @AskOverwrite
		@F TRANS2D.GRD @S 118310 @O @Subdir@GRADDIR\TRANS2D.grd @Option 200 @AskOverwrite
		@F GREENB.GRD @S 4810 @O @Subdir@GRADDIR\GREENB.grd @Option 200 @AskOverwrite
		@F TRANS2E.GRD @S 118310 @O @Subdir@GRADDIR\TRANS2E.grd @Option 200 @AskOverwrite
		@F LIGHTS.GRD @S 7080 @O @Subdir@GRADDIR\LIGHTS.grd @Option 200 @AskOverwrite
		@F LIGHTS1.GRD @S 25240 @O @Subdir@GRADDIR\LIGHTS1.grd @Option 200 @AskOverwrite
		@F SILVER1.GRD @S 4810 @O @Subdir@GRADDIR\SILVER1.grd @Option 200 @AskOverwrite
		@F WOOD1.GRD @S 4810 @O @Subdir@GRADDIR\WOOD1.grd @Option 200 @AskOverwrite
		@F X.GRD @S 7080 @O @Subdir@GRADDIR\X.grd @Option 200 @AskOverwrite
		@F XX.GRD @S 7080 @O @Subdir@GRADDIR\XX.grd @Option 200 @AskOverwrite
		@F XXX.GRD @S 7080 @O @Subdir@GRADDIR\XXX.grd @Option 200 @AskOverwrite
		@F XXXX.GRD @S 9350 @O @Subdir@GRADDIR\XXXX.grd @Option 200 @AskOverwrite
		@F EARTHEN.GRD @S 4810 @O @Subdir@GRADDIR\EARTHEN.grd @Option 200 @AskOverwrite
		@F FIESTA.GRD @S 4810 @O @Subdir@GRADDIR\FIESTA.grd @Option 200 @AskOverwrite
		@F FIESTA2.GRD @S 4810 @O @Subdir@GRADDIR\FIESTA2.grd @Option 200 @AskOverwrite
		@F GOLD.GRD @S 4810 @O @Subdir@GRADDIR\GOLD.grd @Option 200 @AskOverwrite
		@F GOLD1.GRD @S 4810 @O @Subdir@GRADDIR\GOLD1.grd @Option 200 @AskOverwrite
		@F GOLD2.GRD @S 4810 @O @Subdir@GRADDIR\GOLD2.grd @Option 200 @AskOverwrite
		@F GRNGL.GRD @S 4810 @O @Subdir@GRADDIR\GRNGL.grd @Option 200 @AskOverwrite
		@F KLM.GRD @S 4810 @O @Subdir@GRADDIR\KLM.grd @Option 200 @AskOverwrite
		@F METAL1A.GRD @S 4810 @O @Subdir@GRADDIR\METAL1A.grd @Option 200 @AskOverwrite
		@F MINT.GRD @S 4810 @O @Subdir@GRADDIR\MINT.grd @Option 200 @AskOverwrite
		@F SKINMN.GRD @S 13890 @O @Subdir@GRADDIR\SKINMN.grd @Option 200 @AskOverwrite
		@F RAINBO.GRD @S 4810 @O @Subdir@GRADDIR\RAINBO.grd @Option 200 @AskOverwrite
		@F RAINBO1.GRD @S 4810 @O @Subdir@GRADDIR\RAINBO1.grd @Option 200 @AskOverwrite
		@F RAINBOW.GRD @S 4810 @O @Subdir@GRADDIR\RAINBOW.grd @Option 200 @AskOverwrite
		@F RAINBOWS.GRD @S 4810 @O @Subdir@GRADDIR\RAINBOWS.grd @Option 200 @AskOverwrite
		@F SILV2.GRD @S 4810 @O @Subdir@GRADDIR\SILV2.grd @Option 200 @AskOverwrite
		@F SUNSET.GRD @S 27510 @O @Subdir@GRADDIR\SUNSET.grd @Option 200 @AskOverwrite
		@F SUNSETA1.GRD @S 4810 @O @Subdir@GRADDIR\SUNSETA1.grd @Option 200 @AskOverwrite
		@F TRANNY.GRD @S 66100 @O @Subdir@GRADDIR\TRANNY.grd @Option 200 @AskOverwrite
		@F TWO.GRD @S 50210 @O @Subdir@GRADDIR\TWO.grd @Option 200 @AskOverwrite
		@F ALUM1.GRD @S 4810 @O @Subdir@GRADDIR\ALUM1.grd @Option 200 @AskOverwrite
		@F ALUM2.GRD @S 4810 @O @Subdir@GRADDIR\ALUM2.grd @Option 200 @AskOverwrite
		@F AQUA.GRD @S 4810 @O @Subdir@GRADDIR\AQUA.grd @Option 200 @AskOverwrite
		@F BIGSTICK.GRD @S 4810 @O @Subdir@GRADDIR\BIGSTICK.grd @Option 200 @AskOverwrite
		@F CIRC01.GRD @S 4810 @O @Subdir@GRADDIR\CIRC01.grd @Option 200 @AskOverwrite
		@F COPPER.GRD @S 4810 @O @Subdir@GRADDIR\COPPER.grd @Option 200 @AskOverwrite
		@F CRYSTL1.GRD @S 16160 @O @Subdir@GRADDIR\CRYSTL1.grd @Option 200 @AskOverwrite
		@F CRYSTL2.GRD @S 16160 @O @Subdir@GRADDIR\CRYSTL2.grd @Option 200 @AskOverwrite
		@F CRYSTL3.GRD @S 13890 @O @Subdir@GRADDIR\CRYSTL3.grd @Option 200 @AskOverwrite
		@F CRYSTL4.GRD @S 16160 @O @Subdir@GRADDIR\CRYSTL4.grd @Option 200 @AskOverwrite
		@F CRYSTL5.GRD @S 20700 @O @Subdir@GRADDIR\CRYSTL5.grd @Option 200 @AskOverwrite
		@F CRYSTL6.GRD @S 18430 @O @Subdir@GRADDIR\CRYSTL6.grd @Option 200 @AskOverwrite
		@F BUMBLE2.GRD @S 109230 @O @Subdir@GRADDIR\BUMBLE2.grd @Option 200 @AskOverwrite
		@F COMET1.GRD @S 13890 @O @Subdir@GRADDIR\COMET1.grd @Option 200 @AskOverwrite
		@F COMET2.GRD @S 22970 @O @Subdir@GRADDIR\COMET2.grd @Option 200 @AskOverwrite
		@F FIESTA2L.GRD @S 9350 @O @Subdir@GRADDIR\FIESTA2L.grd @Option 200 @AskOverwrite
		@F FUNKY1.GRD @S 4810 @O @Subdir@GRADDIR\FUNKY1.grd @Option 200 @AskOverwrite
		@F FUNKY2.GRD @S 4810 @O @Subdir@GRADDIR\FUNKY2.grd @Option 200 @AskOverwrite
		@F FUNKY3.GRD @S 4810 @O @Subdir@GRADDIR\FUNKY3.grd @Option 200 @AskOverwrite
		@F FUNKY4.GRD @S 11620 @O @Subdir@GRADDIR\FUNKY4.grd @Option 200 @AskOverwrite
		@F IMAGES.GRD @S 25240 @O @Subdir@GRADDIR\IMAGES.grd @Option 200 @AskOverwrite
		@F KLM1.GRD @S 11620 @O @Subdir@GRADDIR\KLM1.grd @Option 200 @AskOverwrite
		@F LAYER2.GRD @S 16160 @O @Subdir@GRADDIR\LAYER2.grd @Option 200 @AskOverwrite
		@F LOGO.GRD @S 22970 @O @Subdir@GRADDIR\LOGO.grd @Option 200 @AskOverwrite
		@F PSYCHO.GRD @S 16160 @O @Subdir@GRADDIR\PSYCHO.grd @Option 200 @AskOverwrite
		@F REF.GRD @S 7080 @O @Subdir@GRADDIR\REF.grd @Option 200 @AskOverwrite
		@F GREEN.GRD @S 4810 @O @Subdir@GRADDIR\GREEN.grd @Option 200 @AskOverwrite
		@F TRANS2F.GRD @S 118310 @O @Subdir@GRADDIR\TRANS2F.grd @Option 200 @AskOverwrite
		@F PURPLES.GRD @S 4810 @O @Subdir@GRADDIR\PURPLES.grd @Option 200 @AskOverwrite
		@F PURPLE1.GRD @S 4810 @O @Subdir@GRADDIR\PURPLE1.grd @Option 200 @AskOverwrite
		@F NAPKIN.GRD @S 22970 @O @Subdir@GRADDIR\NAPKIN.grd @Option 200 @AskOverwrite
		@F FADE.GRD @S 7080 @O @Subdir@GRADDIR\FADE.grd @Option 200 @AskOverwrite
		@F 1.GRD @S 18430 @O @Subdir@GRADDIR\1.grd @Option 200 @AskOverwrite
		@F 2.GRD @S 7080 @O @Subdir@GRADDIR\2.grd @Option 200 @AskOverwrite
		@F 3.GRD @S 11620 @O @Subdir@GRADDIR\3.grd @Option 200 @AskOverwrite
		@F 4.GRD @S 29780 @O @Subdir@GRADDIR\4.grd @Option 200 @AskOverwrite
		@F ANIMGLOW.GRD @S 54750 @O @Subdir@GRADDIR\ANIMGLOW.grd @Option 200 @AskOverwrite
		@F 5.GRD @S 11620 @O @Subdir@GRADDIR\5.grd @Option 200 @AskOverwrite
		@F 6.GRD @S 11620 @O @Subdir@GRADDIR\6.grd @Option 200 @AskOverwrite
		@F 7.GRD @S 13890 @O @Subdir@GRADDIR\7.grd @Option 200 @AskOverwrite
		@F ADESK2.GRD @S 16160 @O @Subdir@GRADDIR\ADESK2.grd @Option 200 @AskOverwrite
		@F BUMBLE.GRD @S 104690 @O @Subdir@GRADDIR\BUMBLE.grd @Option 200 @AskOverwrite
		@F ROLGOLD.GRD @S 11620 @O @Subdir@GRADDIR\ROLGOLD.grd @Option 200 @AskOverwrite
		@F GRD_I.BXP @S 56624 @O @Subdir@PROCDIR\GRD_I.BXP @Option 200 @AskOverwrite
		@F KPTHUBA.DAT @S 2228038 @O @Subdir@PROCDIR\KPTHUBA.DAT @Option 200 @AskOverwrite
		@F GRADESGN.HLP @S 3406 @O @Subdir@PROCDIR\GRADESGN.HLP @Option 200 @AskOverwrite
		@F GRADES_I.PXP @S 210642 @O @Subdir@PROCDIR\GRADES_I.PXP @Option 200 @AskOverwrite
		@F GRADESGN.CFG @S 100 @O @Subdir@PROCDIR\GRADESGN.CFG @Option 200 @AskOverwrite
		@F SKIN0000.JPG @S 6977 @O @Subdir@GRADDIR\IMAGE\SKIN0000.JPG @Option 200 @AskOverwrite
		@F SKIN0001.JPG @S 7008 @O @Subdir@GRADDIR\IMAGE\SKIN0001.JPG @Option 200 @AskOverwrite
		@F SKIN0002.JPG @S 6963 @O @Subdir@GRADDIR\IMAGE\SKIN0002.JPG @Option 200 @AskOverwrite
		@F SKIN0003.JPG @S 6978 @O @Subdir@GRADDIR\IMAGE\SKIN0003.JPG @Option 200 @AskOverwrite
		@F SKIN0004.JPG @S 6955 @O @Subdir@GRADDIR\IMAGE\SKIN0004.JPG @Option 200 @AskOverwrite
		@F SKIN0005.JPG @S 6980 @O @Subdir@GRADDIR\IMAGE\SKIN0005.JPG @Option 200 @AskOverwrite
		@F SKIN0006.JPG @S 7004 @O @Subdir@GRADDIR\IMAGE\SKIN0006.JPG @Option 200 @AskOverwrite
		@F SKIN0007.JPG @S 7038 @O @Subdir@GRADDIR\IMAGE\SKIN0007.JPG @Option 200 @AskOverwrite
		@F SKIN0008.JPG @S 6983 @O @Subdir@GRADDIR\IMAGE\SKIN0008.JPG @Option 200 @AskOverwrite
		@F SKIN0009.JPG @S 6986 @O @Subdir@GRADDIR\IMAGE\SKIN0009.JPG @Option 200 @AskOverwrite
		@F SKIN0010.JPG @S 7028 @O @Subdir@GRADDIR\IMAGE\SKIN0010.JPG @Option 200 @AskOverwrite
		@F SKIN0011.JPG @S 7068 @O @Subdir@GRADDIR\IMAGE\SKIN0011.JPG @Option 200 @AskOverwrite
		@F SKIN0012.JPG @S 7122 @O @Subdir@GRADDIR\IMAGE\SKIN0012.JPG @Option 200 @AskOverwrite
		@F SKIN0013.JPG @S 7153 @O @Subdir@GRADDIR\IMAGE\SKIN0013.JPG @Option 200 @AskOverwrite
		@F BUMBLE3.GRD @S 16160 @O @Subdir@GRADDIR\BUMBLE3.grd @Option 200 @AskOverwrite
		@F COMET3.GRD @S 32050 @O @Subdir@GRADDIR\COMET3.grd @Option 200 @AskOverwrite
		@F RIPPLES.GRD @S 154630 @O @Subdir@GRADDIR\RIPPLES.grd @Option 200 @AskOverwrite
		@F DEFAULT$.GRD @S 4810 @O @Subdir@TEMPDIR\DEFAULT$.GRD @Option 100
		@F CALIFD.SEQ @S 36876 @O @Subdir@TEMPDIR\CALIFD.SEQ @Option 100
		@F BUB.SEQ @S 36876 @O @Subdir@TEMPDIR\BUB.SEQ @Option 100
		@F PHOTEXT.SEQ @S 36876 @O @Subdir@TEMPDIR\PHOTEXT.SEQ @Option 100
		@F ADESK2.SEQ @S 36876 @O @Subdir@TEMPDIR\ADESK2.SEQ @Option 100
		@F KAI.SEQ @S 36876 @O @Subdir@TEMPDIR\KAI.SEQ @Option 100
		@F GR-SKELL.SEQ @S 36876 @O @Subdir@TEMPDIR\GR-SKELL.seq @Option 100
		@F CRAYON.SEQ @S 36876 @O @Subdir@TEMPDIR\CRAYON.seq @Option 100
		@F CYCLE.GRD @S 13890 @O @Subdir@GRADDIR\CYCLE.grd @Option 100
		@F WORMHOL1.GRD @S 4810 @O @Subdir@GRADDIR\WORMHOL1.grd @Option 100
		@F WORMHOL2.GRD @S 4810 @O @Subdir@GRADDIR\WORMHOL2.grd @Option 100
		@F VIDEO.GRD @S 145550 @O @Subdir@GRADDIR\VIDEO.grd @Option 100
		@F LIGHTS2.GRD @S 13890 @O @Subdir@GRADDIR\LIGHTS2.grd @Option 100
		@F IK.GRD @S 13890 @O @Subdir@GRADDIR\IK.grd @Option 100
		@F TRANS2.GRD @S 118310 @O @Subdir@GRADDIR\TRANS2.grd @Option 100
		@F TRANS2A.GRD @S 118310 @O @Subdir@GRADDIR\TRANS2A.grd @Option 100
		@F TRANS2B.GRD @S 118310 @O @Subdir@GRADDIR\TRANS2B.grd @Option 100
		@F TRANS2C.GRD @S 118310 @O @Subdir@GRADDIR\TRANS2C.grd @Option 100
		@F TRANS2D.GRD @S 118310 @O @Subdir@GRADDIR\TRANS2D.grd @Option 100
		@F GREENB.GRD @S 4810 @O @Subdir@GRADDIR\GREENB.grd @Option 100
		@F TRANS2E.GRD @S 118310 @O @Subdir@GRADDIR\TRANS2E.grd @Option 100
		@F LIGHTS.GRD @S 7080 @O @Subdir@GRADDIR\LIGHTS.grd @Option 100
		@F LIGHTS1.GRD @S 25240 @O @Subdir@GRADDIR\LIGHTS1.grd @Option 100
		@F SILVER1.GRD @S 4810 @O @Subdir@GRADDIR\SILVER1.grd @Option 100
		@F WOOD1.GRD @S 4810 @O @Subdir@GRADDIR\WOOD1.grd @Option 100
		@F X.GRD @S 7080 @O @Subdir@GRADDIR\X.grd @Option 100
		@F XX.GRD @S 7080 @O @Subdir@GRADDIR\XX.grd @Option 100
		@F XXX.GRD @S 7080 @O @Subdir@GRADDIR\XXX.grd @Option 100
		@F XXXX.GRD @S 9350 @O @Subdir@GRADDIR\XXXX.grd @Option 100
		@F EARTHEN.GRD @S 4810 @O @Subdir@GRADDIR\EARTHEN.grd @Option 100
		@F FIESTA.GRD @S 4810 @O @Subdir@GRADDIR\FIESTA.grd @Option 100
		@F FIESTA2.GRD @S 4810 @O @Subdir@GRADDIR\FIESTA2.grd @Option 100
		@F GOLD.GRD @S 4810 @O @Subdir@GRADDIR\GOLD.grd @Option 100
		@F GOLD1.GRD @S 4810 @O @Subdir@GRADDIR\GOLD1.grd @Option 100
		@F GOLD2.GRD @S 4810 @O @Subdir@GRADDIR\GOLD2.grd @Option 100
		@F GRNGL.GRD @S 4810 @O @Subdir@GRADDIR\GRNGL.grd @Option 100
		@F KLM.GRD @S 4810 @O @Subdir@GRADDIR\KLM.grd @Option 100
		@F METAL1A.GRD @S 4810 @O @Subdir@GRADDIR\METAL1A.grd @Option 100
		@F MINT.GRD @S 4810 @O @Subdir@GRADDIR\MINT.grd @Option 100
		@F SKINMN.GRD @S 13890 @O @Subdir@GRADDIR\SKINMN.grd @Option 100
		@F RAINBO.GRD @S 4810 @O @Subdir@GRADDIR\RAINBO.grd @Option 100
		@F RAINBO1.GRD @S 4810 @O @Subdir@GRADDIR\RAINBO1.grd @Option 100
		@F RAINBOW.GRD @S 4810 @O @Subdir@GRADDIR\RAINBOW.grd @Option 100
		@F RAINBOWS.GRD @S 4810 @O @Subdir@GRADDIR\RAINBOWS.grd @Option 100
		@F SILV2.GRD @S 4810 @O @Subdir@GRADDIR\SILV2.grd @Option 100
		@F SUNSET.GRD @S 27510 @O @Subdir@GRADDIR\SUNSET.grd @Option 100
		@F SUNSETA1.GRD @S 4810 @O @Subdir@GRADDIR\SUNSETA1.grd @Option 100
		@F TRANNY.GRD @S 66100 @O @Subdir@GRADDIR\TRANNY.grd @Option 100
		@F TWO.GRD @S 50210 @O @Subdir@GRADDIR\TWO.grd @Option 100
		@F ALUM1.GRD @S 4810 @O @Subdir@GRADDIR\ALUM1.grd @Option 100
		@F ALUM2.GRD @S 4810 @O @Subdir@GRADDIR\ALUM2.grd @Option 100
		@F AQUA.GRD @S 4810 @O @Subdir@GRADDIR\AQUA.grd @Option 100
		@F BIGSTICK.GRD @S 4810 @O @Subdir@GRADDIR\BIGSTICK.grd @Option 100
		@F CIRC01.GRD @S 4810 @O @Subdir@GRADDIR\CIRC01.grd @Option 100
		@F COPPER.GRD @S 4810 @O @Subdir@GRADDIR\COPPER.grd @Option 100
		@F CRYSTL1.GRD @S 16160 @O @Subdir@GRADDIR\CRYSTL1.grd @Option 100
		@F CRYSTL2.GRD @S 16160 @O @Subdir@GRADDIR\CRYSTL2.grd @Option 100
		@F CRYSTL3.GRD @S 13890 @O @Subdir@GRADDIR\CRYSTL3.grd @Option 100
		@F CRYSTL4.GRD @S 16160 @O @Subdir@GRADDIR\CRYSTL4.grd @Option 100
		@F CRYSTL5.GRD @S 20700 @O @Subdir@GRADDIR\CRYSTL5.grd @Option 100
		@F CRYSTL6.GRD @S 18430 @O @Subdir@GRADDIR\CRYSTL6.grd @Option 100
		@F BUMBLE2.GRD @S 109230 @O @Subdir@GRADDIR\BUMBLE2.grd @Option 100
		@F COMET1.GRD @S 13890 @O @Subdir@GRADDIR\COMET1.grd @Option 100
		@F COMET2.GRD @S 22970 @O @Subdir@GRADDIR\COMET2.grd @Option 100
		@F FIESTA2L.GRD @S 9350 @O @Subdir@GRADDIR\FIESTA2L.grd @Option 100
		@F FUNKY1.GRD @S 4810 @O @Subdir@GRADDIR\FUNKY1.grd @Option 100
		@F FUNKY2.GRD @S 4810 @O @Subdir@GRADDIR\FUNKY2.grd @Option 100
		@F FUNKY3.GRD @S 4810 @O @Subdir@GRADDIR\FUNKY3.grd @Option 100
		@F FUNKY4.GRD @S 11620 @O @Subdir@GRADDIR\FUNKY4.grd @Option 100
		@F IMAGES.GRD @S 25240 @O @Subdir@GRADDIR\IMAGES.grd @Option 100
		@F KLM1.GRD @S 11620 @O @Subdir@GRADDIR\KLM1.grd @Option 100
		@F LAYER2.GRD @S 16160 @O @Subdir@GRADDIR\LAYER2.grd @Option 100
		@F LOGO.GRD @S 22970 @O @Subdir@GRADDIR\LOGO.grd @Option 100
		@F PSYCHO.GRD @S 16160 @O @Subdir@GRADDIR\PSYCHO.grd @Option 100
		@F REF.GRD @S 7080 @O @Subdir@GRADDIR\REF.grd @Option 100
		@F GREEN.GRD @S 4810 @O @Subdir@GRADDIR\GREEN.grd @Option 100
		@F TRANS2F.GRD @S 118310 @O @Subdir@GRADDIR\TRANS2F.grd @Option 100
		@F PURPLES.GRD @S 4810 @O @Subdir@GRADDIR\PURPLES.grd @Option 100
		@F PURPLE1.GRD @S 4810 @O @Subdir@GRADDIR\PURPLE1.grd @Option 100
		@F NAPKIN.GRD @S 22970 @O @Subdir@GRADDIR\NAPKIN.grd @Option 100
		@F FADE.GRD @S 7080 @O @Subdir@GRADDIR\FADE.grd @Option 100
		@F 1.GRD @S 18430 @O @Subdir@GRADDIR\1.grd @Option 100
		@F 2.GRD @S 7080 @O @Subdir@GRADDIR\2.grd @Option 100
		@F 3.GRD @S 11620 @O @Subdir@GRADDIR\3.grd @Option 100
		@F 4.GRD @S 29780 @O @Subdir@GRADDIR\4.grd @Option 100
		@F ANIMGLOW.GRD @S 54750 @O @Subdir@GRADDIR\ANIMGLOW.grd @Option 100
		@F 5.GRD @S 11620 @O @Subdir@GRADDIR\5.grd @Option 100
		@F 6.GRD @S 11620 @O @Subdir@GRADDIR\6.grd @Option 100
		@F 7.GRD @S 13890 @O @Subdir@GRADDIR\7.grd @Option 100
		@F ADESK2.GRD @S 16160 @O @Subdir@GRADDIR\ADESK2.grd @Option 100
		@F BUMBLE.GRD @S 104690 @O @Subdir@GRADDIR\BUMBLE.grd @Option 100
		@F ROLGOLD.GRD @S 11620 @O @Subdir@GRADDIR\ROLGOLD.grd @Option 100
		@F GRD_I.BXP @S 56624 @O @Subdir@PROCDIR\GRD_I.BXP @Option 100
		@F KPTHUBA.DAT @S 2228038 @O @Subdir@PROCDIR\KPTHUBA.DAT @Option 100
		@F GRADESGN.HLP @S 3406 @O @Subdir@PROCDIR\GRADESGN.HLP @Option 100
		@F GRADES_I.PXP @S 210642 @O @Subdir@PROCDIR\GRADES_I.PXP @Option 100
		@F GRADESGN.CFG @S 100 @O @Subdir@PROCDIR\GRADESGN.CFG @Option 100
		@F SKIN0000.JPG @S 6977 @O @Subdir@GRADDIR\IMAGE\SKIN0000.JPG @Option 100
		@F SKIN0001.JPG @S 7008 @O @Subdir@GRADDIR\IMAGE\SKIN0001.JPG @Option 100
		@F SKIN0002.JPG @S 6963 @O @Subdir@GRADDIR\IMAGE\SKIN0002.JPG @Option 100
		@F SKIN0003.JPG @S 6978 @O @Subdir@GRADDIR\IMAGE\SKIN0003.JPG @Option 100
		@F SKIN0004.JPG @S 6955 @O @Subdir@GRADDIR\IMAGE\SKIN0004.JPG @Option 100
		@F SKIN0005.JPG @S 6980 @O @Subdir@GRADDIR\IMAGE\SKIN0005.JPG @Option 100
		@F SKIN0006.JPG @S 7004 @O @Subdir@GRADDIR\IMAGE\SKIN0006.JPG @Option 100
		@F SKIN0007.JPG @S 7038 @O @Subdir@GRADDIR\IMAGE\SKIN0007.JPG @Option 100
		@F SKIN0008.JPG @S 6983 @O @Subdir@GRADDIR\IMAGE\SKIN0008.JPG @Option 100
		@F SKIN0009.JPG @S 6986 @O @Subdir@GRADDIR\IMAGE\SKIN0009.JPG @Option 100
		@F SKIN0010.JPG @S 7028 @O @Subdir@GRADDIR\IMAGE\SKIN0010.JPG @Option 100
		@F SKIN0011.JPG @S 7068 @O @Subdir@GRADDIR\IMAGE\SKIN0011.JPG @Option 100
		@F SKIN0012.JPG @S 7122 @O @Subdir@GRADDIR\IMAGE\SKIN0012.JPG @Option 100
		@F SKIN0013.JPG @S 7153 @O @Subdir@GRADDIR\IMAGE\SKIN0013.JPG @Option 100
		@F BUMBLE3.GRD @S 16160 @O @Subdir@GRADDIR\BUMBLE3.grd @Option 100
	    @F COMET3.GRD @S 32050 @O @Subdir@GRADDIR\COMET3.grd @Option 100
		@F RIPPLES.GRD @S 154630 @O @Subdir@GRADDIR\RIPPLES.grd @Option 100
	@EndLib
@EndDisk

@Chain("Disk 2")
