The Amazing Spider-Man PKZ: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
(Created page with "== PKZ == * ''' Game ''': The Amazing Spider-Man <br> * ''' Format Type ''': Archive <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little End...")
imported>Ikskoks
 
(11 intermediate revisions by the same user not shown)
Line 3: Line 3:
* ''' Format Type ''':    Archive <br>  
* ''' Format Type ''':    Archive <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian / Big Endian<br>
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian / Big Endian<br>
* ''' Signature ''': \xB0\xB1\xBE\xBA or \xBA\xBE\xB1\xB0<br>




Line 18: Line 19:


//header
//header
4 bytes (uint32) - ID // "\xB0\xB1\xBE\xBA" - big endian
4 bytes (uint32) - Signature // "\xB0\xB1\xBE\xBA" - big endian
                      // "\xBA\xBE\xB1\xB0" - little endian
                              // "\xBA\xBE\xB1\xB0" - little endian


4 bytes (uint32) - chunk size
4 bytes (uint32) - chunk size
Line 63: Line 64:
=== Notes and Comments ===  
=== Notes and Comments ===  


None.
* Files inside archive are compressed with '''ZLIB compression'''.


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


None.
* [http://aluigi.altervista.org/mytoolz/offzip.zip Offzip]
<br/><br>
<br/><br>


Line 77: Line 78:
[[Category:Extension_pkz | Extension: pkz]]
[[Category:Extension_pkz | Extension: pkz]]
[[Category:BMS_None | BMS: None]]
[[Category:BMS_None | BMS: None]]
[[Category:ZLIB compression]]
[[Category:File Format]]
[[Category:File Format]]

Latest revision as of 19:21, 24 October 2021

PKZ

  • Game : The Amazing Spider-Man
  • Format Type : Archive
  • Endian Order : Little Endian / Big Endian
  • Signature : \xB0\xB1\xBE\xBA or \xBA\xBE\xB1\xB0


Format Specifications

// The Amazing Spider-Man (PC)
// PKZ file format

// little endian or big endian

// Note: Files are compressed with zlib


//header
4 bytes (uint32) - Signature  // "\xB0\xB1\xBE\xBA" - big endian
                              // "\xBA\xBE\xB1\xB0" - little endian

4 bytes (uint32) - chunk size
4 bytes (uint32) - data start offset
4 bytes (uint32) - unknown
4 bytes (uint32) - number of files
4 bytes (uint32) - total compressed size (for all files)
4 bytes (uint32) - total uncompressed size (for all files)


//size array
num_of_files *
{
   4 bytes (uint32) - file size   // comp size??
}


//some array
num_of_entries *
{
   4 bytes (uint32) - entry
}

x bytes - padding



//data
num_of_files *
{
   x bytes - file data  
}


// TODO - needs some corrections

MultiEx BMS Script

Not written yet.

Notes and Comments

  • Files inside archive are compressed with ZLIB compression.

Compatible Programs