home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / games / uprotect.zip / AFS--AFT.TXT < prev    next >
Text File  |  1989-11-26  |  18KB  |  497 lines

  1.        Unprotecting Chuck Yeager's Advanced Flight Simulator v1.0
  2.                      by Ralph and The Computer Pike
  3.                                22 Jun 87
  4.  
  5.                 Updated for Advanced Flight Trainer v1.2
  6.                         by RAL (see end of file)
  7.                                19 Oct 87
  8.  
  9.  
  10. Materials:
  11.  
  12.     1) The ORIGINAL program diskette.
  13.     2) A blank FORMATTED diskette.
  14.     3) The program DEBUG.COM (found in most MS-DOS packages).
  15.  
  16.  
  17. Overview
  18.  
  19.     The copy protection for Chuck Yeager's Advanced Flight Simulator
  20. (by Electronic Arts) was very simple, so save the $10 for the
  21. unprotected version offered by Electronic Arts.  Tracing was done on
  22. the file AFS.EXE using Microsoft's Symbolic Debug Utility - SYMDEB.COM
  23. (version 3.00).  Concentrating on any disk I/O, it was found that a
  24. portion of the program had four identical groups of two CALLs bunched
  25. together.  The first CALL routine was CALL 0B31, which resets the disk,
  26. reads the boot record and track 15 (side 0).  By the way, track 15
  27. (side 0) is one of those "hard to copy" tracks.  The second CALL
  28. routine was CALL 0B74, which checks the status of the flags set by the
  29. last disk I/O, being CALL 0B31.  Replacing these CALLs with NOPs (three
  30. NOPs per CALL), we found that the program ran with no problems
  31. whatsoever!  It was that easy!  As a matter of fact, we joked about the
  32. fact of merely using NOPs to unprotect the program before running it...
  33. It couldn't be that easy!  Sure enough...
  34.  
  35.  
  36. Procedure
  37.  
  38.     In copying the program diskette, we decided use COPY *.*.  Reasons
  39. being that it allows the COPIED diskette to rid the bad track 15 (side
  40. 0).  It was found that using DISKCOPY returned errors and COPYIIPC left
  41. track 15 (side 0) in its "bad" state.  So, let's do it this way... If
  42. all goes well, you'll only have to do it once!  Perform the following:
  43.  
  44. 1)  Assuming that the PC has been booted-up and the DOS prompt is B>,
  45.     insert the ORIGINAL program diskette into drive A: and the blank
  46.     FORMATTED diskette into drive B:.
  47.  
  48. 2)  Type the following after each B> prompt:
  49.  
  50.     md afs
  51.     copy/v a:*.*
  52.     copy/v a:\afs\*.* b:\afs
  53.  
  54. 3)  Now, remove the ORIGINAL program diskette from drive A: and put it
  55.     away...  You won't be needing it anymore!
  56.  
  57. 4)  Insert the diskette containing the DEBUG.COM file into drive A:.
  58.  
  59.  
  60.  
  61. 5)  You'll have to rename the AFS.EXE file.  Type the following at the
  62.     B> prompt:
  63.  
  64.     rename \afs\afs.exe afs.xxx
  65.  
  66. 6)  Now, enter debug by typing the following at the B> prompt:
  67.  
  68.     a:debug \afs\afs.xxx
  69.  
  70. 7)  At each hyphen "-" prompt, type the following:
  71.  
  72.     e de0 90 90 90 90 90 90
  73.     e de8 90 90 90 90 90 90
  74.     e df1 90 90 90 90 90 90
  75.     e df9 90 90 90 90 90 90
  76.     w
  77.     q
  78.  
  79. 8)  You'll have to rename AFS.XXX back to its original name.  Type the
  80.     following:
  81.  
  82.     rename \afs\afs.xxx afs.exe
  83.  
  84. 9)  There!  You now have an unprotected copy of Chuck Yeager's Advanced
  85.     Flight Simulator by Electronic Arts...
  86.  
  87.  
  88. Conclusion
  89.  
  90.     Being an avid user of PC-based flight simulators, I'll have to say
  91. that Chuck Yeager's Advanced Flight Simulator ranks among the BEST!
  92. It's a shame that many of you frowned upon the copy protection...  We
  93. hope that this document has aided in removing such a nuisance, and that
  94. it will confidently allow you to use the software freely.  Have fun and
  95. good luck!!!
  96.  
  97.  
  98. Addendum - For single-drive users... And maybe others...
  99.  
  100.     First of all, I'd like to apologize to all you single-drive users.
  101. I don't think you all could have done the above verbatim.  So, I went
  102. ahead and COPYIIPC'd (version 3.09) the ORIGINAL program diskette in
  103. drive A:.  Ignoring the three errors that track 15 created, I went
  104. ahead and used the copy and performed the unprotection.  I ran the copy
  105. with no problem.  Then, I DISKCOPY'd (PC-DOS 3.2) the diskette in drive
  106. A:.  Again, I ignored the errors.  The DISKCOPY'd diskette also ran
  107. with no problem.  Unless you have a program that corrects or formats by
  108. tracks and sides, you'll have to live with the errors popping up during
  109. copying with no effect to the actual running of the program.  Such a
  110. program that allows formatting by track and side is called
  111. ULTRAFMT.COM.  It is a public domain program and usually comes as a
  112. package with other ULTRA programs.  The programs can be found on most
  113. BBSes under the ARC'd filename ULTRA.ARC.  Again, good luck and...
  114. sorry!!!
  115.  
  116. ----------------------------------------------------------------------
  117.  
  118.  
  119.  
  120.  
  121.                 Update for Advanced Flight Trainer v1.2
  122.                                  by RAL
  123.                             October 19, 1987
  124.  
  125.  
  126.     The new version has a name change due to legal threats from
  127. Microsoft (I guess), so the names of the disk files have also been
  128. changed.  It is now AFT.EXE rather than AFS.EXE.  To work with this
  129. file using DEBUG, first copy the files as specified in the instructions
  130. for v1.0.  Then put the copied AFT disk in drive B: and the disk with
  131. DEBUG in drive A:.  Then get into the \AFT directory on the AFT disk by
  132. typing (at the system prompt):
  133.  
  134.     b:
  135.     cd \aft
  136.     rename aft.exe aft.xxx
  137.     a:debug aft.xxx
  138.  
  139.     All of the instructions for v1.0 are valid, except that the four
  140. patches described above need to be made at different addresses, which I
  141. found by using the DEBUG unassemble command to look for the group of
  142. four paired CALLs (in this version CALL 0E38, CALL 0E7B).  The new
  143. addresses to be patched in version 1.2 are as follows (enter at the
  144. DEBUG hyphen prompt):
  145.  
  146.     e 0DE7 90 90 90 90 90 90
  147.     e 0DEF 90 90 90 90 90 90
  148.     e 0DF8 90 90 90 90 90 90
  149.     e 0E00 90 90 90 90 90 90
  150.  
  151.     These patches will fix the program for the CGA. On the EGA,
  152. however, I still had trouble.  The title screen appears, then the
  153. program enters an endless loop of accessing the disk, changing the RGB
  154. palette, accessing the disk, etc.  So, using DEBUG, I looked for other
  155. attempts to read our old friend track 15 (using the search command to
  156. find MOV CH,0F prior to a disk access) and, sure enough, I found there
  157. was a track 15 access at address 0E30, which contains a call to the
  158. disk reset subroutine (CALL 0E38) so that track 15 is read again before
  159. getting the monitor default from the ENV setup file.  Replacing THIS
  160. operation with NOP's allows the program to run with no problems.  The
  161. palette now can be changed from within the program if needed.
  162. Everything else seems to work fine.  To finish the update, make the
  163. following patch at the DEBUG hyphen prompt:
  164.  
  165.     e 0E30 90 90 90
  166.     w
  167.     q
  168.     (at the B> prompt) rename aft.xxx aft.exe
  169.  
  170.  When you're sure that everything is working right, you can delete the
  171. backup file AFT.BAK which you made before entering DEBUG.  I hope this
  172. makes the program more convenient for recent purchasers.  It's too bad
  173. the company feels the need to harass authorized users with its Mickey
  174. Mouse copy protection scheme.  It's a darn good program and would
  175. undoubtedly sell many more copies without copy protection.
  176.  
  177.  
  178. ------------------------------------------------------------------------
  179.  
  180.  
  181.   Another Unprotect for Chuck Yeager's Advanced Flight Simulator v1.0
  182.                             by Tony Elliott
  183.                           2007 Manassas Drive
  184.                           Woodstock, GA 30188
  185.                                1 Sept 87
  186.  
  187.  
  188.     If you are anything like I am, then you scorn the use of copy
  189. protection methods implemented by some commercial software companies.
  190. They are inconvenient for hard disk users because either they force you
  191. to have a "key" diskette in drive A: or they clutter up your hard disk
  192. with hidden subdirectories and files.  They also can slow the loading
  193. and operation of the program.
  194.  
  195.     I do not condone software piracy at any level.  I do feel, however,
  196. that legitimate software owners have the right to make executable
  197. backup copies and are entitled to "hassle free" operation.  The laws
  198. pertaining to this topic vary from state to state.  I suggest you look
  199. into this BEFORE using the information contained in this text file.
  200.  
  201.     I  TAKE  NO RESPONSIBILITY FOR THE USE OR MISUSE OF THIS
  202. INFORMATION.  USE IT AT YOUR OWN RISK.
  203.  
  204.     Now since that is out of the way, we can get down to business.
  205. This patch was developed for the version 1.0 of "Chuck Yeager's
  206. Advanced Flight Simulator" distributed by Electronic Arts.
  207.  
  208.  
  209.                           FLOPPY BASED SYSTEMS
  210.  
  211.     If you are using a floppy-based system, format a new 360K diskette.
  212. Then, copy all of the files from the A:\AFS subdirectory of your
  213. original distribution diskette to the root directory of the newly
  214. formatted floppy.
  215.  
  216.     You  may now put your original diskette in a safe place because
  217. you will no longer need it.
  218.  
  219.  
  220.                            HARD DISK SYSTEMS
  221.  
  222.     Log into the subdirectory containing the AFS files.
  223.  
  224.  
  225.                               BOTH SYSTEMS
  226.  
  227.     Now, be sure that a copy of DEBUG is in the current directory or is
  228. in the PATH.
  229.  
  230.     1.  REN AFS.EXE AFS <ENTER>
  231.     2.  DEBUG AFS
  232.     3.  At the DEBUG "-" prompt, type
  233.         U 0DB4 <ENTER>
  234.  
  235.     Several  lines with be displayed on the screen.  You are interested
  236. in the first two.  The should look EXACTLY like this:
  237.  
  238.     xxxx:0DB4  E90CA7         JMP   B4C3
  239.     xxxx:0DB7  C3             RET
  240.  
  241.     The "xxxx" represents any four hexadecimal numbers.  If you have a
  242. match, on to the next step.  If not, then skip on down to the section
  243. called "Didn't Work."
  244.  
  245.     4.  At the "-" prompt again, type
  246.  
  247.         U OE31 <RETURN>
  248.  
  249.     Several lines of code will again be displayed on the screen.  Look
  250. at the first two following the "U 0E31" command.  They should also
  251. match exactly with the following:
  252.  
  253.     xxxx:0E31  880E5005       MOV  [0550],CL
  254.     xxxx:0E35  8A0E4D05       MOV  CL,[054d]
  255.  
  256.     If you have a match here, then you should have a compatible version
  257. of the AFS program.  If you did not get an EXACT match then skip down
  258. to "Didn't Work."
  259.  
  260.     5.  At the "-" prompt, type the following:
  261.  
  262.         E 0DB4 90 90 90 <ENTER>
  263.         E 0E31 C3 90 90 90 <ENTER>
  264.         W <ENTER>
  265.         Q <ENTER>
  266.  
  267.     You should now be back in DOS.  Only one more step left.
  268.  
  269.     6.  REN AFS AFS.EXE <ENTER>
  270.  
  271.     That's it!  You now have an unprotected copy of AFS.  If you copied
  272. DEBUG into your current directory, it is no longer needed here and may
  273. be deleted.
  274.  
  275.  
  276.                               DIDN'T WORK
  277.  
  278.     If the code shown on your screen did not match the code in the text
  279. file, then the chances are you have a different version of the AFS
  280. program.  In that case, type "Q <ENTER>" and, back in DOS, type
  281. "REN AFS AFS.EXE" and all should be back to normal.
  282.  
  283.     If  you have any questions or comments concerning this patch, I may
  284. be contacted via Compuserve (ID: 71370,2676) or through just about any
  285. of that Atlanta area PC Boards.
  286.  
  287.  
  288. ------------------------------------------------------------------------
  289.  
  290.  
  291.               Run Chuck Yeager's Advanced Flight Simulator
  292.       on your PC without the key disk, and on non-compatible clones
  293.                             (by Herb Sorock)
  294.  
  295. Are you annoyed by the need to keep your key disk handy when you want to
  296. run Electronic Arts Advanced Flight Simulator from your hard disk?
  297.  
  298. Does AFS obnoxious copy-protection scheme give you the "no key disk"
  299. message when you run it on less-than-100% IBM-compatible PC's (such as
  300. the Zenith 151)?
  301.  
  302. Are you worried that the inability to make a archival backup jeopardizes
  303. your investment in the software should something happen to the original
  304. disk?
  305.  
  306. Do you feel ripped-off when Electronic Arts wants $10 to send you an
  307. unprotected copy so you can get around the problems noted above?
  308.  
  309. Well, when I purchased my copy of the AFS, I was mad too!  So I decided
  310. to do something about it!  The result is AFSFIXER.COM, described in this
  311. "DOC" file.  AFSFIXER.COM allows you to forget about ever needing the
  312. AFS key disk again.
  313.  
  314. What does AFSFIXER.COM do?  After you run it, you will get a message
  315. indicating that it has been installed.  Then, just start the AFS program
  316. as you normally do.  Note that the program no longer looks to drive A
  317. for the key disk.  AFSFIXER.COM makes it think it's there!  (AFSFIXER is
  318. a memory-resident program which does NOT modify your AFS disk, so don't
  319. worry that something will get clobbered).
  320.  
  321. After you exit to DOS from AFS, be sure to run AFSFIXER.COM again so
  322. that it can uninstall itself.  If you don't do this, you'll find drive A
  323. won't work properly anymore.  Probably the easiest thing to do is to put
  324. AFSFIXER.COM in the .BAT file that executes the Advanced Flight
  325. Simulator, both BEFORE and AFTER the line with AFS.EXE (the main program
  326. file).
  327.  
  328. Note: because of the way AFSFIXER works, you will NOT be able to start
  329. Advanced Flight Simulator from drive A.  If you have a hard disk,
  330. install and run it from that disk.  If you have a two-floppy system, you
  331. may start AFS only from the B drive.
  332.  
  333.  
  334. ------------------------------------------------------------------------
  335.  
  336.  
  337.          This file is almost an exact duplicate of Tony Elliot's
  338.          unprotect file for AFS V1.0 which has been modified to
  339.          handle AFT V1.2.  Only Addresses and responses have been
  340.          changed.  Everything else was taken directly from Tony's
  341.          original unprotect file.
  342.  
  343.                                                 Brian Baker
  344.  
  345.  
  346.  
  347.  
  348.  
  349.                                U N P R O T E C T
  350.  
  351.                                       for
  352.  
  353.                                 Chuck Yeager's
  354.                            Advanced Flight Trainer
  355.  
  356.                                      V1.2
  357.  
  358.  
  359.  
  360.  
  361.           If  you  are  anything like I am then you scorn the use of copy
  362.       protection methods implemented by some commercial  software  compa-
  363.       nies.   They  are  inconvenient  for hard disk users because either
  364.       they force you to have a "key" diskette in drive A: or they clutter
  365.       up  your hard disk with hidden subdirectories and files.  They also
  366.       can slow the loading and operation of the program.
  367.  
  368.           I do not condone software piracy at  any  level.   I  do  feel,
  369.       however,  that  legitimate  software  owners have the right to make
  370.       executable backup copies and are entitle  to  "hassle  free"  oper-
  371.       ation.  The laws pertaining to this topic vary from state to state.
  372.       I suggest you look into this BEFORE using the information contained
  373.       in this text file.
  374.  
  375.           I  TAKE  NO RESPONSIBILITY FOR THE USE OR MISUSE OF THIS INFOR-
  376.       MATION.  USE IT AT YOUR OWN RISK.
  377.  
  378.           Now since that is out of the way, we can get down to  business.
  379.       This  patch  was  developed  for the version 1.2 of "Chuck Yeager's
  380.       Advanced Flight Trainer" distributed by Electronic Arts.
  381.  
  382.  
  383.  
  384.                              FLOPPY BASED SYSTEMS
  385.  
  386.           If you are using a floppy-based system, format a new 360K  dis-
  387.       kette.  Then, copy all of the files from the A:\AFT subdirectory of
  388.       your original distribution diskette to the root  directory  of  the
  389.       newly formatted floppy.
  390.  
  391.           You  may now put your original diskette in a safe place because
  392.       you will no longer need it.
  393.  
  394.  
  395.  
  396.                                HARD DISK SYSTEMS
  397.  
  398.           Log into the subdirectory containing the AFT files.
  399.  
  400.  
  401.  
  402.  
  403.       patch for AFT  V1.2                                    Page 1
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.                                  BOTH SYSTEMS
  416.  
  417.           Now, be sure that a copy of DEBUG is in the  current  directory
  418.       or is in the PATH.
  419.  
  420.           1.  REN AFT.EXE AFT <ENTER>
  421.           2.  DEBUG AFT
  422.           3.  At the DEBUG "-" prompt, type
  423.  
  424.               U 0DBB <ENTER>
  425.  
  426.           Several  lines with be displayed on the screen.  You are inter-
  427.       ested in the first two.  The should look EXACTLY like this:
  428.  
  429.               xxxx:0DBB  E9A3A7         JMP   B561
  430.               xxxx:0DBE  C3             RET
  431.  
  432.           The "xxxx" represents any four  hexadecimal  numbers.   If  you
  433.       have  a  match,  on to the next step.  If not, then skip on down to
  434.       the section called "Didn't Work."
  435.  
  436.           4.  At the "-" prompt again, type
  437.  
  438.               U 0E38 <RETURN>
  439.  
  440.           Several lines of code will again be displayed  on  the  screen.
  441.       Look  at the first two following the "U 0E38" command.  They should
  442.       also match exactly with the following:
  443.  
  444.               xxxx:0E38  880E5005       MOV  [0550],CL
  445.               xxxx:0Exx  8A0E4D05       MOV  CL,[054d]
  446.  
  447.           If you have a match here, then you  should  have  a  compatible
  448.       version of the AFS program.  If you did not get an EXACT match then
  449.       skip down to "Didn't Work."
  450.  
  451.           5.  At the "-" prompt, type the following:
  452.  
  453.               E 0DBB 90 90 90 <ENTER>
  454.               E 0E38 C3 90 90 90 <ENTER>
  455.               W <ENTER>
  456.               Q <ENTER>
  457.  
  458.           You should now be back in DOS.  Only one more step left.
  459.  
  460.           6.  REN AFS AFS.EXE <ENTER>
  461.  
  462.           That's it!  You now have an unprotected copy of  AFT.   If  you
  463.       copied  DEBUG  into  your current directory, it is no longer needed
  464.       here and may be deleted.
  465.  
  466.  
  467.  
  468.  
  469.       UNPROTECT for AFT  V1.2                                     Page 2
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.                                   DIDN'T WORK
  482.  
  483.           If the code shown on your screen did not match the code in  the
  484.       text file, then the chances are you have a different version of the
  485.       AFT program.  In that case, type "Q <ENTER>" and, back in DOS, type
  486.       "REN AFT AFT.EXE" and all should be back to normal.
  487.  
  488.  
  489.           If  you have any questions or comments concerning this patch, I
  490.       may be contacted via Compuserve (ID: 71370,2676)  or  through  just
  491.       about any of that Atlanta area PC Boards.
  492.  
  493.  
  494.                                  Tony Elliott
  495.                               2007 Manassas Drive
  496.                               Woodstock, GA 30188
  497.