Godot Engine PCK: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
No edit summary
Line 40: Line 40:
</pre>
</pre>
</div>
</div>
=== QuickBMS Script ===
* [http://aluigi.zenhax.com/bms/gdpc.bms gdpc.bms]


=== Notes and Comments ===  
=== Notes and Comments ===  
Line 53: Line 49:
* Project Kat / Project Kat - Paper Lily Prologue (*.PCK) (PC)
* 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 ===  


* [https://github.com/Bioruebe/godotdec godotdec]
* [https://github.com/Bioruebe/godotdec godotdec]
<br/><br>
<br><br>





Revision as of 18:47, 7 March 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  // version, 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:

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


QuickBMS Script

Compatible Programs