Survival Project PAK IDX: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Mr.Mouse
imported>Ikskoks
 
(7 intermediate revisions by 2 users not shown)
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 -->
== IDX PAK ==  
== IDX (PAK) ==  


* ''' Format Type ''':    Archive <br>  
* ''' Format Type ''':    Archive <br>  
Line 11: Line 10:


=== Format Specifications ===  
=== Format Specifications ===  
<!-- Insert format specs here using <pre></pre> -->


<pre>// General structure
<tt><b>
 
<font color="blue"> ''' // IDX FILE ''' </font> <br>
char{38} Header
: char {8}&nbsp;&nbsp;&nbsp;&nbsp; - Header <font color="purple">(200472 + null x2)</font> <br>
char{267} Resource info
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
 
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
// Header
: 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 color="purple">(1026)</font> '' </font> <br>
char{6} Identity tag '200472'  
: uint16 {2}&nbsp;&nbsp; - Number Of Files <br>
uint16{2} Unknown  
: uint32 {4}&nbsp;&nbsp; - Index File Length <br>
uint32{4} Unknown
: uint32 {4}&nbsp;&nbsp; - Number Of Files <br>
uint32{4} Unknown
<br>
uint32{4} Unknown
: <font color="blue"> ''' // for each file ''' </font> <br>
uint32{4} Unknown
:: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
uint32{4} Unknown
:: char {255}&nbsp;&nbsp; - Filename <font color="purple">(null Terminated, filled with junk)</font> <br>
uint16{2} Number of resources
:: uint32 {4}&nbsp;&nbsp; - File Length <br>
uint32{4} Size of archive/index file
:: uint32 {4}&nbsp;&nbsp; - File Offset <br>
uint32{4} Number of resources
<br><br>
 
<font color="blue"> ''' // PAK FILE ''' </font> <br>
// Resource info
: char {8}&nbsp;&nbsp;&nbsp;&nbsp; - Header <font color="purple">(200472 + null x2)</font> <br>
 
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
uint32{4} Unknown
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
char{255} Resource name
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
(it looks like the maximum length is 255, and the names
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
are null-terminated. Junk is used to pad up to 255?
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
uint32{4} Resource Size in PAK file
: uint16 {2}&nbsp;&nbsp; - Number Of Files <br>
uint32{4} Resource Offset in PAK file
: uint32 {4}&nbsp;&nbsp; - Archive File Length <br>
</pre>
: uint32 {4}&nbsp;&nbsp; - Number Of Files <br>
<br>
: <font color="blue"> ''' // for each file ''' </font> <br>
:: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>
</b></tt>


=== MultiEx BMS ===  
=== MultiEx BMS ===  
<!--  Insert BMS script here using <pre></pre> -->


* Processed by MexCom plugin.  
* Processed by MexCom plugin.  


=== Notes and Comments ===  
=== Notes and Comments ===  
<!-- Insert comments here -->


1. The IDX files are actually index files, specifying contents of .PAK files that contain the actual resources. For examples, the image.idx file refers to a image.pak file.
The *.idx file contains the directory, the *.pak file contains the file data<br>
Images.pak contains .PGF files, a relatively new graphics format. Headers seem to be stripped from these files.<br>


2. The PAK files also have a header. Resources start at 38.
=== Supported Programs ===


3. Images.pak contains .PGF files, a relatively new graphics format. Headers seem to be stripped from these files.
* [[Game Extractor|Game Extractor]]<br>
* [[MultiEx Commander]]


=== Supported by Programs ===
<!-- Insert programs that open the format here -->


* [[MultiEx Commander]]
[[Category:Extension_pak | Extension: pak]]
[[Category:File Format]]

Latest revision as of 19:32, 29 March 2022

Choose archive extension:

IDX + PAK


Format Specifications

// IDX FILE

char {8}     - Header (200472 + null x2)
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown (1026)
uint16 {2}   - Number Of Files
uint32 {4}   - Index File Length
uint32 {4}   - Number Of Files


// for each file
uint32 {4}   - Unknown
char {255}   - Filename (null Terminated, filled with junk)
uint32 {4}   - File Length
uint32 {4}   - File Offset



// PAK FILE

char {8}     - Header (200472 + null x2)
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint16 {2}   - Number Of Files
uint32 {4}   - Archive File Length
uint32 {4}   - Number Of Files


// for each file
byte {X}     - File Data

MultiEx BMS

  • Processed by MexCom plugin.

Notes and Comments

The *.idx file contains the directory, the *.pak file contains the file data
Images.pak contains .PGF files, a relatively new graphics format. Headers seem to be stripped from these files.

Supported Programs