home *** CD-ROM | disk | FTP | other *** search
/ Various Unprotection Examples / unprotect.zip / unprotect / AFS-UNP / AFS.UNP next >
Text File  |  1987-06-23  |  4KB  |  109 lines

  1.  
  2.  
  3.  
  4.           Unprotecting Chuck Yeager's Advanced Flight Simulator v1.0
  5.                    by Ralph and The Computer Pike (22Jun87)
  6.  
  7.                          Written by The Computer Pike
  8.  
  9. Materials
  10.  
  11.     1) The ORIGINAL program diskette.
  12.     2) A blank FORMATTED diskette.
  13.     3) The program DEBUG.COM (found in most MS-DOS packages).
  14.  
  15.  
  16. Overview
  17.  
  18.     The copy protection for Chuck Yeager's Advanced Flight Simulator (by
  19. Electronic Arts) was very simple, so save the $10 for the unprotected version
  20. offered by Electronic Arts.  Tracing was done on the file AFS.EXE using Micro-
  21. soft's Symbolic Debug Utility - SYMDEB.COM (version 3.00).  Concentrating on
  22. any disk I/O, it was found that a portion of the program had four identical 
  23. groups of two CALLs bunched together.  The first CALL routine was CALL 0B31,
  24. which resets the disk, reads the boot record and track 15 (side 0).  By the
  25. way, track 15 (side 0) is one of those "hard to copy" tracks.  The second
  26. CALL routine was CALL 0B74, which checks the status of the flags set by the
  27. last disk I/O, being CALL 0B31.  Replacing these CALLs with NOPs (three NOPs
  28. per CALL), we found that the program ran with no problems whatsoever!  It was
  29. that easy!  As a matter of fact, we joked about the fact of merely using NOPs
  30. to unprotect the program before running it...  It couldn't be that easy!  Sure
  31. enough...
  32.  
  33.  
  34. Procedure
  35.  
  36.     In copying the program diskette, we decided use COPY *.*.  Reasons being
  37. that it allows the COPIED diskette to rid the bad track 15 (side 0).  It was
  38. found that using DISKCOPY returned errors and COPYIIPC left track 15 (side 0)
  39. in its "bad" state.  So, let's do it this way... If all goes well, you'll only
  40. have to do it once!  Perform the following:
  41.  
  42.     1)  Assuming that the PC has been booted-up and the DOS prompt
  43.         is B>, insert the ORIGINAL program diskette into drive A:
  44.         and the blank FORMATTED diskette into drive B:.
  45.  
  46.     2)  Type the following after each B> prompt:
  47.  
  48.             md afs
  49.             copy/v a:*.*
  50.             copy/v a:\afs\*.* b:\afs
  51.  
  52.     3)  Now, remove the ORIGINAL program diskette from drive A: and put
  53.         it away...  You won't be needing it anymore!
  54.  
  55.     4)  Insert the diskette containing the DEBUG.COM file into drive A:.
  56.  
  57.     5)  You'll have to rename the AFS.EXE file.  Type the following at
  58.         the B> prompt:
  59.  
  60.             rename \afs\afs.exe afs.xxx
  61.  
  62.  
  63.     6)  Now, enter debug by typing the following at the B> prompt:
  64.  
  65.             a:debug \afs\afs.xxx
  66.  
  67.     7)  At each hyphen "-" prompt, type the following:
  68.  
  69.             e de0 90 90 90 90 90 90
  70.             e de8 90 90 90 90 90 90
  71.             e df1 90 90 90 90 90 90
  72.             e df9 90 90 90 90 90 90
  73.             w
  74.             q
  75.  
  76.     8)  You'll have to rename AFS.XXX back to its original name.  Type
  77.         the following:
  78.  
  79.             rename \afs\afs.xxx afs.exe
  80.  
  81.     9)  There!  You now have an unprotected copy of Chuck Yeager's
  82.         Advanced Flight Simulator by Electronic Arts...
  83.  
  84.  
  85. Conclusion
  86.  
  87.     Being an avid user of PC-based flight simulators, I'll have to say
  88. that Chuck Yeager's Advanced Flight Simulator ranks among the BEST!  It's a
  89. shame that many of you frowned upon the copy protection...  We hope that this
  90. document has aided in removing such a nuisance, and that it will confidently
  91. allow you to use the software freely.  Have fun and good luck!!!
  92.  
  93.  
  94. Addendum - For single-drive users... And maybe others...
  95.  
  96.     First of all, I'd like to apologize to all you single-drive users.  I
  97. don't think you all could have done the above verbatim.  So, I went ahead
  98. and COPYIIPC'd (version 3.09) the ORIGINAL program diskette in drive A:.
  99. Ignoring the three errors that track 15 created, I went ahead and used the
  100. copy and performed the unprotection.  I ran the copy with no problem.  Then,
  101. I DISKCOPY'd (PC-DOS 3.2) the diskette in drive A:.  Again, I ignored the
  102. errors.  The DISKCOPY'd diskette also ran with no problem.  Unless you have
  103. a program that corrects or formats by tracks and sides, you'll have to live
  104. with the errors popping up during copying with no effect to the actual running
  105. of the program.  Such a program that allows formatting by track and side is
  106. called ULTRAFMT.COM.  It is a public domain program and usually comes as a
  107. package with other ULTRA programs.  The programs can be found on most BBSes
  108. under the ARC'd filename ULTRA.ARC.  Again, good luck and...  sorry!!!
  109.