Spider-Man: The Movie PKG: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
(Created page with "== PKG == * ''' Game ''': Spider-Man: The Movie <br> * ''' Format Type ''': Archive <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little...")
imported>Ikskoks
 
(7 intermediate revisions by the same user not shown)
Line 9: Line 9:
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<pre>
<pre>
\\ Spiderman: The movie PKG archive file format
// Spiderman: The movie  
// PKG archive file format


\\ HEADER
// HEADER
4 bytes - number of all folders
4 bytes - number of all folders
4 bytes - number of all files
4 bytes - number of all files
4 bytes - size of all files after unpack
4 bytes - size of all files after unpack


\\CATALOGS
// DIRECTORIES
64 bytes - name + \x00 + padding
num_of_folders *
4 bytes - number of id numbers (1008/4=252)
{
X * 4 bytes -  id number (252*4 = 1008)
  64 bytes - name + \x00 + padding
  4 bytes - number of id numbers (1008/4=252)
  X * 4 bytes -  id number (252*4 = 1008)
}


\\FILE LIST
// FILE LIST
48 bytes:
num_of_files *
40 bytes - name + \x00 + padding
{
4 bytes - size of file
  40 bytes - name + \x00 + padding
4 bytes - relative adress from the end of filelist
  4 bytes - size of file
  4 bytes - relative adress from the end of filelist
}


//FILES
// FILES
x * file_size - data
num_of_files *
{
  x bytes - data
}
</pre>
</pre>
</div>
</div>
Line 43: Line 52:


* [https://github.com/bartlomiejduda/Tools/blob/master/NEW%20Tools/Spiderman%20The%20Movie%20PKG%20Tool/Spiderman%20the%20movie%20PKG%20tool.py Spider-Man: The Movie PKG Tool]
* [https://github.com/bartlomiejduda/Tools/blob/master/NEW%20Tools/Spiderman%20The%20Movie%20PKG%20Tool/Spiderman%20the%20movie%20PKG%20tool.py Spider-Man: The Movie PKG Tool]
* [https://gamebanana.com/tools/6929 PKG Unpacker]
<br/><br>
<br/><br>


Line 52: Line 62:
[[Category:Extension_pkg | Extension: pkg]]
[[Category:Extension_pkg | Extension: pkg]]
[[Category:BMS_None | BMS: None]]
[[Category:BMS_None | BMS: None]]
[[Category:File Format]]

Latest revision as of 19:47, 15 May 2021

PKG


Format Specifications

// Spiderman: The movie 
// PKG archive file format

// HEADER
4 bytes - number of all folders
4 bytes - number of all files
4 bytes - size of all files after unpack

// DIRECTORIES
num_of_folders *
{
   64 bytes - name + \x00 + padding
   4 bytes - number of id numbers (1008/4=252)
   X * 4 bytes -  id number (252*4 = 1008)
}

// FILE LIST
num_of_files *
{
   40 bytes - name + \x00 + padding
   4 bytes - size of file
   4 bytes - relative adress from the end of filelist
}

// FILES
num_of_files *
{
   x bytes - data
}

MultiEx BMS Script

Not written yet.

Notes and Comments

None.

Compatible Programs