Path: utzoo!mnetor!uunet!husc6!tut.cis.ohio-state.edu!bloom-beacon!gatech!udel!princeton!notecnirp!kyrimis From: kyrimis@notecnirp.Princeton.EDU (Kriton Kyrimis) Newsgroups: comp.sources.games.bugs Subject: Re: omega 0.70.5 patches so that it can run on a Vax Message-ID: <9500@princeton.Princeton.EDU> Date: 26 Mar 88 17:09:43 GMT References: <9470@princeton.Princeton.EDU> Sender: news@princeton.Princeton.EDU Reply-To: kyrimis@notecnirp.UUCP (Kriton Kyrimis) Distribution: na Organization: Dept. of Computer Science, Princeton University Lines: 19 I just realised that I made the same mistake that the omega au- thor did, when writing the programs that convert the binary data to a form usable on both the sun and the vax. These programs have to be run on a sun. If you don't have access to a sun, you should rewrite those programs so that instead of reading each structure with a single fread, you read each structure element, one at a time. Notice that each structure has one byte of padding. In struct o_monster it is immediately after the meleestr[] array, and in struct o_object it is immediately after the cursestr[] ar- ray. Sorry about the inconvenience, Kriton (UUCP: allegra!princeton!kyrimis) (ARPA: kyrimis@princeton.edu) ----- "I haven't changed the course of history; indeed, I'm expressly forbidden to do so!" -----