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.
Format Specification
Section titled “Format Specification”- Binary- Little Endian
== FILE ==HEADER file metadataENTRY[string count] key-string entries with metadata
== HEADER ==byte[4] = "STBL" file identifieruint16 = 5 format versionbyte = 0 compressed (unused by Maxis and modders)unit64 string countbyte[2] unknown/unuseduint32 total string size if null terminated
== ENTRY ==uint32 string keybyte = 0 flags (unused by Maxis and modders)uint16 string sizebyte[string size] string data, UTF-8 (not null terminated)
Originally written by Fogity on GitLab.