XSEmu 0.2.4
The launcher and XSEmu Core, built from this tag by the release workflow.
What is new in 0.2.4
This one is mostly Core. Pipelines now build when the title binds them rather than when it creates them, which is most of a run's startup CPU back; the D3D12 port stops reading zeros from two kinds of view it could not name; a dispatch that was skipped no longer leaves an unwritten range recorded for the rest of a run; the submit look costs less per frame; and a run always ends — including the case where the title itself hangs on the way out. The launcher gets the Runners tab telling you which build tools this PC is missing before a download starts, a Clear that deletes every cache folder XSEmu writes and nothing else, art through a proxy that no longer runs into Cloudflare's daily limit, and pins that keep themselves current.
Pipelines build when a title binds them, not when it creates them
A title creates its whole pipeline library at startup, and building all of it was the run's largest single cost: 51,645 pipelines built and 268 s of pipeline-build CPU for 51,698 created, on a 150 s run. Pipelines now build at their first bind instead, with the draw skipped until one is ready — measured against the same script, 3,091 built of 3,144, 44 s of build CPU, 530 frames against 528, the same 53 failed pipelines, nothing that used to draw skipped, and a peak working set 3.9 GB lower. The preload workers still start ahead of the title, but only the pipelines an earlier run actually drew with. XCL_BUILD_ON_DRAW=0 restores building everything the title creates for an A/B.
Two kinds of view that read zeros now keep their channels
A view format with no equivalent in the guest's table fell back to T# format 0, whose class is float. A uint or sint view was then handed to the shader as Texture2D<float4> and every sample read zeros, silently; so were the console's A8_UNORM (its 8-bit value is alpha) and B8G8R8A8_UNORM (B, G and R where R, G and B are read). The fallback is now the resource's own class, and the three unnamed formats are named with the channel mapping they need. Measured on the PC: a run on the previous tree names 32 of these views by 71.7 s, the patched tree names none in 420 s, with 521 frames against a 539–572 spread, the same 53 pipeline failures, 28.4 against 28.8 fps, and a clean exit.
A skipped dispatch no longer keeps its range unwritten
ExecuteIndirect's arguments are protected by a guard that holds the UAV ranges a skipped dispatch could have written and refuses indirect calls that read them, on the premise that a later dispatch of the same pipeline clears the record. Three replay paths cleared it; the console list's own dispatch replay — the one a title's direct dispatches run on — did not, so a cull skipped once stayed unwritten for the rest of the run. Refusals of one 768 B record fall from 3,620 calls in 98 windows to 201 in 31.
The submit look costs less, and answers exactly like the page list
The per-submit walk merges its windows instead of re-sorting them, keeps a run index for texture selection, and does not allocate per page in the copied views. A review-found edge case is fixed with it: a span that starts off a page boundary, or one of no bytes at all, now gets the same answer from the run index as from the page list.
DXC objects are released with their threads
The Windows suite's intermittent access violation was DXC COM objects still held in a thread's thread-local storage when the process unloaded dxcompiler.dll: a per-shader backend thread now hands its objects back before it ends, a thread never releases an object left in its TLS, and CGBJ's validator is released with the others. A second abort it uncovered — an idle pipeline release the test binary itself started — is gone too, and the build-on-draw mode the pipelining tests exercise is pinned by the test instead of inherited from whatever ran before it.
A run always ends, and says which step it reached
A shutdown deadline is armed once for whichever trigger comes first — the run timer, the title's own exit, the window's close, a crash, a removed device — and ends the process within 20 s if the shutdown stalls. That deadline is a backstop, not the guarantee: a process telling Windows to terminate itself waits for any thread it cannot preempt, and one run sat through a forced 45 s stall exactly that way. So xcl.exe run now holds an event the child raises the moment its shutdown starts, and ends the child 20 s after it if the child is still there. Everything goes through one shutdown path that logs a line before each step, so a shutdown that stops names the step it stopped in. A window close now takes that same path rather than ending with ExitProcess(0), and skips the GPU drain when the steps before it already spent the budget, so a close never waits out a drain for a window that is gone. The report is given up after 8 s on shutdown: it is diagnostics and must not hold the exit open. And a title exit that cannot reach the end watchdog now ends the process instead of suspending the watchdog too, which used to hang the exit for ever. In the log, XCL_MEMDIAG_CENSUS turns on the address-space census block that used to run every third tick (17 s of CPU for three lines on a 224 s run); the 10 s tallies are unchanged.
Game art moves off Cloudflare, and the launcher asks for less of it
Covers and backgrounds come from SteamGridDB through XSEmu's own small proxy, which holds the API key so nobody has to enter one. That proxy has left Cloudflare's free plan for a container on Unkey Compute, answering on xsemu-sgdb-zortos.unkey.app: Cloudflare counts every proxied request against a daily budget, and the proxy had reached 65,647 requests in one day against it. The old Worker stays up for launcher builds up to 0.2.3 and becomes this launcher's automatic fallback for one release — a connection error or a 5xx moves the run to it, and the switch is logged.
Most of that traffic was the launcher asking again for answers it could have kept, so it now keeps them: SteamGridDB's replies are cached on disk beside the images (search answers for 7 days, art for 3, a "no such game" for 1), which means a lost index, a Clear that keeps images, or a reinstall costs no proxy requests at all. A game whose art is complete makes none, and a title first seen before logos and icons existed now costs two requests per game instead of five — the launcher reuses the match it already knows and fetches only the kinds it has no image for, re-fetching one whose file has gone rather than taking it for cached art.
The Runners tab says which build tools this PC is missing
A source-built runner needs tools this PC may not have, and the launcher used to find out halfway through a download and a build. It now probes them at launch and on Check again — off the UI thread, by running the tools with the environment a build gets — and says so first: one notice names each missing tool, the runners it affects and the official page that fixes it, and a blocked runner's card says why with its Install or Update disabled. Rust is reported in three states (ready, missing, rustup with no toolchain set, with rustup default stable named); the C++ tools are found through vswhere and the Windows SDK where MSBuild looks for it, KitsRoot10; Git, CMake and Ninja are run the same way. Each runner's needs come from its own build steps, so the download-only runners are never blocked.
This also fixes the failure behind the report: a curated build points CARGO_HOME and RUSTUP_HOME at the launcher's own toolchain folder, but it used to skip setting up its own Rust whenever any cargo was on PATH — so a rustup shim with no toolchain ran against an empty RUSTUP_HOME and stopped with run 'rustup default stable' on a PC whose own Rust worked. A curated build now always uses the launcher's copy and sets one up when it is missing; a custom runner still uses yours.
Clear removes every cache folder, and only XSEmu's
Clear used to delete the three oldest cache folders and leave the rest of the bytes — DXC's content-addressed DXIL, CGBJ's translations and the helper's requests — on disk, so it read as a no-op. It now removes those too, and it removes a folder of one of those names only when everything inside is what the emulator writes there: a content/ folder holding your own files is kept and named in the "these aren't XSEmu Core's" line.
The runners stay on the releases their authors publish
The pinned runners are checked daily by a workflow that only takes a plain version tag whose asset name is unchanged and whose SHA-256 is published, builds and tests the bump, and opens one PR for it, merging it itself when the diff is nothing but the pin; anything wider is discarded unbuilt and filed on the standing "Pin runner: manual bump needed" issue instead. The card says pinned N, latest M available when it knows better. Two pins moved this cycle: VIctory-NVIDIA to v2026.11.29.02, xvalkyrie to 0.1.0.
A build from source no longer offers to replace itself
Only a build made for a tag may offer to replace itself with a release. A build from source carried a version the releases do not know, so the update check offered the newest tag on every run and accepting it would have installed a downgrade over a newer local build. Such a build now says it was built from source and still takes XSEmu Core updates.
Build
Built from tag v0.2.4 (commit cfcd6e62386ec675d59697ad31810e5f88d53dbc) by the release workflow. xsemu-manifest.json pins the SHA-256 of every asset below.
Both suites ran on this commit before the tag. The Core suite on Windows: 1949 passed, 0 failed, 43 ignored, after the disassembler and RPF end-to-end tests. The launcher suite on Linux: 24 of 24, including the four new cover-art tests for the disk cache and the fallback host. On the Windows runner it is 22 of 25: tst_runners, tst_ingame and tst_update on its 120 s timeout fail there on every run, 0.2.3's own build included, and they are the next thing being fixed — nothing in this release touches them. The proxy's own suite: 19 of 19. xsemu-manifest.json was checked against the published assets after upload: all four match.
Install
- Unzip XSEmuLauncher-windows.zip anywhere; it holds
XSEmuLauncher/bin/. - Start
XSEmuLauncher/bin/XSEmuLauncher.exe. - Add your game folder in the launcher and press Play.
XSEmu Core is inside the launcher: XSEmuLauncher/bin/core/XSEmu.exe. There is no separate download to place, and the launcher finds it there.
If Windows reports a missing runtime, run XSEmuLauncher/bin/vc_redist.x64.exe.
Updates: Settings → Updates checks this repository's releases and updates the launcher and XSEmu Core separately. Each asset is checked against the SHA-256 below before it is used, the previous copy is kept until the new one has started, and nothing updates while a game or a warm-up runs.
Assets
| File | What it is | SHA-256 |
|---|---|---|
| XSEmuLauncher-windows.zip | The launcher, Qt 6 / MSVC x64, with XSEmu Core in core/
| 75c6b2863ecbc2dcf0be407f3eb42c5a133359de4f409689411ff3495221b5d6
|
| XSEmuCore-windows.zip | XSEmu Core alone, for a Core update | e247b53957e0f67552334651a5c3e546a8ceee3f29a303bdeece1ad26d21145e
|
Source and licence
The source is this repository at tag v0.2.4: GPL-3.0-or-later (LICENSE), and every file the project took from elsewhere, with its licence and how it is used, is listed in THIRD_PARTY.md. Of those, the GPL-3.0 units that ship inside XSEmu Core are crates/xcl-cgbj/ (CGBJ's shader translator, copied at f4b48ad, GPL-3.0-or-later, with PROVENANCE.md and PROVENANCE.sha256) and the parts of the D3D12 runtime ported from VIctory and its forks (title_gta6.rs, title_gta6_ambient.rs, image_writeback.rs, pso_manifest.rs, pso_sched.rs, warm_children.rs, each file's header naming its source commit), plus the XMA2 decoder after FFmpeg's wmaprodec.c under the LGPL-2.1. The launcher ships Qt 6 under the LGPL-3.0 and Microsoft's DXC (dxcompiler.dll, dxil.dll) under its own licence. The corresponding source for everything GPL is this repository at the tag above. No game files, keys or saves are included, and none are downloaded.