Preview as you type
The preview follows the unsaved editor buffer on every change, including the mod's .gfx and localisation files. Warm reload: median 6–7 ms, p95 8–14 ms (measured on the maintainer's machine, etch#39).
EU4 interface mods · VS Code
.gui. Watch the window.Etch draws the interface window under your cursor from the unsaved editor buffer, with the game's own textures, fonts and localisation.
etch_demo.gui is open beside Etch's preview of a game dialog. One keystroke widens the dialog's background and the frame redraws at once; the cursor moves to a button, the outline follows it, and a second keystroke moves the button into the new space. Two undos return the window to where it started.Then open a .gui and run Etch: Open Preview. The full guide is in the extension README.
code --install-extension happy-dwarf-team.etchFeatures
The preview follows the unsaved editor buffer on every change, including the mod's .gfx and localisation files. Warm reload: median 6–7 ms, p95 8–14 ms (measured on the maintainer's machine, etch#39).
.gui and the window redraws from the unsaved buffer; the widget at the cursor stays outlined.The preview shows the top-level window that holds the cursor. Pin keeps it on one window while you edit other files.
.gfx file is edited: the preview keeps the window and shows the new button sprite.The Widget Outline lists the window's widgets. Click a widget in the preview to reveal its source; hover to see its path and rect.
Missing sprites, fonts and textures, duplicate names and more appear in VS Code's Problems panel as you edit.
The game's settings.txt, the monitor's, a corpus resolution from 1280×720 to 3440×1440 or any width × height. if_resolution blocks follow it.
if_resolution blocks follow it.Etch finds the game through Steam and draws with its textures, fonts and localisation. It ships none of them and sends nothing anywhere.
Roadmap
Etch is a preview release. The plan for 1.0.0 is the v1 specification; version numbers are indicative.
Public repository, CI, release-please, packaged VSIX.
Released on the Marketplace and Open VSX, marked preview. Everything on this page.
Measured against the game, widget by widget, at six resolutions: vanilla and Proper 2K UI Enhanced.
A private copy of the running game draws the window itself.
Diff view between the two backends; Anbennar and Dwarven Knowledge.
When the release criteria hold; the preview flag goes.