An open lab that combines the best fixes from every Xbox-to-PC compatibility project into one tested build.
Testing this fork • Why • Status • What's inside • Build and run • Results • Testers wanted • Rules • Credits
Important
This repository contains no game files, keys, shaders or executables from the game, and does not explain how to get them. You need your own legally obtained copy, already readable on disk. Nothing here decrypts or works around any protection. Everything a run creates stays on your PC: never share it.
This is the main branch of VInAMD, a performance branch of KLBF Lab for AMD cards. Everything from Why on
is the KLBF Lab README and describes Lab 23, not this branch. The klbf-og branch is what this fork had before.
Measured on one machine only: Radeon RX 7900 XTX 24 GB, Ryzen 7 5800X3D, 64 GB of RAM, Windows 11, second launch of the build. Run ED2: played by hand for 903 s, up to the open world, no device removal.
| Where | ms per frame (mean per minute) |
|---|---|
| Opening cutscene | 186-206 |
| First mission | 94-116 |
| Open world | 171-230 while streaming; 362 in the minute it loads, peaks up to 395 |
That is one run, and every other card, driver and amount of memory is untested here.
| Known problem | What to do |
|---|---|
| Memory. 34-39 GB of RAM in use, and free commit fell to 2.0 GB on a 64 GB machine | Close other programs, make the page file larger, and note the lowest commit free of the window caption |
| Dark areas: ray-traced lighting is not implemented | Expected, not a bug to report |
| The first launch compiles shaders and is slower | Judge the second launch |
| Under 24 GB of card memory | Not tested: lower the two values below |
| NVIDIA and Intel cards | Not tested: say so in the report |
You need your own legally obtained copy of the game, already readable on disk. Nothing here includes or downloads one.
Requirements: Windows 10/11 x64, a CPU with AVX2, a Direct3D 12 card with shader model 6.6 and mesh shaders, and Rust
(the version is pinned in rust-toolchain.toml).
git clone -b main https://github.com/iLucasRT/VInAMD
cd VInAMD
copy victory.example.toml victory.toml # then set your paths (outside the repository)
cargo build --profile diag -p victory --features diagnosticsRun it with the launcher, which sets every switch ED2 had, and keep the log:
cmd /c "powershell -NoProfile -ExecutionPolicy Bypass -File docs\klbf\play-brute-force.ps1 -Game <dump>\<title exe> > run.log 2>&1"Options of the launcher:
| Option | Default | For |
|---|---|---|
-CardBuffersMB |
4096 | Title buffers kept in card memory. Try 2048 or 1024 under 16 GB |
-HeapTexturesMB |
4096 | Textures brought up to date per frame. Try 2048 or 1024 under 16 GB |
-TextureThreads |
8 | Threads that prepare textures; 0 turns them off |
-HeapSync |
off | Mirrors descriptor records the game copies as bytes; cost about 35 ms a frame here |
Stay in windowed mode: fullscreen (Alt+Enter) froze the picture on KLBF Lab's builds. Input is an XInput controller,
connected before the launch, or, with none connected, the keyboard (see
README.fxceless.md). Save the game as you would: saves and crashes.log are in
%LOCALAPPDATA%\victory\data unless victory.toml says otherwise.
Open an issue on this fork with text only:
- Card and its memory, driver version, CPU, RAM, page file size.
- The commit (
git rev-parse --short HEAD) and the launcher options used. - How long it ran and how far you got; whether it closed, froze, or the card was removed.
- From the window caption: ms per frame, peak, GPU percentage, RAM, VRAM and lowest
commit free, in the menu, the first mission and the open world. - The last 30 lines of
run.log, after checking that it holds no personal path or name.
Never attach game files, shaders, saves, screenshots, videos or the capture folder.
Several open-source teams are working out, in public, how a modern console game can run natively on a PC: how its graphics commands, shaders, memory and input get translated from one platform to another. It's fascinating to watch, and with this many people following it, now is the time to learn how these systems really work.
KLBF Lab is an educational project. We read the code, build it, test it on real hardware and write down what we learn. Every project solves different problems. So we pick the fixes that really move things forward, wherever they come from, combine them in one build, measure it and credit the people who wrote them. We don't take sides: our test numbers go back to every project.
We learn from the best projects first, VIctory above all, then XCL, Palmwave, and emulator write-ups like Xenia's and shadPS4's. But testing on one AMD card kept raising questions that no single upstream pull request answers: why the world stays black, why the GPU sits mostly idle, why one CPU thread is saturated. Answering them means trying things in a slightly different direction, measuring them, and sometimes throwing them away. That needed a place of its own, with its own build, its own test log and its own experiments, more than a branch in someone else's repository. Whatever works goes back upstream, with numbers.
Every GPU. Our own runs happen on an AMD card, but the goal is one build that works on every GPU: AMD, NVIDIA and Intel results are all welcome, and we try not to break any of them.
Note
Current version: Lab 23. This branch is the fxceless/victory-gta6 fork, unchanged, plus our docs. All rendering work here is by its author (see README.fxceless.md). We tested it on AMD: it draws the first gameplay scene on an RX 9070 XT. Our own fixes go on top in the next builds; the previous KLBF stack is kept as the tag klbf-lab-15.
🧪 Brewing in the lab: Lab 24 (stop the memory growth so a run lasts) and Lab 25 (our shader fixes on top, for more fps). They replace this version once one passes a full run.
Not playable. Measured on our machine (Windows 11, AMD Radeon RX 9070 XT, Ryzen 7 9800X3D, 32 GB RAM):
| Stage | KLBF Lab (this branch), on our RX 9070 XT |
|---|---|
| Boot, first-boot screens, intro video, start screen | 30 fps |
| Loading into the world (~50 s) | works |
| The opening scene | plays |
| The first gameplay scene | drawn: characters, buildings, the yard (seen with the game's high-contrast option on) |
| Speed in the world | ~2 fps after warm-up (~520–550 ms/frame) |
| Stability | no device removal; the run stopped at 514 s when Windows ran out of virtual memory (the process committed ~104 GB) |
Known problem on our machine: committed memory keeps growing (the fork's author reports ~24 GB on an RTX 4070). Close other programs, keep a large page file, and expect a stop after several minutes. We're working on it.
What we checked ourselves on the RX 9070 XT, and what the fork's author reports. "Not tested" means we have no evidence either way yet.
| Feature | Status | Notes |
|---|---|---|
| Xbox controller (XInput) | Works | Menus and gameplay input, vibration; checked on our earlier builds, not yet re-checked on Lab 23 |
| Controller plugged in after launch | Not yet | The game only sees controllers connected before it starts: plug in first, then launch |
| Keyboard and mouse for gameplay | Not yet | Planned (VIctory #1529); today the game asks for a controller |
| Sony DualSense (PS5) controller | Not yet | Planned (VIctory #1517) |
| Feature | Status | Notes |
|---|---|---|
| Windowed mode | Works | Resizable; can be moved to any monitor |
| Fullscreen (Alt+Enter) | Not yet | Freezes the picture in the world; stay windowed |
| Playing on a second monitor | Works | In a window, moved to that screen; no spanning across monitors |
| Ultrawide (21:9, 32:9) picture | Not tested | Only run in a window so far |
| Frame rate in menus | Works | 30 fps, the game's own cap |
| Frame rate in the world | Partial | ~2 fps after warm-up |
| First gameplay scene drawn | Partial | Characters, buildings and the yard; areas in shadow stay dark (ray-traced lighting not implemented) |
| HDR | Not tested |
| Feature | Status | Notes |
|---|---|---|
| Boot, legal and first-boot screens | Works | |
| Intro video with sound | Works | |
| Game menus in French | Works | Other languages not tested by us |
| Accessibility: high-contrast option | Works | Makes the scene easiest to read today |
| Opening scene, audio and subtitles | Works | |
| Mission objectives | Works | Shown on screen |
| Pause menu, HUD | Reported | By the fork's author on an RTX 4070; not checked by us yet |
| Autosave and loading a checkpoint | Reported | By the fork's author; not checked by us yet |
| Long sessions | Partial | Our run stopped at 8.5 min (memory growth); Lab 24 targets this |
- The fxceless/victory-gta6 fork at
578d459(VIctorymainffe310e+ one commit with its rendering, shader and speed fixes), unchanged. All credit to its author. - Our docs: this README, docs/klbf/results.md, docs/klbf/run-test.ps1.
Patch notes for every version: CHANGELOG.md. Earlier KLBF versions (older, kept for reference) are tags:
klbf-lab-15: the AnyXboxX integration + #431 + #67 (25 min with no device removal, ~1 fps, dark world).klbf-lab-03: VIctorymain+ #452, #431, #67, #584, #493 (1,006 s, black world).
Same requirements as VIctory: Windows 10/11 x64, an AVX2 CPU, a Direct3D 12 GPU with shader model 6.6 and mesh
shaders, Rust. See README.fxceless.md (it includes the original VIctory README) for the full setup (victory.toml, paths, controls).
git clone -b klbf-lab https://github.com/PastiiJay/klbf-lab
cd klbf-lab
copy victory.example.toml victory.toml # then set your paths (outside the repo)
cargo build --release -p victory --features diagnostics
$env:VICTORY_D3D12_DRED = '1' # clearly more stable on our card
target\release\victory.exe run <game dir>\<the title's exe> --executeTips from our runs:
- Stay windowed. Alt+Enter (fullscreen) freezes the picture in the world.
docs/klbf/run-test.ps1runs a timed test and logs the caption (fps, draws per frame) every 15 s.- When the GPU is removed, Windows resets the display driver: the screen and mouse freeze for a moment. That's expected.
Every run we made, with build and result: docs/klbf/results.md. The same numbers are posted to the projects' own threads (VIctory #59, XCL #560, Palmwave #2).
We're looking for testers, not chatters. Any GPU: AMD, NVIDIA or Intel.
- Build the
klbf-labbranch from source, with your own copy of the game. - Run it with
docs/klbf/run-test.ps1. - Open an issue with your GPU, driver, build commit, how many seconds it ran and the last error lines of the log. Text only.
Note
We have no game files and will never share any. Please don't ask. There is no Discord. Everything happens here on GitHub, in issues and pull requests. Any server claiming to be KLBF Lab is not us.
- No game content. No game files, extracted shaders, saves, keys, screenshots or videos in this repository, in issues or in pull requests.
- No ready-made binaries. Build it yourself from source.
- Credit first. Every fix keeps its author and links the original pull request.
- Facts, not hype. A claim comes with a build, a GPU and a log line.
All the real work belongs to the authors of VIctory and of the pull requests listed above, and to the XCL and Palmwave teams. KLBF Lab only selects, combines and measures.
GPL-3.0, the license of VIctory. The fork's README (with the original VIctory README below it): README.fxceless.md.