home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 2000 June
/
CD-Gamer_2000-06_10_cd.bin
/
Patches
/
TheSims
/
THESIMSPATCH0.EXE
/
script.txt
< prev
next >
Wrap
Text File
|
2000-03-17
|
2KB
|
49 lines
;Patch11 Script
[set] '%%PACKAGE_NAME%%' 'STRING_1'
[set] '%%APPLICATION_NAME%%' 'STRING_2'
; Read some relevent registry values into these tokens (to be used below)
[readreg] '%%GAME_PATH%%' 'Software\Maxis\The Sims' 'SIMS_DATA'
[readreg] '%%LANGUAGE%%' 'Software\Maxis\The Sims' 'SIMS_LANGUAGE'
[readreg] '%%SKU%%' 'Software\Maxis\The Sims' 'SIMS_SKU'
[10readreg] '%%VERSION%%' 'Software\Maxis\The Sims' 'Version'
; setlanguage must be done before any set commands that refer to the Strings.iff
; English is the default if this command is left out
[setlanguage] '%%LANGUAGE%%'
; Reset these tokens based on the newly set language
[set] '%%PACKAGE_NAME%%' 'STRING_1'
[set] '%%APPLICATION_NAME%%' 'STRING_2'
;; This ends the preprocessing and starts making changes
;; This is where the application brings up the first dialog box.
[begin]
;; Check to ensure this is EXE 0 (SKU 1), Version 1
[genericversionquitifnotequal] '%%VERSION%%' '1.0' '1.1' '1.01' '1.000' '1.003'
[languageversionquitifnotequal] '%%SKU%%' '1' '4'
;; Check that the game is not running
[writetest] '%%GAME_PATH%%\Sims.exe'
;; Purge stuff that will be patched
[deldircontents] '%%GAME_PATH%%\Downloads\UnSnacker\*.*'
[deldircontents] '%%GAME_PATH%%\Downloads\Wallite\*.*'
[del] '%%GAME_PATH%%\GameData\Objects\CarPortal.iff'
;; Patch SKU3/English install
[patchsku3english] '%%SKU%%' '%%LANGUAGE%%' 'Software\Maxis\The Sims' 'SIMS_LANGUAGE'
;; Patch the web version
[patchweb] '%%GAME_PATH%%'
;; Execute the patch
[exec] 'patcha.exe "%%GAME_PATH%%" patch.rtp'
[copy] 'Res\UIText.iff' '%%GAME_PATH%%\GameData\UIText.iff'
[copy] 'Res\Credits.iff' '%%GAME_PATH%%\GameData\Credits.iff'
;; Update version
[writereg] 'Software\Maxis\The Sims' 'Version' '1.1'