Reported data problems
Data the code can’t use as is. Each row says what the code does instead and why it reports it. Log levels follow Logging: a recovered problem is a warning, a known limitation is debug output.
Unresolvable FormIds
Reference: UESP Mod File Format, FormIds. Resolution in FormIds and GlobalFormIds.
| Problem | Code | Why |
|---|---|---|
| A record’s FormId has a master index past the plugin itself | The record is dropped and reported | No safe fallback for the record’s own identity |
Same case for a VMAD Object value on a BOOK | Kept, with formId: null and the raw local id | Dropping a property would hide the rest of the script data |
Same case for a BOOK DATA spell or a KWDA keyword | Left out, one warning with the count | The rest of the book stays usable |
A BOOK DATA skill index that isn’t a skill, or a type outside 0 and 255 | Left out, same warning | No spec meaning to export |
| A spell, skill or keyword record the load order doesn’t have | Exported by FormId only, one warning | The reference itself is still valid |
On a clean vanilla load order, none of these happens. When one does, the plugin is corrupt or one of its masters is missing from the load order.
Tests: PluginMastersTests, LocationMergerUnresolvedFormIdTests, VmadReaderTests,
BookMergerBookDataTests, BookFileExporterTests.
Localization
Reference: UESP String Table File Format.
| Problem | Code | Why |
|---|---|---|
| A string id missing from its table (not id 0) | Left unresolved, one warning per plugin and language | Points at a broken or mismatched table |
| Both encodings fail on a string | Lenient UTF-8 decode, counted in FallbackCount and logged | Keeps the text, flags the problem |
An inline lstring isn’t valid UTF-8 and the language has no secondary encoding | Lenient UTF-8 decode, one warning per plugin and language | Keeps the text, flags the problem |
Id 0 isn’t a problem, see Assumptions. No vanilla table needs the fallback decode.
Tests: BookLocalizationResolverTests, SkyrimStringTableTests, LStringResolverTests.
Book markup assets
See Book markup assets and Font export.
| Problem | Code | Why |
|---|---|---|
| A face mapped to a name no embedded font has | The face stays unresolved; the font is still exported | No fuzzy matching |
A face with no map entry | Rendered as (unmapped) | The face tag is wrong in the source text |
| A texture or font nothing ships | Warning, export continues | The book stays usable without it |
Vanilla has each case:
$CClub_Fontmaps to “Eurostile LT Cyr Std”, which no embedded font is named.- Vanilla text has a typo’d face tag.
- Two assets don’t ship: a font renderer atlas and one illuminated letter.
Tests: FontConfigParserTests, MenuArtTextureConverterTests.
Terrain LOD tiles
See debug:*:archive:terrain-lod and
export:worldspace-maps:lod.
| Problem | Code | Why |
|---|---|---|
| An expected tile no archive has | Reported, not an error; transparent in a map | The rest of the grid is still usable |
| A tile Pfim decodes to an unmapped pixel format | Same as a missing tile | Same |
--hillshade: a normal map missing or undecodable | Reported; the tile is drawn unshaded | The diffuse tile is still usable |
A malformed lodsettings file | Worldspace treated as having no LOD, reason at --verbose | Other worldspaces are still usable |
| A worldspace without the requested LOD | One [WARN] for the run, each reason at --verbose | Expected for most vanilla worldspaces, but a map was asked for all |
| A placeholder tile, much smaller than the others of its level | Redrawn from the next finer level, see placeholder tiles | Scaled up, it draws flat blocks |
--water: a LAND without VHGT | Flat at the worldspace’s DNAM default land height, count at --verbose; left out when no DNAM applies | See assumptions; 183 vanilla LAND records have none |
Missing tiles and malformed settings files are not seen in vanilla data. Tamriel has one
placeholder, tamriel.32.-64.-64.dds. 38 of 49 vanilla worldspaces have no level-32 LOD.
Tests: TerrainLodGridTests, WorldspaceCellsTests, TerrainLodSettingsLoaderTests, LodRasterTests,
TerrainLodNormalsTests, TerrainLodTileSourceTests, WorldspaceTerrainTests.
Landscape textures
See export:worldspace-maps:raster-records.
| Problem | Code | Why |
|---|---|---|
A LAND BTXT or ATXT whose LTEX FormId doesn’t resolve | Drawn with the default texture, one [WARN] for the run, each at --verbose | The rest of the cell is still usable |
An LTEX TNAM that doesn’t resolve | The LTEX has no color map, one [WARN] for the run | Same as an LTEX without TNAM |
A used LTEX without a readable color map (no TNAM, no TX00, texture missing or undecodable, or no plugin holds it) | Drawn gray, one [WARN] per map with the count, each at --verbose | Gray reads as neither ground nor snow |
The default dirt02.dds missing or undecodable | Same, for the quadrants without a base texture | Same |
An LTEX TX01 normal map missing or undecodable, with --hillshade where the pattern is drawn | Its texture shows no relief, one [WARN] for the run with the count, each at --verbose | The color map still draws it |
In vanilla data, 90 of the 91 LTEX have a color map: LScrub01 has no TNAM, and no LAND
uses it. CWTestHold, a test worldspace, uses LTEX skyrim.esm:000844, which no plugin holds:
its map warns once.
Tests: WorldspaceLandscapesTests, LandscapeTexturesTests, LandscapePaletteTests, LandscapeBackgroundTests.
Grass models
See Grass, with --grass.
| Problem | Code | Why |
|---|---|---|
A GRAS without MODL, whose model is missing or unreadable, or whose shapes have no readable diffuse texture | No color: the textures that list it grow nothing from it. One [WARN] for the run with the count, each at --verbose | The other grasses of the texture still grow |
A GRAS without a DATA long enough for the slopes | Grows nothing | Without density or slope range, nothing says where it grows |
An LTEX GNAM that doesn’t resolve | Left out of the texture’s grasses, one [WARN] for the run | Same as a GRAS no plugin holds |
In vanilla data, GRAS dragonborn.esm:01771E names Landscape\Grass\DLC02VolcanicAshRocks01.nif,
which no archive holds: the run warns once.
Tests: GrassPaletteTests, GrassCoverTests, LandscapeTexturesTests.
Navmeshes and references
See Worldspace maps.
| Problem | Code | Why |
|---|---|---|
A NAVM whose last version has no NVNM, counts past its end or a triangle naming a missing vertex | No paths drawn from it and, with --levels, no floors read from it; one [WARN] for the run for each of the two, each at --verbose | The rest of the worldspace’s navmeshes are still usable |
A REFR whose last version has no NAME or no DATA | Left off the maps, one [WARN] for the run, each at --verbose | Nothing says what or where it is |
A NAVM or REFR whose FormId, worldspace or base doesn’t resolve | Dropped, see Unresolvable FormIds | Same as any record |
No vanilla NAVM or exterior REFR has one of these problems.
Tests: WorldspacePathsTests, WorldspaceNavmeshesTests, WorldspacePlacementsTests, NavmeshReaderTests.
Object models and textures
See Objects.
| Problem | Code | Why |
|---|---|---|
| A model path not in the archives, or a NIF that fails to parse | The references placing it aren’t drawn, one [WARN] per map with the count of models, each at --verbose | The other objects are still usable |
| A diffuse texture not in the archives, or a DDS that fails to decode | Its shapes are drawn gray, one [WARN] per map with the count, each at --verbose | Gray reads as neither stone nor wood |
Each map reports what its own references place, and the textures of the models on its ground: a
child drawn with --parent-lod doesn’t repeat its parent’s problems.
In vanilla data, every model placed in a worldspace is found and parses. Three diffuse paths of
placed models resolve to nothing: one NIF names its texture ERR (Tamriel), and two Windhelm
decals, textures\architecture\windhelm\WHicedecal01.dds and WHarenawallstains.dds, aren’t in
the archives (WindhelmWorld, WindhelmPitWorldspace).
Tests: ObjectsLayerTests, TextureColorsTests.
Lights
See Lights, with --lights.
| Problem | Code | Why |
|---|---|---|
A light whose LIGH radius plus XRDS is over 100,000 units | No glow, one [WARN] per map with the count, each at --verbose with its base and position (LightsLayer.MaxRadius) | Its glow would whiten the whole map |
In vanilla data, one light has one: REFR skyrim.esm:0F7CBE in BlindCliffCaveWorld, base
BlindCliffSpotlight01, with an XRDS of 456,444 for a radius of 456,956. Of the other 1,622 lights
placed in worldspaces, the largest reaches 7,175 units. The same base placed elsewhere
(skyrim.esm:02CF02) has an XRDS of 4,510. Nothing in the reference marks the outlier: its header
flags, its XLIG (End Distance Cap 0) and its sub-records match the other’s. In game, disabling it
from the console changes no lighting in the cave.
Tests: LightsLayerTests.