Skip to content
Alexander Ellingsen edited this page Oct 27, 2018 · 2 revisions

Structure

Name Type Info
Header Header See Header below
[type] File Records File Record See File Record below
Raw Data Blob Raw file data
Name Table Name Table See Name Table below

Header

Name Type Info
magic char[4] BTDX
version uint Currently: 1
type char[4] Values: GNRL, DX10, GNMF
numFiles uint Number of files
nameTableOffset ulong Offset to name table

GNRL File Record

Name Type Info
nameHash uint crc32 hash. Unsure how this is used
extension char[4] File extension, for example: nif or dds
dirHash uint crc32 hash. Unsure how this is used
flags uint Unknown
offset ulong Offset to raw data
size uint File size. If 0 the file is uncompressed
realSize uint File size (uncompressed)
align uint Seems to be 0DF0ADBA

Raw Data

Raw data.

Name Table

List of all the file names, in same order as File Records appear. First short being the string length.

Clone this wiki locally