home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ultimate Game Collection
/
XULTI.ISO
/
477
/
install.bat
next >
Wrap
DOS Batch File
|
1995-01-03
|
2KB
|
70 lines
@echo off
cls
echo Blind Justice demo version 1.4
echo Installation program
echo
echo This batch file is a simple utility which lets you quickly setup the
echo Blind Justice demo.
echo
echo The "full" demo consists of two files : BJDEMO.ZIP and BJSOUND.ZIP.
echo BJDEMO.ZIP contains all of the required game files, whereas BJSOUND.ZIP
echo is optional.
echo
echo If you have BJSOUND.ZIP in the same directory as BJDEMO.ZIP, both files
echo will be extracted for you.
echo
pause
echo
echo Searching for game files...
if exist JUSTICE.ZIP goto :gamenote
if not exist JUSTICE.ZIP goto :nogamenote
:returngamenote
if exist BJSOUND.ZIP goto :soundnote
if not exist BJSOUND.ZIP goto :nosoundnote
echo
:returnsoundnote
echo
goto :install
:gamenote
echo
echo The game component files have been found. They will be extracted.
goto :returngamenote
:nogamenote
echo
echo The game component files have NOT been found. Please re-unzip the
echo original demo .zip files.
echo Missing: JUSTICE.ZIP
goto :returngamenote
:soundnote
echo
echo The sound add-on has been found! This will also be extracted.
goto :returnsoundnote
:nosoundnote
echo
echo BJSOUND.ZIP not found. The sound add-on will not be installed.
goto :returnsoundnote
:install
echo Press CONTROL-C followed by Y to abort, or ...
pause
if exist JUSTICE.ZIP PKUNZIP JUSTICE.ZIP -d
if exist BJSOUND.ZIP PKUNZIP BJSOUND.ZIP -d
md svgame\game0
md svgame\game1
md svgame\game2
md svgame\game3
md svgame\gamedat
del justice.zip >nul
del pkunzip.exe >nul
setup
cls
echo Type JUSTICE [enter] to begin the game.