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.
| Page | Covers |
|---|---|
| Mod File Format | Records, groups, subrecords, record flags, FormIds, compression |
| File Format Conventions | Field types: zstring, wstring, lstring, formid |
| Archive File Format | BSA versions 104 and 105 |
| String Table File Format | .strings, .dlstrings, .ilstrings, encodings |
| LOD Settings File Format | lodsettings\<worldspace>.lod |
| Actor Value Indices | Actor value index to AVIF FormId |
Each record and shared field has its own sub-page of Mod File Format:
- Records: ARMO, BOOK, CELL, CONT, FACT, GRAS, LAND, LCTN, LIGH, LTEX, LVLI, NAVM, NPC_, REFR, STAT, TES4, TXST, WRLD.
- Fields: NVNM (navmesh geometry), OBND (object bounds), VMAD (attached Papyrus scripts).
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
| Source | Covers |
|---|---|
| niftools nif.xml | NIF header, nodes, Havok shapes |
NifSkope sk_effectshader.frag | How an effect shader computes its color, alpha and falloff |
Community Shaders Effect.hlsl | Skyrim SE’s effect shader in HLSL: the soft fade |
Community Shaders Lighting.hlsl | Skyrim SE’s lighting shader in HLSL: normal maps, projected materials |
XPMF MaterialMatcher.hpp | What the engine does with a MATO: single and multipass paths, the shader’s constants, its four textures |
| PapyrusExtenderSSE, Seasons of Skyrim | How plugins fill SetProjectedUVData from a MATO and a Max Angle |
| CommonLibSSE-NG | Names of the engine’s fields: DIRECTIONAL_DATA, materialThresholdAngle |
| DynDOLOD: Terrain LOD and Water LOD | Terrain LOD tile paths: <worldspace>.<level>.<x>.<y>.dds |
| STEP forum: BSA extraction | Loose 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: Baking | Normal maps: DirectX convention, green flipped against OpenGL |
Other formats
| Source | Covers |
|---|---|
| SWF File Format Specification v19 (Adobe) | SWF container, DefineFont3, SHAPE |
| OpenType specification (Microsoft) | sfnt container, TrueType tables |
| LZ4 frame format | BSA 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.