home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / games1 / civ5unp.zip / CIV.UNP
Text File  |  1993-05-24  |  2KB  |  56 lines

  1.                           Unprotect for Civilization
  2.  
  3. Tired of looking up protection codes for that expensive program you bought?  
  4. Well we can do something about that nasty protection scheme.  
  5.  
  6. Use the Norton editor (or a similar hex editor) on the hard disk copy of 
  7. CIV.EXE (as always it is inadvisable to modify your original).  Search for 
  8. the following bytes, move the cursor over a few bytes and change the 9A (a 
  9. far call) to a CB (a far return).  
  10.  
  11. Original: 00 00 00 9A 56 06     at 40DFD for Version 1
  12. Original: 00 00 00 9A 55 06     at 405FD for Version 3
  13. Original: 00 00 00 9A 5B 06     at 405FD for Version 4
  14. Original: 00 00 00 9A 5F 06     at 40DFD for Version 5ß
  15.  
  16.  
  17. Write the file out and you are done!
  18.  
  19.  
  20. For reference this is a dump of the part of the program we are changing.  
  21. Note that we have to add 4000 to CS to get to the area of interest.  
  22.  
  23.   copy civ.exe civ.cmd
  24.   debug civ.cmd
  25.  
  26.   -rcs
  27.   CS 0FC1
  28.   :4fc1
  29.  
  30.   -uf00
  31.  
  32.   4FC1:0F00 9A5606DE1D    CALL    1DDE:0656      ;Change to RETF
  33.   4FC1:0F05 B80100        MOV     AX,0001
  34.   4FC1:0F08 99            CWD
  35.   4FC1:0F09 52            PUSH    DX
  36.   4FC1:0F0A 50            PUSH    AX
  37.   4FC1:0F0B 0E            PUSH    CS
  38.   4FC1:0F0C E81D00        CALL    0F2C
  39.   4FC1:0F0F 83C404        ADD     SP,+04
  40.   4FC1:0F12 0BC0          OR      AX,AX
  41.   4FC1:0F14 750B          JNZ     0F21
  42.   4FC1:0F16 2BC0          SUB     AX,AX
  43.   4FC1:0F18 50            PUSH    AX
  44.   4FC1:0F19 50            PUSH    AX
  45.   4FC1:0F1A 0E            PUSH    CS
  46.   4FC1:0F1B E80E00        CALL    0F2C
  47.   4FC1:0F1E 83C404        ADD     SP,+04
  48.   -q
  49.  
  50. If you have another version of the program besides 1,3,4  or 5ß search for the 
  51. code after the far call which does not seem to change from version to version. 
  52.  
  53.  
  54.                               Courtesy of Bad Bob
  55.  
  56.