home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 1999 February
/
Gamestar_02_1999-02_cd2.bin
/
tsn
/
install.scr
< prev
next >
Wrap
Text File
|
1993-03-18
|
5KB
|
231 lines
echo Setting up the directory for TSN
godir %1:%6 CantCreate
del *.so
del *.to
del *.p56
del *.v56
del *.snd
del resource.*
del *.drv
del *.dll
del *.exe
del hostaddr.tim
rem del *.bbs
godir %1:%6\SL CantSL
del *.so
del *.to
del *.p56
del *.v56
del *.snd
del *.pbm
del resource.*
del *.drv
del *.dll
del *.exe
del *.CFG
godir %1:%6\LL CantLL
del *.so
del *.to
del *.p56
del *.v56
del *.snd
del resource.*
del *.drv
del *.dll
del *.exe
del *.CFG
godir %1:%6\BARON CantBaron
del volume.*
del *.exe
godir %1:%6\YSERBIUS CantYserbius
godir %1:%6\YSERBIUS\SAVE CantYserbius
copy ..\mychars.dat /q
copy ..\automaps.dat /q
godir %1:%6\YSERBIUS CantYserbius
del *.*
godir %1:%6
rem Is there space?
space %1: 8500 NoSpace
if errorlevel 1 goto NoSpace
echo Copying files...
copy %2:READ.ME /q
echo Installing Re-Install
copy %2:INSTTSNC.EXE INSTTSN.EXE
rem copy %2:puff.exe
copy %2:INSTALL.BIT INSTALL.BAT
copy %2:LSCIGET.EXE
copy %2:INSTALL.TXT
copy %2:DRIVERS.TXT
copy %2:INSTALL.HLP
copy %2:INSTTSN.TXT
copy %2:INSTTSN.HLP
copy %2:MODEM.TXT
copy %2:PHONE.TXT
copy %2:RBJOY.EXE
echo Installing TSN executive
copy %2:TSNEXEC.EXE
rem echo Decompressing executive
rem puff /D _SNEXEC.EXE
copy %2:TSN.PRG
copy %2:MODEM.DRV
copy %2:NOBRK.DRV
copy %2:TSN.ICO
copy %2:TSN.PIF
copy %2:PATCHPIF.EXE
patchpif %1 %6 > nul
copy %2:HOSTADDR
echo @echo off>TSN.BAT
echo tsnexec DEFAULT>>TSN.BAT
echo Installing SCI and Drivers
copy %2:LSCITV.EXE
rem echo Decompressing interpreter
rem puff /D _SCITV.EXE
copy %2:GAME.CFG
copy %2:LAND.CFG
copy %2:LLSYSTEM.DAT
copy %2:TWEAKER.DRV
copy %2:MT32.DRV
copy %2:MT32.NL
copy %2:ADL.DRV
copy %2:SNDBLAST.DRV
copy %2:TANDYXL.DRV
copy %2:IBMKBD.DRV
copy %2:_LNULL.DLL
rem echo Decompressing null-dll
puff /D _LNULL.DLL
copy %2:VGA320.DRV /q
copy %2:_RAPH256.DLL /q
rem echo Decompressing graph256 dll
puff /D _RAPH256.DLL
copy %2:EGA640.DRV /q
echo %3>lsci.cfg
echo %4>%1:%6\tsn.cfg
echo %5>%1:%6\PASS_SET.DTA
rem Get the volumes installed from their blender file
rem ALSO round-about method for finding out installed video config
echo Setting Up Video Drivers
echo dll = graph256.dll>>lsci.cfg
echo dll = nlnull.dll>>lsci.cfg
echo pathStr = .\>>lsci.cfg
echo hostID = SIERRA>>lsci.cfg
echo InterpSize = 174>>lsci.cfg
rem copy the CC resources
copy %2:RESOURCE.MAP
copy %2:RESOURCE.001
rem copy %2:RESOURCE.002
echo Installing TSN Documentation
copy %2:_ENERAL.DOC
copy %2:_IERRLND.DOC
copy %2:_ARRYLND.DOC
copy %2:_SERBIUS.DOC
puff /D _*.DOC
echo General.doc>doc.lst
echo Sierrlnd.doc>>doc.lst
echo Larrylnd.doc>>doc.lst
echo Yserbius.doc>>doc.lst
rem start the de-archiver
defuse %2 %1 part %6
godir %1:%6
rem Copy any patches which have found their way onto the final disk
godir %1:%6\SL
copy %2:\slPatch\*.* /q
godir %1:%6\LL
copy %2:\llPatch\*.* /q
godir %1:%6\yserbius
copy %2:\ysPatch\*.* /q
godir %1:%6
copy %2:\ccPatch\*.* /q
echo Uncompressing compressed files...
godir %1:%6
if exist _*.* puff /D _*.*
godir %1:%6\SL
if exist _*.* puff /D _*.*
godir %1:%6\LL
if exist _*.* puff /D _*.*
godir %1:%6\BARON
if exist _*.* puff /D _*.*
godir %1:%6\YSERBIUS
if exist _*.* puff /D _*.*
rem Copy RBJOY.EXE from CC directory to BARON directory
copy ..\rbjoy.exe /q
rem Restore saved Yserbius character info
copy save\*.dat /q
rem Build sl and ll lsci.cfg files
godir %1:%6
echo pathStr = ..\>>sl\lsci.cfg
lsciget lsci.cfg sl\lsci.cfg -t video ..\ keyboard ..\ music ..\ dll ..\ >NUL
lsciget lsci.cfg sl\lsci.cfg mouseDrv prefix id modem >NUL
echo hostID = SIERRA>>sl\lsci.cfg
echo InterpSize = 174>>sl\lsci.cfg
echo pathStr = ..\>>ll\lsci.cfg
lsciget lsci.cfg ll\lsci.cfg -t video ..\ keyboard ..\ music ..\ dll ..\ >NUL
lsciget lsci.cfg ll\lsci.cfg mouseDrv prefix id modem >NUL
echo hostID = SIERRA>>ll\lsci.cfg
echo InterpSize = 174>>ll\lsci.cfg
cls
echo Installation complete.
echo
echo
echo Type "cd %6"
echo "TSN"
echo to run The Sierra Network
echo
end
:NoSpace
cls
echo There is not enough space on %1: to install TSN!
echo 8.5 Megabytes are required. Delete some unused stuff.
pause
end
:CantCreate
Alert Unable to create %1:%6
cls
echo There may already be a file called %1:%6.
echo
echo If there is, rename it or install TSN on another hard
echo disk partition.
echo
pause
end
:CantSL
Alert Unable to create %1:%6\SL
end
:CantLL
Alert Unable to create %1:%6\LL
end
:CantYserbius
Alert Unable to create %1:%6\YSERBIUS
end
:CantBaron
Alert Unable to create %1:%6\BARON
end