home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.gamers.org
/
ftp.gamers.org.zip
/
ftp.gamers.org
/
pub
/
games
/
uwp-uml
/
patches
/
acepatch.exe
/
UPDATE.BAT
< prev
Wrap
DOS Batch File
|
1992-09-18
|
4KB
|
139 lines
@echo off
cls
echo
echo
echo
echo ╔══════════════════════════════════════╗
echo ║ Aces of the Pacific - Patch B ║
echo ║ Copyright 1992 Dynamix, Inc. ║
echo ╚══════════════════════════════════════╝
if .%1==. goto usage
if .%2==. goto driveonly
if not exist %1%2\nul goto badpath
if not exist %1%2\aces.com goto noaces
echo
echo Installing Aces of the Pacific - Patch B to %1%2
echo
echo NOTE: Installing the patch requires about 3 Meg of free hard disk space.
echo
echo Press CTRL-C to Abort or
pause
echo Now Installing...
copy EXES.EXE %1%2 >nul
copy PATCH.A %1%2 >nul
copy PATCH.B %1%2 >nul
copy PATCH.EXE %1%2 >nul
%1
cd %2
goto finish
:driveonly
if not exist %1\nul goto baddrive
if not exist %1\dynamix\aces\aces.com goto noaces
echo
echo Installing Aces of the Pacific - Patch B to %1\DYNAMIX\ACES
echo
echo NOTE: Installing the patch requires about 3 Meg of free hard disk space.
echo
echo Press CTRL-C to Abort or
pause
echo Now Installing...
copy EXES.EXE %1\dynamix\aces >nul
copy PATCH.A %1\dynamix\aces >nul
copy PATCH.B %1\dynamix\aces >nul
copy PATCH.EXE %1\dynamix\aces >nul
%1
cd \dynamix\aces
:finish
echo Applying Aces patch. Please Wait...
copy PATCH.A PATCH.RTP >nul
patch
copy PATCH.B PATCH.RTP >nul
patch
del intro.exe
del ps.exe
del ap.exe
exes
del patch.exe
del patch.rtp
del patch.a
del patch.b
del exes.exe
rem cls
echo
echo Installation complete.
echo To run, type ACES.
rem echo
goto end
:badpath
echo
echo
echo ┌───────────────────────────────────────────────────────────────────┐
echo │ The drive or directory path that you have specified is invalid. │
echo └───────────────────────────────────────────────────────────────────┘
echo
echo
echo
pause
cls
goto usage
:baddrive
echo
echo
echo ┌────────────────────────────────────────────────┐
echo │ The drive that you have specified is invalid. │
echo └────────────────────────────────────────────────┘
echo
echo
echo
pause
cls
goto usage
:noaces
echo
echo
echo ┌───────────────────────────────────────────────────────────────────┐
echo │ The original Aces program has not been installed to the drive or │
echo │ directory path you have specified. Please run the install │
echo │ program again. If this does not work you may have to reinstall │
echo │ your original copy of Aces of the Pacific. │
echo └───────────────────────────────────────────────────────────────────┘
echo
echo
echo
pause
cls
goto usage
:usage
echo
echo To install the Aces patch, type 'UPDATE' followed by the drive on which
echo you installed the original Aces of the Pacific. For example, type:
echo
echo UPDATE C:
echo
echo if you previously installed Aces of the Pacific to your C: drive.
echo
echo If, for some reason, you have moved your Aces files to a directory
echo other than \DYNAMIX\ACES, type the new full directory path after the
echo drive letter when you run install. IMPORTANT: Be sure to leave a space
echo between the drive letter and the directory path. For example, type:
echo
echo UPDATE D: \GAMES\ACES
echo
echo if you have moved Aces to the directory \GAMES\ACES on your D: drive.
echo
echo NOTE: Installing the patch requires about 3 Meg of free hard disk space.
echo
goto end
:end