Spider-Man: The Movie PKG: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(One intermediate revision 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
num_of_folders *
num_of_folders *
{
{
Line 24: Line 25:
}
}


\\FILE LIST
// FILE LIST
num_of_files *
num_of_files *
{
{
Line 32: Line 33:
}
}


//FILES
// FILES
num_of_files *
num_of_files *
{
{

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