github zortos293/XSEmu v0.3.0
XSEmu 0.3.0

2 hours ago

XSEmu 0.3.0

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

What is new in 0.3.0

XSEmu Core is a new program. It is now built on VIctory-NVIDIA's source tree, and the XCL-based Core that 0.2.x shipped stays beside it as the fallback. On that base, frames come about 2 ms sooner, a presented frame never waits for a shader compile, and the memory work from the old Core is on by default. In the launcher, the Darner runner takes VIctory-NVIDIA's place.

XSEmu Core is built on VIctory-NVIDIA

core/ is VIctory-NVIDIA's source tree at v2026.11.29.04, imported with its git history and its authors' notices. The launcher builds it as XSEmu Core (core\XSEmuCore.exe) and runs it the way it runs a VIctory runner: play <game> --series-s, with its home, cache and data folders inside the launcher's own. The XCL-based Core from 0.2.x keeps building and ships beside it as XSEmu Core (legacy) (core\XSEmu.exe), which you can still pick per game.

A Core update replaces the whole core\ folder, so both programs are in the Core's archive, and each is also published on its own.

Darner replaces the VIctory-NVIDIA runner

VIctory-NVIDIA can no longer be downloaded from its GitHub home. Its author now publishes the same program as Darner on Codeberg (the same history, renamed: darner.exe, DARNER_* switches), and the launcher installs Darner in its place.

  • Pinned download. Darner comes from Codeberg release v2026.12.01.02, and the launcher checks it against SHA-256 58f8193edfbf0b34f1bf1fd49dcced1666bba9c7446907de11cfe4311b703c29. A download that does not match is refused. The launcher never looks for a newer Darner on its own: a new release is checked and pinned by hand.
  • Its own data folder. Darner's home, cache and data folders (DARNER_HOME, DARNER_CACHE_DIR, DARNER_DATA_DIR) are set to its runner folder, so its first start does not move %LOCALAPPDATA%\victory, where other VIctory builds keep their files. Config, key and DLL overrides inherited from your environment are cleared.
  • MFG Unlocker stays off. Darner can download and load a third-party DLL for frame generation. The launcher starts it with DARNER_MFG_UNLOCKER=0 and DARNER_FORCE_MFG_RTX40=0, over whatever its F1 menu saved. XSEmu does not ship that DLL.
  • Your settings come along. Before Darner's first run or pre-cache, VIctory-NVIDIA's victory-settings.txt is copied to darner-settings.txt with every VICTORY_ name renamed to DARNER_. This happens only while Darner has no settings file of its own, and the old file is only read. Of 1,137 VIctory-NVIDIA setting names, 6 have no Darner equivalent and are ignored.
  • Pre-cache runs darner preload, with its progress on the card. The per-game frame-rate cap keeps its setting.
  • New installs and the NVIDIA pick use Darner. The first-launch NVIDIA recommendation picks Darner. A VIctory-NVIDIA copy you already have keeps running and is never deleted, but nothing installs, repairs or updates it any more; when it is not installed it shows as "Replaced by Darner". Darner's profile is a save-transfer target.

Tested on the user's PC: install from Codeberg with the hash check, the settings copy, darner preload and a cold run to the world.

Frames come about 2 ms sooner

The thread that prepares each submission was setting the frame: the card sat idle behind it. VICTORY_LEAN_SUBMIT, on by default, takes serial work off it. Sending moves to a thread of its own, that thread records the lists' preludes, a title copy finds the card copies it reaches through an index instead of walking all of them, write guards are checked once per flush, and known views are not asked about again.

Measured on the PC in the world: the frame median went from 41.3 ms to 39.2 ms (2.1 ms), the preparing thread spends 3.1 ms less a frame, and the card waits 2.7 ms less behind it, with no hang, error or visible corruption. --set VICTORY_LEAN_SUBMIT=0 turns it off.

Shaders: a presented frame never waits for a compile

  • Once the title has presented a frame, a draw waits at most 50 ms for its pipeline: long enough to load one from the cache, never long enough to compile one. Before the first frame the title is loading, and compiles are still waited for there.
  • Pipelines whose last driver compile took 5 s or more ("giants") build one at a time instead of sixteen at once fighting over the same cores, and while the title is presenting frames a giant waits for a loading screen, or at most 60 s.
  • A pipeline the driver refused or that hung is not asked for again.
  • A run records the order a scene draws in and starts that scene's pipelines early next time. A quiet queue drains the slow list with every worker.
  • A run says what each pipeline cost and where the time went, and the overlay says why a draw was skipped.

Memory work from the old Core, on by default

  • The RAM ladder, card-memory eviction and the budget pass (VICTORY_RAM_LADDER, VICTORY_VRAM_EVICT, VICTORY_VRAM_BUDGET) are on by default: card memory nothing uses is paged out, and what does not fit is spilled. With 12 GiB or more free, the ladder stays out of the way.
  • While the texture pass is holding textures back for room, slot eviction now frees textures no shader has sampled lately instead of only refusing new ones (VICTORY_SLOT_EVICT_FOR_ROOM, on in play).
  • Keeping the title's memory in place for the card (VICTORY_GUEST_IN_PLACE, VICTORY_INPLACE) stays off: in the confirmation runs the first added 2.4 ms to the frame median and the second another 29.3 ms. Both remain switches.
  • Each switch above turns off with --set <NAME>=0.

Measurements you can turn on

All off by default unless noted, and none change what a run does:

  • VICTORY_MEMORY_CENSUS=1: every 10 s, where the process's memory goes, by owner (the title's heaps and sections, our D3D12 objects, write-combined memory, the driver's shader cache, the pipeline library and more), by named object and by card segment.
  • A refreshes line: what each submission's refreshes spend copying against sifting, in bytes, ranges and written parts. A page is now marked copied only when every part written to it was copied (VICTORY_COPY_PARTS, on).
  • One line a frame for the texture stream, from the decoder to the slot, and an upload-memory line naming write-combined memory by owner, the texture blocks and the card's use.

Launcher

  • The daily pin run skips a runner that has been replaced, so it no longer asks VIctory-NVIDIA's repository for releases.
  • The saves-page test clicks its row, and the gate tests take turns, so the Windows launcher job is steady.

Known issues

  • XSEmu Core is the first release built on the new base. It has run on the user's PC for the work above, but not across many PCs yet. If a game misbehaves, pick XSEmu Core (legacy) for it in the launcher.
  • Per-game picks saved for VIctory-NVIDIA are not moved to Darner. A game you set to VIctory-NVIDIA keeps using it while it is installed, and shows it as replaced when it is not; pick Darner for that game by hand.
  • Darner writes one small file outside its folder. At start it writes %LOCALAPPDATA%\darner\advisor-shown\<version> (65 bytes), outside DARNER_HOME. It is harmless and holds nothing but a marker.
  • Codeberg must be reachable to install Darner. There is no mirror.
  • Darner's first run is cold. Until its pre-cache has run, frames can take seconds each while pipelines compile. Run Pre-cache on the card first.
  • Both programs are unsigned, so SmartScreen warns once.

Build

Built from tag v0.3.0 (commit 987651c15558d1f2d3fc28c9f26344fd9a58a5ac, main after #174) by the release workflow (run 46876173907). The launcher is built with Qt 6.8.3 and MSVC 2022, the toolchain the launcher's CI uses. xsemu-manifest.json pins the SHA-256 of every asset below.

Main's runs on this commit were green before the tag was pushed: the launcher suite 25 of 25 on Windows and 24 of 24 on Linux (run 46872193783), the legacy Core's suite on Windows 1949 passed, 0 failed, 43 ignored (run 46872193864; the CI machine has no GPU, so its 155 GPU tests report SKIPPED and say nothing about rendering), and XSEmu Core built and answered --version (run 46872193896). After upload, the published assets were downloaded and checked against the manifest: all match, both Cores in the launcher's core/ are byte-identical to the standalone assets, and the bundle holds the same files as 0.2.5's plus core/XSEmuCore.exe.

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/XSEmuCore.exe, with the XCL-based Core beside it as XSEmuLauncher/bin/core/XSEmu.exe. There is no separate download to place, and the launcher finds them 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 both Cores in core/ beac670c024efebc75207d5b73e39f4490e0c66756e25460b0d37da974580fa1
XSEmuCore-windows.zip Both Cores alone, for a Core update 676952eb382fa71c8dd20d154692cd6b2e58f17b7152bc15b0dc71b985db4567
XSEmuCore.exe XSEmu Core alone (built on VIctory-NVIDIA, core/) c2dbc0284952abcc401c2048bed6734a0440110451cf10d7ee0b95621b04bc8d
XSEmu.exe The XCL-based Core alone, kept as the fallback (crates/xcl) 09f140eaaf6dc46c6613655771c6534e23175f14ada834694bdcc6dd602c6e39
xsemu-manifest.json What the launcher's updater reads: each part's asset, size and SHA-256 d2aa7a4d4459dc0ceb909c7c2135176c74c9d18194c5819b5e4d8db50de7fe69

Source and licence

The source is this repository at tag v0.3.0: 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. The GPL-3.0 parts that ship are:

  • XSEmu Core (core\XSEmuCore.exe): built from core/, VIctory-NVIDIA's source tree at v2026.11.29.04 with XSEmu's changes on top, GPL-3.0-or-later under its own core/LICENSE, with its authors' notices kept. VIctory-NVIDIA continues as Darner, under the same licence. The BCPack format's constant tables are compiled into this program; the build fetches them from Darner by a pinned SHA-256, and they are not a separate file in any asset.
  • XSEmu Core (legacy) (core\XSEmu.exe): 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 its D3D12 runtime ported from VIctory and its forks (listed in THIRD_PARTY.md, each file's header naming its source commit), plus the XMA2 decoder after FFmpeg's wmaprodec.c under the LGPL-2.1.

Darner (GPL-3.0) is not shipped: the launcher downloads darner.exe from its author's Codeberg release when you install that runner, and checks it against the pinned SHA-256. Its source is the Darner repository on Codeberg. The same holds for every other runner: the launcher downloads or builds it on your PC, and none is included here.

The launcher ships Qt 6 under the LGPL-3.0 and Microsoft's DXC (dxcompiler.dll, dxil.dll) and VC++ runtime installer under their own licences. The corresponding source for everything GPL in these assets 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.