CRI Middleware CPK: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks (→CPK) |
||
| (16 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
* ''' 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 / Big Endian <br> | ||
* ''' Signature ''': CPK <br> | * ''' Signature ''': CPK <br> | ||
| Line 11: | Line 11: | ||
<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> | ||
// header | Note: packet header is little endian and data inside packet is big endian | ||
// packet header | |||
4 bytes (char) - signature // "CPK " | 4 bytes (char) - signature // "CPK " | ||
4 bytes (uint32) - unknown // always 255 | |||
4 bytes (uint32) - packet size | |||
4 bytes (uint32) - unknown // always 0 | |||
// table header | |||
4 bytes (char) - signature // "@UTF" | |||
4 bytes (uint32) - table size | |||
// table info | |||
4 bytes (uint32) - rows offset | |||
4 bytes (uint32) - strings offset | |||
4 bytes (uint32) - data offset | |||
4 bytes (uint32) - table name offset (relative to strings offset) | |||
2 bytes (uint16) - number of columns | |||
2 bytes (uint16) - row length in bytes | |||
4 bytes (uint32) - number of rows | |||
// TODO | |||
</pre> | </pre> | ||
</div> | </div> | ||
| Line 28: | Line 50: | ||
* Bayonetta | * Bayonetta | ||
* Bayonetta 2 | * Bayonetta 2 | ||
* Corpse Party 2U | |||
* Dragon's Crown | * Dragon's Crown | ||
* Danganronpa Another Episode: Ultra Despair Girls | * Danganronpa Another Episode: Ultra Despair Girls | ||
| Line 61: | Line 84: | ||
* Star Fox Zero | * Star Fox Zero | ||
* Steins;Gate | * Steins;Gate | ||
* Time Travelers | |||
* Tokyo Mirage Sessions ?FE Encore | * Tokyo Mirage Sessions ?FE Encore | ||
* Vanquish | * Vanquish | ||
| Line 73: | Line 97: | ||
* [https://cdn.discordapp.com/attachments/316238229948989450/396825846633070592/CriPakGUI.zip CriPakGUI] | * [https://cdn.discordapp.com/attachments/316238229948989450/396825846633070592/CriPakGUI.zip CriPakGUI] | ||
* [https://github.com/esperknight/CriPakTools/ CriPakTools] | * [https://github.com/esperknight/CriPakTools/ CriPakTools] | ||
* [https://cdn.discordapp.com/attachments/448202199852646431/699838967625023528/crifilesystem.zip CRI Packed File Maker] | |||
* Noesis (native support for CPK) | * Noesis (native support for CPK) | ||
* VGMToolBox (Misc. Tools>Extraction tools>Common Archives) | |||
=== See Also === | |||
* [https://amicitia.miraheze.org/wiki/CPK CPK info (amicitia.miraheze.org)] | |||
* [https://wiki.vg-resource.com/CPK CPK info (wiki.vg-resource.com)] | |||
* [https://gist.github.com/unknownbrackets/78c4631a4091044d381432ffb7f1bae4 CPK file format (Valkyria Chronicles 3)] | |||
<br/><br> | <br/><br> | ||
Latest revision as of 21:39, 2 December 2022
Back to index | Edit this page
CPK
- Format Type : Archive
- Endian Order : Little Endian / Big Endian
- Signature : CPK
Format Specifications
Note: packet header is little endian and data inside packet is big endian // packet header 4 bytes (char) - signature // "CPK " 4 bytes (uint32) - unknown // always 255 4 bytes (uint32) - packet size 4 bytes (uint32) - unknown // always 0 // table header 4 bytes (char) - signature // "@UTF" 4 bytes (uint32) - table size // table info 4 bytes (uint32) - rows offset 4 bytes (uint32) - strings offset 4 bytes (uint32) - data offset 4 bytes (uint32) - table name offset (relative to strings offset) 2 bytes (uint16) - number of columns 2 bytes (uint16) - row length in bytes 4 bytes (uint32) - number of rows // TODO
Notes and Comments
- This file format occurs in games made using CRI Middleware.
Games
List of games using this file format:
- Anarchy Reigns
- Ano Hi Mita Hana no Namae o Bokutachi wa Mada Shiranai
- Bakemonogatari Portable
- Bayonetta
- Bayonetta 2
- Corpse Party 2U
- Dragon's Crown
- Danganronpa Another Episode: Ultra Despair Girls
- Danganronpa V3: Killing Harmony
- Fairy Tail: Portable Guild
- Fate/Extra
- Fate/Extra CCC
- Final Fantasy Brave Exvius
- Hyperdimension Neptunia
- J-Stars Victory Vs
- JoJo's Bizarre Adventure: All Star Battle
- JoJo's Bizarre Adventure: Eyes of Heaven
- Mario & Sonic at the London 2012 Olympic Games
- Mario & Sonic at the Rio 2016 Olympic Games
- Mario & Sonic at the Olympic Games Tokyo 2020
- Mario & Sonic at the Olympic Winter Games
- Metal Gear Rising: Revengeance
- Nier: Automata
- Nichijou: Uchuujin
- Otome wa Boku ni Koishiteru Portable
- Persona 3 Portable
- Persona 4 Golden
- Persona 5 / Persona 5: Dancing in Starlight
- Persona Q2
- Pripara Aim Mezase Idol Grand Prix No.1
- Sakura-Sou no Pet na Kanojo
- Sword Art Online: Infinity Moment
- Sonic Forces
- Sonic Generations
- Sonic Lost World
- Sonic The Hedgehog 4: Episode 1
- Star Fox Guard
- Star Fox Zero
- Steins;Gate
- Time Travelers
- Tokyo Mirage Sessions ?FE Encore
- Vanquish
- Xenoblade Chronicles X
QuickBMS Script
Compatible Programs
- CriPakGUI
- CriPakTools
- CRI Packed File Maker
- Noesis (native support for CPK)
- VGMToolBox (Misc. Tools>Extraction tools>Common Archives)
See Also
- CPK info (amicitia.miraheze.org)
- CPK info (wiki.vg-resource.com)
- CPK file format (Valkyria Chronicles 3)