Re: File format changes

Jim Bucher (jim@gcchem.com)
Tue, 25 Jun 1996 10:46:29 -0500

Date: Tue, 25 Jun 1996 10:46:29 -0500
From: Jim Bucher <jim@gcchem.com>
To: quake-dev@gamers.org
Subject: Re: File format changes

I partly decoded flame2.mdl last night. It looks to me like the frame
information is now seperated into animation and frame info. The header
now contains the number of animations, instead of the number of frames.
Like Rene stated there are two extra dwords at the end of the header.
Then everything is the same until you get to the frames data. There is
now an animation block instead of a frame block.

The number of animation blocks depends on the the number of animations
given in the model header. The animation block contains a 16 byte header.
The first dword looks like it is the animation type. The next dword is
the number of frames for the animation. I don't know what the next two
dwords are. This is followed by 4 bytes for each frame in the animation.
I have not yet tried to decipher what these 4 bytes are.

Then for each frame in the animation there is frame data block. The
only thing about the frame block that has changed is the header. The
header is now 24 bytes. It contains 8 bytes, 8 character for the frame
name, and then 8 more bytes. I have not tried to determine what the
other 16 bytes are yet.

This structure only seems to apply to flame.mdl and flame2.mdl It looks
like the structure of the animation block changes depending on the
animation type.