From: Loren Petrich <petrich@netcom.com>
Newsgroups: alt.games.marathon
Subject: Pathways Into Darkness, XML, etc.
Message-ID: <080420001510487071%petrich@netcom.com>
References: <DdXG4.30107$x65.2357073@news1.rdc2.tx.home.com> <Ez6H4.30350$x65.2371158@news1.rdc2.tx.home.com> <070420000539096024%petrich@netcom.com>
Date: Sat, 08 Apr 2000 22:10:47 GMT
Organization: @Home Network

In article <070420000539096024%petrich@netcom.com>, Loren Petrich
<petrich@netcom.com> wrote:

   In the Pathways into Darkness app, there is a curious resource
called "dpin", which is not a typical MacOS resource, and which has
size 230676 bytes.

   However, there are lots of telltale repeats, such as 14 bytes being
0 followed by 2 bytes being -2 as a short integer. These have enabled
me to conclude that the file has a header with size 2876 bytes,
followed by 25 blocks of data having size 9112.

   However, PID has 25 levels, so it is likely that these are some kind
of level data. The next question is what kind. In "Maps", each of the
sectors has an object ID; this may be a reference to something in the
appropriate block in the dpin resource. 0 could be the first short, 1
could be the next short, etc.


   In other news, I've got the open-source XML parser "expat" working,
though only with a supplied example program. One step closer to a more
portable and extensible Marathon engine.

-- 
Loren Petrich
petrich@netcom.com
Happiness is a fast Macintosh
And a fast train