Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site sdcsvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!cornell!uw-beaver!tektronix!hplabs!sdcrdcf!sdcsvax!laman From: laman@sdcsvax.UUCP (Mike Laman) Newsgroups: net.games.rogue Subject: Re (SPOILER!): Monster Rooms and Patching Rogue binaries Message-ID: <1020@sdcsvax.UUCP> Date: Fri, 20-Jul-84 17:35:50 EDT Article-I.D.: sdcsvax.1020 Posted: Fri Jul 20 17:35:50 1984 Date-Received: Sun, 22-Jul-84 06:10:00 EDT References: <2212@dartvax.UUCP> Organization: EECS Dept. U.C. San Diego Lines: 14 > ... (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.) Wrong! It uses two sliding masks (one points to the "old" encstr (encryption string) and another one points at statlist which is treated just like encstr) AND a local "Frob" is XORed in too. This answers your questions of why 5.3 seems to take longer to save and restore games. Earlier version (5.2, and 3.6 that I know about) just had one pointer to "encstr" that was XORed, instead of 3 XORs AND modifying the local frob (a multiplication and an addition). It all adds up when you you have to do it too each character in the save file. Mike Laman UUCP: {ucbvax,philabs,sdccsu3,sdcsla}!sdcsvax!laman