home *** CD-ROM | disk | FTP | other *** search
/ Igromania 1999 August / Igromania_1999-08.iso / DLH / dlh_8_99.exe / BASE.DLM / 0596_8 / UNCHEAT.TXT < prev   
Text File  |  1996-04-19  |  6KB  |  183 lines

  1.  
  2.                            
  3.  
  4.     ╔══════════════════ DISCLAIMER!! ═════════════════╗
  5.     ║                                                 ║
  6.     ║  THIS UTILITY IS TO BE USED AT YOUR OWN RISK!!  ║
  7.     ║                                                 ║
  8.     ║  AS WITH ANY UTILITY, BACK UP YOUR SAVED GAME   ║
  9.     ║  BEFORE RUNNING!!                               ║
  10.     ║                                                 ║
  11.     ╚═════════════════════════════════════════════════╝
  12.  
  13.  
  14. SID MEIER'S CIVILIZATION II
  15.  
  16. UNCHEAT UTILITY DOCUMENATION
  17.  
  18.  
  19. This is a quick utility that allows you to remove the 
  20. fact that you opened cheat mode from a saved game.  
  21. It doesn't have any effect on gameplay.  It is useful
  22. for hiding the fact that you cheated and maybe seeing
  23. what your score would have been if you had played fair 
  24. when you conquered the world on diety level in 3800 BC
  25. with a population of 60 million and had already been 
  26. reasearching future techs for the last 100 years.
  27.                                                  
  28. If you're like me and you don't like "cheat mode" on
  29. the screen in red letters when your game is over and  
  30. you would prefer to be able to cheat without getting 
  31. caught and punished, here is the utility for you!
  32.  
  33. You can now open cheat mode, cheat until your fingers
  34. get tired, run this utility and never be penalized
  35. for it when the game is over.
  36.  
  37. VERY simple to use.
  38.  
  39. Copy the uncheat utility into the directory where 
  40. games are saved.
  41.  
  42. At the DOS prompt, just type   
  43.  
  44.    uncheat filename.sav
  45.  
  46. where [filename] is the name of the game.  You must
  47. type the [.sav] extension.  You can also specify a 
  48. path before the filename is desired.
  49.  
  50. If you forget this, just type uncheat at the prompt
  51. and a reminder will appear.
  52.  
  53. After running, you will get one of three messages:
  54.  
  55. filename.ext was not found.
  56.     
  57.     possible causes
  58.     
  59.     (a) uncheat.exe is in the wrong directory.
  60.         Make sure uncheat.exe is in the same directory       
  61.         as the saved game files.  Alternatively, you 
  62.         can specify a path before the file name.  
  63.         
  64.         example: 
  65.         uncheat c:\civ2\saves\mongols\gk_b2000.sav    
  66.                                     
  67.     (b) the filename was mistyped.
  68.         Verify the spelling is correct.  Be careful
  69.         you don't confuse the hyphen "-" with the 
  70.         underscore "_" character for default names.
  71.     
  72.     (c) the [.sav] extension was ommitted.
  73.         Make sure to include the extension.
  74.  
  75.  
  76. cheat mode was not enabled.
  77.     
  78.     possible causes
  79.     
  80.     (a) cheat mode was never enabled.  There is nothing
  81.         to alter.
  82.     
  83.     (b) cheat mode was enabled and then turned back off.
  84.         Cheat mode must be enabled (the cheat options
  85.         not grayed out) for this utility to work.  Try 
  86.         turning cheat mode on again if you turned it off
  87.         when you finished using it.
  88.  
  89.  
  90. success!
  91.  
  92.     This means that you have opened cheat mode in 
  93.     this saved game and the game has registered 
  94.     your cheating.  This has been erased and the 
  95.     game now thinks you've been playing fair.
  96.     
  97.  
  98. I have used this utility and never had any problem
  99. with it.  That is not to say you won't, so backup
  100. your games first.  I wouldn't expect any problems 
  101. though.  
  102.  
  103. I don't plan on writing an editor or making a 
  104. version 2.00 of this utility.  If someone spots a 
  105. glaring bug that causes your hard drive to be 
  106. reformatted without prompting you, I might write a
  107. version 1.01.  But if someone reports a bug that only 
  108. occurs after some highly unlikely sequence of events 
  109. such as when they use the utility in the year 0 AD 
  110. when a wonder was completed in that year and there 
  111. are only two civilizations left on diety level and 
  112. now they can't find a settler unit, then I would
  113. say that person is out of luck unless he backed up 
  114. his game like he should have. After all, I warned him
  115. twice in this documentation already.
  116.  
  117. Seriously, this game alters two bytes in the file, and
  118. I don't expect any problems.  I tested it before I 
  119. turned it loose.
  120.  
  121. For all you technical types:
  122.  
  123. Here are the bytes and changes made.  Byte locations
  124. are rigid; they don't change locations with changes in
  125. parameters such as map or file size.
  126.  
  127. byte 0x0f  If this byte starts with 0x3- then cheat mode 
  128.            is disabled.  Opening cheat mode causes this 
  129.            value to be incremented by 0x80 to 0xb-.  If 
  130.            you then turn off cheat mode, this value is 
  131.            returned to its original value.
  132.  
  133.            example 
  134.                    before cheating byte 0x0f = 0x34
  135.                     after cheating byte 0x0f = 0xb4
  136.  
  137.            If byte 0x0f's value is 0xb- then this utility 
  138.            subtracts 0x80 from it.
  139.  
  140. byte 0x14  This byte is incremented by 0x10 when cheat
  141.            mode is enabled.  If byte 0x0f's value is 0xb-
  142.            then this value is also decremented by 0x10 
  143.            when the utility is run.
  144.  
  145.            example
  146.  
  147.                       byte 0x0f           byte 0x14
  148.    before cheating      0x36                0x14
  149.    after cheating       0xb6                0x24
  150.    utility action   subtract 0x80       subtract 0x10
  151.  
  152. I am curious what byte 0x14 is linked to in the saved 
  153. file; somewhere it is compared to another byte and the 
  154. result of this comparison is used to determine if any 
  155. cheating took place. I can't tell, so I simply check 
  156. byte 0x0f.  If you cheat and turn cheat mode off then
  157. this utility fails to recognize it.
  158.  
  159. If you find out what byte 0x14 is keyed to, let me know!
  160.  
  161.  
  162. Have fun and remember, if you use this to show off your
  163. playing skill to others, don't overdo it.  Keep it 
  164. believable.  I am curious how high of a score you can 
  165. get with it, so if you get a truly astronomical score,
  166. drop me a note.
  167.  
  168. Enjoy.
  169.  
  170. -Steven C. Schultz
  171. sschultz@crl.com
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.