Skip to main content

RPKG

RPKGs (Retail/Runtime Packages) are the archive format Glacier 2 Engine games use.

HITMAN 3#

Base archive structure#

TypeDescription
string2KPR
uint32_tunknown (always seems to be 0x1)
uint8_tchunk number
uint8_tunknown (always seems to be 0x0)
uint8_tchunk patch number
uint8_tunknown (always seems to be 0x78)
uint8_tunknown (always seems to be 0x78)
uint32_thash file count
uint32_thash file data table size
hash file data table, per entry:#
TypeDescription
uint64_thash file hash value
uint64_thash file data offset
uint32_thash file data size
hash file meta data table, per entry:#
TypeDescription
uint32_thash file hash reference table size
uint32_tunknown (always seems to be 0x0)
uint32_thash size final
uint32_thash size in memory
uint32_thash size in video memory
if the hash file hash reference table size is > 0 and there are hash references#
TypeDescription
uint32_thash reference file count
hash reference file types/flags, per entry:#
TypeDescription
uint8_thash reference file type/flag
hash reference file hash values, per entry:#
TypeDescription
uint64_thash file hash value

Patch archive structure#

TypeDescription
string2KPR
uint32_tunknown (always seems to be 0x1)
uint8_tchunk number
uint8_tunknown (always seems to be 0x0)
uint8_tchunk patch number
uint8_tunknown (always seems to be 0x78)
uint8_tunknown (always seems to be 0x78)
uint32_thash file count
uint32_thash file data table size
uint32_tpatch deletion entry count
patch entries (if patch deletion entry count > 0):#
TypeDescription
uint64_thash file hash value
hash file data table, per entry:#
TypeDescription
uint64_thash file hash value
uint64_thash file data offset
uint32_thash file data size
hash file meta data table, per entry:#
TypeDescription
uint32_thash file hash reference table size
uint32_tunknown (always seems to be 0x0)
uint32_thash size final
uint32_thash size in memory
uint32_thash size in video memory
if the hash file hash reference table size is > 0 and there are hash references#
TypeDescription
uint32_thash reference file count
hash reference file types/flags, per entry:#
TypeDescription
uint8_thash reference file type/flag
hash reference file hash values, per entry:#
TypeDescription
uint64_thash file hash value

HITMAN 2#

HITMAN 1#