home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
- if not exist krondor.exe goto tell
- if not exist patch goto already
- ren patch patch.exe
- version
- if errorlevel == 3 goto del
- if errorlevel == 2 goto do_11
- echo ╔═══════════════════════════════════════╗
- echo ║ Updating Betrayal At Krondor ║
- echo ║ 1.0 to version 1.02 ║
- echo ║ (This will take some time) ║
- echo ║ ║
- echo ║ PATCH Version 1.01 - .RTPatch(TM) ║
- echo ║ Software Update System ║
- echo ║ (C) Copyright Pocket Soft, Inc., 1991 ║
- echo ║ All Rights Reserved ║
- echo ╚═══════════════════════════════════════╝
- patch . p10 >nul
- version
- if errorlevel == 2 goto del
- if errorlevel == 1 goto fail
- :do_11
- echo ╔═══════════════════════════════════════╗
- echo ║ Updating Betrayal At Krondor ║
- echo ║ 1.01 to version 1.02 ║
- echo ║ (This will take some time) ║
- echo ║ ║
- echo ║ PATCH Version 1.01 - .RTPatch(TM) ║
- echo ║ Software Update System ║
- echo ║ (C) Copyright Pocket Soft, Inc., 1991 ║
- echo ║ All Rights Reserved ║
- echo ╚═══════════════════════════════════════╝
- patch . p101 >nul
- version
- if errorlevel == 3 goto del
- if errorlevel == 2 goto fail
- :del
- echo nonrotatingmap = 1 >>resource.cfg
- del p10.*
- del p101.*
- del patch.exe
- del version.exe
- del info.txt
- del info.bat
- echo ╔═════════════════════════╗
- echo ║ Update Complete! ║
- echo ╚═════════════════════════╝
- goto end
- :tell
- echo To update Betrayal At Krondor to version 1.02 please copy all the files
- echo in this directory to the "Betrayal at Krondor" directory on your hard
- echo drive. Go to the Krondor directory and type "UPDATE" to begin the patch.
- echo Type "INFO" for more information.
- goto end
- :already
- echo The update process has already been run or not all files were copied
- echo from the update disk.
- goto end
- :fail
- echo .
- echo .
- echo The patch could not be installed. Most likely you will need to free
- echo up some additional disk space in order to patch Betrayal At Krondor.
- echo Once the patch process is complete the additional disk space will not
- echo be required.
- ren patch.exe patch
- :end
-