Trinity Pack (trpak)#
Description:#
The trpak is a container of files. These containers exist inside the trpfs. Files can be compressed with Zlib, LZ4 or Oodle.
Schema:#
namespace Titan.FileSystem;
enum CompressionType : int8 {
None = -1,
Zlib = 1,
Lz4 = 2,
Oodle = 3,
}
table FileEntry {
res_0: uint32;
compress_type: CompressionType = -1;
unk_2: uint8;
file_size: uint64;
byte_buffer: [uint8];
}
table TRPAK {
file_hashes: [uint64];
file_entry: [FileEntry];
}
root_type TRPAK;