home *** CD-ROM | disk | FTP | other *** search
/ Various Unprotection Examples / unprotect.zip / unprotect / SIERRA-6 / SIERRA.DOC < prev    next >
Text File  |  1988-01-25  |  6KB  |  179 lines

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