home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Action 8 A
/
cdactioncoverdisc
/
litedemo
/
install.scr
< prev
next >
Wrap
Text File
|
1995-12-27
|
3KB
|
102 lines
clear
godir %1:%4 cantcreate
:start
clear
echo
echo Copying files to %1:%4 ...
;BATCH FILE TO RUN GAME FROM SIERRA DIRECTORY
echo @echo off >..\Litedemo.bat
echo cd %4 >>..\Litedemo.bat
echo @if exist vesadrv.bat call vesadrv.bat >>..\Litedemo.bat
rem echo call vesatest >>..\Litedemo.bat
rem echo if errorlevel 0 goto vesafound >>..\Litedemo.bat
rem echo echo A VESA driver was not found on your system. Please rerun install >>..\Litedemo.bat
rem echo echo and check the readme file for help on installing a VESA driver. >>..\Litedemo.bat
rem echo goto end >>..\Litedemo.bat
rem echo :vesafound >>..\Litedemo.bat
echo %1:%4\sierrah -o %1:%4\resource.cfg >>..\Litedemo.bat
echo :end >> ..\Litedemo.bat
echo cd .. >>..\Litedemo.bat
;BATCH FILE TO RUN GAME FROM GAME DIRECTORY
echo @echo off >Litedemo.bat
echo @if exist vesadrv.bat call vesadrv.bat >>Litedemo.bat
rem echo call vesatest >>Litedemo.bat
rem echo if errorlevel 0 goto vesafound >>Litedemo.bat
rem echo echo A VESA driver was not found on your system. Please rerun install >>Litedemo.bat
rem echo echo and check the readme file for help on installing a VESA driver. >>Litedemo.bat
rem echo goto end >>Litedemo.bat
rem echo :vesafound >>Litedemo.bat
echo %1:%4\sierrah -o %1:%4\resource.cfg >>Litedemo.bat
echo :end >>Litedemo.bat
rem *** making vesa batch ***
godir %1:%4
echo %2:>vesa.bat
echo cd vesa>>vesa.bat
echo vesainst /Vvesa /B%1:%4 /TSIERRA.DIB>>vesa.bat
echo cd\>>vesa.bat
echo %1:>>vesa.bat
echo %3 >resource.cfg
clear
echo resMap=%2:\Litedemo;%1:%4 >>resource.cfg
echo resAUD=%2:\Litedemo >>resource.cfg
echo resSFX=%2:\Litedemo >>resource.cfg
echo patchDir=%1:%4;%2:\Litedemo;%2:\Litedemo\movies >>resource.cfg
rem echo audiosize=62k >>resource.cfg
rem echo dacsize=30720 >>resource.cfg
copy %2:sierrah.exe %1:
copy %2:vesatest.exe %1:vesatest.exe
copy %2:inst.exe %1:install.exe
copy %2:install.scr %1:
copy %2:install.txt %1:
copy %2:install.hlp %1:
rem copy %2:readme %1:
rem copy %2:readme.bat %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 cls
rem echo
rem echo To see the Lighthouse demo now:
rem echo At the DOS prompt, type Litedemo and press [ENTER].
rem echo
rem echo To see the Lighthouse demo later:
rem echo From the directory of %1:%4,
rem echo type Litedemo and press [ENTER].
rem echo
rem 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.
echo At least 1 Megabyte of disk space is necessary for
echo installing the game.
echo
pause
goto start
:quit
end