Godot Engine PCK: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(40 intermediate revisions by the same user not shown)
Line 15: Line 15:
// little endian
// little endian


//header
// header
4 bytes (char) - signature // "GDPC"
4 bytes (char) - signature // "GDPC"
80 bytes - unknown
16 bytes (4 * uint32) - version  // main, major, minor, revision e.g. 1.0.0.0
64 bytes - reserved
4 bytes (uint32) - number of files
4 bytes (uint32) - number of files


// info array
 
// file index
num_of_files *
num_of_files *
{
{
Line 27: Line 29:
     8 bytes (uint64) - file offset
     8 bytes (uint64) - file offset
     8 bytes (uint64) - file size
     8 bytes (uint64) - file size
     16 bytes - file hash
     16 bytes - file hash (MD5)
}
}


// data
// data
Line 37: Line 40:
</pre>
</pre>
</div>
</div>
=== QuickBMS Script ===
* [http://aluigi.zenhax.com/bms/gdpc.bms gdpc.bms]


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


None.
* This file format occurs in games made on '''Godot Engine'''.


=== Games ===  
=== Games ===  
List of games using this file format:
List of games using this file format:
* Project Kat (*.PCK) (PC)
* Cruel World (*.PCK) (PC) (v1.3.3.0)
* Project Kat / Project Kat - Paper Lily Prologue (*.PCK) (PC)
* The Interactive Adventures of Dog Mendonça & Pizzaboy
* The Interactive Adventures of Dog Mendonça & Pizzaboy
=== QuickBMS Script ===
* [http://aluigi.zenhax.com/bms/gdpc.bms gdpc.bms]


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


None.
* [https://github.com/Bioruebe/godotdec godotdec]
<br/><br>
* [https://github.com/tehskai/godot-unpacker godot-unpacker]
* [https://github.com/DmitriySalnikov/GodotPCKExplorer Godot PCK Explorer]
* [https://github.com/hhyyrylainen/GodotPckTool Godot Pck Tool]
* [https://github.com/bruvzg/gdsdecomp Godot RE Tools]
* [https://github.com/godotengine/godot/blob/master/core/io/pck_packer.cpp PCK Packer]
* [https://gist.github.com/bruvzg/ee5a90d27856dbbd8c8561f81ee06bde pckext.cpp]
<br><br>




[[Category:Complete Complete|Project Kat PCK]]
[[Category:Complete Complete|Godot Engine PCK]]
[[Category:Platform PC|Project Kat PCK]]
[[Category:Platform PC|Godot Engine PCK]]
[[Category:CE None|Project Kat PCK]]
[[Category:CE None|Godot Engine PCK]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Extension_pck | Extension: pck]]
[[Category:Extension_pck | Extension: pck]]
[[Category:File Format]]
[[Category:File Format]]

Latest revision as of 17:32, 5 August 2022

Back to index | Edit this page

PCK

  • Format Type : Archive
  • Endian Order : Little Endian
  • Signature : GDPC


Format Specifications

// PCK file format

// little endian

// header
4 bytes (char) - signature // "GDPC"
16 bytes (4 * uint32) - version  // main, major, minor, revision e.g. 1.0.0.0
64 bytes - reserved
4 bytes (uint32) - number of files


// file index
num_of_files *
{
    4 bytes (uint32) - path length
    x bytes (char) - path + nulls  // e.g. "res://assets/img/ui/input/switch_rs.png.import"
    8 bytes (uint64) - file offset
    8 bytes (uint64) - file size
    16 bytes - file hash (MD5)
}


// data
num_of_files *
{
    x bytes - file data
}

Notes and Comments

  • This file format occurs in games made on Godot Engine.

Games

List of games using this file format:

  • Cruel World (*.PCK) (PC) (v1.3.3.0)
  • Project Kat / Project Kat - Paper Lily Prologue (*.PCK) (PC)
  • The Interactive Adventures of Dog Mendonça & Pizzaboy

QuickBMS Script

Compatible Programs