- Rust 97.9%
- PowerShell 1.7%
- Batchfile 0.2%
- Python 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .cargo | ||
| .githooks | ||
| .github | ||
| apps/victory | ||
| crates | ||
| docs | ||
| scripts | ||
| tests | ||
| tools | ||
| xtask | ||
| .gitattributes | ||
| .gitignore | ||
| .victory-root | ||
| AGENTS.md | ||
| Auto-Tune.ps1 | ||
| BENCHMARK_LOG.md | ||
| bindings.ini | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| Get-AMD-FSR.cmd | ||
| Get-D3D12.cmd | ||
| Get-NVIDIA-DLSS.cmd | ||
| LICENSE | ||
| Play-MyRig.cmd | ||
| Play-VIctory.cmd | ||
| PLAY_FACES_FIX.cmd | ||
| PLAY_FRAMEGEN.cmd | ||
| README.md | ||
| README.ru.md | ||
| rust-toolchain.toml | ||
| rustfmt.toml | ||
| Setup-VIctory.cmd | ||
| Update-VIctory.cmd | ||
| user-overrides.txt | ||
| victory-controls.txt | ||
| victory.example.toml | ||
| Warm-Shaders.cmd | ||
VIctory-Hydra v2.1 (Stage 18)
Language: English · Русский (README.ru.md) · 📜 Full Changelog
🚀 MAJOR UPDATE — VIctory-Hydra v2.1 (Stage 18: 30s Fast Boot & RAM/VRAM Split)
Important
⚡ FASTEST BOOT INTO PLAYABLE 3D GAMEPLAY
- ~30 seconds warm / ≤ 1 minute cold from double-clicking
Play-VIctory.cmdstraight into the live 3D world with full character control — even with the 209 GB game stored on a mechanical HDD!- Zero multi-second world-load driving freezes thanks to the 20 GB SSD stream cache, auto-serialized HDD reads with 4 parallel decode workers, and our new Levels 1–3 RAM/VRAM Split Architecture.
🔥 What's New in v2.1 (Stage 18)
-
⚡ Ultra-Fast ~30s Warm / ≤ 1m Cold Boot & Zero Driving Freezes
- Upgraded SSD BCPack/ZLIB stream cache to 20 GB (
VICTORY_BCPACK_CACHE_MB=20480) with 0 evictions + 4 parallel decode/cache workers (VICTORY_DSTORAGE_WORKERS=4) while automatically serializing raw mechanical HDD disk reads (VICTORY_DSTORAGE_HDD_SERIALIZE). - Fast shader & pipeline cache boot (
shader_cache.rs+Warm-Shaders.cmd) gets you into the 3D world in ~30 seconds after initial warmup.
- Upgraded SSD BCPack/ZLIB stream cache to 20 GB (
-
🧠 Levels 1 + 2A + 2B + 3 — Unified-to-Discrete RAM/VRAM Split Architecture
- Level 1 (VRAM-First + Sparse CPU Mirrors): hot shader windows go straight into fast GDDR6 VRAM (
3,200 MiB/84%sweet spot on 12 GB GPUs) with automatic 20-second idle VRAM window recycling, while read-only CPU mirrors (VICTORY_CARD_CPU_HEAP=1,VICTORY_VRAM_ONLY_MIRRORS=1) decommit to0 MBRAM (MEM_DECOMMIT) after upload and reclaim hot-pinned mirrors after 10s of quiet — cuttingWDDM Sharedfrom7,484 MBdown to~2,264–2,763 MB(−5 GB!). - Level 2A (Texture RAM Reclamation): settled full-res VRAM-resident BC1–BC7 textures release their duplicate physical DDR4 RAM pages back to Windows via
kernel32!DiscardVirtualMemory(VICTORY_VRAM_DISCARD_TEXTURES=1) after full 576-frame stability verification (~400–860 MBRAM freed). - Level 2B (Zero-Copy Overflow):
OpenExistingHeapFromAddress1mapped-view overflow fallback (VICTORY_INPLACE_VIEWS=1) strictly when local VRAM is full. - Level 3A & 3B (RAGE 9 Engine-Level Memory Control): real title-only memory accounting in
XMemGetWorkingSetStatistics&GlobalMemoryStatusEx(VICTORY_TITLE_MEMORY_REAL=1, fixing26+ GBhost-commit inflation & engine underflow), plus verified Series X/S physical streaming pool control (VICTORY_STREAM_POOL_MB,+0x24796bc— full6,236 MiBdefault on 32 GB PCs, optional4608 MiBfor 16 GB PCs without lowering graphics!).
- Level 1 (VRAM-First + Sparse CPU Mirrors): hot shader windows go straight into fast GDDR6 VRAM (
-
🎨 Major Texture & Streaming Reliability Fixes
- 8× larger
RemapQueue(REMAP_LIMIT:32,768 → 262,144) — slashed lost texture-memory history events by 7.6× (541K → 71K) and eliminated texture queue stalls (0 due / oldest 0 frames agovs189 due / 221 frames ago). - Fixed VRAM texture starvation under FSR 3 Frame Generation (
80%VRAM cap) (no_room = 0,host_memory_pressure = 0) and preserved allRECHECK_FRAMESpasses so road/sign mip0 textures never get stuck blurry after HDD streaming.
- 8× larger
-
⚡ Wave A Core & Shader Upgrades + Smart Hardware Auto-Tune & Auto-Updater
- 🧠 Automatic Hardware Auto-Tune (
Auto-Tune.ps1+user-overrides.txt): automatically detects your GPU model, exact 64-bit VRAM, CPU thread count, system RAM, and HDD vs SSD game drive at launch to pick the optimal golden-middle settings for your rig (8 GB vs 12 GB vs 16–24 GB VRAM, 16 GB vs 32 GB RAM, RTX 40/50 DLSS FG vs RTX 20/30 FSR 3 FG, HDD 20 GB SSD cache vs native SSD). Override any setting cleanly inuser-overrides.txt— survives updates! - 🔔 Loading-Screen Update Alert + 1-Click
Update-VIctory.cmd: checks GitHub Releases asynchronously on a background thread (0 ms boot cost) and shows an update notice only on the loading screen (automatically hidden in 3D gameplay) if a newer version exists; double-clickUpdate-VIctory.cmdto update in one click while keeping your settings. - Wave32 paired-lanes DXIL lowering (
VICTORY_PAIRED_LANES=1), zero-locktake_blocks(VICTORY_EXP_TAKE_BLOCKS=1),SLOT_CODE_TABLE, fence/watch/UAV-pool speedups — keeping 100% Series X visual fidelity (RT, crisp roads, high trees, full vehicle LODs).
- 🧠 Automatic Hardware Auto-Tune (
📊 Measured Performance & Memory Gains
Reference rig: RTX 3060 12 GB + Ryzen 5 5600X + 32 GB RAM + 2 TB HDD (Series X profile, DLSS Performance)
| Metric | Before (v2.0 Stock Memory) | After (v2.1 Stage 18) | Improvement |
|---|---|---|---|
| Boot to Live 3D World | ~2–4+ min |
~30 s warm / ≤ 1 min cold |
Fastest boot to gameplay |
| WDDM Shared RAM (PCIe Spill) | 7,484 MB |
2,264–2,763 MB |
−4.7 to −5.2 GB saved |
| VRAM Under FSR Frame Gen | 9,110+ MB (no_room 38×) |
8,220–8,480 MB (no_room = 0) |
Zero texture-queue stalls |
| Texture Queue Backlog | 189 due (221f old) |
0 due (0f old) |
7.6× fewer remap evictions |
| World-Load Driving Freezes (HDD) | Frequent 2–5 s pauses | 0 freezes |
Smooth continuous driving |
| Gameplay FPS (Native / FSR 3 FG 2×) | 13.6 FPS med |
15.8–22.2 FPS / 32–44 FPS |
Steady + higher lows |
🔥 Core Features Carried Over from v2.0
- 🎛 Hydra Live
F1Menu — live-toggle DLSS Super Resolution, AMD FSR 3 Frame Generation (1× ↔ 2×), Reflex, VRS, Ambient / Specular / Chroma Scrub, Mouse Sensitivity (0.2..3.0), and Invert Y without restarting. - 🎨 Graphics Presets +
[ UNDO PRESET ]— dedicated preset tab (LOW / MEDIUM / HIGH / ULTRA) with instant one-click rollback so you never lose custom tuning. - 🖱 Native Mouse & Raw Keyboard Input — instant
F1cursor release/re-capture (VICTORY_NATIVE_MOUSE=1), fixed 33× sensitivity scaling bug, and Raw Keyboard Input (−0.4 CPU core). - 💾 HDD-Safe Streaming + 20 GB SSD Cache — automatic HDD raw-read serialization with 4 parallel ZLIB/BCPack decode workers, 20 GB SSD stream cache, and offline multi-thread
Warm-Shaders.cmd.
🧪 Engine & Memory Flags (Play-VIctory.cmd)
All flags live in Play-VIctory.cmd, log their status to victory-console.log, and can be toggled 0 / 1 independently:
| Flag | Default | What it does |
|---|---|---|
VICTORY_CARD_CPU_HEAP / VICTORY_VRAM_ONLY_MIRRORS |
1 / 1 |
Level 1: VRAM-first windows + sparse MEM_DECOMMIT CPU mirrors with 10s idle reclaim |
VICTORY_VRAM_DISCARD_TEXTURES |
1 |
Level 2A: DiscardVirtualMemory for settled (576f) VRAM-resident BC1–BC7 textures |
VICTORY_INPLACE |
1 |
Level 2B: zero-copy overflow views when local VRAM is full |
VICTORY_TITLE_MEMORY_REAL |
1 |
Level 3A: accurate title-only memory reporting to RAGE 9 (XMemGetWorkingSetStatistics / GlobalMemoryStatusEx) |
VICTORY_STREAM_POOL_MB |
0 (6236 MiB) |
Level 3B: Series X/S RAGE 9 physical streaming pool override (4608 recommended for 16 GB RAM PCs) |
VICTORY_EXP_SECTION_MB |
16 |
Splits physical allocations into 16 MiB sections, eliminating Windows kernel section-lock stalls |
VICTORY_EXP_TITLE_SUBMIT_MERGE |
1 |
RAGE 9 1.0.2.1 (+0x248211b) patch merging split ExecuteCommandListsX batches |
VICTORY_EXP_GPU_ONLY / VICTORY_EXP_DIGEST_AES |
1 / 1 |
Excludes 2.2 GB GPU-only RT aliasing pool from CPU watch; hardware AES-NI texture hashing |
VICTORY_EXP_TAKE_BLOCKS / VICTORY_PAIRED_LANES |
1 / 1 |
Zero-lock block taking (−18.9 MB/frame) + Wave32 paired-lanes DXIL lowering |
🔧 Deep Technical Summary (Stage 17–18 Architecture Details)
- RAM/VRAM Split (Levels 1–3):
default_window_card_mb(10..=12 GiB) = 3200 MiB(84%),card_windows_idle_ms = 20_000 mson ≤ 12 GiB GPUs,CardCpu::Privatewithhot_streak >= 4+permanently_pinnedguard +reclaim_idle_mirrors(10_000),DiscardVirtualMemorygated at finalRECHECK_FRAMESpass +used <= room_line * 88%,REMAP_LIMIT = 1 << 18,TITLE_PHYSICAL_COMMITTED+TITLE_VIRTUAL_COMMITTED+procmem::heap_bytes()inxmem.rs, andSTREAM_POOL_BUDGET_SXat+0x24796bcinengine.rs. - CPU & Descriptor Hot-Path: 2-level
Slotssummary bitmap, 8,192-slot 4-way TLSPLACED_SHAPE_CACHE, 3-threadvictory-aside-0..2pool +VICTORY_COMING_AT_SUBMIT=1, lock-split paralleltexback::land_many+TICKETSRwLock, asyncvictory-releaseCOM teardown,LOOSE.read()fast-path + 4,096-slotFOUNDTLS cache,xmemO(1)PageSet, lock-freekept_raw. - GPU & Shaders:
VICTORY_BVH_MISS=1,VICTORY_STORE_BESIDE=1,VICTORY_NAN_SCRUB=1,wholly_unmappedVRAM leak fix, full vehicle LODs (LOD_SCALE=0.75), Thin-LTO (lto = "thin") release build.
🙏 Credits & Acknowledgments
Built upon the incredible open-source VIctory community work — huge thanks to the authors and contributors of Portheon Leonida Edition, cool_fox, VIctory-NVIDIA / VIctory-NVIDIA-RT, Solstice v3, mandy, and SlaktarnVI whose engineering and research made v2.0 possible.
🐞 Reporting Issues & Logs
Note
Reporting a problem? Please attach both logs from the run that went wrong (also mention your GPU, Windows 10/11, and release version). Check docs/troubleshooting.md first!
- Play / Console Log:
victory-console.log&victory-diag.logbesidePlay-VIctory.cmd(or newestvictory-nvidia-play-*.login%LOCALAPPDATA%\victory\logs\).- Crash Log:
%LOCALAPPDATA%\VIctory\data\7952987A\crashes.logand newestvictory-*.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.
🎞 Frame Generation: What Your Card Supports
| Your GPU | Frame Generation | Notes & Limits |
|---|---|---|
| GeForce RTX 40 / RTX 50 | DLSS Frame Generation | 2× on RTX 40; up to 6× on RTX 50 |
| GeForce RTX 20 / RTX 30 | AMD FSR 3 Frame Generation (or third-party MFG Unlocker) | FSR 3: up to 2×, live-toggled in F1, requires DLSS upscaling ON |
| Other Cards (No DLSS) | None | FSR 3 FG requires DLSS upscaling ON |
- Live status: at every launch the top overlay & console report which Frame Generation backend is active.
F1→FRAME GEN TYPE:AUTO(DLSS on RTX 40/50, FSR 3 on RTX 20/30),DLSS, orFSR 3.- Official DLLs:
Setup-VIctory.cmdautomatically downloads both NVIDIA DLSS (~70 MB) and AMD FidelityFX FSR 3 (~30 MB) directly from official repositories with signature & SHA-256 verification.
⚡ Quick Start: How to Install & Run (v2.1 / Stage 18)
Tip
Nothing to compile — 1 ZIP archive, 4 steps to play (~30s warm boot straight into the 3D world)!
📦 Step 1 — Download & Extract the Single ZIP
Download VIctory-Hydra-v2.1-Stage18.zip from the Latest Release and extract all files into your GTA 6 (v1.0.2.1) folder right next to game_scarlett_master.exe:
| File inside ZIP | Purpose |
|---|---|
victory.exe |
VIctory-Hydra v2.1 Thin-LTO engine (Levels 1–3 RAM/VRAM Split + Wave A) |
Setup-VIctory.cmd |
1-click installer for official D3D12 Agility SDK + NVIDIA DLSS + AMD FSR 3 DLLs |
Warm-Shaders.cmd |
(Recommended once) Offline multi-thread shader & pipeline precompiler |
Play-VIctory.cmd |
Main launcher with Smart Hardware Auto-Tune (Auto-Tune.ps1), Levels 1–3 RAM/VRAM Split & RAGE 9 patches |
Update-VIctory.cmd |
1-click Auto-Updater — fetches latest release from GitHub while keeping your settings |
user-overrides.txt |
Simple key=value config to override any Auto-Tune setting without editing .cmd scripts |
Get-*.cmd |
Individual standalone downloaders (DLSS / FSR / D3D12) |
README-INSTALL.txt |
Quick offline install cheat-sheet |
🛠 Step 2 — Run Setup-VIctory.cmd (Once)
Double-click Setup-VIctory.cmd to fetch official third-party runtime DLLs (verified by signature & SHA-256):
- Microsoft D3D12 Agility SDK (
D3D12\D3D12Core.dll, ~22 MB) — required on Windows 10 for Shader Model 6.6. - NVIDIA Streamline / DLSS (~70 MB) — DLSS Super Resolution + RTX 40/50 FG.
- AMD FidelityFX FSR 3 (~30 MB) — live
2×Frame Generation on RTX 20/30/40/50.
🔥 Step 3 — Precompile Shaders (Recommended Once)
Double-click Warm-Shaders.cmd to compile all VICTORY_BVH_MISS=1 DXIL shaders and used PSO pipelines offline across all CPU threads.
- Already compiled shaders are skipped automatically — you can press
Ctrl+Canytime and resume later!
▶ Step 4 — Launch & Tune In-Game
Double-click Play-VIctory.cmd (if Windows SmartScreen appears, click "More info" → "Run anyway").
- After initial warmup, expect ~30 seconds straight into the playable 3D world (≤ 1 minute cold).
- Press
F1in-game for the Hydra Live Settings Menu (DLSS, FSR 3 FG1× ↔ 2×, Graphics Presets +[ UNDO PRESET ], Mouse Sensitivity). - Press
F3in-game for the live performance stats overlay.
Note
Hardware Tips:
- HDD & SSD Users:
Play-VIctory.cmdauto-detects HDDs and serializes raw disk seeks while running 4 parallel SSD-cache + ZLIB/BCPack decode workers (VICTORY_DSTORAGE_WORKERS=4).- 16 GB RAM PCs: set
VICTORY_STREAM_POOL_MB=4608inPlay-VIctory.cmdto trim−1.6 GBdirectly out of RAGE 9's Series X streaming pool while keeping Series X graphics! (Leave0= full6,236 MiBon 32 GB RAM PCs.)- RTX 20 / 30 Users: keep
VICTORY_PORT_CONSTANTS=0and enable FSR 3 Frame Generation inF1.- RTX 40 / 50 Users: switch
FRAME GEN TYPEto DLSS inF1.
⚙ Additional Configuration Notes
Prompts follow the F1 settings only, nothing is detected: Xbox button prompts by default, keyboard keys when CONTROLS is KEYBOARD or MOUSE AND KEYBOARD is on. Animated hold prompts keep their original icons. A custom mouse-and-keyboard bindings file keeps the gamepad pictures.
- Manual CLI downloaders: you can also run
victory.exe get-d3d12,victory.exe get-dlss,victory.exe get-fsr, orvictory.exe get-mfgdirectly from a terminal at any time. - Settings, saves, caches, logs and NVIDIA's and AMD's files are kept under
%LOCALAPPDATA%\victory(andPlay-VIctory.cmdkeeps its isolated shader cache in%LOCALAPPDATA%\VIctory\cache-hydra-v2and settings/logs besidePlay-VIctory.cmd). Windows 10 requires D3D12 Agility SDK (D3D12\D3D12Core.dll, Shader Model 6.6); Windows 11 keeps using its own runtime unless aD3D12folder is placed besidevictory.exe. - To use another drive, set
$env:VICTORY_HOME = 'E:\VIctory Data'in PowerShell, then run.\victory.exe configin that window to check the cache and save directories. For future launches, runsetx VICTORY_HOME "E:\VIctory Data"and open a fresh terminal from Start. Use an absolute path outside the repository. VIctory creates missing directories. Existing files stay in their original location. To keep using existing saves, copy thedatafolder with the game closed or pointVICTORY_DATA_DIRat the existing folder. VICTORY_CACHE_DIRandVICTORY_DATA_DIReach override the corresponding[paths]entry invictory.toml. Those entries take precedence over thecacheanddatadefaults underVICTORY_HOME. The Pareto launcher usescache-paretounlessVICTORY_CACHE_DIRis set. GPU drivers and third-party SDKs manage their own internal caches separately.- You need Windows 10 or 11, 32 GB of RAM or more, an SSD and an NVIDIA GeForce RTX card with a recent driver. This repository and its releases contain no game files.
- The first start of each new version makes every shader first. A new
victory.exe, with DLSS frame generation on, runs at about 14 fps on its first start and normally from then on. So the first start translates and builds every shader before the game's first frame, says so on the console, and then plays at the usual frame rate. It takes a while, and it doesn't happen again for that version (a mark is kept in%LOCALAPPDATA%\victory\warmed). The older behaviour, play ten seconds and start the game again, is still there:--set VICTORY_WARMUP_RESTART=10. - RTX 20 and 30 cards: DLSS multi frame generation
(MFG) works through the MFG Unlocker
mod. The fork supports loading it, but the mod is someone else's: it is not
made or supported by NVIDIA (whose DLSS frame generation is for RTX 40 and
later) or by this fork, and we have not tested it on an RTX 20 or 30
ourselves. It is an option, off by default: F1, MFG UNLOCKER, ON, then
restart. On, the next start
downloads it by itself from the mod's own GitHub release (v1.7.2, about 5 MB,
checked against the SHA-256 its author published) into
%LOCALAPPDATA%\victory\mfg-unlocker, and every start loads it. Nothing is renamed or copied. The script launcher loads it too (scripts\play-foxhound.ps1, and Steam through it): before, onlyvictory playdid, so a start from the script carried the switch and no mod. What it unlocks is DLSS frame generation, so DLSS has to be on and FRAME GENERATION at 2X or more; with frame generation off, or FSR 3 picked, the mod is left out rather than loaded for nothing, and the start says so. Generated frames appear only in the game itself, with its window focused — not on the title screen or while loading. The start's notice then readsFRAME GEN: DLSS, UNLOCKED BY A MOD. On an RTX 20 or 30 the first start also asks once (No unless you type y).victory.exe get-mfgdownloads it by hand. The mod writes its ownRTXMFG-...logs and settings besidevictory.exe, and Backspace opens its menu. The start's notice says "UNLOCKED BY A MOD" and the log says it was loaded. If the game crashes or frame generation fails, turn it off in F1 (or addVICTORY_MFG_UNLOCKER=to%LOCALAPPDATA%\victory\victory-settings.txt). FSR 3 frame generation (2x) is the fully supported way on those cards. Awinmm.dllcopy of the mod besidevictory.exestill works too. - RTX 20 and 30 cards can also run DLSS Enabler (not ours either; tried on an RTX 2080 with the script launcher): frame generation from 2x to 6x by Streamline's count. It takes four steps of set-up and has known faults, in docs/dlss.md.
Choosing a GPU on a PC with more than one
If VIctory picks a different GPU than you intended, open PowerShell in the
folder containing victory.exe. Set VICTORY_ADAPTER and launch from the same
window.
$env:VICTORY_ADAPTER = 'RTX 5070 Ti'
.\victory.exe
Replace RTX 5070 Ti with a distinctive part of your GPU's name. VIctory
uses the first hardware adapter whose name contains that text, ignoring case.
If no name matches, it uses its default selection. Check the adapter field
on the host device on the card line in the play log to see which GPU it chose.
In the game
In F1, CONTROLS selects Auto, Keyboard, Gamepad, or DualSense (Native). Save and restart to apply it. Auto keeps the mixed input behavior. Keyboard uses keyboard gamepad emulation. Mouse capture remains a separate setting for Auto and Keyboard. Gamepad accepts XInput and uses native Sony HID when XInput is unavailable. DualSense (Native) reads the original DualSense and DualSense Edge over USB or Bluetooth, even if a virtual XInput pad is present.
- F1 brings up the settings menu (arrow keys pick and change, Enter does
it): DLSS, frame generation, frame rate cap,
VEHICLE AUTO-CENTER, and more. - For controller navigation in F1, set
VICTORY_MENU_PAD=menubefore launch. Open F1 with the keyboard or a spare controller button mapped to F1 in your input software. On the physical pad in slot 0, D-pad up/down picks a row, left/right changes its value, A (Cross) activates it and B (Circle) goes back. Select STATS PANEL (F3) to toggle F3. - To also open or close F1 with L3+R3, use
VICTORY_MENU_PAD=1. Press the two sticks within 250 ms of each other while they overlap. Release both to rearm. When the game uses that pad, both clicks reach it on their original samples, so this shortcut can also trigger a game binding. Usemenuwith a dedicated F1 binding if the game uses that combination. - Controller navigation is off by default. It takes only fresh navigation presses while F1 is open, focused and has no controller toggle pending. A consumed press stays held back until release or focus loss. In the background the full pad passes through. Other controller slots, analog sticks and triggers pass through.
- In mouse and keyboard mode, the menu can still read the slot-zero XInput pad while the game keeps its keyboard and mouse input. In Key Bindings, select a row with A, then press the keyboard key or mouse button to assign. B cancels a pending assignment or returns to Settings.
- F3 shows the stats panel (frame rate, frame generation, draws, GPU and memory numbers).
- Pads: Xbox (XInput) pads, PlayStation 4 and 5 pads, and generic HID
pads (DirectInput pads), such as the no-name USB pads sold as "PC
Controller" or "USB Gamepad" (tested with a DragonRise "PC Controller",
0079:0126). An Xbox pad, while one is connected, is read instead of them.
Generic pads do not rumble. Their buttons follow the PlayStation
look-alike layout (Logitech and Nintendo pads get those makers' usual
numbering, not tested here). A flight stick or a wheel is read as a pad
too; if one moves the camera by itself, turn generic pads off (below). If
yours comes out wrong, run
victory.exe padsin a command prompt and press each button: it shows the number each one sends. Then add a lineVICTORY_PAD_BUTTONS=to%LOCALAPPDATA%\victory\victory-settings.txt, with the numbers for A,B,X,Y,LB,RB,LT,RT,View,Menu,LS,RS (A is the bottom button). The default isVICTORY_PAD_BUTTONS=3,2,4,1,5,6,7,8,9,10,11,12.VICTORY_GENERIC_PADS=0turns generic pads off (VICTORY_DUALSENSE=0turns off only the PlayStation pads). - F8 toggles vehicle camera auto-center bypass live (bypassed by default;
VICTORY_VEHICLE_AUTO_CENTER=1or F1 > VEHICLE AUTO-CENTER re-enables it). - F9 manually toggles mouse cursor capture;
[/]step mouse sensitivity down/up by 15%. - Native 1:1 mouse aiming & keyboard controls (
VICTORY_NATIVE_MOUSE=1by default;=0falls back toVICTORY_MOUSE_CAPTURE):- Camera & menus: raw mouse deltas drive 1:1 camera radians with native ADS/zoom scaling, and automatically release/restore the cursor on the Pause menu, Map, Shop/Modal UI, and the F1 overlay (click back in to re-lock without firing).
- On foot / aircraft:
WASDmove/pitch,LMB= RT (fire),RMB= LT (aim),MMB/H/Ctrl= R3,Shift/F= L3,Space/Enter= A,R/Backspace= B,X/Y,Q= LB,E= RB,Esc= Menu,Tab= View, Arrow keys = D-pad (when no controller is attached,IJKLandZ/Calso drive the stand-in right stick and triggers). - Radial wheel (
Q): moving the mouse selects sectors; scrolling the mouse wheel cycles sub-slot items viaRT/LT(VICTORY_WHEEL_SCROLL_INVERT=1inverts wheel direction). - Driving (non-aircraft vehicles):
W= RT (throttle),S= LT (brake/reverse),A/Dsteer,LShift/LCtrlpitch forward/back (bikes/boats),Space= A,E= RB (handbrake),F= L3 (horn),MMB= R3 (look behind), and when the radial wheel is closedRMB= LB /LMB= RB. - Tuning env vars:
VICTORY_MOUSE_SENS(default0.0015),VICTORY_MOUSE_INVERT_Y=1,VICTORY_WHEEL_SENS(default0.008),VICTORY_WHEEL_SCROLL_INVERT=1,VICTORY_VEHICLE_AUTO_CENTER=1,VICTORY_NATIVE_MOUSE=0. With native aiming disabled, the existing F1 > MOUSE AND KEYBOARD mode uses the custom keys and sensitivity inbindings.ini.
Building it yourself instead
Install Rust and the Visual Studio Build Tools with "Desktop development with C++", then in PowerShell:
git clone https://github.com/trustno1-coder/VIctory-NVIDIA
cd VIctory-NVIDIA
.\Get-NVIDIA-DLSS.cmd
powershell -ExecutionPolicy Bypass -File scripts\play-nvidia.ps1 -Exe 'D:\Games\MyDump\game_scarlett_master.exe'
Put the path to your game_scarlett_master.exe in the last line. The
first start builds the layer, which takes a few minutes.
Starting it through Steam (controller support)
Steam's Add a Non-Steam Game browser lists .exe files only, so
play-foxhound.ps1 cannot be picked there — and a game started outside Steam
gets neither Steam's overlay nor Steam Input, which is what a Stadia controller
needs (over Bluetooth it is a generic HID pad, not XInput, and Steam Input is
what turns it into the virtual Xbox pad the title reads).
scripts\play-foxhound.exe is that script as a program Steam takes: it starts
Windows PowerShell with play-foxhound.ps1 beside it and hands every argument
on, so the launch options are the script's own.
-
Build it once (Rust is needed for this repository anyway):
scripts\build-steam-launcher.cmd -
Steam, Games → Add a Non-Steam Game → Browse → the
scripts\play-foxhound.exethat step 1 built, then Add Selected Programs. Rename it if you like (right-click, Properties). -
Right-click it, Properties → Launch Options, and put the path of your own
game_scarlett_master.exethere — nothing else:"D:\Games\MyDump\game_scarlett_master.exe"A first argument that is not a switch is taken as the title and gets
-Exein front of it; the script's options work as well, e.g."D:\Games\MyDump\game_scarlett_master.exe" -FrameGen -Dlss balanced. Or write the same lines intoscripts\play-args.txt(one argument a line,#for comments) and leave the launch options empty.Switches the script takes through
-Morework here too, asNAME=VALUE(a hashtable cannot be written on a command line): several of them comma-separated, in one argument —-More VICTORY_GAMEPAD_LOG=1,VICTORY_AMBIENT=0.8.NAME=unsets a switch. -
Controllers: Steam, Settings → Controller — turn on Steam Input for Xbox/PlayStation controllers and Generic Gamepad Configuration Support (a Stadia controller is a generic pad, so that second one is what makes Steam Input answer for it). Start the game from Steam and, in its controller settings, pick a gamepad template.
The game has to be started from Steam for this: Steam Input only reaches a game Steam itself started. Pair the controller first (Stadia: hold Stadia + Y until the light flashes; Windows, Settings, Bluetooth), and check under Settings → Controller that Steam lists it.
If nothing answers in the game, start it once with
... -More VICTORY_GAMEPAD_LOG=1: the log (%LOCALAPPDATA%\victory\logs, the file the console names on itsLog:line) then says, per pad slot, which XInput path answered and what the pad sent, or that no pad answered it at all.F1's MOUSE AND KEYBOARD (
VICTORY_MNK=1) turns the pad reader off altogether — the mouse and the keyboard stand in for the pad instead, and then neither the Stadia controller nor Steam Input's virtual pad is read. For a controller, switch MOUSE AND KEYBOARD off in F1 (the console linemouse/keyboard on: ...at the start says when it is on).
- The whole chain is what Steam started (its PowerShell, the script,
victory.exe, the title), so Steam counts the game as running and keeps its overlay and Steam Input on it until the game window closes. - The F1 menu's saved settings stay where the script keeps them
(
victory-settings.txtin this folder), because this runs the same script. - Release download instead: if
victory.exesits in your dump's folder, add that to Steam with no launch options — started with no arguments it plays the title beside it. Its switches are the built-in launcher's own, though, and its F1 menu saves to%LOCALAPPDATA%\victory\victory-settings.txt.
Options, requirements in full and the details are under How to run it.
A fork of VIctory, a compatibility layer that runs an Xbox Series title natively on Windows from files you supply, tuned for NVIDIA RTX cards.
This repository contains no game files, code or assets. You need your own legally obtained copy of the title. It is not affiliated with or endorsed by the title's developer or publisher, nor by NVIDIA. See docs/asset-policy.md.
Built from many projects, and from running every one of them
This repository did not come from one place, and the base it stands on today is the end of a long comparison, not the start of the work. We built, ran and measured many projects on the same NVIDIA PC: Leonida, Marvisak's VIctory, fxceless's fork, the 7900 XTX fork, Belobug's, DexNom's, CGBJ's cool_fox, Kelvaroq's, Neptune, xcl (another layer for the same title) and then foxhound. On each we found what stopped it on an RTX card, fixed or worked around it, measured the result, and carried what we learned to the next. Every pull request sent here was built and run on the same card before it was merged. No single project got here alone, and choosing the base that runs best was only one result of that work.
What this fork brings
Not one fix but a long line of them: days of work, much of it around the clock, across every one of those codebases, more than 300 measured runs on the same RTX PC, and each fault chased towards its cause before the next build. In rendering, in speed, in the picture and in simply being able to play it:
Rendering fixes
- Draws no longer skipped on NVIDIA. NVIDIA caps the view heap below what the title asks for; thousands of draws a frame were dropped, the screen rarely updated and the character jumped from place to place. The pool of descriptor slots was reworked until almost none were.
- Menus, loading screens and subtitles on Series S, black until then (the interface plane laid over the game), and faces that move (their network carried through as integers): ported from fxceless's pull requests 1189 and 927 and made to work on this card.
- The intro video without flicker: its frames came out of order.
- Black blobs gone: a single bad number from a shader, spread by blur and the upscaler into patches on faces and in the air, is caught where it is written.
- White, hazy rooms explained and tamed: the title's ray tracing was running with its structure builder off, so every ray missed. Which passes can be left out without filling the picture with rainbow glitter was worked out pass by pass.
- The ray-tracing structure builder running on NVIDIA, on CGBJ's renderer: the draws dropped for it went from thousands a frame to one.
- White-outs with black holes further into the game followed up in frames captured in play: thousands of draws a frame were being dropped there for that same missing structure.
Speed
- Memory compares moved to the card: 11 to about 22 frames a second on the base of the time.
- Settings measured, not guessed: one switch at a time, on the same scene, run after run.
- The base itself chosen by measurement: the same rooms went from 15-17 frames a second to 26-30, at a higher resolution.
- The 30 frames a second were the title's own frame interval, not the layer's limit: found, and lifted.
Picture and frames
- DLSS in place of the title's upscaler, with its model and mode to choose.
- DLSS frame generation with up to six frames shown for each one rendered,
switched and changed while playing, without a restart, once it was on at the
start or made ready with
-FrameGenReady(foxhound's is 2x, set at the start). By Streamline's own count it shows exactly 2, 4 and 6. - Why frame generation showed nothing on a full 12 GB card, found and fixed: the card's memory is now shared out so that it has room.
- The frame rate at the top left of the picture: frames rendered a second
and, with frame generation, frames shown (
FPS: 28.4 FG: 170.4).
Playing it
- The F1 settings menu, in every build: DLSS, frame generation, frame rate
cap, console profile, picture size, the light estimates and the main speed
switches, saved to
victory-settings.txtand applied at the next start ("SAVE AND RESTART NOW" does that for you, "SAVE AND CLOSE GAME" saves and closes the game; lines marked LIVE change at once). - The F3 stats panel, in every build: frame rate and frame time, frames shown with frame generation, draws, how busy the GPU and the submitting thread are, copies, RAM and VRAM. The menu switches it too.
- Open water without dark blocks. Two of the title's water light programs
run on 32-lane cards only in a form that left whole tiles of the sea dark
(around boats, along shores, under bridges) and cost about 15 ms of the
card a frame. They are left out there: no blocks and 30 fps instead of 25
on the first boat ride (RTX 5070), with water that is darker and bluer.
WATER LIGHT in the menu (
VICTORY_WATER_LIGHT=1) runs them again.--set VICTORY_WATER_VOLUME_PORTALS=1separately enables an experimental lowering for the volume-portals compute shader on 32-lane hosts. An explicitVICTORY_WAVE_WIDEsetting takes precedence. - The screen stays on with a pad in hand. The title's pad input arrives
through GameInput's synthetic pad, which the system's activity timer never
counts, so Windows turned the picture off mid-session on its display
timeout. A display and sleep request is now held for the whole run
(
VICTORY_KEEP_AWAKE=0leaves the power plan alone). - One command to play: the launcher builds the layer the first time and applies what the menu saved.
Get-NVIDIA-DLSS.cmd: the eight NVIDIA files that are loaded, about 70 MB, taken out of NVIDIA's 263 MB release without downloading the rest. NVIDIA's licence does not let a repository carry them, so they come from NVIDIA.
Tested, not assumed
- Every pull request sent here was read line by line and, where it touched the game, built and run on this card before it was merged: ten so far.
Where each of these is today: this fork's own code in this tree is the F1 menu, the stats panel in every build, the water light switch, frame generation from 2x to 6x with its live switching and memory handling, the lifted frame rate cap, the frame rate line, the launcher and the NVIDIA file fetcher. The foxhound line carries the descriptor slots, the compares on the card, the interface plane and the face network in its own form. The black-blob scrub, the graphics card picker and the ray-tracing builder path are in this repository's history, and come over as this base turns out to need them.
The base since 2026-11-26: foxhound
On 2026-11-26 this fork moved onto
readmet3xt-lab/foxhound
(02fc18a, GPL-3.0-or-later). On the same PC it ran the same rooms at close to
twice the frame rate of what this fork had, at a higher resolution, so its
tree is now this one's, with its history kept, and this fork's own additions
are on top. What foxhound is and how it got there is in its own README, kept as
docs/README-foxhound.md; its measurements are in
docs/findings.md.
What foxhound brings:
- the Series X profile at a native 2560x1440;
- DLSS Super Resolution and DLSS Frame Generation through NVIDIA Streamline, loaded when the game runs (nothing of NVIDIA's is needed to build);
- an estimate of indirect light and of reflections in place of the title's ray tracing, and fewer stalls at scene cuts.
What this fork has on top of it is under What this fork brings above.
Where it stands
Tested on one PC: Windows 11, Ryzen 7 9800X3D, 64 GB RAM, GeForce RTX 5070 12 GB; the title's Xbox Series build v1.0.2.1, Series X profile, 2560x1440 output, DLSS Quality. Frame rates are the layer's own count, in the opening rooms.
| Opening rooms | mostly 26-30 frames a second rendered (33-38 ms a frame) |
| Frame generation | 2x to 6x on top of that: by Streamline's own count, exactly 2, 4 and 6 frames shown for each one rendered |
| Device losses, crashes | none in the measured runs |
| Before this base (Series S, 720p to 1080p by DLSS) | 15-17 frames a second in the same rooms |
foxhound's own measurements, on an RTX 4070 SUPER, are in its README.
What is known to be wrong:
- No ray tracing. The title's own is off (
VICTORY_BVH_BUILDER=1, or the menu's RAY TRACING, turns it on: slow and with a broken picture on this base). An estimate stands in for indirect light and reflections. - Frame generation needs room in the card's memory. The layer fills the card with textures up to its budget; with frame generation on from the start the launcher holds a fifth of the budget back (a little less while it is only ready), so a few more textures can come late. Switched on from the menu on a full 12 GB card it can still say that memory is past the budget; it then runs, perhaps unevenly.
- Frames are only generated while the game's window has the focus, and about a second passes after a change before they come.
- The first run of every new build stutters while the driver compiles pipelines (foxhound's README, Warming up, says how to make them ahead).
- "SAVE AND RESTART NOW" can leave the old game's process behind without a window; it goes when the PC restarts.
- What foxhound lists as wrong (the heat-haze pass left out, hitches in cutscenes) applies here too.
How to run it
You need Windows 10 or 11 (x64), a CPU with AVX2, 32 GB of RAM or more, an
SSD, an NVIDIA GeForce RTX card with a recent driver (RTX 40 or later for frame
generation, with hardware-accelerated GPU scheduling on; more than 2x needs an
RTX 50), Rust (the toolchain is pinned), the Visual Studio
Build Tools with "Desktop development with C++", and your own dump of the
title's Xbox Series build v1.0.2.1 (the folder with
game_scarlett_master.exe).
The translated shaders need a D3D12 runtime and GPU driver that support Shader
Model 6.6 with directly indexed descriptor heaps. Parts of the world drawn with
mesh shaders also require GPU support (D3D12_OPTIONS7). GeForce RTX 20 series
and later have this feature. GeForce GTX 10 series cards lack it even with the
Agility SDK installed.
git clone https://github.com/trustno1-coder/VIctory-NVIDIA
cd VIctory-NVIDIA
copy victory.example.toml victory.toml # then set game_dir to your dump's folder, outside this one
.\Get-NVIDIA-DLSS.cmd # once: NVIDIA's DLSS and frame generation files, about 70 MB
.\Get-D3D12.cmd # once, Windows 10 only: Microsoft's newer Direct3D 12 runtime, about 22 MB
scripts\play-nvidia.ps1 -Exe 'D:\Games\MyDump\game_scarlett_master.exe'
The first start builds the layer (a few minutes). Get-NVIDIA-DLSS.cmd gets
NVIDIA's files from
NVIDIA-RTX/Streamline into
nvidia-sdk\ (git-ignored). They are NVIDIA's, under NVIDIA's licences, which
are saved beside them; this repository does not carry them and may not. Nothing
is downloaded unless you run that file; VICTORY_STREAMLINE_DIR names another
folder if you have the Streamline SDK already.
scripts\play-nvidia.ps1 is scripts\play-foxhound.ps1 under the name this
fork has always had; its options:
| Option | What |
|---|---|
| (none) | Series X profile, 2560x1440, DLSS Quality, no frame rate cap, frame generation ready but off |
-FrameGen, -FrameGenX 4 |
frame generation on from the start, 2 to 6 frames shown for each one rendered |
-Dlss off / dlaa / balanced / performance |
the title's own upscaling, or another DLSS mode |
-Fps 60 |
a frame rate cap (30 is the title's own) |
-SeriesS |
the Series S profile: 1280x720 inside, faster, softer |
-Res 1080to1440 / 4k |
scene at 1080p upscaled by the title / the stock 3840x2160 output |
-FrameGenReady |
frame generation made ready but off, so the F1 menu can switch it while playing (costs frame rate: ready, frames go through Streamline's swap chain; without it, a change in F1 takes effect at the next start) |
-FgType auto / dlss / fsr |
which frame generation (see the top of this page); FSR 3's DLLs from VICTORY_FIDELITYFX_DIR, else amd-sdk\FidelityFX\bin here |
-Preload |
every shader and the pipelines of earlier runs made before the game starts (once per build or driver; what is done is kept), with a progress window over the title's own splash screen: the step, how far it is, about how long is left, and Skip (or Esc) to start the game at once |
-Splash <file or URL> / -NoPreloadWindow |
another picture behind the preload's window (a URL is fetched once into %LOCALAPPDATA%\victory\splash) / the preload's progress in the console only |
-Build diag |
the diagnostics build (slower; captures, timelines, recording time in the F3 panel) |
-More @{VICTORY_X='1'}, -More VICTORY_X=1 |
add or override any switch (the second form where a hashtable cannot be written: Steam's launch options, play-args.txt) |
The script reads F1 settings from victory-settings.txt in VICTORY_HOME
when set, or in the repository folder by default. Rename that file to restore
the script defaults. To switch to full screen, start the game and run
.\scripts\fullscreen.ps1 in another window. Alt+Enter toggles borderless
full screen; exclusive full screen isn't used. The launcher prints its
log path at startup. Run victory.exe config to see the active save directory.
Play-MyRig.cmd (scripts\play-rig.ps1) is a wrapper around victory.exe play
that checks the PC first (commit room, a game process left behind, fast and slow
cores, the card's memory) and picks the settings for it. Its -Summary turns a
run's log into frame rate, stalls and memory numbers, so settings can be compared.
See docs/rig-launcher.md.
If the menu works but loading a scene closes the game, see the Windows memory troubleshooting guide. It shows how to check memory on systems with 32 GB of RAM or GPUs with 8 GB of VRAM.
How it works, and the findings
- docs/README-foxhound.md: foxhound's own README (set-up by hand, warming up, its switches).
- docs/troubleshooting.md: common errors and what to do about them.
- docs/architecture.md: the layer's parts.
- docs/findings.md: measurements behind the choices.
- docs/dlss.md: DLSS and Frame Generation.
- docs/linux-proton.md: building on Linux and first runs under Proton (experimental).
- docs/fork-ray-tracing.md: the title's ray tracing and the light estimate.
- docs/asset-policy.md: what may and may not be in this repository.
- docs/crash-addresses.md: the stops seen most often,
by their address in
crashes.log, with what is known of each.
Credits
A tree of other people's work with a little on top; the history is kept.
- foxhound by readmet3xt-lab: the base of this fork since 2026-11-26, and through it:
- VIctory by Marvisak and its contributors: the loader, the runtime services, the Direct3D 12 back end and the shader recompiler.
- fxceless/victory-fork, avatarmanz/VIctory-7900XTX, codec-d/cool_fox, DexNom/VIctory, Belobug/VIctory-Belobug-AMD and the others foxhound's README names.
- Everyone who sent pull requests to this fork before the move; that work is
in the history, on the branch that was
mainuntil then. - Testing save sharing (F1 > EXPORT SAVE / IMPORT SAVE) with their own saves, in discussion #520: DueTonight and mikan123pro.
- NVIDIA Streamline, DLSS and Reflex are NVIDIA's; they are loaded at run time from a folder you supply.
- Much of this fork's code was written with Claude Code.
📜 Development History & Update Log
Want to trace the entire journey from Stage 1 to v2.1 (Stage 18)? Open the dedicated CHANGELOG.md page on GitHub or expand the quick timeline below:
🗂 Click to expand full stage-by-stage development timeline (Stages 1 → 18)
- 🚀 v2.1 (Stage 18 — Current): ~30s warm / ≤ 1m cold fast boot straight into the 3D world, Levels 1 + 2A + 2B + 3 RAM/VRAM Split (
WDDM Shared7.5 GB → ~2.3–2.7 GB, sparseMEM_DECOMMITmirrors + 10s idle reclaim,DiscardVirtualMemorytexture RAM reclamation, zero-copy view overflow, real title-onlyXMemGetWorkingSetStatistics/GlobalMemoryStatusEx, Series XVICTORY_STREAM_POOL_MB), 8×REMAP_LIMIT(0 due / 0ftexture queue), 20 GB SSD stream cache, Wave A optimizations. - 🛠 v2.0.2 (Stage 17.2): Fixed 32 GB RAM black-screen compile deadlock (
#31) and fresh-install SDK auto-detection (#30). - ⚡ v2.0.1 (Stage 17.1): Wave 8 (
A1/A2/A3zero-locktake_blocks+PAIRED_LANES), PRs#25–#28,NAN_SCRUB, unstarved pipeline workers. - 🔥 v2.0 (Stage 17): Major unified overhaul — Hydra Live F1 UI, Graphics Presets +
[ UNDO PRESET ], live FSR 3 FG1× ↔ 2×, Waves 1–7 (SECTION_MB=16,TITLE_SUBMIT_MERGE,GPU_ONLY,DIGEST_AES,AMBIENT_CLEAN). - 🎛 Stage 16 / 16.1: Modern mouse F1 GUI, GTA 5 KBM + native mouse + Raw Keyboard Input, fast Pause/Map, 8 GB SSD BCPack v2 cache, Waves 1–3A anti-stutter & memory guards.
- 🔧 Stage 15: Verified RAGE 9
1.0.2.1engine-level patches (shadows, volumetrics, trees, grass, tessellation, LODs, ring-init guard), live GPU shader-name + barrier profiler. - 📐 Stages 12–14: RAGE 9 LOD/cull knobs,
split_ldsbarrier elision, Enhanced Barriers, VRS Tier 2,VICTORY_BVH_MISS=1, one-clickSetup-VIctory.cmd. - 🧱 Stages 8–10: NVIDIA DLSS SR, AMD FSR 3 FG,
WC_NO_BACK, batched GPU detile, WavePairs, DXIL optimizations. - 🌱 Stages 1–7B: Initial unified VIctory-Hydra fork (
cool_fox+foxhound+VIctory-NVIDIA+ community runtime).
License
GPL-3.0-or-later, as VIctory and foxhound. See LICENSE; the one file that is not covered is named in docs/asset-policy.md.