REM Which type of install? :installType clear echo echo You may wish to use some hard disk space to enhance echo game play. Choosing 25 or 40 megs will speed up the echo end game sequence. Please choose how much you would echo like to use: echo echo Small: 17 megs (Required) echo echo Medium: 27 megs echo echo Larger: 42 megs echo echo Exit: Cancel Installation echo echo Enter selection (S/M/L/E) pick smle small medium large noInstall :large clear space %1: 42000 noLargespace godir %1:%4 cantcreate echo Copying files to %1:%4 echo echo Copying %2:ressci.001 to %1:ressci.001... %2:copymegs %2:ressci.001 %1:ressci.001 23 X >nul goto smallFinish :medium clear space %1: 27000 noMediumspace godir %1:%4 cantcreate echo Copying files to %1:%4 echo echo Copying %2:ressci.001 to %1:ressci.001... %2:copymegs %2:ressci.001 %1:ressci.001 10 X >nul goto smallFinish :small clear space %1: 17000 nospace godir %1:%4 cantcreate echo Copying files to %1:%4 echo :smallFinish copy %2:cdcheck.bat %1:checkcd.bat copy %2:*.drv %1: copy %2:install.exe %1: copy %2:install.hlp %1: copy %2:install.txt %1: copy %2:version %1: copy %2:sierra.exe %1: copy %2:sierra.err %1: copy %2:havevesa.exe %1: copy %2:uvconfig.exe %1: copy %2:ressci.pat %1: copy %2:resmdt.pat %1: copy %2:resmap.pat %1: copy %2:11.SCR %1: copy %2:11.HEP %1: copy %2:27.SCR %1: copy %2:27.HEP %1: copy %2:34.SCR %1: copy %2:34.HEP %1: copy %2:210.SCR %1: copy %2:210.HEP %1: copy %2:720.SCR %1: copy %2:720.HEP %1: copy %2:1120.SCR %1: copy %2:1120.HEP %1: copy %2:1160.SCR %1: copy %2:1160.HEP %1: copy %2:4001.SCR %1: copy %2:4001.HEP %1: copy %2:11752.SCR %1: copy %2:11752.HEP %1: copy %2:92.MSG %1: copy %2:92.SHM %1: copy %2:13086.P56 %1: copy %2:9944.V56 %1: copy %2:4020.SCR %1: copy %2:4020.HEP %1: echo @echo off >gk2dos.bat echo cd %1:%4 >>gk2dos.bat echo call CheckCD %2 >>gk2dos.bat echo %1:%4\sierra %1:%4\resource.cfg >>gk2dos.bat copy gk2dos.bat ..\gk2dos.bat echo cd .. >>..\gk2dos.bat echo %3 >resource.cfg echo cdSpeed=2 >>resource.cfg echo resAUD=CD:\ >>resource.cfg echo resSFX=CD:\ >>resource.cfg echo resMAP=CD:\;%1:%4 >>resource.cfg echo rescdisc=CD:\ >>resource.cfg echo patchDir=%1:%4;CD:\ >>resource.cfg echo movieDir=CD:\movies >>resource.cfg echo robot=CD:\robot >>resource.cfg echo discID=GK2R1 >>resource.cfg echo CD:=%2:; >>resource.cfg REM Test for vesa support godir %1:%4 havevesa.exe if ERRORLEVEL 1 goto novesa goto done REM Offer to create Universal Vesa Driver. :novesa clear echo echo VESA support has not been detected. However you do echo have the option of constructing a universal VESA echo driver. echo echo Creating the universal VESA driver will not work echo on every computer system and/or video card. If echo this function fails, you may have to contact your echo video card manufacturer for a VESA driver that will echo work for you. Please consult the README file for echo more information. echo echo Would you like to attempt this now? (Y/N) pick yn univesa done :univesa clear alert Warning... Performing this function may cause your computer to lock. If this occurs, restart your computer, re-run the install program, and select NO for attempting to create the universal driver. uvconfig.exe -gen if exist univbe.drv goto success clear alert ERROR: Universal VESA driver not created. goto done :success clear echo echo A Universal VESA driver was successfully created. echo echo echo echo echo echo echo echo echo echo echo echo echo pause :done clear echo echo ˙To play Gabriel Knight: The Beast Within now: echo ˙ At the DOS prompt, echo type GK2DOS and press [ENTER]. echo echo ˙To play Gabriel Knight: The Beast Within later: echo ˙ From the directory of %1:%4, echo ˙ type GK2DOS and press [ENTER]. echo pause end :cantcreate alert Unable to create directory %1:%4 pause end :nospace clear echo echo There is not enough space on %1: to install. echo At least 17 Megabytes of disk space is necessary for echo installing the game. echo pause end :noMediumspace clear echo echo There is not enough space on %1: to install. echo At least 27 Megabytes of disk space is necessary for echo installing the game. echo pause end :noLargespace clear echo echo There is not enough space on %1: to install. echo At least 42 Megabytes of disk space is necessary for echo installing the game. echo pause end :noInstall clear end