home *** CD-ROM | disk | FTP | other *** search
/ Various Unprotection Examples / unprotect.zip / unprotect / M18UNP2 / MEAN18 < prev   
Text File  |  1988-08-21  |  3KB  |  63 lines

  1. This routine is a patch which breaks the copy protection
  2. of Accolade's Mean 18 golf game for the IBM PC.
  3.  
  4. Written by Kent Briggs  8/21/88
  5.  
  6. ** Do not modify your original disk **
  7.  
  8. Copy all your files to another disk or to a subdirectory
  9. on your hard disk and put the original disk away in a safe place.
  10.  
  11. Mean 18 does not indicate a version number but the file size
  12. for GOLF.EXE should be 89375 bytes.  The copy protection scheme
  13. looks for a bad sector on drive A.  We will patch 4 calls to this
  14. routine with NOP's (no operation) and patch 1 JUMP to an early exit
  15. with a NOP.
  16.  
  17. Put DEBUG.COM (from your DOS disk) in the same directory or make sure
  18. it is in the DOS path.  Type the following commands:
  19.  
  20. Command                                  Comments
  21. =======                                  ========
  22. ren golf.exe golf.xxx                    Rename program for debug
  23. debug golf.xxx                           Load debug
  24. rcs                                      Check contents of cs register
  25. (retype the 4 digits shown, but          The code that we want to change
  26.  add 1 to the left digit first)          is beyond the current 64K segment
  27. e cs:4fe3 90 90 90                       NOP the first call
  28. e cs:4fec 90 90 90                       NOP the second call
  29. e cs:500a 90 90 90                       NOP the third call
  30. e cs:5019 90 90 90                       NOP the fourth call
  31. e cs:5058 90 90                          NOP the early exit jump
  32. rcs                                      Check cs register again
  33. (retype the 4 digits shown, but          Restore the cs register to its
  34.  subtract 1 from the left digit first)   original state
  35. w                                        Write file back to the disk
  36. q                                        Quit debug
  37. ren golf.xxx golf.exe                    Restore file name
  38. =======                                  ========
  39.  
  40. Now run GOLF and confirm that the patch works.
  41.  
  42.  
  43. The Course Architect program (ARCH.EXE) is also copy protected with an
  44. identical scheme.  The size of ARCH.EXE should be 49631 bytes.  No
  45. segment registers have to be altered since all the code will fit into
  46. 1 segment.
  47.  
  48. Command                                  Comments
  49. =======                                  ========
  50. ren arch.exe arch.xxx                    Rename program for debug
  51. debug arch.xxx                           Load debug
  52. e bd9a 90 90 90                          NOP the first call
  53. e bda3 90 90 90                          NOP the second call
  54. e bdc1 90 90 90                          NOP the third call
  55. e bdd0 90 90 90                          NOP the fourth call
  56. e be0f 90 90                             NOP the early exit jump
  57. w                                        Write file back to the disk
  58. q                                        Quit debug
  59. ren arch.xxx arch.exe                    Restore file name
  60. =======                                  ========
  61.  
  62. Now run ARCH and confirm that the patch works.
  63.