home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 4 / 1995-03_Disc_4.iso / patches / sc211d.zip / UPDATE.BAT < prev   
DOS Batch File  |  1994-10-26  |  3KB  |  103 lines

  1. @echo off
  2. echo Welcome to the SimCity 2000(TM) Version 1.1 Updater!
  3. echo.
  4. echo This will update all versions of SimCity 2000 to the most recent
  5. echo version (v1.10). It will not alter any saved games or scenarios.
  6. echo.
  7.  
  8. rem *********************************************************************** 
  9. rem The contents of this disk or self-extracting archive must be copied
  10. rem into the SimCity 2000 directory in order for the patch to function.
  11. rem *********************************************************************** 
  12.  
  13. rem Make sure we're even in the right place
  14. if not exist sc2000.exe goto wrongdir
  15.  
  16. rem Check for foreign versions first
  17. filelen sc2000.dat 2627010 2629981 2698683 2689206 >nul
  18. if errorlevel 4 goto foreign
  19. if errorlevel 3 goto foreign
  20. if errorlevel 2 goto us
  21. if errorlevel 1 goto patchaus
  22. goto bad
  23.  
  24. :patchaus
  25. echo Patching Australian release.
  26. patch.exe austral.rtp 
  27. goto good
  28.  
  29. :us
  30. rem Now sort thru US versions
  31. filelen sc2000.exe 1046112 1052000 1059744 >nul
  32.  
  33. if errorlevel 3 goto already
  34. if errorlevel 2 goto patch101
  35. if errorlevel 1 goto patch100
  36.  
  37. :foreign
  38. echo Your version of SimCity 2000 is not a standard release version; it has
  39. echo either been modified or updated in a way we cannot handle (i.e. is an
  40. echo early beta patch) or is a foreign-language version which is not
  41. echo compatible with this updater. Reinstall SimCity 2000 from your original 
  42. echo distribution disks and then re-run the patch. If you still receive
  43. echo this error message you will need new disks to upgrade to version 1.1.
  44. goto bad
  45.  
  46. :patch100
  47. echo Patching v1.00.
  48. patch.exe SC2fix.rtp
  49. goto good
  50.  
  51. :patch101
  52. echo Patching v1.01.
  53. patch.exe SC101AA.rtp
  54. goto good
  55.  
  56. :already
  57. echo You are already using SimCity 2000 v1.1. You do not need to re-update.
  58. goto bad
  59.  
  60. :wrongdir
  61. echo The patch does not run directly from the floppy disk; its files
  62. echo must be copied into the SimCity 2000 directory, i.e. 
  63. echo COPY A:*.* C:\SC2000 or similar; and then the patch may be executed
  64. echo in that directory.
  65. goto bad
  66.         
  67. :foriegn
  68. echo This patch is unable to patch foreign language releases of 
  69. echo SimCity 2000. You will need new disks in order to upgrade.
  70. goto bad
  71.  
  72. :bad
  73. echo.
  74. echo The patch did not complete successfully. Check the error messages you
  75. echo received, verify that the instructions were followed properly, and 
  76. echo then contact Maxis Customer Support.
  77. goto end
  78.  
  79. :good
  80. copy a32awe32.dll .\sound
  81. echo.
  82. echo The patch completed successfully. Enjoy SimCity 2000!
  83.  
  84. rem *********************************************************************** 
  85. rem
  86. rem                          Credits in brief
  87. rem
  88. rem *********************************************************************** 
  89. rem
  90. rem Batch file misprogramming by Aaron "Dr Emu" Shephard; RTPatching by
  91. rem Michael Gilmartin; Project management by Chris "WEISS.C" Weiss; Lead
  92. rem QA/Testing by Mike Gilmartin. Any questions you have will be answered 
  93. rem by our crack team of Technical Support Weenies, headed by Roger J., 
  94. rem and blamed on our crack team of QA/Testing folks, led by Alan B.
  95. rem
  96. rem And thanks to all of our devoted Maxis customers, waiting patiently
  97. rem for so long for this patch... enjoy!
  98. rem
  99. rem *********************************************************************** 
  100.  
  101. :end
  102.  
  103.