Table Database File (TDB) - ivybridgegp/AphroditeServerWiki GitHub Wiki

Contains tabular data such as loot tables or lookup tables about maps saying what the particular map needs

Header Information

Name Size Description
Header uint32
Build date uint32
total rows uint32 Total number of rows in the TDB file
unk00 uint32 Unknown number

Table fields

Metadata describing the contents of the file and the structure

Name Size Description
Type ID uint32 unique ID describing the data type of the field in the table
unk00 uint32
size uint32 Size of the field in bytes
relative offset uint32 Byte offset in the file
Nulls 0x1E paddings nulls
Current index uint32
Name wide char string Name of the field
unk01 uint16

Unique data types

Name Size
BOOL 1 byte
CHAR 2 byte
ENUM int32
FLOAT 4 byte, single precision
INT int32
UINT uint32