
TBL Format
TBL files are lists of strings, and the games use an index to look up the corresponding string. TBL files contain unit names and stats, dialog and game texts, file paths to resources such as graphics or sounds, etc. TBL files are used in StarCraft and WarCraft II.
For a converter between TBL files and TXT files, see IronTBL.
- Download TBL hexpat file for the ImHex hex editor.
String count
Offset | 0x0000 |
Length | 2 bytes |
Description | Number of strings in file. |
Values | Integer value between 0 and 65535. |
Offsets
Offset | 0x0002 |
Length | 2 bytes * string count |
Description | Offset in the file to the corresponding string. |
Values | Integer value between 0 and 65535. |
Strings
Offset | Variable |
Length | Offset for next string - offset for current string. |
Description | The string data. The string is between the offset for string and the offset for string . The last string is between its offset and the end of the file. |
Values | Any string data and control characters, including multiple NULL characters. |