DFA: Difference between revisions

From MultimediaWiki
Jump to navigation Jump to search
m (sample link)
m (missed a word)
Line 21: Line 21:
   EOFR    end of frame, empty chunk
   EOFR    end of frame, empty chunk


Based on the relative occurrence frequencies of the TSW1 and DSW1 frame,  
Based on the relative occurrence frequencies of the TSW1 and DSW1 frame types,  
T-frames may be intracoded while D-frames are intercoded. The details of  
T-frames may be intracoded while D-frames are intercoded. The details of  
the video coding format are unknown.
the video coding format are unknown.


[[Category:Game Formats]]
[[Category:Game Formats]]

Revision as of 21:13, 14 March 2006

A DOS-based game called Chronomaster includes files with the extension .dfa which appear to be animation files. All multi-byte numbers are little endian. These files are comprised of chunks with the following format:

 bytes 0-3    chunk type
 bytes 4-7    chunk size, not including 12-byte preamble
 bytes 8-11   unknown
 bytes 12..   chunk payload

A DFA file begins with a 128- (0x80-)byte header:

 bytes 0-3    file signature: 'DFIA'
 bytes 4-127  unknown (mostly 0s)

Chunk types include:

 PAL1    768-byte chunk containing a 6-bit VGA palette components
 TSW1    video frame?
 DSW1    video frame?
 EOFR    end of frame, empty chunk

Based on the relative occurrence frequencies of the TSW1 and DSW1 frame types, T-frames may be intracoded while D-frames are intercoded. The details of the video coding format are unknown.