home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OK PC 58
/
OKPc.iso
/
INSTALL
/
GERMAN
/
INSTALL.SCR
< prev
next >
Wrap
Text File
|
1995-03-09
|
4KB
|
173 lines
rem GERMAN DEMO INSTALL SCRIPT
:start
clear
space %1: 3500 NoMinSpace
godir %1:%4 CantCreate
IF NOT EXIST *.* goto cherry
echo /// WARNUNG \\\
echo
echo Das Installationsverzeichnis enthält bereits
echo Dateien.
echo
echo Um sicherzustellen, daß richtig installiert
echo wird, entfernen Sie bitte alle Dateien aus
echo diesem Verzeichnis.
echo
echo Möchten Sie die Installation fortsetzen?
echo
echo (J/N)
pick jn 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 /s
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
rem *** copy language specific files ***
godir %1:%4\sim
copy %2:\install\german\gerfiles\sim\*.*
godir %1:%4
copy %2:\install\german\config.dat
goto makebatch
:makebatch
godir %1:%4
copy %2:\install\german\read.me /s
rem *** making install batch file ***
rem godir %1:%4
rem echo @echo off>test.bat
rem echo call inst.exe %1 %2 %3 %4 %5 %6 %7 %8 %9>>test.bat
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\gscreen.dbm screen.dbm
copy %2:\scrns\screen.dpl
copy %2:\scrns\screen.exe
rem *** make executable batch file ***
echo @echo off>aoddemo.bat
rem x echo @if exist vesadrv.bat call vesadrv.bat >> aod.bat
echo call intro.bat>>aoddemo.bat
rem x echo aodcd.exe>>aoddemo.bat
echo cd sim>>aoddemo.bat
echo subsim -P%1:%4\ -D%2>>aoddemo.bat
echo cd..>>aoddemo.bat
echo screen>>aoddemo.bat
echo echo Um die Aces of the Deep noch einmal zu spielen, geben Sie AODDEMO ein.>>aoddemo.bat
rem ******* end of normal install process **********
end
rem ******* error handling section **********
:NoMinSpace
clear
echo
echo Auf %1: ist nicht genug Speicherplatz vorhanden,
echo um AOD zu installieren!
echo Es sind 3,5 MB Speicherplatz auf der Festplatte
echo erforderlich.
echo
pause
goto alldone
:CantCreate
alert Kann Verzeichnis %1:%4 nicht anlegen.
rem ****** something bad happened so quit **********
:alldone
end