home *** CD-ROM | disk | FTP | other *** search
/ CD Action 6 A / cdactioncoverdisc / lsl7 / install / install.scr < prev    next >
Text File  |  1996-07-09  |  4KB  |  139 lines

  1. :start
  2. clear
  3.  
  4. REM Check install space
  5. space %1: 30000 nospace
  6.  
  7. REM Create the DOS game directory
  8. godir %1:%4 cantcreate
  9.  
  10. REM echo 
  11. REM echo               Performance Enhancement
  12. REM echo 
  13. REM echo If you have extra Hard Disk space available, you may 
  14. REM echo wish to devote some of it to speeding up game play. 
  15. REM echo Please choose how much you would like to use below.
  16. REM echo
  17. REM echo 1) Use 0 megs   - Doesn't use any additional hard disk
  18. REM echo  space.
  19. REM echo 2) Use 1 meg    - This will put 45 percent of the game's resources on your hard disk.
  20. REM echo 3) Use 40 megs - This will put 100 percent of the game's resources on your hard disk.
  21. REM echo 4) Exit and cancel installation
  22. REM echo
  23. REM echo Please choose 1, 2, 3 or 4
  24. REM pick 1234 megs0 megs1 megs40 quit
  25. REM 
  26. REM :megs0
  27. REM space %1: 1000 nospace
  28. REM goto done
  29. REM 
  30. REM :megs1
  31. REM space %1: 1500 nospace
  32. REM echo Copying resources to %1:%4 ...
  33. REM call %2:copymegs %2:resource.000 %1:resource.000 1
  34. REM goto done
  35. REM 
  36. REM :megs40
  37. REM space %1: 40500 nospace
  38. REM echo Copying resources to %1:%4 ...
  39. REM call %2:copymegs %2:resource.000 %1:resource.000 50
  40. REM goto done
  41. REM 
  42. REM :done
  43.  
  44. echo Copying files to %1:%4 ...
  45.  
  46. copy %2:..\sier.exe %1:
  47. copy %2:l7check.bat %1:checkcd.bat
  48. copy %2:vesatest.exe %1:
  49. copy %2:install.exe %1:
  50. copy %2:install.scr %1:
  51. copy %2:install.txt %1:
  52. copy %2:install.hlp %1:
  53. copy %2:*.drv %1:
  54. rem copy %2:*.chk %1:
  55. rem copy %2:\patches\*.* %1: /q
  56. copy %2:..\version %1:
  57. copy %2:..\sierra.err %1:
  58. REM *** TEMP ***
  59. copy %2:..\classes %1:
  60.  
  61. REM Copy over music files
  62. godir %1:%4\music cantcreate
  63. copy %2:..\music\*.*
  64. godir %1:%4 cantcreate
  65.  
  66. REM Create resource.cfg
  67. echo %3 >resource.cfg
  68.  
  69. clear
  70. echo audio=%1:%4\music >>resource.cfg
  71. echo resSfx=%2:\ >>resource.cfg
  72. echo resAud=%2:\ >>resource.cfg
  73. echo resMap=%2:\ >>resource.cfg
  74. echo patchDir=%1:%4; %2:\ >>resource.cfg
  75. REM echo patchDir=%1:%4;%2:;%2:\MOVIES >>resource.cfg
  76. REM echo movieDir=%2:\MOVIES >>resource.cfg
  77. REM echo robot=%2:\ROBOTS >>resource.cfg
  78. REM echo audiosize=62k >>resource.cfg
  79. REM echo dacsize=30720 >>resource.cfg
  80.  
  81. clear
  82.  
  83. REM BATCH FILE TO RUN GAME FROM SIERRA DIRECTORY
  84. echo @echo off >..\lsl7dos.bat
  85. echo cd %4 >>..\lsl7dos.bat
  86. echo call CheckCD   %2 >>..\lsl7dos.bat
  87. echo call vesatest >>..\lsl7dos.bat
  88. echo if errorlevel 0 goto vesafound >>..\lsl7dos.bat
  89. echo echo A VESA driver was not found on your system. Please rerun install >>..\lsl7dos.bat
  90. echo echo and check the readme file for help on installing a VESA driver. >>..\lsl7dos.bat
  91. echo goto end >>..\lsl7dos.bat
  92. echo :vesafound >>..\lsl7dos.bat
  93. echo %1:%4\sier %1:%4\resource.cfg >>..\lsl7dos.bat
  94. echo :end >> ..\lsl7dos.bat
  95. echo cd .. >>..\lsl7dos.bat
  96.  
  97. REM BATCH FILE TO RUN GAME FROM GAME DIRECTORY
  98. echo @echo off >lsl7dos.bat
  99. echo call CheckCD   %2 >>lsl7dos.bat
  100. echo call vesatest >>lsl7dos.bat
  101. echo if errorlevel 0 goto vesafound >>lsl7dos.bat
  102. echo echo A VESA driver was not found on your system. Please rerun install >>lsl7dos.bat
  103. echo echo and check the readme file for help on installing a VESA driver. >>lsl7dos.bat
  104. echo goto end >>lsl7dos.bat
  105. echo :vesafound >>lsl7dos.bat
  106. REM echo %1:%4\sierra %1:%4\resource.cfg >>lsl7dos.bat
  107. echo %1:%4\sier %1:%4\resource.cfg >>lsl7dos.bat
  108. echo :end >>lsl7dos.bat
  109.  
  110. cd ..
  111. cls
  112. echo
  113. echo  To play the Leisure Suit Larry 7 Demo now:
  114. echo   At the DOS prompt, type lsl7dos and press [ENTER].
  115. echo
  116. echo  To play the Leisure Suit Larry 7 Demo later:
  117. echo   From the directory of %1:%4,
  118. echo   type lsl7dos and press [ENTER].
  119. echo
  120. pause
  121. goto quit
  122.  
  123. :cantcreate
  124. alert Unable to create directory %1:%4
  125. pause
  126. goto quit
  127.  
  128. :nospace
  129. cls
  130. echo
  131. echo There is not enough space on %1: to install the game. 
  132. echo 30 Megabytes of disk space is necessary for
  133. echo installing the game.
  134. echo
  135.  
  136. :quit
  137. end
  138.  
  139.