BIK Video: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 3: Line 3:
* ''' Format Type ''':    Video <br>  
* ''' Format Type ''':    Video <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>  
=== Format Specifications (Bink "1" - BIKi) ===
<tt><b>
uint32 {4}&nbsp;&nbsp; - Header <font color="purple">(BIKi)</font> <br>
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' archiveSize? <font color="purple">(a little too big)</font> '' </font> <br>
uint32 {4}&nbsp;&nbsp; - Number Of Frames <br>
uint32 {4}&nbsp;&nbsp; - Largest Frame Size (in bytes)<br>
uint32 {4}&nbsp;&nbsp; - Number Of Frames (again?) <br>
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
uint32 {4}&nbsp;&nbsp; - Video Width (in pixels) <br>
uint32 {4}&nbsp;&nbsp; - Video Height (in pixels) <br>
uint32 {4}&nbsp;&nbsp; - Frames-Per-Second (FPS) <br>
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(1)</font> '' </font> <br>
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
<br>
<font color="blue"> ''' // for each frame ''' </font> <br>
: uint32 {4}&nbsp;&nbsp; - Frame Offset <br>
<br>
byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - Frame Data <br>
<br>
</b></tt>





Revision as of 11:52, 3 April 2021

BIK


Format Specifications

// BINK Video
// BIK file format

//header
4 bytes (uint32) - signature // "BIKf" - Bink "0", very old, used in RAD Tools 0.8i etc.
                             // "BIKg" - ?
                             // "BIKh" - ?
                             // "BIKi" - Bink "1", newer, used in RAD Tools 1.5g etc.
4 bytes (uint32) - file size - 8
4 bytes (uint32) - number of frames
4 bytes (uint32) - size of largest frame in bytes
4 bytes (uint32) - number of internal frames
4 bytes (uint32) - width
4 bytes (uint32) - height
4 bytes (uint32) - frame rate
4 bytes (uint32) - frame rate divisor   // fps = framerate/divisor
4 bytes (uint32) - flags (height compression options)
4 bytes (uint32) - number of tracks

x bytes - video data // TODO

MultiEx BMS Script

Not written yet.

Compatible Programs

Other Games

These games also use this file format

  • Driver 3 *.xmv
  • MotoTrax *.bik
  • Settlers VI: Rise of an Empire *.bik
  • Thief 3: Deadly Shadows *.bik
  • Mat Hoffman's Pro BMX *.bik

See Also