home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Today - The Disc! 9
/
cdrt09.iso
/
pc
/
install
/
english
/
install.scr
< prev
next >
Wrap
Text File
|
1995-01-13
|
3KB
|
158 lines
rem ENGLISH DEMO INSTALL SCRIPT
:start
clear
space %1: 3500 NoMinSpace
godir %1:%4 CantCreate
IF NOT EXIST *.* goto cherry
echo /// WARNING \\\
echo
echo The installation directory already contains files.
echo
echo In order to ensure a proper install, please remove
echo all the Dynamix files from this directory.
echo
echo Do you wish to continue with installation?
echo
echo (Y/N)
pick yn cherry alldone
:cherry
rem *** create the game directories on the hard disk ***
godir %1:%4\save
godir %1:%4\sound
godir %1:%4\sim
godir %1:%4\sim\save
rem ///////////// minimum install \\\\\\\\\\\\\\\\\\
:minInst
space %1: 3500 NoMinSpace
clear
rem *** copy minimum files for sim and shell ***
:minfiles
godir %1:%4\sim
copy %2:\sim\subsim.exe
copy %2:\sim\common.ali
copy %2:\sim\shades.
copy %2:\sim\radiolog.dat
copy %2:\sim\invibutt.def
copy %2:\sim\shape.lst
copy %2:\sim\language.txt
copy %2:\sim\shapes.vol
copy %2:\sim\*.shd
godir %1:%4\sim\save
copy %2:\sim\save\*.* /s
goto copyMinFiles
rem \\\\\\\\\\\\ end minimum install //////////////////
:copyMinFiles
rem *** copy files to install destination directory ***
godir %1:%4
copy %2:\install\files\*.dat
copy %2:\install\files\playflic.exe
copy %2:\install\sound\soundset.exe
copy %2:\install\sound\soundset.ini
rem *** copy files to sound directory ***
godir %1:%4\sound
copy %2:\install\sound\sonarret.raw /s
copy %2:\install\sound\*.bnk
copy %2:\install\sound\*.386 /s
copy %2:\install\sound\sounddrv.ini /s
copy %2:\install\sound\*.dig
copy %2:\install\sound\departra.hmp /s
copy %2:\install\sound\soundply.exe /s
godir %1:%4
copy %2:\install\english\read.me
:makebatch
rem *** update resource.cfg file in destination directory ***
godir %1:%4
echo %3 > resource.cfg
echo [FlicPlayer]>> resource.cfg
echo pathFlic=%2:\intro\>> resource.cfg
echo [CDdrive]>> resource.cfg
echo %2:>>resource.cfg
rem *** make intro batch file ***
echo @echo off>intro.bat
echo playflic %2:\intro\intro.dfl -S82 -C15000>>intro.bat
rem *** make single speed drive intro file ***
echo @echo off>single.bat
echo playflic %2:\intro\intro.dfl -S82 -C15000 -q>>single.bat
rem *** copy screen shot stuff ***
godir %1:%4
copy %2:\scrns\escreen.dbm screen.dbm
copy %2:\scrns\screen.dpl
copy %2:\scrns\screen.exe
rem *** make executable batch file ***
echo @echo off>demo.bat
rem x echo @if exist vesadrv.bat call vesadrv.bat >> aod.bat
echo call intro.bat>>demo.bat
rem x echo aodcd.exe>>demo.bat
echo cd sim>>demo.bat
echo subsim -P%1:%4\ -D%2>>demo.bat
echo cd..>>demo.bat
echo screen>>demo.bat
echo echo to run the Aces of the Deep demo again type DEMO.>>demo.bat
rem ******* end of normal install process **********
end
rem ******* error handling section **********
:NoMinSpace
clear
echo
echo There is not enough space on %1: to install AOD!
echo at least 3.5 megabytes of disk space are necessary.
echo
pause
goto alldone
:CantCreate
alert Unable to create directory %1:%4
rem ****** something bad happened so quit **********
:alldone
end