Activision PKR3: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 56: Line 56:
=== MultiEx BMS Script ===  
=== MultiEx BMS Script ===  


Not written yet.
* [https://forum.xentax.com/download/file.php?id=1245 PKR3 scripts]


=== Notes and Comments ===  
=== Notes and Comments ===  

Revision as of 22:02, 13 November 2020

PKR


Format Specifications

// Mat Hoffman's Pro BMX
// PKR file format

// little endian

// Note: Data may be compressed with zlib


// header
4 bytes (char) - magic // "PKR3"
4 bytes (uint32) - tail offset

// data
num_of_files *
{
   x bytes - file data (compressed or not)
}


// tail
4 bytes (uint32) - unknown // "4"
4 bytes (uint32) - number of folders
4 bytes (uint32) - number of files


num_of_folders *
{
   32 bytes (char) - folder path + padding // "data\movies\Intro\" etc.
   4 bytes (uint32) - number of files in previous folders
   4 bytes (uint32) - number of files in current folder
}

number_of_files *
{
   32 bytes (char) - filename + padding // "Act02.bik"
   4 bytes - CRC32 value
   4 bytes (int32) - compression marker // "-2" - uncompressed
                                        // "2" - compressed
   4 bytes (uint32) - file offset
   4 bytes (uint32) - uncompressed file size
   4 bytes (uint32) - compressed file size
}

MultiEx BMS Script

Notes and Comments

None.

Compatible Programs

Gallery