Godot Engine PCK: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
(Created page with "{{GRAFPageHeader}} == PCK == * ''' Format Type ''': Archive <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> * ''' Signature '''...")
imported>Ikskoks
Line 13: Line 13:
//header
//header
4 bytes (char) - signature // "GDPC"
4 bytes (char) - signature // "GDPC"
80 bytes - unknown
4 bytes (uint32) - number of files


// info array
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
}


// TODO
 
// data
num_of_files *
{
    x bytes - file data
}
</pre>
</pre>
</div>
</div>

Revision as of 22:01, 22 December 2021

Back to index | Edit this page

PCK

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


Format Specifications

//header
4 bytes (char) - signature // "GDPC"
80 bytes - unknown
4 bytes (uint32) - number of files

// info array
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
}


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

QuickBMS Script

Notes and Comments

None.

Games

List of games using this file format:

  • Project Kat (*.PCK) (PC)
  • The Interactive Adventures of Dog Mendonça & Pizzaboy

Compatible Programs

None.