BIK Video: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Dinoguy1000
m (→‎Other Games: alphabetization, list the extension used for the files themselves, not the name of the archive they're located in)
imported>Ikskoks
Line 8: Line 8:


<tt><b>
<tt><b>
'''Bink "1" file format'''
uint32 {4}&nbsp;&nbsp; - Header <font color="purple">(BIKi)</font> <br>  
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; - <font color="red"> '' archiveSize? <font color="purple">(a little too big)</font> '' </font> <br>  
Line 29: Line 31:
<br>
<br>
</b></tt>
</b></tt>
'''Bink "0" file format (OLD Bink video)'''
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<pre>
//header
4 bytes (uint32) - magic // "BIKf"
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
</pre>
</div>


=== MultiEx BMS Script ===  
=== MultiEx BMS Script ===  

Revision as of 22:29, 24 October 2020

BIK


Format Specifications

Bink "1" file format

uint32 {4}   - Header (BIKi)
uint32 {4}   - archiveSize? (a little too big)
uint32 {4}   - Number Of Frames
uint32 {4}   - Largest Frame Size (in bytes)
uint32 {4}   - Number Of Frames (again?)
uint32 {4}   - Unknown
uint32 {4}   - Video Width (in pixels)
uint32 {4}   - Video Height (in pixels)
uint32 {4}   - Frames-Per-Second (FPS)
uint32 {4}   - Unknown
uint32 {4}   - Unknown (1)
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown

// for each frame

uint32 {4}   - Frame Offset


byte {X}     - Frame Data


Bink "0" file format (OLD Bink video)

//header
4 bytes (uint32) - magic // "BIKf"
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