SIFF

From MultimediaWiki
Revision as of 22:28, 19 January 2006 by Multimedia Mike (talk | contribs) (add KKND2 to the list)
Jump to navigation Jump to search
  • Extentions: vb, son

Certain PC games developed by Beam Software use a multimedia format with the file signature 'SIFF'. The format can transport audio and video (which are .vb files) or just audio (which are .son files).

File Format

The general fourcc chunk format is as follows:

 bytes 0-3   chunk type
 bytes 4-7   chunk size (not including 8-byte chunk preamble)
 bytes 8..   chunk payload

It is important to note that in the fourcc chunk preamble, the size field is big-endian. However, all other multi-byte numbers in the file are little-endian.

A VB file begins with a 'SIFF' file signature, followed by the total length of the file, minus 8 bytes. Bytes 8-11 contain the version fourcc, e.g. 'VBV1'. Then comes the header, which is laid out as follows:

 bytes 0-3    header fourcc ('VBHD')
 bytes 4-7    header length (should be 32 == 0x20)
 bytes 8-9    unknown, but might be header version
 bytes 10-11  video width
 bytes 12-13  video height

Games That Use The SIFF Format