Skip to content

String Table File (STBL) format

A reference written by Fogity

This page documents the String Table (STBL) format.

The format is a key-value store used to store all the game strings.

- Binary
- Little Endian
== FILE ==
HEADER file metadata
ENTRY[string count] key-string entries with metadata
== HEADER ==
byte[4] = "STBL" file identifier
uint16 = 5 format version
byte = 0 compressed (unused by Maxis and modders)
unit64 string count
byte[2] unknown/unused
uint32 total string size if null terminated
== ENTRY ==
uint32 string key
byte = 0 flags (unused by Maxis and modders)
uint16 string size
byte[string size] string data, UTF-8 (not null terminated)

Originally written by Fogity on GitLab.