User Tools

Site Tools


Universal Tree Format

Binary format used by most content assets in Freelancer. Stores hierarchical structure with named nodes and arbitrary fixed length binary content. Not to dissimilar to XML but significantly simpler.

Header at least is 56 bytes.

Offset Type Name Description
0x00 uint32 Signature FourCC signature. Must always be 0x20465455 (UTF ).
0x04 uint32 Version UTF version. Must always be 0x101.
0x08 uint32 Tree offset Typically 56 as tree follows right after header.
0x0C uint32 Tree size Bytes used by tree. Divide by entry size to get number of entries in tree.
0x10 uint32 Unused entry offset Skip reading entries to offset, usually is 0.
0x14 uint32 Entry size Byte length of single entry record in tree.
0x18 uint32 Names offset Location of entry names dictionary.
0x1C uint32 Names allocated size Bytes pre-allocated for names.
0x20 uint32 Names used size Bytes actually used by dictionary.
0x24 uint32 Data start offset Entry values start offset
0x28 uint32 Unused offset
0x2C uint32 Unused size
0x30 uint32 Filetime low 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC).
0x34 uint32 Filetime high


Usually 44 bytes.

Offset Type Name Description
0x00 uint32 Next sibling offset
0x04 uint32 Dictionary name offset
0x08 uint32 Entry type Directory or file
0x0C uint32 Sharing attributes
0x10 uint32 Child or data offset Offset to child entry if type is 0x80 or to data if type is 0x10
0x14 uint32 Allocated data size
0x18 uint32 Used data size
0x20 uint32 Uncompressed data size
0x24 uint32 Creation time
0x28 uint32 Last access time
0x2C uint32 Last write time


Dictionary of names is simply a sequence of NUL terminated C-strings. Characters are limited to ASCII range.

utf/universal_tree_format.txt · Last modified: 2018/06/17 13:19 by treewyrm