Reference/03

Status

What works now and what is not ready.

esx is in active development. Some areas are not complete yet.

Area State
Plugin engine and CLI Works. Records, references, masters, cleaning, conflicts, ESL, copy, diff, merged patch, SEQ and strings. A save does not replace a file, write into a game folder or save a damaged plugin without a clear answer.
Fallout 4 definitions Complete. Some callback differences remain; see docs/porting/notes.
Archives Works. Read, check, extract and pack for BSA and BA2.
Textures Works. esx texture makes a DDS file from a PNG or TGA image with the format of the vanilla game and each mip level, packs channels and makes a cube map. No game run shows a converted texture yet.
Windows An automatic test run covers a part of the tests on Windows and on Linux. The game test and prepared checks of the editor passed on a Windows computer of a contributor, with the native launch helper. No automatic test run covers them. See Native Windows tests. The interface esx-gui and other operations of the editor have no such check.
Load order Works. Steam, Proton and explicit paths. Native Windows registry lookup is not tested.
Project build Works. esx build builds a project folder: the plugin, the behavior files, the archives and the release check. It prints one progress line as each step ends. A second build reuses the output of each step whose inputs did not change. The build converts each model file of the folder meshes/ to a mesh. It does not convert textures. The manifest selects files of another folder and writes a ZIP file of the release, with no shell command. plugin export-records writes a finished plugin as records files; cells, placed references, quests, dialogue and NPCs stay in a binary base plugin. The ID lock ids.lock keeps the object ID of each record the same in each build. The build writes the SEQ file of a start-game-enabled quest. The release check also checks the compiled Papyrus files and the SEQ file, lists the overrides, and refuses a file that only the Data folder has as a loose file. A build that writes the ZIP file needs a complete ids.lock. Tested on Linux. The Papyrus step has no test with the Creation Kit compiler. On Windows, the before and after commands have no test. See Project and build.
Item files Work. An item file (items/<name>.toml) describes a weapon, armor or clothing, ammunition, a misc item or sounds, and esx build expands it into batch operations in the records step. A weapon shares the vanilla parts or has its own part family; an item can extend another item. A weapon with its own parts has one default part for each slot (the attach point of the part), alternative parts in a slot, a recipe (recipe) and a loose mod (loose_mod) for each part, named templates ([template.NAME]) with an instantiation filter keyword, add_slots, and parts_of for a second weapon with the same parts. The family keyword has TNAM = Mod Association. esx item new writes a starter file from a vanilla record (--standalone --all-parts writes each part of the vanilla family with its vanilla recipe: 36 parts for the 10mm), and esx item expand prints the operations. Tested with the MTS-255 weapon and with a mod of two weapons, a hat, ammunition and a misc item in the game, before the part keys. The part keys have no game test: a recipe and a loose mod have the same fields as co_mod_10mm_Muzzle_Suppressor and miscmod_mod_10mm_Muzzle_Suppressor (the recipe has no empty DESC), and the workbench menu needs a check by a person. Limits: an armor item changes one addon; a part gets a new keyword only as a copy of a vanilla keyword property; an item file makes no leveled list, no mod collection, no legendary template and no new attach point keyword; an item file has no animation data.
Bulk edits Work with a Rhai file. Pascal source from xEdit does not run.
Other games Planned. Starfield asset metadata loads, but its record definitions are not available.
Papyrus Works. papyrus inspect reads compiled scripts, and plugin check-scripts compares the scripts of a plugin with them. To compile, esx runs the compiler of the Creation Kit. See Papyrus and Creation Kit tools.
Creation Kit tools Work for the Papyrus compiler, Archive2 and the Spriggit bridge. You install the tools. The tests with the installed tools ran on Linux through Proton. Windows runs the tools directly. That route has a test under Wine, and none on a Windows computer yet.
Weapon animations Works for weapons that copy a vanilla animation keyword. Variants for seven actions, in first and third person. An effect block is the behavior graph of the weapon model: states that show and hide parts of the model, on events of the actor and on an action with a condition. With it a model shows its loaded rounds, one node or shape for each round; a game test showed this in first and third person. A count as digits is not ready. See Weapon animations and The graph of the weapon model.
Game tests Work on Linux with Proton, for Fallout 4 runtime 1.11.240. An optional F4SE plugin reads ammunition, animation events, clips, graph files, the camera, the player model and the hidden state of the nodes of the weapon model, and takes screenshots and sets of pictures around the player. A test plan runs as one command, and esx probe plan writes the plan of a built project, with a case and pictures for each weapon part that is not a default part. A test world that you supply gives each test the same clean cell for pictures. You supply F4SE and the Address Library, and you build the plugin DLL. See Game tests.
Meshes and materials Partial. nif reads Fallout 4 meshes and edits names, paths, node transforms, connect points and furniture markers. nif prune removes the blocks that no other block uses. material reads and edits each field of a BGSM or BGEM file. nif shapes reads the geometry, the skin data and the segment tables of a mesh. nif import makes a mesh of rigid shapes from a glTF 2.0 model file, for example from Blender. With a template, it fills a vanilla mesh with the new geometry and keeps the nodes, the shaders, the collision and the controllers. It can copy the collision of a vanilla mesh. Game tests showed such meshes as a weapon part and as a dropped weapon. esx does not make collision from geometry, bone weights, a new effect shader or a new controller. plugin weapon-parts lists the default parts of a weapon with their meshes, and the meshes that two weapons share. plugin check-weapons checks the slots, the recipes, the loose mods and the mesh points of a weapon before a game test. See Meshes and materials.
Mesh import and export Partial. esx nif export writes a glTF 2.0 model file from a mesh. esx nif import makes a new mesh from a model file, or fills a template mesh with the geometry of the model, and it copies the collision of a mesh when the job file asks for it. esx build converts the model files of the folder meshes/ of a project. The two commands read and write the skin of a shape: the bones and the 4 weights of each vertex. The two commands also read and write the segment table of a shape of an armor or of clothes, so a model with new faces gets a correct table. A game test showed a vanilla suit with such a table. The example project examples/fo4-armor-band/ builds an arm band from a model file with a skin, and a game test showed the band around the left forearm of the player, at rest and with lifted fists. See Make a mesh from a model, Fill a template, Skinned meshes, Segments, Models in a project and From a model to the game.
Scene and renderer Partial. esx scene says what a weapon or a mesh consists of: each part, mesh, material and texture with the file that the game uses, and a finding for each file that is missing. esx render draws a weapon, a mesh, a material or a texture to a PNG file with no window and no game. The picture is a preview and not the renderer of the game. See Viewer.
Graphical interface Partial. esx-gui is a second program, and esx gui starts it. It is the tool of a person who makes a mod. It has a library of mods, an object window with each of the 147 record types as the Creation Kit has it, a form for each type, a table mode, an “Add” dialog for the common kinds of thing, assets with import, the build with each issue as a sentence, the game test with a button that asks first, the release, the files and the load order of the game, each other command as a tool, and a help page. It writes the source files of a mod with undo, and it never writes into the installed game. It has no 3D editor of a cell. The program has an icon. On Windows, esx-gui.exe of a release package is a window program. On Linux, esx-gui --add-to-menu puts esx into the application menu. A real window on Wayland and on Windows is not tested. See Interface.
Saves and LOD Not implemented.

Validation

The tests use synthetic assets, fixtures and an installed Fallout 4. On the Fallout 4 base master:

  • A full decode scan reads 1,549,276 records.
  • An in-memory round trip reproduces 1,548,613 record bodies byte for byte.
  • Definition callbacks change 663 records. There are no other byte differences.

Game tests cover the weapon animation tools and the plugins that they make. The counted reloads of the reference weapon mod run as an automatic test plan with esx probe run. Other areas have no game test yet. Back up your plugins before you edit them.