Skip to content
PastiiJayPublic
forked from Marvisak/VIctory

About

An open lab that combines the best fixes from every Xbox-to-PC compatibility project into one tested build. Based on VIctory.

Topics

Resources

Stars

8 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

KLBF Lab
KLBF Lab

An open lab that combines the best fixes from every Xbox-to-PC compatibility project into one tested build.

current version: Lab 23 test: Lab 31, 5.2 fps on AMD candidate: Lab 33 based on VIctory tested on RX 9070 XT first gameplay scene drawn on AMD GPL-3.0

Which version? • 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.

Which version should I use?

Version Who it's for What you get
 Current
Lab 23 (this branch)
everyone, any graphics card the most stable one: the first gameplay scene is drawn, ~2 fps
 Test
Lab 31 (klbf-amd)
AMD Radeon cards the cell is drawn: walls, window, posters; Lucia's face, hair and orange outfit; ~5.2 fps; a purple tint left on some papers
 Candidate
Lab 33
not downloadable yet the next one, being tested in our lab: our AMD stack moved onto the fork's latest version (skin and hair textures, an AMD view-heap fix). Published only if it shows a picture and holds several minutes; otherwise we skip it and try the next number

frames per second: Current (Lab 23) 2, Test (Lab 31) 5.2, Candidate (Lab 33) about 6 expected

Frames per second in game on our AMD RX 9070 XT (higher is better). The candidate's striped bar is what we expect, not a measured result yet. Every run, good or bad, is in the run log; what changed in each version is in the patch notes.

Results that are faster but not stable yet
  • Lab 26 with extra card buffers (VICTORY_CARD_BUFFERS_MB): ~5.4 fps, but the graphics card stopped responding after ~11 min.
  • Series S mode with AMD FSR upscaling: 5–7 fps, but it crashed after ~2 min and the picture has purple patches and flashes.

Lab 23 is the fxceless/victory-gta6 fork, unchanged, plus our docs: all its rendering work is by its author (see README.fxceless.md). Lab 31 adds our own AMD fixes and other contributors' fixes on top, on the newer fork.

Why

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.

Why a fork, and not just a branch

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.

Two tracks

KLBF Lab follows the two ways people are taking to bring this title to PC, and keeps whichever works best at the time:

Track How it works Where we are
Compatibility layer (current) The console's own code runs on the PC; the layer provides the console's services and translates its shaders for the graphics card. VIctory and its forks. Our test builds: first gameplay scene and the first mission played on AMD, ~3 fps (this branch: the first scene, ~2 fps).
Static recompilation (long term) The whole program is translated ahead of time into a native PC program. Slower to get going, potentially faster and more stable later. five-star-recomp leads it. We follow it and offer AMD testing; no KLBF build on this track yet.

What we learn on AMD (shader translation, 64-lane waves, driver compiler issues) applies to both.

Status

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 game ~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.

Features (Lab 23)

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.

Controls

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)

Display

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 game 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

Game

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

What's inside

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: VIctory main + #452, #431, #67, #584, #493 (1,006 s, black world).

Build and run

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> --execute

Tips from our runs:

  • Stay windowed. Alt+Enter (fullscreen) freezes the picture in the world.
  • docs/klbf/run-test.ps1 runs 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.

Results

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).

Testers wanted

We're looking for testers, not chatters. Any GPU: AMD, NVIDIA or Intel.

  1. Build the klbf-lab branch from source, with your own copy of the game.
  2. Run it with docs/klbf/run-test.ps1.
  3. 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.

Rules

  • 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.

Credits

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.

License

GPL-3.0, the license of VIctory. The fork's README (with the original VIctory README below it): README.fxceless.md.

About

An open lab that combines the best fixes from every Xbox-to-PC compatibility project into one tested build. Based on VIctory.

Topics

Resources

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages