home *** CD-ROM | disk | FTP | other *** search
/ Classic Fond 1 / ClassicFond01.iso / adventur / gabr-kn.zip / INSTALL.SCR < prev    next >
Text File  |  1993-11-23  |  2KB  |  111 lines

  1. clear
  2. godir %1:%4 cantcreate
  3.  
  4. echo Creating batch files...
  5.  
  6. echo @echo off >..\gabriel.bat
  7. echo cd %4 >>..\gabriel.bat
  8. echo sierra >>..\gabriel.bat
  9. echo cd .. >>..\gabriel.bat
  10.  
  11. echo @echo off >gabriel.bat
  12. echo sierra >>gabriel.bat
  13.  
  14. echo
  15. echo Copying game files...
  16. echo
  17.  
  18. copy %2:\dosonly\*.*
  19. copy %2:\both\*.*
  20.  
  21. del resource.cfg
  22. echo %3 >resource.cfg
  23. echo patchDir=.\ >>resource.cfg
  24. echo audiosize=6k >>resource.cfg
  25.  
  26.  
  27.  
  28. exists %2:\disk2 Insert disk labelled "Disk 2" into drive %2:.
  29. copy %2:\both\*.*
  30. copy %2:\dosonly\sierra.exe
  31.  
  32. exists %2:\disk3 Insert disk labelled "Disk 3" into drive %2:.
  33. copy resource.000 + %2:\both\resource.000
  34.  
  35. exists %2:\disk4 Insert disk labelled "Disk 4" into drive %2:.
  36. copy resource.000 + %2:\both\resource.000
  37.  
  38. exists %2:\disk5 Insert disk labelled "Disk 5" into drive %2:.
  39. copy resource.000 + %2:\both\resource.000
  40.  
  41. exists %2:\disk6 Insert disk labelled "Disk 6" into drive %2:.
  42. copy resource.000 + %2:\both\resource.000
  43.  
  44. exists %2:\disk7 Insert disk labelled "Disk 7" into drive %2:.
  45. copy resource.000 + %2:\both\resource.000
  46.  
  47. exists %2:\disk8 Insert disk labelled "Disk 8" into drive %2:.
  48. copy resource.000 + %2:\both\resource.000
  49.  
  50. exists %2:\disk9 Insert disk labelled "Disk 9" into drive %2:.
  51. copy resource.000 + %2:\both\resource.000
  52.  
  53. exists %2:\disk10 Insert disk labelled "Disk 10" into drive %2:.
  54. copy resource.000 + %2:\both\resource.000
  55.  
  56. exists %2:\disk11 Insert disk labelled "Disk 11" into drive %2:.
  57. copy resource.000 + %2:\both\resource.000
  58. copy %2:\both\resource.sfx
  59. copy %2:\auddcomp.exe
  60.  
  61. echo
  62. echo Decompressing audio...Please wait
  63. echo
  64. auddcomp>nul
  65. if errorlevel 1 goto auderr
  66.  
  67. del auddcomp.exe
  68.  
  69.  
  70. :done
  71. cd .. >nul
  72. clear
  73. echo
  74. echo  To play Gabriel Knight now:
  75. echo     Type gabriel [ENTER].
  76. echo
  77. echo  To play Gabriel Knight later:
  78. echo     From the directory of %1:%4,
  79. echo     Type gabriel and press [ENTER].
  80. echo
  81. pause
  82. goto quit
  83.  
  84. :cantcreate
  85. alert Unable to create directory %1:%4
  86. pause
  87. goto quit
  88.  
  89. :nospace
  90. cls
  91. echo
  92. echo There is not enough space on %1: to install. 
  93. echo 16 Megabytes of disk space are necessary for
  94. echo the install. 
  95. pause
  96. goto quit
  97.  
  98. :auderr
  99. cls
  100. echo
  101. echo **Audio decompression failed**
  102. echo Please reinstall game by placing disk 1
  103. echo in drive and typing "Install."
  104. echo
  105. goto quit
  106.  
  107.  
  108. :quit
  109. end
  110.  
  111.