VictoryForkGTA6.wiki Can I Run It?

How to Build VIctory Fork & Set VICTORY_RELAY=2

Select your speed preset and console profile below to generate the exact PowerShell build and launch commands from fxceless/victory-fork. You must provide unpacked files from an Xbox Series copy you legally own.

Generates PowerShell commands from github.com/fxceless/victory-fork. Requires your own unpacked Xbox Series game copy outside the repo.

Expected world FPS2.8 to 4.1 fps
DXIL cleanup-43% host ops
GPU idle drop136 ms -> 30 ms

PowerShell build & run snippet

git clone https://github.com/fxceless/victory-fork.git
cd victory-fork
cargo xtask install-hooks
copy victory.example.toml victory.toml
cargo build --release -p victory
$env:VICTORY_RELAY = "2"
target\release\victory.exe run D:\Game\game_scarlett_final.exe --execute --console series-x
VICTORY_RELAY=2 cuts GPU idle time behind CPU submission from ~136 ms to ~30 ms

Brings prologue frame times down from 420-450 ms to 240-350 ms on an RTX 4070 12 GB while keeping autosave checkpoints, HUD and pad input active.

Fork Environment Variables Explained

Most newer speed optimizations in fxceless/victory-fork sit behind opt-in switches so contributors can isolate regressions cleanly:

VariableEffect in fxceless/victory-fork
VICTORY_RELAY=2Starts a relay thread that lands GPU completions asynchronously, cutting card idle wait behind CPU submission from ~136 ms to ~30 ms/frame.
VICTORY_LATE_WAIT=3Sends GPU command submissions ahead of CPU fence waits for higher overlap.
VICTORY_WIDE_BACK=1Enables wider back-buffer queuing alongside late-wait submission.
VICTORY_CARD_BUFFERS_MB=1024Mirrors large title buffers in VRAM (pair with VICTORY_CARD_BUFFERS_MIN_MB=1), detecting shader writes by GPU-side hashing.
VICTORY_INPLACE=1Experimental first-stage zero-copy mode opening title memory directly as a D3D12 graphics heap.
VICTORY_SHADER_OPT=0Disables the default ~43% DXIL instruction cleanup pass when diffing shaders.
VICTORY_WAVE_WIDE=1Re-enables the wide 64-lane barrier form (off by default to prevent Wave32 hangs).

Saves, Cache & Keyboard Map

Checkpoints, settings and crashes.log are written to %LOCALAPPDATA%\victory\data, while translated DXIL shaders and mapped pipeline libraries live in the cache folder.

  • Left / Right Stick: WASD / IJKL
  • Face Buttons (A, B, X, Y): Enter, Backspace, X, Y
  • Shoulders & Triggers: Q / E & Z / C
  • Menu & View: Esc & Tab

Build & Speed Switch FAQ

How do I build fxceless/victory-fork from source?

Install Rust (rustup picks up the pinned toolchain automatically), git clone https://github.com/fxceless/victory-fork.git, run cargo xtask install-hooks, copy victory.example.toml to victory.toml pointing at your own unpacked game folder outside the repo, and build with cargo build --release -p victory.

Which environment variables give the best FPS in VIctory Fork?

Set $env:VICTORY_RELAY = '2' (or $env:VICTORY_LATE_WAIT = '3'; $env:VICTORY_WIDE_BACK = '1'; $env:VICTORY_CARD_BUFFERS_MIN_MB = '1'; $env:VICTORY_CARD_BUFFERS_MB = '1024') before running victory.exe. On the maintainer's RTX 4070 rig, that drops frame times from 420-450 ms down to 240-350 ms (~2.8 to 4.1 fps).

Is the 43% DXIL shader optimizer enabled by default?

Yes. Post-translation DXIL cleanup passes (dead-code elimination, constant folding, value reuse and branch facts) run automatically and save ~20 ms of GPU time per frame. Only set VICTORY_SHADER_OPT=0 if you are debugging shader codegen.

What keyboard controls work if I have no Xbox controller?

When no XInput pad is connected and the window is focused, keyboard stand-in controls map WASD / IJKL to left/right sticks, Arrow keys to D-pad, Enter / Backspace / X / Y to A / B / X / Y, Q/E to bumpers, and Z/C to triggers.