Difference between revisions of "Spider-Man: The Movie PKG"

From XentaxWiki
Jump to: navigation, search
(Created page with "== PKG == * ''' Game ''': Spider-Man: The Movie <br> * ''' Format Type ''': Archive <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little...")
 
(Format Specifications)
Line 17: Line 17:
  
 
\\CATALOGS
 
\\CATALOGS
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>

Revision as of 11:01, 25 October 2020

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

\\CATALOGS
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