home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 6
/
1995-05_Disc_6.iso
/
install
/
french
/
install.scr
< prev
next >
Wrap
Text File
|
1995-01-13
|
4KB
|
160 lines
rem FRENCH DEMO INSTALL SCRIPT
:start
clear
space %1: 3500 NoMinSpace
godir %1:%4 CantCreate
IF NOT EXIST *.* goto cherry
echo /// ATTENTION \\\
echo
echo Le répertoire d'installation contient déjà des
echo fichiers.
echo
echo Pour permettre l'installation, retirez tous les
echo fichiers Dynamix du répertoire.
echo
echo Désirez-vous continuer l'installation?
echo
echo (O/N)
pick on 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
rem *** copy language specific files ***
godir %1:%4\sim
copy %2:\install\french\frnfiles\sim\*.*
:makebatch
godir %1:%4
copy %2:\install\french\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\fscreen.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 Pour relancer la démo d'Aces of the Deep, tapez DEMO.>>demo.bat
rem ******* end of normal install process **********
end
rem ******* error handling section **********
:NoMinSpace
clear
echo
echo L'espace sur %1: est insuffisant pour installer AOD!
echo Vous avez besoin de 3.5 Mo d'espace disponible.
echo
pause
goto alldone
:CantCreate
alert Impossible de créer le répertoire %1:%4
rem ****** something bad happened so quit **********
:alldone
end