BFI: Difference between revisions
Jump to navigation
Jump to search
m (Update samples link) |
m (reorg games) |
||
Line 3: | Line 3: | ||
* Samples: [http://samples.mplayerhq.hu/game-formats/bfi/ http://samples.mplayerhq.hu/game-formats/bfi/] | * Samples: [http://samples.mplayerhq.hu/game-formats/bfi/ http://samples.mplayerhq.hu/game-formats/bfi/] | ||
Multimedia-heavy games by Tsunami use a multimedia format with the extension .bfi. All multi-byte numbers are little endian. The general [[FourCC]] chunk format is as follows: | |||
bytes 0-3 chunk type | bytes 0-3 chunk type | ||
Line 33: | Line 33: | ||
The details of the video coding are presently unknown. | The details of the video coding are presently unknown. | ||
== Games Using BFI == | |||
* [http://www.mobygames.com/game/dos/blue-force Blue Force] | |||
* [http://www.mobygames.com/game/dos/flash-traffic-city-of-angels Flash Traffic: City of Angels] | |||
[[Category:Game Formats]] | [[Category:Game Formats]] |
Revision as of 00:00, 3 March 2007
- Extensions: bfi
- Company: Tsunami Media
- Samples: http://samples.mplayerhq.hu/game-formats/bfi/
Multimedia-heavy games by Tsunami use a multimedia format with the extension .bfi. All multi-byte numbers are little endian. The general FourCC chunk format is as follows:
bytes 0-3 chunk type bytes 4-7 chunk size, including 8-byte preamble bytes 8.. chunk payload
A BFI file begins with the following header:
bytes 0-3 file signature: 'BF&I' bytes 4-7 total file size bytes 8-11 total header size bytes 12-15 frame count bytes 16-43 unknown bytes 44-47 video width bytes 48-51 video height bytes 52-55 framerate bytes 56-59 number of valid palette entries (?) bytes 60-827 256 RGB triplets (6-bit VGA palette values) bytes 828-831 audio sample rate bytes 832-835 audio channels (?) bytes 836-959 unknown
The media frames follow the header. Each frame is packaged inside a chunk with the fourcc 'IVAS' (possibly Interleaved Video and Sound). A IVAS chunk has the following payload:
bytes 0-11 unknown bytes 12-15 size of audio data bytes 16..n unsigned, 8-bit PCM audio data bytes n.. encoded video data
The details of the video coding are presently unknown.