github zortos293/XSEmu v0.2.5
XSEmu 0.2.5

4 hours ago

XSEmu 0.2.5

The launcher and XSEmu Core, built from this tag by the release workflow.

What is new in 0.2.5

A Core fix that matters most if you use a stock launcher: a run could freeze for good about 80 seconds in, and it no longer does. Two more runners join the launcher — Foxhound, and both Whiplash builds, which are compiled on your PC from a pinned source archive because their team has no Git home — and the Windows launcher job now fails when a test fails instead of passing regardless.

A run no longer freezes about 80 seconds in

A title thread that created a two-pass mesh pipeline stored the new entry in one statement with the map's lock guard. The entry insert handed back — the one it replaced — is a temporary in that same statement, and Rust drops it first, so releasing the replaced pipeline ran its cleanup while the map's lock was still held; that cleanup takes the disk-cache and shader-code locks. A preload worker holding one of those and asking for the map closed the cycle.

Measured on the PC with a plain environment over 150 s: sixteen of 150 threads queued on that map at 90 s — all twelve preload workers plus four title threads — with the holder blocked inside Arc::drop, presenting stopped at 80 s and never came back (552 frames, the pipeline count frozen). With the fix, presenting runs past 80 s (3,542 frames), the pipeline count keeps growing, the run exits 0, and a 151-thread dump at 90 s shows nothing queued at the map.

This reaches anyone who installs XSEmu the normal way: it is in the Core, not in a flag or a test.

Two more runners: Foxhound, and Whiplash (AMD) and (NVIDIA)

Foxhound (readmet3xt-lab/foxhound) is a VIctory fork from codec_d/cool_fox with DLSS Super Resolution, frame generation and a native 1440p output. It is pinned to release v0.8.2 with the digest GitHub publishes; 1440p output, DLSS mode, frame generation, frame rate, VRAM limit and texture loading are per-game choices, and DLSS is a card switch. On Windows 10 it needs Microsoft's D3D12 runtime beside it, which the launcher now fetches on request (victory get-d3d12) and keeps only when Microsoft signed it. Both programs are unsigned, so SmartScreen warns once.

Whiplash (AMD) and Whiplash (NVIDIA) come from a team that only hands out a zip, so there is no commit to pin. The launcher now installs a runner from a pinned source archive: it fetches the archive, checks its SHA-256 and stops before unpacking if it does not match, then builds it with cargo on your PC. The archives are mirrored unchanged from the team's zip, and the sha256 files and index.json beside them are what the daily pin run reads. XSEmu never downloads or hosts a prebuilt program for either runner, and neither needs administrator rights: the firewall rules their own launcher adds are unnecessary, because the runtime already refuses every off-machine connection and DNS lookup.

Each Whiplash build's settings are switches and pickers on its card: ray tracing, ambient light, the team's safe preset, pipeline recording, output size, render scale and log detail for the AMD build (its VICTORY_* environment), and the F1 menu's graphics, lighting, overlay and input rows for the NVIDIA build (as --set arguments, which win over the menu's saved file). The choices DLSS and frame generation live in that F1 menu are left there, and the card says so. Options can now carry arguments, and an argument that expands to nothing is dropped.

A run ends when you ask it to, and its window goes first

XCL's window was hidden only by the process ending, so the last frame stood on screen for the 12–16.5 s the process spends inside its final teardown — and the launcher showed the game as running for the same time. The shutdown now hides the window first, before the watchdog, the saves, the drain and the terminate, so every ending path takes it with it: on the PC the window is gone at the shutdown's first log line, 16.4–16.5 s before the child exits, in both the plain and the embedded launch, with the same frames and the same saves.

A plain exit also stopped waiting five seconds for a save lock nothing needed. The exit polled the save lock for the whole wait and called any busy lock "commit or delete under way", while the counter showed the holder was a title thread parked in a read call that writes nothing. Both synchronous writers now count themselves like their async twins, so an empty queue means no writing path is running and the exit ends at once; a save genuinely under way keeps the old wait and the same warning. On the PC a plain run's shutdown went from 5.10–5.22 s to 0.083 s.

A crash says where, what access, and at what address

The crash reporter claims an access violation before the runtime's own logging reaches it, so the detail now goes where the record is written: the module and RVA of the fault, the kind of access and the address it touched, and a 16-frame walk of the frozen stack. Those lines take the log's lock without waiting, so a crash never stalls behind the log. Every run also keeps its own report-<seconds>.json beside report.json, newest eight, because a crashed run's report used to be replaced by the next run's before anyone read it.

The thread dump XCL_THREAD_DUMP_AT writes is safe to arm now. Its walk handed every captured instruction pointer to the unwinder, and a pointer that was never a return address read the tables of an image that was not there and took the process down inside ntdll. A frame is now unwound only when its pointer is inside a loaded image and its stack pointer is readable, a stack pointer that does not move up — or moves more than 1 MiB — ends the walk, and a fault on the dumping thread itself ends the process with its own code instead of reporting from a state it was reading. Measured twice on the setup that crashed: four dumps of 149 threads each, no access violation, exit 0, 3,585–3,587 frames.

The log tells you what the run did

The stand-ins line counted binds of stand-ins built in the same interval, so it printed 0 in every run. It is now this run's build count — the same number the status line shows — and the label drops the bind it no longer counts. Verified on the PC: 53,496 stand-ins, 53,443 with their build kept, 3,008 built, against the status line's 3,008 of 3,061.

A plain run now ends with its cache numbers. The caches line lived behind XCL_ACTIVITY, printed every 30 s and stopped at 60 s, before the giant compiles finish, so a plain run said nothing about whether the translation and driver caches were warm. One line now prints at shutdown, after everything has finished: translations from disk against made, DXC hits against compiles, the driver's builds, the warm driver cache's hits and misses, and the pipeline library's hits against misses. The XCL_ACTIVITY line had also been printing the pipeline-library block twice; it prints it once now.

The Windows launcher job fails when a test fails

Three launcher tests failed on the Windows runner while the job stayed green, because the test step was allowed to fail. They pass now, and a red test fails the job again.

  • The percyScarlett test built its fixture around /g, which on Windows means the root of the current drive, so the expanded tokens never matched.
  • The action bar needed 717 px in a 712 px row at 960×700. As the window narrows, the bar now trades labels for icons in stages (each button keeps its label as a tooltip and gets the text back when there is room), the segmented controls shrink and elide instead of refusing to go below their full width, and the "use a custom run profile" caption wraps — so the details page lays out at the smallest window again.
  • The update test installs a Core that is deliberately not a program and expects the update to be refused. The probe started it to ask its version, and Windows spends close to a minute working out that a file it cannot load is not one, which outlasted the test's wait. The probe now reads the file's PE header first and refuses it without starting anything — which also means a corrupt download is refused in milliseconds instead of after a minute.

Two real defects came out of that hunt: the helper start held the process-tree lock across the process start, so a slow start deadlocked the scan waiting on the same lock, and the scan could count this launcher's own helpers as a second emulator. The unpack step is also bounded at 30 s and runs with a null input stream.

Pins stay current without a person

The daily pin run now also moves archive pins: for a runner built from source with no commit, it reads the mirror's index.json and moves the version and hash to the newest archive. The bump this release carries, victory-nvidia from v2026.11.29.02 to v2026.11.29.05, is one that run opened and merged itself after building and testing the bumped tree.

Build

Built from tag v0.2.5 (commit 45fdcc2dfcfad0d65305fdb59a5395a3f02eb0d0) by the release workflow. xsemu-manifest.json pins the SHA-256 of every asset below.

The tag was pushed at the user's request at 10:56:24Z, before main's own CI on this commit had finished; the last full pass before that was on the Whiplash branch at 70b3a00, which differs from this commit only in launcher/src/core/RunnerInstall.cpp and its tst_runners case: the launcher suite 25 of 25 on Windows and 24 of 24 on Linux (run 46398775196), and the Core suite on Windows 1949 passed, 0 failed, 43 ignored (run 46398775252).

Main's runs on this commit then finished green with the same counts: the launcher suite 25 of 25 on Windows and 24 of 24 on Linux (run 46402724143, done 36 s before the tag), and the Core suite 1949 passed, 0 failed, 43 ignored (run 46402724215, done 13 s after it). The Windows launcher job now fails on a failing test, so these counts are the job's own result, not a log read past a tolerated failure. xsemu-manifest.json was checked against the published assets after upload: all four match.

Install

  1. Unzip XSEmuLauncher-windows.zip anywhere; it holds XSEmuLauncher/bin/.
  2. Start XSEmuLauncher/bin/XSEmuLauncher.exe.
  3. 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/ 16946495266d7006701c98e8f51319d99e60fafaf634f9fbfa7733be209cb0b9
XSEmuCore-windows.zip XSEmu Core alone, for a Core update 9b3257f89ad777cffc45960e66d5b91d53aa149e4ea07dff83277544136f2a47

Source and licence

The source is this repository at tag v0.2.5: 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.

Don't miss a new XSEmu release

NewReleases is sending notifications on new releases.