Path: utzoo!attcan!uunet!husc6!ukma!sean From: sean@ms.uky.edu (Sean Casey) Newsgroups: comp.sys.amiga Subject: F/A-18 patch program. Source and uuencoded executable. Message-ID: <9826@g.ms.uky.edu> Date: 4 Jul 88 12:56:07 GMT Organization: The Leaning Tower of Patterson Office @ The Univ. of KY Lines: 220 F/A-18 Interceptor is a marvelous program. Unfortunately, for $50, you have to turn a cardboard "code wheel" every 5 minutes. This is idiocy. I refuse to be humiliated this way after I paid so much money for the program. Someone sent me patch instructions to use with newzap, and I incorporated them into a program to automate the patching. I suppose someone could come up with a better patch, but this can do for now. You still have to answer the question, but the answer is always 0000. Instructions: Use a copy of your original disk. Unshar and uudecode. Run f18fix and put your copy in DF0: when asked. The disk whirs a few seconds and it's done. The code response will always be 0000 from this point on. DISCLAIMER I am not responsible if you trash your disks with this program. Use it at your own risk. If you don't like what I'm doing, or think I advocate software piracy, get stuffed. If you do like what I'm doing, may you live a long life, your children have the normal number of limbs, etc... * F/A-18 Interceptor is a Trademark of Electronic Arts and probably Robert Dinnerman too. #! /bin/sh : This is a shell archive, meaning: : 1. Remove everything above the '#! /bin/sh' line. : 2. Save the resulting text in a file. : 3. Execute the file with /bin/sh '(not csh)' to create the files: : 'f18fix.c' : 'f18fix.uu' : This archive created: 'Mon Jul 4 08:36:22 1988 ' : By: 'Sean Casey (The Leaning Tower of Patterson Office @ The Univ. of KY)' export PATH; PATH=/bin:$PATH echo shar: extracting "'f18fix.c'" '(565 characters)' if test -f 'f18fix.c' then echo shar: will not over-write existing file "'f18fix.c'" else cat >'f18fix.c' <<'SHAR_EOF' /* * f18fix.c by Sean Casey, PUBLIC DOMAIN. */ #include "fcntl.h" main() { char s[8], zero = 0; char *fn = "df0:F-18 Interceptor"; int fp; puts("Insert copy of F-18 Interceptor into DF0: and press RETURN:\n"); gets(s); if ((fp = open(fn, O_RDWR)) < 0) { puts("Couldn't open file \"DF0:F-18 Interceptor\"\n"); exit(-1); } lseek(fp, (long) 0x1cd8d, 0); write(fp, &zero, 1); lseek(fp, (long) 0x1cd9d, 0); write(fp, &zero, 1); lseek(fp, (long) 0x1cdad, 0); write(fp, &zero, 1); lseek(fp, (long) 0x1cdbb, 0); write(fp, &zero, 1); close(fp); } SHAR_EOF if test 565 -ne "`wc -c < 'f18fix.c'`" then echo shar: error transmitting "'f18fix.c'" '(should have been 565 characters)' fi fi # end of overwriting check echo shar: extracting "'f18fix.uu'" '(7035 characters)' if test -f 'f18fix.uu' then echo shar: will not over-write existing file "'f18fix.uu'" else cat >'f18fix.uu' <<'SHAR_EOF' begin 644 f18fix M```#\P`````````#``````````(```1Q````A0````$```/I```$<4[Z!8). M5?_P0BW_]T'Z`.(K2/_R2'H`[TZZ!3!83TAM__A.N@%*6$\_/``"+RW_\DZZ M`U!<3SM`__!*0&P42'H!`DZZ!0983S\\__].N@Z.5$]"9TAY``'-C3\M__!. MN@*24$\_/``!2&W_]S\M__!.N@V24$]"9TAY``'-G3\M__!.N@)N4$\_/``! M2&W_]S\M__!.N@UN4$]"9TAY``'-K3\M__!.N@)*4$\_/``!2&W_]S\M__!. MN@U*4$]"9TAY``'-NS\M__!.N@(F4$\_/``!2&W_]S\M__!.N@TF4$\_+?_P M3KH/+E1/3EU.=61F,#I&+3$X($EN=&5R8V5P=&]R`$ENH`!&4,+PIA%EA/)%]. M74YU(%)2DA`02(#`?`#_8.Q.50``2.<(,"1M``@0*@`,P#P`&&<*],WPP0 M3EU.=0BJ``(`#$JJ``AF""\*3KH)]EA/$"H`#$B`"```!V R``B9($"L` M#$B`P'P`A+!\`(1F##\\__\O"TZZ"*Y<3]?\````%D'L@;JWR&76/RH`$"\J M``@0*@`-2(`_`$ZZ`A0X`$I`4$]N%$I$9@1P"&`"@""+P9.N@RH2'C__T*G+P9.N@Q^3^\`&&`F,"T`#,!\!0"P?`4` M9A@O!DZZ"_)Z!%A/.46!SG#_3-\,\$Y=3G4P!,'\``8GA@@`,`3!_``&($#1 MRS%M``P`!`@M``,`#&<02'@``4*G+P9.N@P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