Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

References

The external sources the parsers and design follow. When a source and the code disagree, the entry is in Spec deviations.

UESP

The UESP Skyrim mod pages are the reference specification. All the pages below are under Skyrim_Mod: on en.uesp.net.

PageCovers
Mod File FormatRecords, groups, subrecords, record flags, FormIds, compression
File Format ConventionsField types: zstring, wstring, lstring, formid
Archive File FormatBSA versions 104 and 105
String Table File Format.strings, .dlstrings, .ilstrings, encodings
LOD Settings File Formatlodsettings\<worldspace>.lod
Actor Value IndicesActor value index to AVIF FormId

Each record and shared field has its own sub-page of Mod File Format:

The Skyrim LAND page doesn’t describe the VTXT layout; the Oblivion LAND page fills the gap.

xEdit

xEdit (TES5Edit) is the reference implementation of the plugin format. It settles what UESP leaves open: group type 10, record layouts, the .lod size and terrain LOD block alignment (Core/wbLOD.pas). Its What’s New for 4.0.0 lists the plugin string classes and their code pages.

Other game sources

SourceCovers
niftools nif.xmlNIF header, nodes, Havok shapes
NifSkope sk_effectshader.fragHow an effect shader computes its color, alpha and falloff
Community Shaders Effect.hlslSkyrim SE’s effect shader in HLSL: the soft fade
Community Shaders Lighting.hlslSkyrim SE’s lighting shader in HLSL: normal maps, projected materials
XPMF MaterialMatcher.hppWhat the engine does with a MATO: single and multipass paths, the shader’s constants, its four textures
PapyrusExtenderSSE, Seasons of SkyrimHow plugins fill SetProjectedUVData from a MATO and a Max Angle
CommonLibSSE-NGNames of the engine’s fields: DIRECTIONAL_DATA, materialThresholdAngle
DynDOLOD: Terrain LOD and Water LODTerrain LOD tile paths: <worldspace>.<level>.<x>.<y>.dds
STEP forum: BSA extractionLoose files override every archive
How Skyrim Loads Forms (David J. Cobb)What the engine does on an override, see Load order and merging
Beyond Skyrim Arcane University: BakingNormal maps: DirectX convention, green flipped against OpenGL

Other formats

SourceCovers
SWF File Format Specification v19 (Adobe)SWF container, DefineFont3, SHAPE
OpenType specification (Microsoft)sfnt container, TrueType tables
LZ4 frame formatBSA 105 file compression
RFC 1950 (zlib)Record and BSA 104 compression, PNG image data
DDS header and programming guide (Microsoft)Texture container, mip level layout
PNG specification (W3C)Image output
PMTiles v3 (Protomaps)Tile archive: header, TileId, directories

Book markup (<font>, <img>, [pagebreak]) and fontconfig*.txt have no published specification; their handling is derived from vanilla data, see Book markup handling and Book markup assets.