Skip to content

EmblemWeave 0.1.43

Latest

Choose a tag to compare

@XiONDiGiTaL XiONDiGiTaL released this 28 Nov 21:33

EmblemWeave 0.1.43

Windows SDK 10.0.19041 builds again, the Obelisk Chamber stall has a candidate fix, and the engine picks up the 0.2.12-0.2.13 performance and stability work.

Packaged changelog note: The changelog inside the release zip predates the docs-only #117 wording correction. The live release notes on this page are authoritative.

Install

  1. Download EmblemWeave-v0.1.43-windows-x64.zip below and unzip it into a folder of its own.
  2. Run EmblemWeave.exe.
  3. On Game Setup, choose your dump. On Overview, press Build the game (once), then Play.

sha256 of the zip: 8e4f2783f3567331f7731622c970de9e67a6220c975f77ed3b0aa5e08c342162

sha256 of EmblemWeave-v0.1.43-shader-translator-linux-x64.tar.gz (the shader translator for Linux, not needed on Windows): 46f18c91dd00554917ce1b034d3e24bcbe1b358700aa44069806bd77116d880d

The Linux tarball is built by CI on Linux, so its executable bit is recorded. Extract it in engine/fefw-recomp/tools/shaders/prebuilt/ and run ./linux-x64/spirv_harness.

Status: published 2026-11-28. The v0.1.43 tag and GitHub release are public, and 0.1.43 replaces 0.1.42 as
the current release. This file is the 0.1.43 release notes. The verification table below separates what was run on
the release tree from what remains a field limitation. The issue-to-commit evidence and the remaining
confirmations are in the 0.1.43 issue map.

Build and toolchain

  • Issue #115: builds with Windows SDK 10.0.19041.0 again. win_display_state.cpp used
    DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_2 and DISPLAYCONFIG_SET_HDR_STATE, which wingdi.h only declares from the
    Windows 11 24H2 SDK (10.0.26100). The runtime now declares both requests itself, with the request numbers as
    UINT32 constants rather than casts into the older SDK's DISPLAYCONFIG_DEVICE_INFO_TYPE enum (clang limits that
    enum to [-16, 15], and request 16 is outside it). static_asserts pin the header, field offsets, sizes and request
    numbers; the calls cast the pointer back to the SDK's header type. The declarations use local names, so an SDK that
    does define the types does not collide with them.
  • Reproduced, then fixed. Compiled against 10.0.19041.0, the pre-fix file fails with the reporter's exact errors
    (unknown type name 'DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_2', undeclared identifier 'DISPLAYCONFIG_DEVICE_INFO_GET_ADVANCED_COLOR_INFO_2', and the missing DISPLAYCONFIG_SET_HDR_STATE). The current
    file compiles against 10.0.19041.0, 10.0.26100.0 and 10.0.28000.0, and a full fefw.exe build succeeds with
    10.0.19041.0 and with 10.0.28000.0.
  • HDR compatibility path. Reading HDR state keeps its fallback: if GET_ADVANCED_COLOR_INFO_2 is rejected, the
    legacy GET_ADVANCED_COLOR_INFO query answers. There is no public legacy setter; SET_HDR_STATE exists only on
    Windows 11 24H2 and later, so on older Windows a restore reports the failed request and leaves the display alone
    instead of guessing at a mode change. SDR white level remains read-only (DISPLAYCONFIG_SDR_WHITE_LEVEL has no
    setter) and is captured but never written.
  • Issue #116 follow-up: a partly quarantined carried toolchain is detected. The launcher checks the CMake modules
    and Python runtime in the carried copy, uses a complete installed LLVM or CMake when the carried copy is damaged,
    shows damaged build tools on Overview with a one-click repair, and only blocks Rebuild when the damaged copy would
    actually be used. Every install now records the SHA-256 and size of every required file in a manifest before it stamps
    the piece, and Rebuild re-hashes that set before compiling, so a truncated or same-size substituted tool is named
    instead of being executed (issue #116). EmblemWeave.exe --verify-tools reports the state of every carried piece and
    exits non-zero on damage; --fetch-tools re-fetches all four pieces even when their stamps are present, which gives
    an install from before the manifest a verified replacement. The Overview keeps a size-only check so its per-frame
    status stays cheap.
  • Release checksums cannot keep a previous build's entries. tools/package_release.ps1 now replaces SHA256SUMS only after the zip and both manifests are final, using the strict atomic tools/release_sums.py. The finalizer refuses a missing or unexpected artifact, duplicate or self-referential entries, a package manifest that disagrees with the bytes on disk, and a stale candidate file. The release workflow uses the same finalizer for the zip, Linux translator and release manifest; release.ps1 verifies but no longer writes the sums.
  • The carried toolchain now installs from the real archive. The first end-to-end --fetch-tools run on the pinned LLVM 23.1.5 archive failed after downloading and unpacking it: the required-file list named vcruntime140.dll and vcruntime140_1.dll, which that upstream archive does not contain. The list now matches what the archive ships. A clean fetch downloads 334 MB (LLVM 276,368,249; CMake 46,473,549; Ninja 289,808; Python 11,094,114 bytes), verifies every pinned SHA-256, unpacks 428 MB into tools, writes four manifests (344 file entries total) and stamps each piece; --verify-tools then exits 0. A CMake/Ninja project configured with the carried CMake and Ninja and compiled and archived with the carried clang-cl.exe and llvm-lib.exe succeeds. The full engine also builds from the legitimate Fortune's Weave NUP with the carried tools: 603/603 targets, exit 0, Release, NASM x86-64 dav1d assembly enabled.
  • Manifests fail closed. An empty or truncated manifest used to read as “no recorded hashes”, and a stamp from another archive was ignored by verification. An empty/unsafe manifest, a required file the manifest does not name, and a stale stamp are now damage: --verify-tools exits non-zero and the build gate repairs the piece. Manifest paths that contain .., a drive prefix or a backslash are refused. A deliberate fault matrix (missing executable, missing header, truncated and same-size-substituted executables, missing/corrupt/empty manifest, stale stamp, missing Python runtime, traversal attempt) returned exit 1 for every case and 0 after restoring the files.
  • MSVC warning flags. The build passes MSVC its own warning flags instead of clang's, so the clang-only
    -Wno-unused-parameter / -Wno-everything spellings no longer reach cl.exe. dav1d's MSVC options are passed as
    separate arguments.
  • Long Windows environments (carried from the 0.1.43 draft). The final fefw.exe step now receives the
    launcher's NX_ENV_READY handshake, so runtime/scripts/env.cmd no longer runs vcvars64.bat a second time and
    appends a second toolchain to an already long PATH. The failure was The input line is too long; the regression
    check drives a 7,906-character PATH through both paths and the packaging script runs it before packing.

Stability

  • Issue #79: a save folder directly in the save root is now named and adoptable. find_orphan_saves looked in
    profiles/, other account folders and one level below account/DEFAULT_USER, but not at a save folder sitting beside
    them. A recovered tree whose chapters live in <save folder>/<id>/000 therefore showed "no save" while the game
    opened the account folder and booted the prologue. The Saves page now lists that folder as an orphan and offers Use
    this save
    , which copies it into place after backing up the current save. Nothing is moved automatically, and the
    launcher's backups/ area is not treated as an orphan. A folder named 000 that holds only unrelated files (for
    example readme.txt) is not offered as a playthrough either: at least one extensionless game slot must be present,
    while any extra files in a real save are still counted and shown. An illustrated walkthrough of adopting
    the folder, keeping the result as a profile and recovering a stamped slot is in
    SAVE_RECOVERY_GUIDE.md.
  • Issue #79: an older stamped autosave no longer hides a newer backup. The reporter's otherdata.zip showed the
    account holding only 1795325701-Auto (33 KB, the tutorial autosave), while a newer whole-save backup,
    backups/1795655727/000/Auto (198 KB), boots to the title with Continue enabled in a disposable engine run.
    Before this change, Play promoted the stamped tutorial file to Auto without looking at the newer backup; that is
    the reported prologue state. Play now checks first: when the account has no genuinely newer game-named slot, and a
    backup or profile newer than the stamped file exists, it names the newer copy and asks the player to restore it on
    Saves. This also catches an
    Auto that a previous Play already made as a byte-identical copy of the stamped file. If the stamped file is the
    only save, or is what the player wants, the existing repair still promotes it; nothing is renamed or deleted by the
    guard. The Saves page shows the same state as Older save only before Play is pressed.
  • Issue #117: the Obelisk Chamber stall. The stall was a kernel deadlock introduced by bd90a2a3, which split the
    wait queues onto separate locks. block_on_wake runs the occupancy hooks while its caller holds the mutex, CV or
    address lock, and those hooks take the sync lock; the split therefore created a mutex-to-sync inversion against
    code that takes sync and then enters the kernel. It also reopened the gap between handing a mutex over and queueing
    its waiter, where an unlock loses the wake-up. The freeze reproduced as 236 presented frames followed by a 30-second
    watchdog report, with main blocked in arbitrate_lock -> block_on_wake and guest threads blocked in
    wait_process_wide_key -> block_on_wake. The upstream engine commit 74e7defc reverts the sharding and
    upstream engine commit cf09114c restores the single kernel lock for every wait queue and for occupancy; the
    constraint is documented in the file so it is not split again.
  • Live retest. With the isolated Obelisk Chamber save on the installed single-lock runtime, the chamber loaded and
    the Wolf Obelisk panel opened; the Eagle Obelisk panel was then closed with B. The four character-linked cinematics
    were run on the 0.1.43 candidate: Theodora (Wolf), Cai (Fox), Dietrich (Lion) and Leda (Eagle). Each video played for
    several seconds before B was pressed. No 30-second freeze, no watchdog report and no fefw_freeze.txt was
    produced; frame logs stayed at 60 fps, with post-startup frames at 100 ms or less (the 100 ms frame was a
    page-fault hitch). The largest startup
    hitch across the earlier retests was 646.9 ms during shader and asset warm-up; post-startup frames were 151.5 ms or
    less.
  • Cinematic B behavior. B is not a back-out key during these cinematics: it opens Text Log for Cai's storybook and
    toggles Subtitles for Dietrich and Leda, and the video continued. The Theodora return to the chamber coincided with
    the end of its intro, so it is not evidence that B cancelled the video. The only true B back-out exercised was the
    Eagle Obelisk panel, which closed to the chamber immediately with no freeze. A prior pass opened Replay from Any
    Chapter; its chapter-select back-out is still untested because the loadable chamber saves in this pass exposed only
    Touch This Obelisk.
  • Media Foundation is loaded only when a movie asks for it. mfplat and mfreadwrite are delay-loaded and the
    runtime checks for them at the point a movie opens, so a start-up, a route or a battle does not pull the media stack
    into the process. Unlike the upstream patch, winhttp is not linked.
  • Memory lock order. The write tracker takes its scope before the heap lock, removing a lock-order inversion
    between write tracking and guest heap operations.
  • Movie teardown. A stream now ends when the player joins its handler, and a stream whose player holds every frame
    and stops no longer keeps the decoder alive.
  • NVN descriptor sets. The set cache is per-frame by construction, the current array is used when a set is
    rewritten, the frame counter is declared before the cache, and in-flight sets are not overwritten across split
    submissions. Chunk imports stay on the render thread.
  • Texture preparation. Background data is written in the texture image's own format (#146), a remade image
    publishes its new format and only opaque BC1 is cached, format-forced jobs for new images are ignored, and a BC5
    image is remade when it is rewritten with uncached ASTC content (#177). A live texture gets its image back from the
    finalized set (#174), and block-compressed array levels are copied one layer at a time.
  • GPU pipeline deferral. Async GPL deferral stays active across hitches (#147) and its frame-seen state is reset
    on shutdown; prewarm waits are timed.
  • Time services. Shared-memory remapping is held off during writes, clock contexts are refreshed when the host
    clock moves, the steady-clock correction is published in ContinuousAdjustmentTimePoint, and the adjustment fields
    match the SDK reader.
  • Audio. The XAudio2 engine is stopped before voice destruction, start-up no longer opens and closes a probe, and
    device reopens are limited (#44). The AudRen sink remembers a failed open, retries with backoff, caps direct-open
    retries at three, and only retries when the default output endpoint changes.
  • Rendering fixes. FSR 3 white scenes on AMD with Mesa 26.3.1, the shown-FPS underflow after a swapchain remake,
    borderless instead of windowed on the Radeon 8050S/8060S (#81), smaller VMA blocks on 4-6 GiB video heaps, and the
    frame limiter staying active during loading screens (#151).
  • Menus and input. L / R tab switching in the F1 menu no longer activates the first control. HDR-only and SDR-only
    Picture controls are hidden according to the current HDR state.
  • Out of memory. The launcher warns before Play when the process is close to the limit, and the crash report gives
    the out-of-memory cause its own slot instead of folding it into a generic device-lost report.

Performance

  • Engine port: fefw-recomp 0.2.12-0.2.13 (PR #109). Replay hot-path work (pool caches, inline output snapshot,
    set/viewport/pipeline fast paths), cheaper bind bodies and identity swizzles, batched counter and event writes,
    narrower transfer barriers, cached TSR-jittered camera UBOs, lazy dummy views, precomputed program-layout texture
    lists, and sequential write-watch fault coalescing.
  • Residency. Host-RAM demotion starts at 92 percent and never holds restores (#114); the restore budget has a
    test, and the demotion log line says what it counts.
  • Atomics. The runtime is built with -mcx16, so std::atomic operations are inlined instead of calling a
    helper.
  • Find Units (#76). The scan now runs in a single-use helper process in a kill-on-close Job Object, so Cancel, the
    30-second deadline, target loss or dropping the scan terminates it even while a ReadProcessMemory call is blocked;
    the launcher falls back to the in-process scan if the helper cannot start. In a disposable field session, Cancel
    returned in 1.05 s, a 0.5 s deadline in 1.44 s and game termination was reported as device_lost in 1.29 s, with no
    helper left behind. A read already inside ReadProcessMemory is still not interruptible in-process, but it can no
    longer hold the launcher.
  • Launcher scans. Mods-page filesystem scans moved off the UI thread (#114), and the Graphics page caches its
    probes with a 30-second TTL and background rescans (#59).
  • Ultrawide. Fortune's Weave draws ultrawide outputs wider than 3840 at their own size, and outputs above 3840
    raise the game's own sizes at the VI answer (PRs #111/#112).

Launcher

  • Mods page. A mod's settings file can be opened; GameBanana pages can be checked for updates and updated in
    place; several installs run at once with their questions queued; builds for different platforms and mutually
    exclusive variants are offered and only one is switched on. Mods are classified by content, and the Trinity page is
    folded into Mods.
  • Trinity. External Trinity.dll is supported for code mods, with a version-safety check, and the launcher bundles
    Trinity 0.2.0 with a native page describing it.
  • RecompLauncher. recomplauncher.json, --game <path>, and the RecompLauncher badge are supported; updates are
    left to RecompLauncher when it starts EmblemWeave.
  • Update integrity. Downloaded updates are verified against the published SHA-256 before they are applied.
  • Report An Issue. The launcher's own troubleshooter prepares a structured GitHub issue and attachments for the
    user to submit. It does not upload anything by itself, and this release contains no remote reporting endpoint.
  • Saves (#79). A slot moved back under its backup name is recovered before the game starts, including the game's
    Route_* file; the copy is promoted through a temporary name so an interrupted recovery leaves no truncated slot,
    the newest stamped copy wins when several exist, and an existing slot is left in place. The runtime holds the save
    folder's cross-process lock while it commits or rolls a save forward. A decided commit that cannot be applied is kept:
    the next save retries it and is refused rather than replacing it with a newer journal. The volume tests cover a blocked
    delete, a file/folder conflict and that refused replacement. The launcher's reconciliation, adoption and damaged-autosave
    quarantine behaviour is unchanged.
  • Save import is staged and recoverable. An import copies into a sidecar stage, verifies every file's SHA-256 and
    the slot structure, and only then promotes the stage. The previous save is moved into backups first and remains the
    rollback copy. A sidecar state records the stage, planned backup and file manifest. On the next launch, recovery
    finishes a verified stage whose target is absent, restores a verified backup if the stage is damaged, aborts an
    uncommitted import while the old save still exists, and removes orphan stages. Crash injection at staging, staged,
    after-backup and after-promotion, plus a process-kill harness and a GUI-startup recovery test, leave either the old
    save or the fully verified replacement active; a partial active save is never presented. --recover-saves reports
    what was preserved without claiming the game started, and save diagnostics use relative paths and no save contents.
  • Display. The launcher's 21:9 setting now sets the wide output the F1 menu uses, and the wide panels use their
    own widths.

Compatibility and input

  • SDL 3.4.20.
  • A Bluetooth DualSense that SDL reports as wired is recognised for haptics.
  • Xbox Direct haptics actually drive the pad; RenHDrum 0.6.0 adds advanced controller haptics, with the credit added
    to the About page.
  • A controller that SDL misses at start is picked up and the reason is logged.

Verification (0.1.43 release pass)

Results are kept separate by runner and build. They are not added into one total.

Check Command Result
Launcher cargo test -p emblemweave --locked 612 passed, 0 failed, 22 ignored
Runtime nxrt_tests.exe --all, Release 1019 passed, 0 failed, 29 skipped (of 1048)
Full build, SDK 10.0.19041.0 build_fefw_sdk.cmd 10.0.19041.0 634/634 targets, exit 0
Full build, SDK 10.0.28000.0 build_fefw_sdk.cmd 10.0.28000.0 634/634 targets, exit 0
Full build, carried toolchain build_fefw.ps1 -Config Release -CMakeArgs -DNXRT_ASTC2BC7=ON initial clean 603/603, ASTC-enabled 257/257, exit 0; fefw.exe SHA-256 8f8b5ba1…
Final save-commit build build_fefw.ps1 -Config Release -Jobs 8 213/213 steps, exit 0; fefw.exe SHA-256 0aa2ccdb…
AV1 opening movie dav1d 1.5.1 with x86-64 assembly and FFmpeg/D3D11VA on the same 2560×1440 sample 0 late pictures; 5.7–7.8 ms vs 8.5–9.4 ms per packet; 0 audio underruns
Release tools python -m unittest discover -s tools/tests -v 50 passed, 0 failed
Save import/recovery cargo test -p emblemweave --bin EmblemWeave saves::tests 83 passed, 0 failed
Windows candidate package tools/package_release.ps1 -Candidate from a clean worktree archive verified; 1,903 files; sourceDirty: false; manifest.json records candidate: true
Candidate GUI extract the zip to a fresh directory; EmblemWeave.exe --page saves --screenshot exit 0; FileVersion/ProductVersion 0.1.43; Saves page rendered

Known issues

The 0.1.42 field limitations still apply: #37 multi-hour stability, #41 device loss on 16 GB shared-memory hardware,
#76 in-game Find Units frame time, #77 the reporter's damaged save and #78 HDR state restoration. #79 Report C is
not fully confirmed:
the reporter's otherdata.zip now shows a bootable post-route backup and the account left on the
old stamped tutorial autosave, and the new Play guard prevents that stale file from being promoted over the newer
backup. The route-completed save → normal exit → restart → Continue sequence itself still has no captured reporter
session, and the 28 November comment about completing a route has no save tree. The stamped-slot, backup guard and
import fixes are tested on the route fixture and the reporter's archive; that is not the same as a field restart of
Report C. AV1 playback is verified through both the assembled dav1d decoder and FFmpeg/D3D11VA; Opus decoding,
seeking, pause/resume and a measured A/V drift remain unverified (#70/#75). The #117 single-lock fix passed the
four-character in-game switch test (Theodora, Cai, Dietrich and Leda), with B acting as Text Log/Subtitles during
the cinematics and the Eagle Obelisk panel closing to the chamber; no freeze or watchdog report was produced. Its
replay chapter-select back-out remains untested. HDR state changes were not exercised live during this pass
because doing so changes the display.