RE Engine PAK: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| (29 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
== PAK == | == PAK == | ||
* ''' 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> | ||
// | // 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 | 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 44: | Line 44: | ||
=== Notes and Comments === | === Notes and Comments === | ||
* 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 === | |||
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 === | === Compatible Programs === | ||
* [https://github.com/bartlomiejduda/Tools/blob/master/NEW%20Tools/Resident%20Evil%207/RE7_Kitchen_PAK_Tool.py RE7_Kitchen_PAK_Tool.py] | * [https://github.com/bartlomiejduda/Tools/blob/master/NEW%20Tools/Resident%20Evil%207/RE7_Kitchen_PAK_Tool.py RE7_Kitchen_PAK_Tool.py] | ||
* [https://residentevilmodding.boards.net/thread/10567/pak-tex-editing-tool RETool] | |||
<br/><br> | <br/><br> | ||
[[Category:Complete | [[Category:Complete Complete|Resident Evil 7 PAK]] | ||
[[Category:Platform PC|Resident Evil 7 PAK]] | [[Category:Platform PC|Resident Evil 7 PAK]] | ||
[[Category:CE None|Resident Evil 7 PAK]] | [[Category:CE None|Resident Evil 7 PAK]] | ||
| Line 58: | Line 71: | ||
[[Category:Extension_pak | Extension: pak]] | [[Category:Extension_pak | Extension: pak]] | ||
[[Category:BMS_None | BMS: None]] | [[Category:BMS_None | BMS: None]] | ||
[[Category:ZLIB compression]] | |||
[[Category:File Format]] | [[Category:File Format]] | ||
Latest revision as of 23:14, 25 January 2021
PAK
- Format Type : Archive
- Endian Order : Little Endian
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