A performance-focused fork for running an Xbox Series title natively on Windows with NVIDIA GeForce RTX GPUs, built on fxceless/victory-fork, trustno1-coder/VIctory-NVIDIA, readmet3xt-lab/foxhound, and Marvisak/VIctory.
This repository contains no game files, code, or assets. You must supply your own legally obtained copy of the title (
game_scarlett_master.exe, Xbox Series buildv1.0.2.1). It is not affiliated with or endorsed by the title's developer, publisher, or NVIDIA. See docs/asset-policy.md.
Measured on Windows 11, RTX 4070 Ti SUPER (16 GB VRAM), DLSS + 2x Frame Generation:
- Open-world gameplay:
~20 FPSrendered (18–22 FPStypical across medium/heavy scenes, peaking23–24.8 FPS,~17–21 FPSin heavy/ultra daytime scenes) ->~40–50 FPSshown with 2x DLSS Frame Generation. - Eliminated multi-second pipeline-compile hitches:
0stalls >= 50 ms in cached gameplay (13.0 FPSworst window vs1.8 FPS/7.85 sstalls before). - Zero regressions to visual/lighting fixes: retains
VICTORY_AMBIENT,VICTORY_AMBIENT_SPECULAR,VICTORY_AMBIENT_AIR,VICTORY_WATER_LIGHT, and the 512 MB rolling BVH page budget.
- Non-blocking
pipeline::makerepeat-frame fallback (pipeline/make.rs)- Lowers the non-screen frame wait budget from
500 msto80 ms(VICTORY_PIPELINE_WAIT_MSstill overrides), while keeping the10 sscreen/bake-pass budget (VICTORY_SCREEN_WAIT_MS) intact. - Marks non-screen pipelines that exhaust a wait while compiling in the background so consecutive frames drop immediately without stalling until ready.
- Lowers the non-screen frame wait budget from
- CPU copy, upload & submission-thread (
submit_busy) reductionsshadow.rs:Shadow::takebatchescopy_mappedreads up to64 KiBusing reusable thread-local buffers, AVX2-acceleratedword_runsdiffing, and coalesced card dirty range updates.host/send.rs: pre-counts long vs short runs insend::take, skips unnecessaryVecallocations, and runs scatter-pair encoding inline for small batches.host.rs:card_ahead/relay_card_backcaches bound GPU SRV/UAV addresses across consecutive shadow runs, coalesces declared spans in place without per-shadow allocations, reuses theflagsbuffer, and fast-skips piece binary searches when nothing is flagged.descriptor.rs:sync_heapsruns small (<= 1job) passes inline and merges multi-worker passes through a single shared mutex.watch.rs&host.rs: reduces lock contention innothing_new, coalescesmapped()ranges, pools transient upload memory, and skips blocking staging residency stalls.
- 16 GB VRAM budget tuning & launcher/F1 updates
- Supports scaling VRAM card copies and windows (
VICTORY_CARD_WINDOWS_MB,VICTORY_CARD_BUFFERS_MB,VICTORY_WINDOWS_LATE,VICTORY_TEXTURE_ROOM_PERCENT). - Includes the integrated
victory playlauncher, F1 settings menu, F3 live stats panel,victory warmpipeline pre-warmer, Windows 10/11 Agility SDK auto-matching, DSP mono-convolution audio, and DualSense/DualShock 4 support.
- Supports scaling VRAM card copies and windows (
- OS: Windows 10 or Windows 11 (x64), SSD, 32 GB+ system RAM recommended
- CPU: x86_64 with AVX2 support
- GPU: NVIDIA GeForce RTX with an up-to-date driver (RTX 40+ for official DLSS Frame Generation with Hardware-Accelerated GPU Scheduling enabled; 12–16 GB+ VRAM recommended for higher quality presets)
- Build tools: Rust (
rustup) (the repo pins1.98.1in rust-toolchain.toml) and Visual Studio Build Tools (Desktop development with C++) - Game files: your own dump of the title's Xbox Series build
v1.0.2.1containinggame_scarlett_master.exe
In PowerShell:
git clone https://github.com/CHECK6960/Victory-Nvidia-optimized.git
cd Victory-Nvidia-optimized
# Point victory.toml (git-ignored) at your dump folder outside the repository
copy victory.example.toml victory.toml
# Optional (once): downloads NVIDIA Streamline DLSS & Frame Generation (~70 MB into git-ignored nvidia-sdk\)
.\Get-NVIDIA-DLSS.cmd
# Build with host CPU optimizations (AVX2)
$env:RUSTFLAGS = "-C target-cpu=native"
cargo build --release -p victoryOptional test verification:
$env:RUSTFLAGS = "-C target-cpu=native"
cargo test --release -p victory
cargo test --release -p victory-gpu --libThe compiled executable is created at target\release\victory.exe.
.\target\release\victory.exe play "D:\Games\MyDump\game_scarlett_master.exe"(You can also copy target\release\victory.exe next to game_scarlett_master.exe and double-click it.)
- One-time 30-second warm-up restart: On the very first launch of a newly built
victory.exe, it automatically setsVICTORY_WARMUP_RESTART=30, restarts once 30 seconds after entering the game world, and saves a mark under%LOCALAPPDATA%\victory\warmed\. Later starts launch directly without restarting. - In-game hotkeys:
F1: Settings menu (Up/Downselect,Left/Rightchange,Enterapply/save)F3: Live stats overlay (FPS,FRAME GEN,DRAWS,SUBMIT BUSY,GPU BUSY,IDLE BEHIND US, VRAM/RAM)
- Logs, saves & settings location: Kept outside the game folder under
%LOCALAPPDATA%\victory\:- Logs:
%LOCALAPPDATA%\victory\logs\victory-nvidia-play-*.log - Saved F1 overrides:
%LOCALAPPDATA%\victory\victory-settings.txt - Saves:
%LOCALAPPDATA%\victory\data
- Logs:
powershell -ExecutionPolicy Bypass -File scripts\play-nvidia.ps1 -Exe "D:\Games\MyDump\game_scarlett_master.exe" -FrameGenUseful launcher flags (play-foxhound.ps1): -SeriesS, -Res 1440|1080to1440|4k, -Dlss off|dlaa|quality|balanced|performance, -FrameGen, -FrameGenX 2..6, -Fps 1000|120|60|30, -Preload, -More @{...}.
To pre-compile pipelines previously recorded across your runs before launching (avoids in-world pipeline compilation drops):
.\target\release\victory.exe warm --usedSettings changed in the F1 menu are saved to %LOCALAPPDATA%\victory\victory-settings.txt and override defaults on every launch.
Balances native 1440p sharpness, Series X assets/LODs, clean raster lighting, and safe VRAM margins with Frame Gen active:
| F1 Setting / Variable | Recommended Value | Why |
|---|---|---|
CONSOLE (VICTORY_MENU_CONSOLE) |
SERIES X (series-x) |
Full Series X detail, LODs, textures, and HUD-less FG tagging |
SERIES X PICTURE (VICTORY_MENU_RES) |
2560X1440 (1440) |
Crisp native 1440p output & render targets |
DLSS (VICTORY_MENU_DLSS) |
QUALITY (quality) |
Best clarity-to-performance ratio (DLAA if GPU still stays below ~90% busy) |
DLSS MODEL (VICTORY_DLSS_PRESET) |
K (k) |
Cleaner temporal edge/foliage reconstruction |
FRAME GENERATION (VICTORY_MENU_FRAMEGEN) |
2X (2) |
Smooth frame pacing with minimal FG ghosting/VRAM overhead |
RAY TRACING (BVH) (VICTORY_BVH_BUILDER) |
OFF ("") |
Keeps FPS high & avoids RT visual quirks/page lag |
LIGHT ESTIMATE / REFLECTION / FOG CAP |
0.8 / ON / 1.5 |
Prevents dark indoor shadows, blown-out sky reflections, and heavy brown haze |
WATER LIGHT (VICTORY_WATER_LIGHT) |
ON (1) |
Proper tiled water lighting without dark patches |
HEAT HAZE AND DECAL DEFRAG |
LEFT OUT |
Avoids smear artifacts and frame-time cost |
Recommended victory-settings.txt VRAM tuning (16 GB cards with Frame Gen ON):
VICTORY_TEXTURE_ROOM_PERCENT=80
VICTORY_CARD_WINDOWS_MB=3072
VICTORY_CARD_BUFFERS_MB=3072
VICTORY_WINDOWS_LATE=1Important: Make sure
VICTORY_TEXTURE_ROOM_PERCENTis80(not86) whenever DLSS Frame Gen is enabled, so ~1.5–2 GB of VRAM stays reserved for Streamline/render targets instead of spilling into systemSHAREDmemory. (On 8–12 GB GPUs, leaveVICTORY_CARD_WINDOWS_MBandVICTORY_CARD_BUFFERS_MBunset/default rather than3072.)
If you want maximum frame rate stability on heavy scenes:
CONSOLE:SERIES S(series-s)SERIES X PICTURE:1080P TO 1440P(1080to1440)DLSS:PERFORMANCE(performance) orQUALITY(quality)FRAME GENERATION:2X(2)
- Set
RAY TRACING (BVH)toON(VICTORY_BVH_BUILDER=1) in the F1 menu (SAVE AND RESTART NOW), then runvictory.exe warm --usedonce after exploring if desired. - Note:
VICTORY_AMBIENTturns itself off while BVH ray tracing runs; expect roughly half the base frame rate and occasional WIP artifacts (such as flat green vehicle paint or page lag during fast movement).
- Black/slow first launch (~14 FPS): Let the automatic 30-second warm-up finish and auto-restart once after rebuilding
victory.exe. SAVE AND RESTART NOWleaves a background process: If restarting from F1 hangs or fails to close cleanly, close the game normally and launch again.- Shader/VRAM issues after editing settings: Delete
%LOCALAPPDATA%\victory\victory-settings.txtto reset to built-in launcher defaults. - More documentation: See docs/architecture.md, docs/findings.md, docs/dlss.md, docs/fork-ray-tracing.md, and docs/README-foxhound.md.
Built directly upon the work of:
- fxceless/victory-fork — RT rolling page budget, water light fixes, dynamic wait, texture pool gate
- trustno1-coder/VIctory-NVIDIA — F1 settings menu, F3 stats panel, 2x–6x Frame Gen live switching, preload/DSP/DualSense upgrades
- readmet3xt-lab/foxhound — card-side compares, descriptor synchronization, ambient/reflection estimation, Streamline DLSS/FG integration
- Marvisak/VIctory and its contributors (including
avatarmanz,Belobug,DexNom,codec-d,pate2464, and others) — the core loader, HLE, D3D12 translator, and shader compiler
GPL-3.0-or-later. See LICENSE; third-party binary/asset rules are documented in docs/asset-policy.md.