About the author
Eighteen years of Xbox emulation, before the first line of Xermu.
Xermu is written by Patrick van Logchem, PatrickvL on GitHub. He has worked on original Xbox emulators since 2008: first Dxbx, then Cxbx-Reloaded, where GitHub lists him as the contributor with the most commits. Xermu is where the ideas that did not fit in those codebases went.
This page exists for one reason. Xermu moves fast and is built with AI assistance, and a reader is right to ask whether anyone involved knows what a correct Xbox looks like. The history below is the answer, and every number in it can be checked.
History
Three emulators, one console.
-
2008 – 2012
Dxbx co-developer
Dxbx began in March 2008 as shadow_tj's Delphi port of Cxbx, the first Xbox emulator to run commercial games. Patrick joined that May and wrote more than half of its 1,669 commits. It stopped being a translation fairly quickly.
- Symbol detection. A rewritten engine for finding the XDK library functions linked into each game, faster and more accurate than the pattern tables it replaced.
- Pixel shaders. A converter from NV2A register combiners to Direct3D pixel shaders, with the places where the two disagree written down.
- Vertex shaders and declarations. Conversion of Xbox vertex programs and their stream declarations to the host's.
- Push buffer. Decoding of the GPU command stream against a model of the NV2A's registers, and a first OpenGL back end for it.
- Kernel. Hundreds of commits on the kernel API surface, the file system and threading.
- XBE Explorer, a viewer for Xbox executables.
Releases 0.3 to 0.5 came out in 2010, the year with over 1,000 commits.
The work was reported as it happened on the NGEmu forums, where Dxbx had its own board: the 0.4 release, symbol detection, push-buffer emulation, the OpenGL port.
-
2016 – 2022
Cxbx-Reloaded core developer
Patrick's first pull request arrived in October 2016, in the project's first months, and brought much of Dxbx with it. Over 1,370 of his commits are on the main branch. The work touched nearly every part of the emulator.
- Kernel. The largest share by far: Ke, Nt, Rtl, Ob, Xc and Hal functions, wait blocks, interrupts, the EEPROM and SMBus, and fixes found by the kernel test suite.
- HLE detection. Refactoring and documenting the function-pattern database, and deriving cross-references from it.
- x86 emulation. Decoding and emulating the instructions that touch hardware registers, from a vectored exception handler.
- NV2A, low level. Registering the GPU as a device, splitting it into its engines, and porting XQEMU's PGRAPH work.
- Direct3D 8 to 9. Part of the renderer's port in 2018, with the texture format conversions and vertex buffer handling it needed.
- HLSL shaders. Xbox vertex programs moved to HLSL in 2019, pixel shaders in 2020 and 2021, including the texture-stage extensions only the Xbox has.
- Memory layout. The loader that gives the emulator near-absolute control over the address ranges a title expects.
-
2019 – 2026
Interpreter shaders and Direct3D 11 in his Cxbx-Reloaded fork
In 2019 Patrick started writing the NV2A's register combiners as an interpreter in HLSL: one shader that reads the combiner state as data and does what the hardware would, with no shader generated or compiled per material. A vertex-program interpreter followed. In spring 2026 he ported the renderer from Direct3D 9 to Direct3D 11 around them, in some 1,400 commits.
Those interpreters are the direct ancestors of Xermu's übershaders. The HLSL is kept in Xermu's repository as reference.
-
2026
Xermu author
Started in April 2026. Alongside it: tests for the full kernel API in the Xbox kernel test suite, kernel header corrections proposed to nxdk, and fixes sent to ergo720's nboxkrnl that came out of writing Xermu's own open kernel.
What carried over
Each part of Xermu answers something learned the slow way.
Shaders as interpreters
Converting combiners to host shaders, in Dxbx and again in Cxbx-Reloaded, meant chasing every corner where the host's model differs. Interpreting the state does not have those corners.
The GPU reads the push buffer
Push-buffer decoders on the CPU, in two emulators, each ended in a translation to draw calls. Xermu's is a compute shader.
A real CPU core
Cxbx-style emulators run game code directly and patch what they can find. Years of symbol detection show where that ends. Xermu keeps the near-native speed and emulates the machine underneath.
Kernels, plural
Having worked on the kernel API at high level in two emulators, the third time includes a guest-side kernel that drives real hardware registers.
Hardware is the reference
The habit of writing down each known difference from the NV2A dates from the Dxbx pixel shader code. Xermu turns those notes into tests.
Working in the open
Fixes go back to the projects they came from: Cxbx-Reloaded, the symbol database, nboxkrnl, nxdk.
AI assistance
Yes, and here is how.
Much of Xermu's code is typed by an AI coding assistant. That is why a project of this scope has 700 commits in seven months from one person.
What the assistant does not supply is the judgement of what the Xbox does. The architecture, the choice of what to build and in which order, and the decision whether an output is right come from the history on this page, and from the tests: golden images captured on real consoles, differential fuzzing against the host CPU, determinism checks, and titles compared between kernels.
Where Xermu claims accuracy, the claim rests on those tests, not on who or what wrote the code.
Sources
Check it yourself.
The figures were counted from the public repositories on 30 November 2026. Commit counts for Cxbx-Reloaded are GitHub's contributor totals; the main-branch figure excludes merges.