VIctory-Belobug-AMD: VIctory Ports an Xbox Instead of Emulating It

The Belobug fork runs a console title as a native Windows process by recompiling its shaders and reimplementing its API surface, not by copying the console's memory every frame.

9 min read • View on GitHub • More from Belobug

A cutaway editorial illustration of a console sliced open on a desk like a technical plate. The CPU block is solid and undisturbed, with a single arrow passing straight through it and out the back. The GPU block is a tangle of dense crosshatched shader threads that feed into a hand-drawn translation loom beside the console, whose output emerges as neat, differently-shaped code tokens entering a PC tower on the right. It visualizes how the console's CPU code runs untouched while the GPU work is rewritten for a PC.
The console's CPU code passes straight through. The GPU is where the entire problem lives, and the loom is the shader translator.
Key Takeaways

The CPU Is the Easy Part

The first surprise of running a console title on a PC is that the CPU is not the problem. Xbox Series binaries are compiled for Zen 2, which is x86-64. So the layer does not interpret the game's code, and it does not translate it instruction by instruction. It runs the title's own machine code directly on your processor.

The only thing standing in the way is a feature check. The runner refuses to start unless the host CPU exposes AVX2, the vector instruction set that Zen 2 supports and that the console build assumes it can lean on. That is the entire gate. If your chip speaks the same dialect, the game's code just runs.

if !is_x86_feature_detected!("avx2") {
    anyhow::bail!("Xbox Series binaries are compiled for Zen 2; AVX2 is required");
}

This should reset your mental model of a console port. There is no CPU emulator here, no interpreter loop grinding through opcodes. The interesting question is not how the layer runs the game. It is what remains once the CPU is free.

The way there is porting, not emulating

VIctory-Belobug-AMD README, Project documentation · Belobug/VIctory-Belobug-AMD

Emulation Copies. Porting Rewrites.

An emulator watches the console's shared memory and reproduces it every frame. It observes what the hardware did and repeats the result. That is how you get a console title to look right without understanding it: copy the state, replay the commands, present the picture.

VIctory does something else. It patches the title's renderer so it behaves the way a PC renderer does. The README states the distinction directly, and the code backs it up. Instead of mirroring console memory on a loop, the layer intercepts the GPU calls, records them, and rebuilds the rendering path around a Direct3D 12 host backend.

That reframing changes everything downstream. If you copy console memory, your per-frame cost is a copy. If you rewrite the renderer, your cost is translation, up front, and then the work can be cached, parallelized, and scheduled the way a PC game expects. The rest of the project is the consequence of that one decision.

A close-up editorial illustration of two hands at a workbench. The left hand holds up a single raw shader instruction card, dense and irregular, drawn with heavy stippling to suggest unreadable bytecode. The right hand holds a magnifying lens over it, and through the lens the same card is redrawn as clean, evenly spaced, legible lines. A single taut thread runs from the raw card, through the lens, to a stack of finished cards on the right. It illustrates the shader translator turning console bytecode into driver-ready code.
Inside the shader translator: raw console bytecode goes in, legible PC-ready shader code comes out, and the finished cards stack up in the cache.

Where the Work Actually Lives

If the CPU is free, the GPU is the war. A console shader is not something a PC driver can simply accept. It arrives as console-specific bytecode, targeting a console-specific instruction set, and the driver on your PC has no idea what to do with it. You cannot hand it across and hope.

So the layer recompiles. The shader pipeline parses DXBC and DXIL, decodes the console's GFX10 instruction set, and emits fresh DXIL that a Windows driver will actually load. The emitted shader is then validated against the Windows SDK's dxil.dll, which is the ground truth for whether the output is legal. If validation fails, the shader never reaches the driver.

This is the intellectual core of the project, and it is the piece you can least afford to get wrong. Every unique shader in the title has to survive parse, decode, emit, and validate before it can render a single pixel. Once it does, it goes into a persistent cache, and the next time the game asks for it, the expensive part is already done.

Two ways to run a console frame. The emulation lane copies console memory on a loop. The porting lane runs the CPU code natively and fans the GPU work out to parallel shader translation, then caches it.

A Workbench, Not a Runtime

Most compatibility layers ship as a launcher. You double-click, you wait, the game starts or it does not. VIctory ships as a set of discrete commands instead, and that choice tells you who built it: people studying a binary, not people shipping a product.

Each stage of the process is its own subcommand. You can analyze the inputs, ask the translator what it can handle, fill the shader cache, build the driver pipelines ahead of time, and only then run the title. Every step can be run, measured, and debugged on its own, which is exactly what you want when you are reverse-engineering a renderer rather than just launching it.

SubcommandPurpose
inspectAnalyze a title binary's structure and exports
censusSurvey what the layer sees in the input
translateReport which shaders the translator can handle
shadersFill the persistent shader cache
warmBuild driver pipelines ahead of time
runExecute the title

There are smaller tells of the same instinct. The warm command carries a hidden argument that lets a parent process re-invoke itself as a worker, a process-isolation trick you only build if you have been burned by a pipeline build taking the whole session down with it. And the help text is not marketing copy. It is operational knowledge, written down where the person running the command will find it.

One Fork in a Crowd

This is not a ground-up project. It is a fork of a fork, and the lineage is the honest way to understand what it adds. The upstream VIctory supplied the loader, runtime services, Direct3D 12 backend, and shader recompiler. Belobug's branch started from fxceless's tree and layers AMD-oriented, performance-focused work on top: parallel translation of recorded calls, asynchronous submission, shader-write readback, texture uploads on a dedicated copy queue.

The credits read like a community ledger. Ray-tracing fixes, cube gradients, and sparse textures come from DexNom. Page-view write guards and title memory reads come from myokex. Other adjacent work is credited to FQY55kai and ZJOU-VICTORY. Belobug's own contribution is the branch itself: making the whole thing run well on AMD Radeon hardware, which shares an architectural heritage with the console the title was built for.

ProjectRelationshipDistinction
Marvisak/VIctoryUpstream foundationSupplies loader, runtime services, D3D12 backend, shader recompiler
fxceless/victory-forkDirect precursorBelobug's fork started from this tree
DexNom/VIctoryCredited contributorRay-tracing fixes, cube gradients, sparse textures
myokex/victory-amdCredited contributorPage-view write guards, title memory reads
FQY55kai/ZJOU-VICTORYCredited contributorAdjacent community work
Belobug/VIctory-Belobug-AMDSubjectAMD-oriented, performance-focused branch

One caveat worth stating plainly: the FPS figures floating around these projects come from different GPUs, different builds, different scenes, and different settings. They are reported community measurements, not a controlled comparison. Ranking them against each other would be reading noise as signal.

What It Actually Does Today

Here is the honest status. The Belobug build renders a lit open world and progresses through missions. It also runs at roughly 3 to 5 FPS, shows visual defects, and demands a lot of memory. At the time it was reported, it had been tried on one machine. The README's own summary is blunt: it is not playable yet.

That gap is the real subject. Booting and rendering a lit world is a genuine engineering achievement, and it is also a long way from a port. The CPU already runs the game's code natively. The shaders already recompile. What remains is the unglamorous part: making all of it fast enough that a person would want to play it.

The repository contains no game files, code, or assets, and it is not affiliated with the publisher. You supply your own copy. What the project supplies is the layer, the translator, and the workbench, all pointed at a target that is currently measured in single-digit frames. Whether it closes that distance is the question worth watching.