GRAF:Jack Orlando PAK PHK PH2: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
mNo edit summary
Line 1: Line 1:
[[GRAFs|Back to index]]
* [[GRAFs|Return to the list of games]]


Choose archive extension:
Choose archive extension:  


<!-- Insert the extension of the file here -->
== PAK, PHK, PH2 ==  
== PAK, PHK, PH2 ==  


* ''' Format Type ''':    Archive <br>  
* ''' Format Type ''':    Archive <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>  
* ''' Forum Threads ''': None <br>
* ''' Date Posted ''': Dec. 10, 2005 10:05 PM <br>




=== Format Specifications ===  
=== Format Specifications ===  
<tt><b>
<tt><b>
char {4}&nbsp;&nbsp; - Sign &quot;PAK\0&quot;<br>  
char {4}&nbsp;&nbsp;&nbsp;&nbsp; - Header <font color="purple">("PAK" + null)</font> <br>  
uint32 {4}&nbsp;&nbsp; - Number Of Files <br>  
uint32 {4}&nbsp;&nbsp; - Number Of Files <br>  
uint32 {4}&nbsp;&nbsp; - Directory Offset <br>  
uint32 {4}&nbsp;&nbsp; - First File Offset <br>  
uint32 {4}&nbsp;&nbsp; - usually zero <br>  
uint32 {4}&nbsp;&nbsp; - null <br>  
<br>
<br>
<font color="blue"> ''' // Directory ''' </font> <br>  
<font color="blue"> ''' // DIRECTORY ''' </font> <br>  
: <font color="blue"> ''' // for each file ''' </font> <br>  
: <font color="blue"> ''' // for each file ''' </font> <br>  
:: uint32 {4}&nbsp;&nbsp; - File Offset (absolute) <br>  
:: uint32 {4}&nbsp;&nbsp; - File Offset <br>  
:: uint32 {4}&nbsp;&nbsp; - File Length <br>  
:: uint32 {4}&nbsp;&nbsp; - File Length <br>  
:: uint32 {4}&nbsp;&nbsp; - Filename Length <br>  
:: uint32 {4}&nbsp;&nbsp; - Filename Length <font color="purple">(including null terminator)</font> <br>
:: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Filename <br>
:: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null Filename Terminator <br>
<br>
byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
</b></tt>
</b></tt>


=== Notes and Comments ===
=== MultiEx BMS ===  
None
 
 
=== MultiEx BMS Script ===
Not written yet
 
 
=== Supported by Programs ===  
None


Not written yet<br><br>
<br>
=== Supported Programs ===


=== Other Games ===
* [[Game Extractor|Game Extractor]]<br>
None

Revision as of 09:28, 20 December 2005

Choose archive extension:

PAK, PHK, PH2


Format Specifications

char {4}     - Header ("PAK" + null)
uint32 {4}   - Number Of Files
uint32 {4}   - First File Offset
uint32 {4}   - null

// DIRECTORY

// for each file
uint32 {4}   - File Offset
uint32 {4}   - File Length
uint32 {4}   - Filename Length (including null terminator)
char {X}     - Filename
byte {1}     - null Filename Terminator


byte {X}     - File Data

MultiEx BMS

Not written yet


Supported Programs