home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Action 6 A
/
cdactioncoverdisc
/
lsl7
/
install
/
install.scr
< prev
next >
Wrap
Text File
|
1996-07-09
|
4KB
|
139 lines
:start
clear
REM Check install space
space %1: 30000 nospace
REM Create the DOS game directory
godir %1:%4 cantcreate
REM echo
REM echo Performance Enhancement
REM echo
REM echo If you have extra Hard Disk space available, you may
REM echo wish to devote some of it to speeding up game play.
REM echo Please choose how much you would like to use below.
REM echo
REM echo 1) Use 0 megs - Doesn't use any additional hard disk
REM echo space.
REM echo 2) Use 1 meg - This will put 45 percent of the game's resources on your hard disk.
REM echo 3) Use 40 megs - This will put 100 percent of the game's resources on your hard disk.
REM echo 4) Exit and cancel installation
REM echo
REM echo Please choose 1, 2, 3 or 4
REM pick 1234 megs0 megs1 megs40 quit
REM
REM :megs0
REM space %1: 1000 nospace
REM goto done
REM
REM :megs1
REM space %1: 1500 nospace
REM echo Copying resources to %1:%4 ...
REM call %2:copymegs %2:resource.000 %1:resource.000 1
REM goto done
REM
REM :megs40
REM space %1: 40500 nospace
REM echo Copying resources to %1:%4 ...
REM call %2:copymegs %2:resource.000 %1:resource.000 50
REM goto done
REM
REM :done
echo Copying files to %1:%4 ...
copy %2:..\sier.exe %1:
copy %2:l7check.bat %1:checkcd.bat
copy %2:vesatest.exe %1:
copy %2:install.exe %1:
copy %2:install.scr %1:
copy %2:install.txt %1:
copy %2:install.hlp %1:
copy %2:*.drv %1:
rem copy %2:*.chk %1:
rem copy %2:\patches\*.* %1: /q
copy %2:..\version %1:
copy %2:..\sierra.err %1:
REM *** TEMP ***
copy %2:..\classes %1:
REM Copy over music files
godir %1:%4\music cantcreate
copy %2:..\music\*.*
godir %1:%4 cantcreate
REM Create resource.cfg
echo %3 >resource.cfg
clear
echo audio=%1:%4\music >>resource.cfg
echo resSfx=%2:\ >>resource.cfg
echo resAud=%2:\ >>resource.cfg
echo resMap=%2:\ >>resource.cfg
echo patchDir=%1:%4; %2:\ >>resource.cfg
REM echo patchDir=%1:%4;%2:;%2:\MOVIES >>resource.cfg
REM echo movieDir=%2:\MOVIES >>resource.cfg
REM echo robot=%2:\ROBOTS >>resource.cfg
REM echo audiosize=62k >>resource.cfg
REM echo dacsize=30720 >>resource.cfg
clear
REM BATCH FILE TO RUN GAME FROM SIERRA DIRECTORY
echo @echo off >..\lsl7dos.bat
echo cd %4 >>..\lsl7dos.bat
echo call CheckCD %2 >>..\lsl7dos.bat
echo call vesatest >>..\lsl7dos.bat
echo if errorlevel 0 goto vesafound >>..\lsl7dos.bat
echo echo A VESA driver was not found on your system. Please rerun install >>..\lsl7dos.bat
echo echo and check the readme file for help on installing a VESA driver. >>..\lsl7dos.bat
echo goto end >>..\lsl7dos.bat
echo :vesafound >>..\lsl7dos.bat
echo %1:%4\sier %1:%4\resource.cfg >>..\lsl7dos.bat
echo :end >> ..\lsl7dos.bat
echo cd .. >>..\lsl7dos.bat
REM BATCH FILE TO RUN GAME FROM GAME DIRECTORY
echo @echo off >lsl7dos.bat
echo call CheckCD %2 >>lsl7dos.bat
echo call vesatest >>lsl7dos.bat
echo if errorlevel 0 goto vesafound >>lsl7dos.bat
echo echo A VESA driver was not found on your system. Please rerun install >>lsl7dos.bat
echo echo and check the readme file for help on installing a VESA driver. >>lsl7dos.bat
echo goto end >>lsl7dos.bat
echo :vesafound >>lsl7dos.bat
REM echo %1:%4\sierra %1:%4\resource.cfg >>lsl7dos.bat
echo %1:%4\sier %1:%4\resource.cfg >>lsl7dos.bat
echo :end >>lsl7dos.bat
cd ..
cls
echo
echo To play the Leisure Suit Larry 7 Demo now:
echo At the DOS prompt, type lsl7dos and press [ENTER].
echo
echo To play the Leisure Suit Larry 7 Demo later:
echo From the directory of %1:%4,
echo type lsl7dos and press [ENTER].
echo
pause
goto quit
:cantcreate
alert Unable to create directory %1:%4
pause
goto quit
:nospace
cls
echo
echo There is not enough space on %1: to install the game.
echo 30 Megabytes of disk space is necessary for
echo installing the game.
echo
:quit
end