home *** CD-ROM | disk | FTP | other *** search
/ Various Unprotection Examples / unprotect.zip / unprotect / SIERRA-5 / SIERRA.DOC < prev   
Text File  |  1987-12-15  |  4KB  |  145 lines

  1.  
  2. This procedure will enable you to unprotect the following Sierra On-Line's
  3. games:
  4.  
  5.          
  6.          KING'S QUEST III
  7.          SPACE QUEST
  8.          HELICOPTER
  9.          LEISURE SUIT LARRY
  10.          THEXDER
  11.          
  12.               
  13. The procedure is based on an unprotect procedure for KING'S QUEST III, by
  14. an unknown author.
  15.  
  16.  
  17. There are three files included in this ARC package:
  18.  
  19.          1.  SIERRA.DOC - This file
  20.          2.  SIERRA.DAT - Supplementary file needed during DEBUG session.
  21.          3.  LARRY.DAT  - Supplementary file needer during DEBUG session.
  22.           
  23. SIERRA.DAT was originally named KQ3MERG.DAT, but has been renamed since it
  24. is usable in other Sierra games.
  25.  
  26.  
  27.  
  28. The procedure is relatively simple:
  29.  
  30.     1) Put a blank, formatted diskette in drive B, and the original Disk
  31.        #1 in drive A, then at the A> prompt, COPY *.* B:.  Then put Disk #1
  32.        away - you won't need it anymore!
  33.  
  34.     2) Load DEBUG, making sure both SIERRA.COM or HELI.COM (on the backup
  35.        disk) and SIERRA.DAT or LARRY.DAT (from this package) are both in
  36.        the current path or on the default drive.
  37.  
  38.     3.a) Use DEBUG to patch SIERRA.COM for SPACE QUEST.
  39.  
  40.          -N SIERRA.COM
  41.          -L
  42.          -R                            (Record value of CX register)
  43.          -N SIERRA.DAT
  44.          -L 141
  45.          -E 395
  46.          XXXX:0395 E8.90 52.90 02.90 
  47.          -N SIERRA.COM
  48.          -R CX
  49.          CX 0080
  50.          :????                         (Enter value of CX you recorded)
  51.          -W
  52.          -Q
  53.  
  54.     3.b) Use DEBUG to patch SIERRA.COM for KING'S QUEST III.
  55.  
  56.          -N SIERRA.COM
  57.          -L
  58.          -R                            (Record value of CX register)
  59.          -N SIERRA.DAT
  60.          -L 141
  61.          -E 3E1
  62.          XXXX:03E1 E8.90 52.90 02.90 
  63.          -N SIERRA.COM
  64.          -R CX
  65.          CX 0080
  66.          :????                         (Enter value of CX you recorded)
  67.          -W
  68.          -Q
  69.  
  70.     3.c) Use DEBUG to patch HELI.COM for HELICOPTER.
  71.  
  72.          -N HELI.COM
  73.          -L
  74.          -R                            (Record value of CX register)
  75.          -N SIERRA.DAT
  76.          -L 141
  77.          -E 366
  78.          XXXX:0366 E8.90 7D.90 03.90  
  79.          -N SIERRA.COM
  80.          -R CX
  81.          CX 0080
  82.          :????                         (Enter value of CX you recorded)
  83.          -W
  84.          -Q
  85.  
  86.     3.d) Use DEBUG to patch SIERRA.COM for LEISURE SUIT LARRY.
  87.  
  88.          -N SIERRA.COM
  89.          -L
  90.          -R                            (Record value of CX register)
  91.          -N LARRY.DAT
  92.          -L 141
  93.          -E 038D
  94.          XXXX:038D E8.90 52.90 02.90 
  95.          -N SIERRA.COM
  96.          -R CX
  97.          CX 0080
  98.          :????                         (Enter value of CX you recorded)
  99.          -W
  100.          -Q
  101.  
  102.     3.e) Use DEBUG to patch THEXDER.COM for THEXDER.
  103.  
  104.          -N THEXDER.COM
  105.          -L
  106.          -R                            (Record value of CX register)
  107.          -N SIERRA.DAT
  108.          -L 141
  109.          -E 034F
  110.          XXXX:034F E8.90 7D.90 03.90 
  111.          -N THEXDER.COM
  112.          -R CX
  113.          CX 0080
  114.          :????                         (Enter value of CX you recorded)
  115.          -W
  116.          -Q
  117.  
  118.  
  119.  
  120.  
  121.     4) That's all there is to it. 
  122.  
  123.     This procedure will probably work with any Sierra game that uses the
  124.     SIERRA.COM game loader.  To check, try the following DEBUG session:
  125.  
  126.  
  127.          -N SIERRA.COM
  128.          -D 100             (You will see a dump of the first part of the
  129.                              file.  If the version is 3.0, this patch
  130.                              should work.  If not, you can try, but there
  131.                              are no guarantees)
  132.          -R                      (Record the value of the CX register)
  133.          -S 100 ???? E8 52 02    (Replace ???? with the value of the CX
  134.                                   register)
  135.  
  136.  
  137.      You're looking for the E85202 string, which is the call to the
  138.      protection scheme.  With luck, DEBUG will report only one find.
  139.      Replace that location with the 395 in the E 395 command in the
  140.      procedure above, and do everything else the same.  The idea is to NOP
  141.      around the call.  SIERRA.DAT contains some code that is overlaid on a
  142.      section of SIERRA.COM - I don't know how it works, but it does.
  143.  
  144.      Have fun!
  145.