TPF
From DarkSoulsDev
TPF files contain one or more DDS texture files, a proprietary image format for DirectX.
struct Header
{
/* 0x00 */ char magic[4]; // 'TPF '
/* 0x04 */ uint32_t data_size; // Texture size
/* 0x08 */ uint32_t num_entries;
/* 0x0C */ uint32_t unk; // 131840
}
struct DataEntry
{
/* 0x00 */ uint32_t position;
/* 0x04 */ uint32_t size;
/* 0x08 */ uint32_t unk1; // 65802?
/* 0x0C */ uint32_t name_position;
/* 0x10 */ uint32_t unk3; // null
}
Zero-terminated strings, non padded.
2073 18560 65802 816 0
20633 (= 18560 + 2073) 18560 65802 831 0
39193 18560 65802