Heart Of Darkness PAF: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
 
imported>Ikskoks
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== PAF ==  
== PAF ==  
 
* ''' Game ''':    [[Heart Of Darkness]] <br>
* ''' Format Type ''':    Archive <br>  
* ''' Format Type ''':    Archive / Video<br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>  


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 ===  


Not written yet<br><br>
Not written yet.
 
=== QuickBMS Script ===
 
* [http://aluigi.org/bms/hod_paf_splitter.bms hod_paf_splitter.bms]


=== Compatible Programs ===  
=== Compatible Programs ===  


* None - Incomplete format specifications
* [http://cyxdown.free.fr/pafdec/ paf decoder]
* [http://cyxdown.free.fr/hode/ hode]
 
<br><br>
[[Category:Complete WIP|Heart Of Darkness PAF]]
[[Category:Platform PC|Heart Of Darkness PAF]]
[[Category:CE None|Heart Of Darkness PAF]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Format_Video | Type: Video]]
[[Category:Extension_paf | Extension: paf]]
[[Category:BMS_None | BMS: None]]
[[Category:File Format]]

Latest revision as of 21:43, 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.

QuickBMS Script

Compatible Programs