Activision PKR3: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(6 intermediate revisions by the same user not shown)
Line 59: Line 59:
=== Notes and Comments ===  
=== Notes and Comments ===  


* It seems that this file format is shared between few Activision games.
* It seems that this file format is shared between few Activision games and it may be next version of [[Tony Hawk - Pro Skater 2|PKR2]] file format.


=== Games ===  
=== Games ===  
Line 70: Line 70:
* [http://www.thps-mods.com/forum/viewtopic.php?t=796 PKR3 Editor]
* [http://www.thps-mods.com/forum/viewtopic.php?t=796 PKR3 Editor]
* [[Game Extractor]]
* [[Game Extractor]]
* [https://github.com/krystalgamer/spidey-tools/tree/master/pkr_extractor spidey-tools / pkr_extractor]


==Gallery==
==Gallery==

Latest revision as of 14:12, 15 November 2020

PKR


Format Specifications

// Activision games
// 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

  • It seems that this file format is shared between few Activision games and it may be next version of PKR2 file format.

Games

List of games using this file format:

Compatible Programs

Gallery