RE Engine PAK: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
== PAK ==  
== PAK ==  
* ''' Game ''':    Resident Evil 7 <br>
 
* ''' Format Type ''':    Archive <br>  
* ''' Format Type ''':    Archive <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
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>
// Resident Evil 7 "KITCHEN" Demo
// RE Engine games
// PAK file format
// PAK file format


Line 16: Line 16:
// header
// header
4 bytes (char) - magic // "KPKA"
4 bytes (char) - magic // "KPKA"
4 bytes (uint32) - version  // "2"
4 bytes (uint32) - version  // e.g. "2"
4 bytes (uint32) - number of files
4 bytes (uint32) - number of files
4 bytes (uint32) - nulls
4 bytes (uint32) - nulls
Line 45: Line 45:


* Version 4 of this format can have some [https://forum.xentax.com/viewtopic.php?p=125284#p125284 differences] in the specification<br>and it can also use ZLIB compression.
* Version 4 of this format can have some [https://forum.xentax.com/viewtopic.php?p=125284#p125284 differences] in the specification<br>and it can also use ZLIB compression.
* This format may occur in other '''Capcom''' games based on '''RE Engine'''.


=== Games ===  
=== Games ===  
List of games using this file format:
List of games using this file format:


* Devil May Cry 5
* Monster Hunter Rise
* Resident Evil 2
* Resident Evil 3
* Resident Evil 7
* Resident Evil 7
* Resident Evil 8 (needs confirmation!)
* Resistance


=== Compatible Programs ===  
=== Compatible Programs ===  

Latest revision as of 23:14, 25 January 2021

PAK


Format Specifications

// RE Engine games
// PAK file format

// little endian

// header
4 bytes (char) - magic // "KPKA"
4 bytes (uint32) - version  // e.g. "2"
4 bytes (uint32) - number of files
4 bytes (uint32) - nulls


num_of_files *
{
   4 bytes (uint32) - file offset
   4 bytes (uint32) - nulls
   4 bytes (uint32) - file size
   4 bytes (uint32) - nulls
   4 bytes (uint32) - hash 1
   4 bytes (uint32) - hash 2
}

num_of_files *
{
   x bytes - file data
}

MultiEx BMS Script

Not written yet.

Notes and Comments

  • Version 4 of this format can have some differences in the specification
    and it can also use ZLIB compression.
  • This format may occur in other Capcom games based on RE Engine.

Games

List of games using this file format:

  • Devil May Cry 5
  • Monster Hunter Rise
  • Resident Evil 2
  • Resident Evil 3
  • Resident Evil 7
  • Resident Evil 8 (needs confirmation!)
  • Resistance

Compatible Programs