Format:Bethesda localized strings (STRINGS, DLSTRINGS, ILSTRINGS)
| Extensions | .STRINGS, .DLSTRINGS, .ILSTRINGS |
|---|---|
| Endianness | little |
| On this wiki | Facts · Code · Notes · Topics |
String tables of Bethesda plugins whose localized flag is set: Data/Strings/<plugin>_<language>.STRINGS, .DLSTRINGS and .ILSTRINGS, each with an 8-byte header (count, data size), an id/offset directory and a data area; .STRINGS holds null-terminated strings, the other two a length prefix.
Identification
A plugin with the localized flag (0x80 in the TES4 record flags, see Format:Bethesda plugin (ESP, ESM, ESL)) stores 32-bit string ids in its subrecords instead of text. The text lives in three files under the game's Data\Strings folder, named <plugin name without extension>_<language><extension>, for example Plugin_English.STRINGS. There is no magic number; identify by the name and by header plausibility (Unverified: 8 + 8 x count + data size should equal the file size).
Layout
Header: u32 string count, u32 data size. Directory: count pairs of u32 string id and u32 offset; the offset is relative to the start of the data area, which begins at 8 + count x 8. Then the data area.
- .STRINGS: each string is null-terminated bytes.
- .DLSTRINGS and .ILSTRINGS: each string is a u32 length (which includes the terminating null) followed by that many bytes ending in a null.
Which file holds what
xEdit places subrecord text by rule: every DESC except in LSCR, QUST CNAM (quest log entry) and BOOK CNAM go to DLSTRINGS; every INFO subrecord except RNAM (dialogue lines) goes to ILSTRINGS; all else (names, full names, etc.) to STRINGS.
Encoding
The files carry no encoding marker. xEdit picks a code page from the language suffix in the file name and allows an override from a .cpoverride file beside the strings file, with a fallback encoding for decoding errors. Unverified: which code page the games themselves use per language; test with a sample.
Ids
xEdit starts new ids at 1 and keeps the highest id plus one. Unverified: whether ids are unique across the three file types of one plugin.
Code & repositories
- https://github.com/TES5Edit/TES5Edit @
9fb016884bec138ea6c7b872cec831537d464c3e· license: MPL-2.0
xEdit; Core/wbLocalization.pas reads and writes the .STRINGS, .DLSTRINGS and .ILSTRINGS files.
Tested on: source read, not run: source read, not built or run · checked 2026-10-19; last activity 2026-10-19; Note: the latest release ships binaries; the wiki links only the source, never the binaries
Evidence & references
xEdit (TES5Edit, MPL-2.0) Core/wbLocalization.pas; see the attached facts. Nothing was run.