Read-only copy of github.com/ImTaneax/VIctory-RTX3050-4gb · VIctory fork tuned and measured on an RTX 3050 Laptop 4 GB / i5-12450H / 16 GB RAM. No game files.
  • Rust 99.3%
  • PowerShell 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-12-03 17:48:42 +01:00
.cargo VIctory RTX 3050 Laptop 4 GB: measured fork (snapshot) 2026-11-30 15:54:31 +01:00
.githooks VIctory RTX 3050 Laptop 4 GB: measured fork (snapshot) 2026-11-30 15:54:31 +01:00
.github docs: add voluntary Buy Me a Coffee support link and funding metadata 2026-12-03 17:48:42 +01:00
apps/victory Update: warm/preload work on a fresh cache (launcher first install), clearer errors 2026-12-01 03:26:05 +01:00
bench Update: warm/preload work on a fresh cache (launcher first install), clearer errors 2026-12-01 03:26:05 +01:00
crates Update: warm/preload work on a fresh cache (launcher first install), clearer errors 2026-12-01 03:26:05 +01:00
docs Update: launcher support (warm/preload with the game folder), page mapping locks once a call, how to try it without building 2026-11-30 22:42:09 +01:00
scripts Update: launcher starts get the measured settings, Series S and the shader index 2026-11-30 23:11:40 +01:00
tests/fixtures/hle-probe VIctory RTX 3050 Laptop 4 GB: measured fork (snapshot) 2026-11-30 15:54:31 +01:00
xtask VIctory RTX 3050 Laptop 4 GB: measured fork (snapshot) 2026-11-30 15:54:31 +01:00
.gitattributes VIctory RTX 3050 Laptop 4 GB: measured fork (snapshot) 2026-11-30 15:54:31 +01:00
.gitignore VIctory RTX 3050 Laptop 4 GB: measured fork (snapshot) 2026-11-30 15:54:31 +01:00
.victory-root VIctory RTX 3050 Laptop 4 GB: measured fork (snapshot) 2026-11-30 15:54:31 +01:00
Cargo.lock Update: warm/preload work on a fresh cache (launcher first install), clearer errors 2026-12-01 03:26:05 +01:00
Cargo.toml VIctory RTX 3050 Laptop 4 GB: measured fork (snapshot) 2026-11-30 15:54:31 +01:00
LICENSE VIctory RTX 3050 Laptop 4 GB: measured fork (snapshot) 2026-11-30 15:54:31 +01:00
Play-VIctory.cmd VIctory RTX 3050 Laptop 4 GB: measured fork (snapshot) 2026-11-30 15:54:31 +01:00
PLAY_FRAMEGEN_LAPTOP.cmd VIctory RTX 3050 Laptop 4 GB: measured fork (snapshot) 2026-11-30 15:54:31 +01:00
README.md docs: add voluntary Buy Me a Coffee support link and funding metadata 2026-12-03 17:48:42 +01:00
rust-toolchain.toml VIctory RTX 3050 Laptop 4 GB: measured fork (snapshot) 2026-11-30 15:54:31 +01:00
rustfmt.toml VIctory RTX 3050 Laptop 4 GB: measured fork (snapshot) 2026-11-30 15:54:31 +01:00
start-diag.ps1 Update: texture queue lock only for queued slots, diagnostics build fixed 2026-11-30 18:23:11 +01:00
start-dlss-nofg.ps1 Update: texture queue lock only for queued slots, diagnostics build fixed 2026-11-30 18:23:11 +01:00
start-dlss.ps1 Update: texture queue lock only for queued slots, diagnostics build fixed 2026-11-30 18:23:11 +01:00
start-fg2-withfg.ps1 Update: texture queue lock only for queued slots, diagnostics build fixed 2026-11-30 18:23:11 +01:00
start-fg2.ps1 Update: three frames ahead by default 2026-11-30 20:09:15 +01:00
start-nofg.ps1 Update: texture queue lock only for queued slots, diagnostics build fixed 2026-11-30 18:23:11 +01:00
start-nofg2.ps1 Update: texture queue lock only for queued slots, diagnostics build fixed 2026-11-30 18:23:11 +01:00
start-ownupscaler.ps1 Update: texture queue lock only for queued slots, diagnostics build fixed 2026-11-30 18:23:11 +01:00
start-perf.ps1 Update: texture queue lock only for queued slots, diagnostics build fixed 2026-11-30 18:23:11 +01:00
start-timeline.ps1 Update: texture queue lock only for queued slots, diagnostics build fixed 2026-11-30 18:23:11 +01:00
start-warm.ps1 Update: texture queue lock only for queued slots, diagnostics build fixed 2026-11-30 18:23:11 +01:00
victory.example.toml VIctory RTX 3050 Laptop 4 GB: measured fork (snapshot) 2026-11-30 15:54:31 +01:00

VIctory-RTX3050-4gb

Buy Me a Coffee

Voluntary support for the maintenance and testing of this fork; upstream credits remain unchanged.

Join the Discord: https://discord.gg/Yzxr2bhp4z (setup help, bug reports, test results, updates; the server is still being built)

An NVIDIA 4 GB VRAM / 16 GB RAM laptop-tuned fork of VIctory, a compatibility layer that runs an Xbox Series S title natively on Windows from files the user supplies.

This repository contains no game files, code or assets. You need your own copy of the game. It is not affiliated with or endorsed by the game's developer or publisher.

Where this comes from

Built on the RTX 3050 laptop fork by snre-fluar, with parts ported from VIctory-NVIDIA (trustno1-coder), Whiplash-NVIDIA, foxhound, Dathinel, TUFF and other public forks (credited in docs/FORKS.md and bench/nightlog.md). Every change here was measured walking through the world on an RTX 3050 Laptop 4 GB / i5-12450H / 16 GB RAM; the log of what helped and what did not is bench/nightlog.md. Start scripts name C:\Games\GTA6\game_scarlett_master.exe: point them at your own copy.

Just want to try it? (no building)

  1. Download victory.exe from the latest release.
  2. Use it with a launcher that takes a VIctory build, for example XSEmu (add it as a runner) or the FurrVI launcher (add this repository as a custom build; it builds it for you). Or put it next to your other VIctory build and start it the same way.
  3. Run the launcher's shader warm-up / pre-cache once (it calls victory.exe warm <game folder> or preload <game folder>), then play.

Started by a launcher (victory.exe run <game exe> --execute, no script), it now uses the same settings our measurements were made with: the Series S profile, DLSS Balanced, the picture fixes (NaN scrub, enough descriptor slots, ray-tracing work left out) and the 4-6 GB VRAM limits when it finds such a card. The first start also builds the index of precompiled shader programs by itself (about a second; without it heads and faces were missing). A launcher or you can still set any VICTORY_* variable or pass --console series-x; VICTORY_DEFAULTS=0 turns the built-in settings off.

Check that you run this build: the first lines of victory.exe's output say

victory        0.1.0 (victory.exe SHA-256 <same as on the release page>)
settings       70 of the measured defaults applied (<your card>, ...)
console        Xbox Series S

If settings is missing or it says Xbox Series X, an older victory.exe was started (or your launcher sets its own options). Cards without DLSS (GTX, AMD) get the game's own upscaler instead (at half size on 4-6 GB). A line memory WARNING means the pagefile is too small: set it to "System managed".

You need your own copy of the game; nothing of the game is here. Made for NVIDIA cards (RTX 3050 Laptop 4 GB is the test machine).

First start: translate the shaders first (or expect 1 fps for a while)

On the first start the game's tens of thousands of shaders are translated while it runs: a black or frozen window, 1-2 fps and the CPU near 100 % for many minutes are normal then, not the frame rate you will get. Translate them once before playing:

$env:VICTORY_HOST_WAVE = "32"   # NVIDIA cards
.\target\release\victory.exe shaders "C:\Games\GTA6"

Give it the game folder, not the .exe: with the .exe only the few shaders inside the .exe are translated (15 instead of about 25,800). This fills the shader cache and the index of precompiled programs (about 3 minutes on the i5-12450H test laptop, once per update of victory.exe). Also needed: 16 GB RAM, the game and the pagefile on an SSD (a hard disk stutters badly while the world streams), and few other programs open.

Measured on this hardware

Part Value
GPU NVIDIA RTX 3050 Laptop, 4 GB (D3D12 budget 3.37 GB, 32-lane waves)
CPU Intel i5-12450H (4P + 4E cores, 12 threads)
RAM 16 GB (15.7 GB usable), pagefile on NVMe
Game profile Series S, DLSS Balanced (1113x626 -> 1920x1080), no frame generation

Native frame rate (no frame generation counted), walking through the world on foot:

Stage Median fps Notes
Start of this work 5.5-6.8 100-226 draws a frame dropped for missing pipelines
Now 7.0-8.3 0 draws dropped; standing still ~9.5

What changed it (each measured, most in A/B runs inside one session; bench/nightlog.md has every run, including what did not help):

  • Black faces, bodies and walls: rewritten texture slots keep their old view until the new one is uploaded (VICTORY_KEEP_SHOWN=2, VICTORY_KEEP_FULL).
  • Compute pipelines from precompiled console code (device method 0x218, from Whiplash-NVIDIA): dropped draws 100-226 a frame -> 0.
  • Descriptor heap sync spread over its threads in smaller jobs: mean frame time -30 to -50 ms and a much lower p90 in A/B (VICTORY_BEFORE_FINE, VICTORY_PAGES_FINE); an A/A control run differed -26 to +15 ms.
  • Descriptor slot locks by hash (4,096 instead of 512 by index): lock waits 40 -> 14 ms a frame.
  • Loose windows reuse a larger window that already holds the memory: duplicated copies ~320 -> ~160 MB.
  • A texture slot a draw reads through a table takes the texture queue's lock only when it is queued (VICTORY_TABLED_BITS; also fixes queue bits the remap paths never set): 4 of 6 A/B pairs faster, mean -7 ms a frame.
  • Diagnostics build compiles again (cargo build --profile diag -p victory --features diagnostics); it names what the submitting thread waits for (the longest stalls: buffer copies done on the card whose destination a later step reads on the CPU).
  • Page-mapping copies (the world streaming in) take their locks once a call: 20-24 % less time on the title thread that does them (VICTORY_MAP_HELD).
  • Launchers: warm <game folder> and preload <game folder> work (XSEmu's warm-up failed before).
  • Launchers get what the scripts give: a bare victory.exe run used none of our ~70 settings and the Series X profile (on a 4 GB card DLSS then ran out of memory: a white picture), and without victory shaders there was no index for the precompiled programs (missing heads). Now the measured settings are the defaults, Series S is the default profile, and the index is built at the first start.
  • At most 4 of the title's submissions are prepared as one (was 16, VICTORY_JOIN_FEWER): joined parts are reported done only when the last has run, and a thread timeline showed the title polling up to 81 ms a frame for that. Two A/B walks: 5 of 6 comparable pairs faster, up to 238 -> 172 ms a frame.
  • The landing thread tells the title as soon as the work ahead of its signal has landed, instead of after everything the card finished (VICTORY_RELAY_EACH): two A/B walks, 5 of 6 comparable pairs faster, mean -8 ms a frame.
  • The title may run three frames ahead of the card instead of two (VICTORY_SUBMIT_FRAMES, now 3 by default): two A/B walks faster in most comparable pairs, up to 147 -> 119 ms a frame.

Still the limit: RAM. The process holds 14-17 GB on a 16 GB machine and pages from the SSD while walking; 30 fps is not reached yet.

How to run it

Windows 10/11 x64, an AVX2 CPU, a Direct3D 12 GPU with Shader Model 6.6 and mesh shader support, the pinned Rust toolchain, and MSVC C++ build tools with a Windows SDK are required.

Build

cargo build --release --bin victory

# Optional diagnostics build:
cargo build --profile diag --bin victory --features diagnostics

Launch

Using the NVIDIA laptop PowerShell launcher (auto-detects <= 6 GB VRAM and <= 20 GB RAM):

.\scripts\play-nvidia.ps1 -Exe "D:\Games\MyDump\game_scarlett_master.exe"

Or using Play-VIctory.cmd:

$env:VICTORY_GAME_DIR = 'D:\Games\MyDump'
.\Play-VIctory.cmd pareto-residency

Optional overrides on scripts\play-nvidia.ps1:

  • -RenderScale '0.67' (720p internal) or '1.0' (1080p) for sharper shadows at lower FPS (default on 4 GB VRAM: '0.5' with VICTORY_OWN_UPSCALER=1).
  • -Build diag to launch target\diag\victory.exe.
  • -RayTracing to keep ray-tracing passes enabled (disabled by default via scripts\rt_off_hashes.txt and VICTORY_BVH_MISS=1).

Verified Status (RTX 3050 Laptop 4 GB VRAM, 16 GB RAM)

  • Menus / loading screens: 30 fps
  • In-game world (1,400–3,500 draws/frame): 7–13 fps (75–134 ms/frame CPU-bound in submission/refresh)

License

GPL-3.0-or-later, as VIctory. See LICENSE; the one file that is not covered is named in docs/asset-policy.md.