home *** CD-ROM | disk | FTP | other *** search
/ Various Unprotection Examples / unprotect.zip / unprotect / SIERRA30 / SIERRA.DOC < prev   
Text File  |  1987-09-30  |  2KB  |  67 lines

  1. This procedure will enable you to unprotect Sierra On-Line's SPACE
  2. QUEST game.  The procedure is based on an unprotect procedure for
  3. KING'S QUEST III, by an unknown author.
  4. Also Sierra's LEISURE SUIT LARRY. (Added by a third author...me.)
  5.  
  6. There are three files included in this ARC package:
  7.  
  8. 1.  SIERRA.DOC - This file
  9. 2.  SIERRA.DAT - Supplementary file needed during DEBUG session.
  10. 3.  LARRY.DAT - Supplementary file needed for LEISURE SUIT LARRY. 
  11.  
  12. SIERRA.DAT was originally named KQ3MERG.DAT, but I've taken the
  13. liberty of renaming it, since it is usable in other Sierra games.
  14.  
  15. The procedure is relatively simple:  
  16.  
  17. 1) Put a blank, formatted diskette in drive B, and the Spacequest Disk
  18. or Leisure Suit Larry Disk  
  19. #1 in drive A, then at the A> prompt, COPY *.* B:.  Then put Disk #1
  20. away - you won't need it anymore!
  21.  
  22. 2) Load DEBUG, making sure both SIERRA.COM (on the backup disk) and
  23. SIERRA.DAT and or LARRY.DAT (from this package) are both in the current 
  24. path or default drive.
  25.  
  26. 3) Use DEBUG to patch SIERRA.COM
  27.  
  28. A>DEBUG SIERRA.COM
  29. -N SIERRA.COM
  30. -R                             (Record value of CX register)
  31. -N SIERRA.DAT (LARRY.DAT for Liesure suit Larry) 
  32. -L 141
  33. -E 395 (038d for Larry)     <- Change for other games
  34. XXXX:0395 E8.90 52.90 02.90  (XXXX:038d E8.90 0E.90 04.90  'for Larry') 
  35. -N SIERRA.COM
  36. -R CX
  37. CX 0080
  38. :????                          (Enter value of CX you recorded)
  39. -W
  40. -Q
  41.  
  42. 4) That's all there is to it.  SPACEQUEST or LEISURE SUIT LARRY 
  43. unprotected. 
  44.  
  45. This procedure will probably work with any Sierra game that uses the
  46. SIERRA.COM game loader.  To check, try the following DEBUG session:
  47.  
  48. -N SIERRA.COM
  49. -D 100             (You will see a dump of the first part of the
  50. file.  If the version is 3.0, this patch
  51. should work.  If not, you can try, but there
  52. are no guarantees)
  53. -R (Record the value of the CX register)
  54. -S 100 ???? E8 52 02 (Replace ???? with the value of the CX
  55. register)
  56.  
  57. You're looking for the E8 52 02 string, which is the call to the
  58. protection scheme.  With luck, DEBUG will report only one find. 
  59. Replace the 395 with that location in the above e 395 procedure
  60. and do everything else the same.  The idea is to NOP around the
  61. call.  SIERRA.DAT contains some code that is overlaid on a
  62. section of SIERRA.COM - I don't know how it works, but it does.
  63.  
  64. Have fun!
  65. ETS
  66. JED (...me) 
  67.