Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL

ka1qux/BRVIctory-ka1qux

Games

Compatibility layer that runs an Xbox Series title natively on Windows using the user's own game files, tuned for AMD RDNA3 cards.

104
20
Rust
GPL-3.0
new today

What it is

BRVIctory-ka1qux is a Windows compatibility layer for a single Xbox Series title. It is a fork of victory-fork, itself a fork of VIctory, and it carries the fixes its author needed to get the game's world rendering on an AMD Radeon RX 7800 XT.

Nothing is emulated. The game's x86-64 PE executable is loaded directly on the host CPU; its console runtime, memory, DirectStorage and D3D12.X calls are bound to host implementations, its command lists become host D3D12 command lists, and its RDNA2 shader machine code is recompiled to DXIL and cached. Xbox texture layouts and BCPack streams are converted, XMA2/Opus audio is decoded, and Bink movies play through the title's own library. The architecture notes describe the crates.

The repository contains no game files, code or assets; you must supply your own copy. See the asset policy for what must not enter the repo.

What this fork changes

Most of the work targets correctness of texture and buffer handling on AMD: stale copies of title memory, 16-byte view alignment, texture-queue recycling, mip-dropping when the 16 GB card fills up, and making character skin/clothes bakes resolve their source textures first. Dispatches larger than 65,535 groups are split into parts. The title's ray-traced light now runs (on by default) rather than crashing, and translator fixes cover quad reads, mesh exports and 16-bit mesh outputs. Frame-time work brings a busy open-world street from 0.83 s to 0.42 s per frame on the test machine, mainly by replacing whole-memory copy-back with write marks and trimming the descriptor-heap pass.

Fixes come from the author's own commits and from applied open pull requests of victory-fork, victory-amd, Belobug and upstream VIctory; the README lists them with authors.

Running it

Requirements: Windows 10/11 x64, a CPU with AVX2, a D3D12 GPU with shader model 6.6 and mesh shaders, the pinned Rust toolchain with MSVC build tools, and several GB of free Windows commit — a full run can need 29–32 GB of commit on a 16 GB card.

cargo build --profile diag -p victory --features diagnostics

$g = "<your game folder>"
$env:VICTORY_GAME_DIR  = $g
$env:VICTORY_CACHE_DIR = "<a folder for caches, outside the repository>"
$env:VICTORY_DATA_DIR  = "<a folder for saves, outside the repository>"

target\diag\victory.exe translate --cache --pipelines --used-pipelines `
    "$g\shaders.rpf" "$g\<the title's exe>" "$g\XboxBvhBuilder.dll" "$g\amd_fidelityfx_upscaler_xbox.dll"

$env:VICTORY_INDIRECT_CLAMP = "0"
$env:VICTORY_SKIP_MOVIES    = "1"
$env:VICTORY_COMMIT_RESERVE_MB = "6144"

target\diag\victory.exe run "$g\<the title's exe>" --execute

The translate step is needed after each translator change and takes 5–15 minutes; reuse the same executable and switches for the run. Input is XInput pads, or the keyboard when a pad is absent and the window has focus. The full switch list and debugging notes are in the victory-fork README copy.

Limits and known issues

Measurements come from one machine (i5-13600KF, RX 7800 XT, 32 GB), so other GPUs are untested. Ray-traced light was only checked on one open-world street; interiors and night scenes are unchecked. Performance is still low: about 3 fps on a busy street with roughly 6,000 draws per frame. With the speed defaults, baked hair and skin come out too light, so the recommended settings leave those off. A character outfit mismatch appears in one early cutscene, and first-room geometry streams in 10–25 seconds after the opening shot starts. Two of the title's compute programs do not translate. The project is GPL-3.0-or-later, inherited from upstream.

HotRepo's take

The repository appeared on HotRepo's new-project board for Rust on 2026-11-25, gaining 104 stars and 20 forks within its first day; no all-language daily rank has been recorded. That is a very short observation window, and the README's value is in the measurement tables and switch-by-switch notes rather than in breadth of adoption. The project is explicitly scoped to one title and one AMD card, so its practical audience is narrow even by compatibility-layer standards — but within that scope it documents concrete before/after numbers (stale-page rate from 5.4% to 0.1%, street frame time 0.83 s to 0.42 s) that are more useful to other fork authors than a generic release announcement would be.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

You might also like

  1. PastiiJay/klbf-labRun an Xbox Series build of a GDK game on Windows from your own files, with AMD-focused rendering fixes.Rust62
  2. fxceless/victory-forkA work-in-progress fork of a compatibility layer that runs an Xbox Series title natively on Windows using user-supplied game files.Rust816
  3. Belobug/VIctory-Belobug-AMDA work-in-progress AMD Radeon fork of the VIctory compatibility layer that runs GTA VI's Xbox Series code on Windows.Rust219
  4. boykopovar/AnyBoxA GPL-2.0 C++ compatibility layer for running Xbox Series X|S executables on Windows, still in early development.C++142
  5. fxceless/victory-gta6A work-in-progress compatibility layer fork that aims to run GTA VI's Xbox Series build natively on Windows.Rust160