[comp.binaries.amiga] v91i146: bdiffa - Unofficial patch to Amiga NetHack 3.0j Patchlevel 10, Part01/01

amiga-request@ab20.larc.nasa.gov (Amiga Sources/Binaries Moderator) (05/08/91)

Submitted-by: Lorber <keni@dtix.dt.navy.mil>
Posting-number: Volume 91, Issue 146
Archive-name: games/nethack-3.0j/bdiffa/part01

This is an unofficial patch for Amiga NetHack 3.0j, Patchlevel 10.  This is
not an official patch because all official work on 3.0 has ceased.

The bug:
Saving when in the endgame fails (thanks go to Dominik Zemmler for the bug
report).

The source fix:
In save.c, change
	struct finfo fileinfo[MAXLEVEL+1];
to
	struct finfo fileinfo[MAXLEVEL+2];

The binary fix:
If you are using the "official" binaries posted earlier this year (and also
available at various archives and on a Fish Disk), the following program
will correct the problem.  To apply the fix, uudecode the program that
appears below (it's called bdiffa) and run it: it will examine the file
HackExe:NetHack and, if it appears to be the right version, will apply
the patch.  If all goes well, the output will be:
	Checking
	Patching
	Done
Error messages will appear if something goes wrong.  Just in case, please
MAKE A BACKUP OF HACKEXE:NETHACK BEFORE APPLYING THE PATCH!

Please pass this patch on to anyone playing this version of Amiga NetHack.
As usual, bug reports should be sent to nethack-bugs@linc.cis.upenn.edu.

Share and Enjoy,
Ken Lorber
keni@dtix.dt.navy.mil
for the Amiga NetHack Team

# This is a shell archive.
# Remove anything above and including the cut line.
# Then run the rest of the file through 'sh'.
# Unpacked files will be owned by you and have default permissions.
#----cut here-----cut here-----cut here-----cut here----#
#!/bin/sh
# shar: SHell ARchive
# Run the following text through 'sh' to create:
#	bdiffa.zuu01
# This archive created: Tue May  7 20:07:25 1991
echo "extracting bdiffa.zuu01"
sed 's/^X//' << \SHAR_EOF > bdiffa.zuu01
Xbegin 644 bdiffa.zoo
XM6D]/(#(N,#`@07)C:&EV92X:``#<I\3]*@```-;___\"``$J```````!W*?$X
XM_0(!U`@``'$```"G%HR@)#'P"P``8P@```$```````````!B9&EF9F$`````.
XM````"@`0F%D`````I`%`````0"DC*````0`8,$^@08$##AH48%"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03A@D(X(9(X":28`QB80.
XM)!A$"@;1@D&<)A`V&(1U`D&:0!!A$$@81!,-,0@K#$(+@_C"(,8P"#0,@@V#)
XMB,,@H10(/0S"CX@8("(.B`@&(D(=L/@'+/(,P%$"P-BV1<0*$?D*6!`#%I6``
XM10\1(41$&!$12T3$$Q%!141@$9$:@448$6%&1*@1$6Y$A!P1<4=$[!$1?PA$!
XM`"("@``@<.#I*KB%"KZN`.0I@*,(@+$"T)>"P:M@+QS8#`=VPX%A*Y"$(2$,8
XM8UA#$?!0!ATXH0QT.'&*`3`$-)0AQ6EPPQD25N,;KR''.P8`%,)`AS&@`<@)4
XM&W*1CZSCA!'A#6XH@Y.A+&4`R%C%+'8QC*\,`C.$(0UL*`,90-`&(AM9!Q%ZQ
XM`QVJ>^45M_C%,4;Q&KK\Y3"/N<Q+1O,9U%Q=%H"@#'B`PXWI(&;J^!G0@AX#E
XMH<><-#.C`6MR>,,9"-4&$(SA#7*00QW@0(<0)(Q12X:TI"EM:4QKFM.>MK*<U
XMW:SE.*>8S&'(`PC$4(929WK3G<9LF[,,9RZ76=:TMO6I<RV0)+S@"7_.-*8QB
XM:VQDET'9<D@82F4P`QK4P`8WP$$.@B"$(1"A"$@UR`#\5=J"#8`2"+'M0-@[D
XM$-H.1+T#V<M`$C>0D0R$9@,ARD!<.Q#R#H"U`Q#O`+B`$"P@A`H(@0)"-#P`K
XMTPZ$L0,@[0`J=-@!-'4@5AT`"Q""H(%X=@#5'0!G!^+@`1QL(`P>"`,0DN`!(
XM$``A"VFN@O%QX.4J&!X')K<`T'%@`"L8'`?VKX*+JV#^*GBX"M:O@I%Q8&(<-
XM&!@'9HZ"<7'@WBJ8O@K>K8+EJV!2'!@4!^;$@3%Q8'0K6-T"8+<`W"T`>`M`;
XMW@*@M]4Z*8^``-RGQ/T"````````````````````````````````````````$
X5`````````````````````````/R#_
X``
Xend
Xsize 2316
SHAR_EOF
echo "End of archive"
exit
-- 
Mail submissions (sources or binaries) to <amiga@uunet.uu.net>.
Mail comments to the moderator at <amiga-request@uunet.uu.net>.
Post requests for sources, and general discussion to comp.sys.amiga.misc.