[net.games.rogue] Monster Rooms and Patching Rogue binaries

davidk@dartvax.UUCP (07/18/84)

A few weeks back, some claimed to have patched a rogue binary to 
inscrease the number of monster rooms per level. If someone could
send me this patch, or any other interesting patches or sections 
of code for Rogue 5.3, I would be most grateful. I started wading
through it with adb the other day and got sidetracked into the
saved-file-encryption section and am not psyched for tracking down
the other stuff. (For whatever it is worth, we figured how "they"
encrypt the saved file. Older versions used a simple mask, 5.3
uses one large mask and one smaller sliding mask.)

-- 
David C. Kovar    
	    USNET:      {linus|decvax|cornell|astrovax}!dartvax!davidk
	    ARPA:	davidk%dartmouth@csnet-relay
	    CSNET:	davidk@dartmouth


"The difficult we did yesterday, the impossible we are doing now."

wws@whuxle.UUCP (Stoll H William) (07/21/84)

I do my patching via a C program which opens the binary for
reading and writing, then seeking to the proper place and
write()-ing the proper value.

To guarantee[sic?] one monster room per level, patch in a couple
NOP's just before the first call to treas_room in put_things.
These will overwrite the random element that gives you a chance
in 20 of getting a monster room.

Bill Stoll