home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 April (Special) / Chip-Special_1997-04_cd.bin / spea / fire_gl / id111b5 / id111b5.exe / INSTALL.DAT < prev    next >
Text File  |  1996-06-30  |  13KB  |  491 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148. @defineproject
  149.     @name="Inline Driver for 3D Studio"
  150.     @version="1.1.1"
  151.     @outdrive=c
  152.     @subdir="\\3ds3"
  153. @endproject
  154.  
  155. @definevars
  156.     @qstring @company = "Vibrant Graphics"
  157.     @qstring @copyyear = "1993-1996"
  158.     @qstring @copycomp = "Vibrant Graphics"
  159.     @qstring @realdate = "Sun Jun 30 1996"
  160.     @qstring @rootfn = "VIB3DS"
  161.     @qstring @resfn = "VIBRANT"
  162.     @qstring @docfn = "VIB3DS"
  163.     @qstring @rlmfn = "VG940124"
  164.     @qstring @lsrootfn = "VGLSPEED"
  165.     @qstring @lsresfn = "LSPEED"
  166.     @qstring @lsdocfn = "LSDEMO"
  167.     @qstring @setfn = "3DS"
  168.     @qstring @cddir = "PRODUCTS\\3DSID\\DISK1"
  169.  
  170.     @qstring @rootbak   = "DUMMY_FN.BAK"
  171.     @qstring @resbak    = "DUMMY_FN.BAK"
  172.     @qstring @docbak    = "DUMMY_FN.BAK"
  173.     @qstring @lsrootbak = "DUMMY_FN.BAK"
  174.     @qstring @lsresbak  = "DUMMY_FN.BAK"
  175.     @qstring @lsdocbak  = "DUMMY_FN.BAK"
  176.     @qstring @rlmbak    = "DUMMY_FN.BAK"
  177.     @qstring @setbak    = "DUMMY_FN.BAK"
  178. @endvars
  179.  
  180. @if (@cdinstall)
  181.  @setidpath("\\@cddir\\")
  182. @endif
  183.  
  184. @display
  185.     @cls
  186.     @windmsg(2,23,"@Name","Version @Version  @realdate","Copyright (c) @copyyear by @copycomp")
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.     This product is an update to the drivers provided with Autodesk
  196.     3D Studio Release 3 and Release 4.  
  197.  
  198.     You may press [ESC] to abort at any time.
  199.  
  200.     @pause
  201. @enddisplay
  202.  
  203. @getoption
  204.     @cls
  205.     @writeat("Release selection",30,,100)
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.     Please select the release of 3D Studio for this installation.
  217.  
  218.     Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.
  219.     @option 21 = "3D Studio Release 4"
  220.     @option 20 = "3D Studio Release 3"
  221. @endoption
  222.  
  223. @definevars
  224.     @drive @studiodrive = @outdrive
  225.     @if (20 [= @option)
  226.         @dir @studiodir = "\\3ds3"
  227.     @else
  228.         @dir @studiodir = "\\3ds4"
  229.     @endif
  230. @endvars
  231.  
  232. @getoutdrive @studiodrive
  233.     @cls
  234.     @if (20 [= @option)
  235.         @writeat("Please specify the drive where 3D Studio R3 is located.",30,2,100)
  236.     @else
  237.         @writeat("Please specify the drive where 3D Studio R4 is located.",30,2,100)
  238.     @endif
  239.     @suppress A
  240.     @suppress B
  241.     @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",31,18,100)
  242. @endoutdrive
  243.  
  244. @getsubdir @studiodir
  245.     @cls
  246.     @if (20 [= @option)
  247.         @writeat("Please specify the directory where 3D Studio R3 is located.",30,8,100)
  248.     @else
  249.         @writeat("Please specify the directory where 3D Studio R4 is located.",30,8,100)
  250.     @endif
  251.     @writeat("Type the pathname and press <ENTER>.  <ESC> once to clear, twice to abort.",,20,100)
  252.     @localwindow(13,1)
  253. @endsubdir
  254.  
  255. @if (!(@exists "@studiodrive:@studiodir\\3DS.EXE"))
  256.     @getoption
  257.         @cls
  258.         @windmsg(3,79,"--- W A R N I N G ! ---",
  259.             "3DS.EXE was not found in the directory:",
  260.             "@studiodrive:@studiodir")
  261.         @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  262.         @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  263.         @localwindow(13,40)
  264.         @option 10000 = "Quit installation!"
  265.         @option 10001 = "Continue"
  266.     @endoption
  267.  
  268.     @if (10000 [= @option)  
  269.         @abort @endif
  270.     @endif
  271. @endif
  272.  
  273. /* Only try to install LS Demo for release 4 */
  274. @if (21 [= @option)
  275.     /* Only prompt for install if LS Demo not alredy installed */
  276.     @if (@exists("@studiodrive:@studiodir\\@lsrootfn.VLM"))
  277.         @setoption(33)
  278.     @endif
  279.  
  280.     @if (!@filesar("@studiodrive:@studiodir\\3DS.SET", "\"$VIBRANT$LIQUID SPEED\",\"LS Demo\""))
  281.         @getoption
  282.             @cls
  283.             @writeat("Liquid Speed System Benchmark",30,2,100)
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.       To measure the effectiveness of Liquid Speed on your system, we 
  291.       have included a simple benchmark routine.  This allows you to see 
  292.       the acceleration of Liquid Speed on your system.  If present, your
  293.       currently installed copy of Liquid Speed will be used.
  294.  
  295.       The benchmark module will be installed in your 3DS.SET file. You
  296.       can then execute the benchmark by selecting "LS Demo" from the 
  297.       Program menu.  The benchmark will measure the display time of the 
  298.       loaded mesh with and without Liquid Speed enabled and display the 
  299.       results for you.
  300.  
  301.       Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.
  302.             @option 31 = "Install the Liquid Speed System Benchmark"
  303.             @option 30 = "Do not install the Liquid Speed Benchmark"
  304.         @endoption
  305.     @endif
  306. @endif
  307.  
  308. @display
  309.     @cls
  310.     @writeat("Attention IPAS developers!",30,,100)
  311.  
  312.       The VLM environment is now available for use in your applications.
  313.       The same environment used for the Fast Preview module, the Vibrant 
  314.       inline drivers, and Liquid Speed will give your applications a 
  315.       tremendous speed boost.  Applications in the VLM environment can 
  316.       ACCESS 3D Studio DATA 2 to 40 times faster than without VLM.
  317.       
  318.       For information on how you can turbo charge your applications,
  319.       contact Vibrant Graphics today!
  320.       
  321.     @pause
  322. @enddisplay
  323.       
  324. /* Check for the location of the TIGA system files */
  325. @if (!@strequal("@getenvstr("TIGA")","\\"))
  326.     @if (!@strequal("@scanopt("@getenvstr("TIGA")",m)","*NOT*"))
  327.         @definevars
  328.             @drive @rlmdrive = @str2drive("@scanopt("@getenvstr("TIGA")",m)")
  329.             @dir @rlmdir = "@str2dir("@scanopt("@getenvstr("TIGA")",m)")"
  330.         @endvars
  331.         @setoption(40)
  332.     @endif
  333. @endif
  334.  
  335. /* Tell the user what we're going to do */
  336. @display
  337.     @cls
  338.     @writeat("This install will do the following:",30,,100)
  339.     @if (20 [= @option)
  340.         @writeat("Install version @version of @name Release 3.",31,4,100)
  341.     @else
  342.         @writeat("Install version @version of @name Release 4.",31,4,100)
  343.     @endif
  344.     @writeat("Your current @name files will be overwritten.",30,5,100)
  345.  
  346.     @if ((31 [= @option) && (33 [! @option))
  347.         @writeat("Install the Liquid Speed System Benchmark files.",31,7,100)
  348.         @writeat("Install the Liquid Speed System Benchmark in your Program menu.",31,9,100)
  349.     @elseif (31 [= @option)
  350.         @writeat("Install the Liquid Speed System Benchmark in your Program menu.",31,7,100)
  351.     @endif
  352.  
  353.     @writeat("If these selection(s) are not correct, press [ESC] and rerun the install.",79,16,100)
  354.  
  355.     @pause
  356. @enddisplay    
  357.  
  358. @if (31 [= @option)
  359.     @lsdocbak = @backup("@studiodrive:@studiodir\\@lsdocfn.DOC")
  360. @endif
  361.  
  362. @if (31 [= @option)
  363.     @if (@exists "@studiodrive:@studiodir\\3DS.SET")
  364.         @copy("@studiodrive:@studiodir\\3DS.SET", "@studiodrive:@studiodir\\3DS.NEW")
  365.         @if (@filesar("@studiodrive:@studiodir\\3DS.NEW", ";USER-PROG1 ", "USER-PROG1 =  \"$VIBRANT$LIQUID SPEED\",\"LS Demo\"",,,,,))
  366.             @setoption(32)                           
  367.         @elseif (@filesar("@studiodrive:@studiodir\\3DS.NEW", ";USER-PROG2", "USER-PROG2 =  \"$VIBRANT$LIQUID SPEED\",\"LS Demo\"",,,,,))
  368.             @setoption(32)
  369.         @elseif (@filesar("@studiodrive:@studiodir\\3DS.NEW", ";USER-PROG3", "USER-PROG3 =  \"$VIBRANT$LIQUID SPEED\",\"LS Demo\"",,,,,))
  370.             @setoption(32)
  371.         @elseif (@filesar("@studiodrive:@studiodir\\3DS.NEW", ";USER-PROG4", "USER-PROG4 =  \"$VIBRANT$LIQUID SPEED\",\"LS Demo\"",,,,,))
  372.             @setoption(32)
  373.         @elseif (@filesar("@studiodrive:@studiodir\\3DS.NEW", ";USER-PROG5", "USER-PROG5 =  \"$VIBRANT$LIQUID SPEED\",\"LS Demo\"",,,,,))
  374.             @setoption(32)
  375.         @elseif (@filesar("@studiodrive:@studiodir\\3DS.NEW", ";USER-PROG6", "USER-PROG6 =  \"$VIBRANT$LIQUID SPEED\",\"LS Demo\"",,,,,))
  376.             @setoption(32)
  377.         @elseif (@filesar("@studiodrive:@studiodir\\3DS.NEW", ";USER-PROG7", "USER-PROG7 =  \"$VIBRANT$LIQUID SPEED\",\"LS Demo\"",,,,,))
  378.             @setoption(32)
  379.         @elseif (@filesar("@studiodrive:@studiodir\\3DS.NEW", ";USER-PROG8", "USER-PROG8 =  \"$VIBRANT$LIQUID SPEED\",\"LS Demo\"",,,,,))
  380.             @setoption(32)
  381.         @elseif (@filesar("@studiodrive:@studiodir\\3DS.NEW", ";USER-PROG9", "USER-PROG9 =  \"$VIBRANT$LIQUID SPEED\",\"LS Demo\"",,,,,))
  382.             @setoption(32)
  383.         @elseif (@filesar("@studiodrive:@studiodir\\3DS.NEW", ";USER-PROG10", "USER-PROG10 =  \"$VIBRANT$LIQUID SPEED\",\"LS Demo\"",,,,,))
  384.             @setoption(32)
  385.         @elseif (@filesar("@studiodrive:@studiodir\\3DS.NEW", ";USER-PROG11", "USER-PROG11 =  \"$VIBRANT$LIQUID SPEED\",\"LS Demo\"",,,,,))
  386.             @setoption(32)
  387.         @elseif (@filesar("@studiodrive:@studiodir\\3DS.NEW", ";USER-PROG12", "USER-PROG12 =  \"$VIBRANT$LIQUID SPEED\",\"LS Demo\"",,,,,))
  388.             @setoption(32)
  389.         @elseif (@filesar("@studiodrive:@studiodir\\3DS.NEW", ";USER-PROG13", "USER-PROG13 =  \"$VIBRANT$LIQUID SPEED\",\"LS Demo\"",,,,,))
  390.             @setoption(32)
  391.         @elseif (@filesar("@studiodrive:@studiodir\\3DS.NEW", ";USER-PROG14", "USER-PROG14 =  \"$VIBRANT$LIQUID SPEED\",\"LS Demo\"",,,,,))
  392.             @setoption(32)
  393.         @endif
  394.     @else
  395.         @setoption(101)
  396.     @endif
  397.  
  398.     @if (32 [= @option)
  399.         /* LS Demo option added to 3DS.NEW*/
  400.         @setbak = @backup("@studiodrive:@studiodir\\3DS.SET",,,)
  401.         @if (@strequal("@setbak", "\\"))
  402.             /* Error backing up file */
  403.             @setoption(102)
  404.         @else
  405.             @delete("@studiodrive:@studiodir\\3DS.SET")
  406.             @rename("@studiodrive:@studiodir\\3DS.NEW", "3DS.SET")
  407.         @endif
  408.  
  409.         @display
  410.             @cls
  411.             @writeat("Liquid Speed System Benchmark",30,,100)
  412.  
  413.     The Liquid Speed System Benchmark has been added to your 3DS.SET file,
  414.     and your original 3DS.SET file has been renamed @setbak. You can 
  415.     execute the benchmark by selecting "LS Demo" from the program menu. 
  416.  
  417.             @pause
  418.         @enddisplay
  419.     @else
  420.         /* Unable to add LS Demo option */
  421.         @delete("@studiodrive:@studiodir\\3DS.NEW")
  422.         @display
  423.             @cls
  424.             @writeat("Liquid Speed System Benchmark",30,,100)
  425.             @if (101 [= @option)
  426.     Warning:  The install program was unable locate your 3DS.SET file, and
  427.     was unable to add the Liquid Speed System Benchmark.  The files have 
  428.     been copied to your 3D Studio directory.
  429.             @else
  430.     Warning: The install program was unable to add the Liquid Speed
  431.     System Benchmark to your 3DS.SET file, but the files have been copied
  432.     to your 3D Studio directory.
  433.             @endif
  434.     To use the benchmark module, add the following line to your 3DS.SET 
  435.     file:
  436.  
  437.         USER-PROGn =  "$VIBRANT$LIQUID SPEED","LS Demo"
  438.  
  439.     where n is the number of an unused user program selection.  See the
  440.     3D Studio Installation Guide for more details on user programs.  You 
  441.     can execute the benchmark by selecting "LS Demo" from the program menu.
  442.     The benchmark will measure the display time of the loaded mesh with
  443.     and without Liquid Speed enabled and display the results for you.
  444.  
  445.             @pause
  446.         @enddisplay
  447.     @endif
  448. @endif
  449.  
  450. @definedisk
  451.     @label = "Distribution Disk"
  452.     @beginlib @rootfn.RED
  453.         @file @rootfn.VLM @out @studiodrive:@studiodir\\*.*
  454.         @file @resfn.RES @out @studiodrive:@studiodir\\*.*
  455.         @if (31 [= @option)
  456.             @if (33 [! @option)
  457.                 @file @lsrootfn.VLM @out @studiodrive:@studiodir\\*.*
  458.                 @file @lsresfn.RES @out @studiodrive:@studiodir\\*.*
  459.             @endif
  460.             @file @lsdocfn.DOC @out @studiodrive:@studiodir\\*.*
  461.         @endif
  462.     @endlib
  463.     @if (40 [= @option)
  464.         @file @rlmfn.RLM @out @rlmdrive:@rlmdir\\*.*
  465.     @endif
  466.     @file @docfn.DOC @out @studiodrive:@studiodir\\*.*
  467. @enddisk
  468.  
  469. @finish
  470.     The installation of @name is complete...
  471.  
  472.     See the @docfn.DOC file for informaiton on the use of the inline 
  473.     driver. It is located in @studiodrive:@studiodir.  To reconfigure your 
  474.     driver, execute 3D Studio with the VIBCFG command option. See 
  475.     your 3D Studio documentation for more configuration information.
  476.  
  477.     @if (31 [= @option)
  478.     See the @lsdocfn.DOC file for more information on the Liquid Speed
  479.     System Benchmark.
  480.     @endif
  481.  
  482.     @pause
  483.     @chdrive @startupdrive
  484.     @chdir "@startupdir"
  485. @endfinish
  486.  
  487.  
  488.  
  489.  
  490.  
  491.