OAF File Formats

There are currently two OAF file formats that PR's OAF Editor supports. Both seem to be used in Descent 3 Demo and Descent 3 Demo 2. It is unsure whether these formats will work with the registered version of Descent 3 (it's not out yet so I can't test it!).

Following are very technical descriptions of the OAF file formats that are supported. You do not need to understand the file formats to edit them. It's just for those keen people that want to know the difference between the formats. Usually, it should be OK just to save in Type 1 format all the time.

Type 1

The type 1 format for OAF files has a 2 byte header of 0x7F and 0x01, followed by a byte which describes how many frames are in the animation, and 4 extra bytes (which have an unknown function). Following is the OGF data for each frame.

Type 2

The type 2 format for OAF files has the first byte describing how many frames there are in the animation, followed by 16 other bytes (which are unknown what they do), and then the OGF data for each frame.