Heart Of Darkness PAF: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 7: Line 7:
=== Format Specifications ===  
=== Format Specifications ===  


<tt><b>
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
uint32 {4}&nbsp;&nbsp; - Header Offset <br>  
<pre>
<br>
// Heart Of Darkness
<font color="blue"> ''' // repeat until reach header offset ''' </font> <br>
// PAF file format
: uint16 {2}&nbsp;&nbsp; - <font color="red"> '' ID Number? '' </font> <br>
 
: uint16 {2}&nbsp;&nbsp; - <font color="red"> '' Offset to something? '' </font> <br>
// little endian
<br>
 
char {128}&nbsp;&nbsp; - Header <font color="purple">(Packed Animation File V1.0 (c) 1992-96 Amazing Studio + (byte)10 + (byte)26 + nulls to fill)</font> <br>
 
byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
//offset array
<br>
num_of_files *
</b></tt>
{
  4 bytes (uint32) - file offset
}
 
 
num_of_files *
{
  //PAF structure
  56 bytes - PAF signature // "Packed Animation File V1.0.(c) 1992-96 Amazing Studio"
  72 bytes - reserved
  4 bytes (uint32) - frame count
  4 bytes (uint32) - video width
  4 bytes (uint32) - video height
  4 bytes (uint32) - read buffer size
  4 bytes (uint32) - num. of frame blocks
  4 bytes (uint32) - frame blocks count
  4 bytes (uint32) - offset of data
  4 bytes (uint32) - max video frames
  4 bytes (uint32) - max audio frames
  x bytes - video and audio data
}
</pre>
</div>


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

Revision as of 21:39, 29 October 2020

PAF


Format Specifications

// Heart Of Darkness
// PAF file format

// little endian


//offset array
num_of_files *
{
   4 bytes (uint32) - file offset
}


num_of_files *
{
   //PAF structure
   56 bytes - PAF signature // "Packed Animation File V1.0.(c) 1992-96 Amazing Studio"
   72 bytes - reserved
   4 bytes (uint32) - frame count
   4 bytes (uint32) - video width
   4 bytes (uint32) - video height
   4 bytes (uint32) - read buffer size
   4 bytes (uint32) - num. of frame blocks
   4 bytes (uint32) - frame blocks count
   4 bytes (uint32) - offset of data
   4 bytes (uint32) - max video frames
   4 bytes (uint32) - max audio frames
   x bytes - video and audio data
}

MultiEx BMS Script

Not written yet

Compatible Programs