- Rust 99.7%
- PowerShell 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .cargo | ||
| .githooks | ||
| .github/workflows | ||
| apps/victory | ||
| bin | ||
| crates | ||
| scripts | ||
| tests/fixtures/hle-probe | ||
| xtask | ||
| .gitattributes | ||
| .gitignore | ||
| .victory-root | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
| rust-toolchain.toml | ||
| rustfmt.toml | ||
| victory.example.toml | ||
ReVIctory
A fork of VIctory, an independent, clean-room compatibility layer that runs an Xbox Series title natively on Windows from files you supply yourself. This fork primarily targets AMD RDNA 4 (Radeon RX 9070 XT) and aims for a steady 30+ fps and a correct picture, with work-in-progress NVIDIA RTX (Wave32) support enabled automatically when an NVIDIA GPU is detected.
Legal notice & asset policy: This repository contains no copyrighted game files, proprietary code, encryption keys, assets, or DRM circumvention tools. You must supply your own lawfully obtained copy of the title. This is an independent interoperability and preservation research project and is not affiliated with, endorsed by, or sponsored by any console manufacturer, game developer, or publisher. All trademarks belong to their respective owners.
- Status
- Requirements
- Quick start
- The launcher
- Script options
- The portable scripts
- The in-game overlay
- Upscaling and frame generation (AMD FSR & NVIDIA DLSS)
- Streaming
- Graphics memory
- Ray tracing
- Logs, profiles, captures and troubleshooting
- How it works
- Credits · License
Status
As of 2026-12-04 (Launcher v0.5.0).
AMD (Primary target)
Measured on Ryzen 9 9950X3D, 64 GB RAM, Radeon RX 9070 XT (16 GB), internal NVMe SSD,
Series X profile (2560×1440 rendered, 3840×2160 output), default presets (-Fast,
-Stream, -SoftPages, -GpuOpt, -PcQuality):
Unlocked frame rate (VICTORY_FRAME_INTERVAL_MS=0) |
~47 fps average (median 47.2 fps, 33–66 fps across multi-spot idle + cruise benchmarks; up to 68 fps in lighter scenes) |
| Locked frame rate (default 30 fps cap) | Steady 30 fps across gameplay and driving; triple-buffered ALLOW_TEARING swap chain and Windows 11 EcoQoS opt-out |
| Frame time & CPU offload | Submit-thread prep averages ~8.6 ms; Opus audio decoding (VICTORY_APU_ASYNC) and reverb convolution (VICTORY_DSP_ASYNC) run on dedicated threads; dual-CCD affinity placement and barrier/card-pool optimizations |
| Stability & anti-flicker | Fixed tree/prop/scene flicker via 16-byte raw-twin alignment, far-depth CPU occlusion stand-in (VICTORY_OCCLUSION_FAR), record-time UAV table snapshots (VICTORY_SNAPSHOT_UAV_TABLES), zero-width placed cull buffer sizing (VICTORY_PLACED_BY_VIEW), DirectStorage upload race guard (VICTORY_COMING_WAITS), guarded sample-mask pipeline twins, and indirect-argument clamping (stale water tiles) |
| Lighting & visuals | Overhauled no-RT stand-in with stencil interior masking, GBuffer normals, night light pop-in fix, BC/grey texture artifact fixes, live-quad shader fallback, and Vignette/DoF toggles |
| Resolutions & Ultrawide | Custom output sizes (VICTORY_OUTPUT), Hor+ ultrawide (VICTORY_ULTRAWIDE), screen-space UI scaling for non-4K outputs, and pause-map reticle alignment |
| Streaming & memory | No freezes; persistent multithreaded pipeline warming, packed shader cache, two-tier PSO library, eased VRAM drain, write-watched big-block allocator, and optional read-only page eviction |
Ray tracing (-RayTracing) |
Works, ~15 fps; being optimised |
| Upscaling & Frame Gen | AMD FSR 4 (default) or FSR 3.1 upscaling (Quality / Balanced / Performance / Ultra Performance) and frame generation with HUD kept out of interpolation — works in both Series X (4K) and Series S (1080p) modes |
| Shaders | Every shader the title uses translates natively (Wave64) |
| Audio | Offloaded multi-threaded Opus decoding and reverb convolution (music, effects, TV and phone-call speakers) |
NVIDIA (Work in Progress)
Warning: NVIDIA GPU support is work in progress and may have visual bugs, instability, or lower performance than AMD. All NVIDIA-specific workarounds are automatically enabled when an NVIDIA GPU is detected (
VICTORY_NVIDIA=1) and remain completely off on AMD GPUs.
Measured on NVIDIA GeForce RTX 4070 SUPER (12 GB VRAM), Series X profile, diag build:
| Frame rate | ~20 fps across gameplay right now (full GPU-timed benchmark pass pending) |
| Shader compatibility | Wave32 lowering with deadlock-safe 64-lane compute widening (SafeSingleWave), Wave32 water volumetric tile rewrite, D3D12-compliant mesh splitting, and an isolated NVIDIA shader cache key (VICTORY_NVIDIA=4) |
| Graphics memory | ~82–84% of Windows' VRAM budget on 12 GB cards (~7.8 / 9.5 GB) via 1536 MiB card buffer cap, ReBAR-backed windows (VICTORY_CARD_WINDOWS_MB=0), and zero pre-allocated empty texture blocks (VICTORY_RIPE_BLOCKS=0) |
| Descriptor & readback stability | 256-byte direct CBVs (VICTORY_TITLE_CBV_ALIGN=all, 96 ring pages) on 1M-capped descriptor heaps, dedicated dynamic-slot release worker, in-order direct-queue readbacks (VICTORY_RELAY_COPY=0), and GPU-read-only / write-combined / non-coherent write-back skipping (VICTORY_WC_NO_BACK=1, VICTORY_NONCOHERENT_NO_BACK=1) |
| Upscaling & Frame Gen | Bundled NVIDIA Streamline 2.14.1 for DLSS Super Resolution, DLSS Frame Generation (2x on RTX 40+, 3x/4x Multi Frame Gen on RTX 50+) + NVIDIA Reflex, plus FSR 3.1 fallback |
Working well: streaming without freezes, offloaded multi-threaded Opus and reverb
audio, car lamps and night lighting, stencil-masked lit interiors and outdoor lighting
without ray tracing, tree/prop/occlusion stability, custom and ultrawide output
resolutions with scaled UI, PC FSR/DLSS upscaling and frame generation in both Series X
and Series S modes, save profiles and the in-game account picker, automatic Windows 10
D3D12 Agility SDK detection/installation, water/shoreline rendering on Wave32, and the
intro movie (or skipping just the startup intro with -SkipIntro).
Known issues:
- NVIDIA is work in progress: frame rate is ~20 fps on RTX 4070 SUPER and NVIDIA-specific rendering/stability edge cases are still being resolved.
- Ray tracing costs about half the frame rate.
- Some cars and trucks can still lose their painted body at certain angles and look black.
- Frame generation can leave faint ghosts of moving things at low frame rates.
- Shaders must be pre-translated and used pipelines warmed before playing (the launcher enforces this automatically).
- Mouths don't move with speech in cutscenes and conversations (blinks, brows and bodies do); being investigated.
Requirements
- Windows 10 or 11, x64, a CPU with AVX2. On Windows 10 the in-box D3D12 runtime
stops at shader model 6.5 and refuses every pipeline (log:
the D3D12 runtime refuses directly indexed descriptor heaps). The launcher detects this automatically and offers a one-click download/install of the D3D12 Agility SDK 1.621.0 (or you can manually extractbuild\native\bin\x64\D3D12Core.dllandd3d12SDKLayers.dllfrom the.nupkgzip into aD3D12folder next tovictory.exe;victory.exedelay-loadsd3d12.dlland opts into the local SDK when present). - A Direct3D 12 GPU with Shader Model 6.6 and Mesh Shaders:
- AMD (Primary): Radeon RX 9070 XT (16 GB) / RDNA 3 & 4
- NVIDIA (Work in Progress): RTX 20+ (12 GB+ VRAM recommended; DLSS requires RTX 20+, DLSS Frame Generation requires RTX 40+ with Windows Hardware-Accelerated GPU Scheduling enabled)
- 32 GB of RAM minimum (64 GB recommended)
- 32 GB+ Windows pagefile recommended to avoid streaming stutter spikes and out-of-memory crashes (the launcher checks pagefile size and includes a guided/automatic helper)
- Rust (the toolchain version is pinned in
rust-toolchain.toml) and the MSVC build tools (Visual Studio Build Tools, "Desktop development with C++") - Your own lawfully obtained copy of the title (no game files, keys, or assets are included or provided)
Quick start
Before you start. By following these steps you agree to use only copies of the program that you obtained lawfully, and you confirm that you own or are otherwise authorised to use the copy you point this build at. The project does not help you obtain it and does not support unlawfully obtained copies. If that is not the case, do not continue.
-
Get the code.
git clone https://github.com/ReTerryDavis/ReVIctory cd ReVIctory copy victory.example.toml victory.tomlEdit
victory.tomland set[paths].game_dirto your title folder (the folder that holds your title's executable); steps 3 and 4 read the shaders from there. Everything the runtime writes goes to%LOCALAPPDATA%\revictoryunless you setcache_dirordata_dir(keep them outside this folder). -
Build (several minutes the first time, two or three after):
cargo build --locked --release -p victory -
Put
target\release\victory.exeinto the game's folder and start it. Without arguments it opens the launcher, which needs nothing else next to it: the game is found there, and both AMD FidelityFX 2.4.0 and NVIDIA Streamline 2.14.1 DLLs are embedded inside the executable. -
Open Game & Tools and press Translate (minutes; can be stopped and resumed), then Warm Used. The launcher requires shaders to be pre-translated and used pipelines warmed before Play unlocks (
WARM FIRST). "Warm all" compiles every pipeline ever recorded (about an hour the first time). -
Press Play. Your GPU vendor (AMD or NVIDIA) is detected automatically and vendor defaults are applied.
From the script instead, with a diag build, which logs in detail and is what all
measurements are made with:
cargo build --locked --profile diag -p victory --features diagnostics
.\scripts\play.ps1 -Shaders
.\scripts\play.ps1 -WarmAll
.\scripts\play.ps1 -Exe "C:\path\to\your\title.exe" -Log
Use your own executable's path; -Build release plays the release build. The script
auto-detects NVIDIA GPUs and enables -Nvidia automatically (use -NoNvidia to force
off). The first line printed names the victory.exe it runs.
Run either from a normal account window, not as administrator: the driver then keeps its shader cache in the usual place.
Translate again only when the shader translator changes (the release notes or a commit will say so). Warm again after a new build or a new GPU driver.
Before playing, close what holds the graphics card or a lot of memory (browsers
with many tabs, Discord or its hardware acceleration, AMD Chat, screen recorders):
Windows gives the game less video memory while they run. Each copy of the game commits
about 30 GB of memory, so make sure no earlier copy of victory.exe is still running.
The launcher
victory.exe started without arguments opens a frameless launcher window that mirrors
scripts\play.ps1 with the exact same settings (a unit test keeps the two in sync).
Hovering any setting explains it in the right-hand inspector; Q/E switch tabs,
Enter plays (once cache is warm), Esc returns Home or closes.
- Auto GPU detection: The top-right GPU pill shows your detected AMD/NVIDIA adapter
(click it on multi-GPU PCs to switch
VICTORY_D3D12_ADAPTER). NVIDIA compatibility settings are enabled automatically for NVIDIA GPUs—no manual toggle is needed—and a work-in-progress warning banner is shown while an NVIDIA GPU is selected. On AMD GPUs, NVIDIA-only DLSS options are hidden automatically. - Windows 10 Agility SDK helper: On startup and before launching/warming, the launcher
probes whether the active D3D12 runtime supports Shader Model 6.6 directly indexed heaps
and offers a one-click download and install of Agility SDK 1.621.0 into
D3D12\next tovictory.exe(Windows 11 hosts withoutD3D12\keep using the OS in-box runtime via/DELAYLOAD:d3d12.dll). - Warm cache gate: Before shaders are translated and recorded used pipelines are warmed, the hero button shows WARM FIRST—clicking it automatically runs Translate and/or Warm Used as needed and unlocks PLAY once complete.
- Standalone single executable: Both AMD FidelityFX 2.4.0 and NVIDIA Streamline 2.14.1
DLLs are zlib-compressed inside
victory.exeand extracted with BLAKE3 verification.
| Tab | What is in it |
|---|---|
| Home | Current launch profile summary, NVIDIA work-in-progress notice (on NVIDIA GPUs), and low-pagefile warning pill when Windows pagefile is below 32 GB |
| Graphics | Output resolution & Ultrawide (Hor+), upscaler profile (Quality, Balanced, Performance, Ultra Performance), upscaler engine (AMD FSR 4, AMD FSR 3.1, NVIDIA DLSS on NVIDIA), frame generation (FSR 4, FSR 3.1, DLSS FG 2x/3x/4x + Reflex on NVIDIA), frame cap, Xbox Series X / Series S profile (with 1080p PC upscaling/FG on Series S), borderless full screen, ray-traced lighting, and PC High quality preset |
| Performance | Fast renderer, larger streaming limits, software page table, logging, Extra GPU optimizations, In-place memory (ID3D12Device13), Worker threads, Safe settings, Restore defaults, and semicolon-separated VICTORY_* launch overrides |
| Save Profiles | Create, switch, rename, and manage isolated local save profiles (also switchable via the in-game Account Picker) |
| Game & Tools | Title executable browser, Translate and warm before playing, Skip starting intro, Translate / Warm Used / Warm All (with live embedded progress bar and Cancel), Open logs folder, and Pagefile setup helper |
The window hides while the game runs and comes back with its exit code. The upscaler
profile/version, frame generation, and frame cap are shared with the in-game F1 menu
(%LOCALAPPDATA%\revictory\overlay.txt); the rest is saved in
%LOCALAPPDATA%\revictory\launcher.txt. All CLI commands (victory run, shaders,
warm, replay, ...) work as before. Inherited VICTORY_* environment variables are
cleared before launching, matching play.ps1.
Script options
scripts\play.ps1 sets everything the fork is played with. By default it turns on
-Fast, -Stream, -SoftPages, -GpuOpt, -PcQuality, auto-detects -Nvidia on
NVIDIA adapters, and caps the title at 30 fps (or whatever the in-game F1 menu last
saved).
| Option | What it does |
|---|---|
-Exe <path> |
The game's executable (needed to play) |
-Log |
Writes the log to %LOCALAPPDATA%\revictory\logs\play-<time>….log |
-Safe |
Without the newer, faster ways: the first thing to try when something is wrong |
-NoSoftPages |
The 2026-11-27 11:55 streaming path instead of the software page table (Streaming) |
-NoFast, -NoStream, -NoGpuOpt, -NoPcQuality |
Turn off individual optimization/quality presets |
-Nvidia, -NoNvidia |
Force NVIDIA Wave32 compatibility overrides on/off (auto-detected by default) |
-RayTracing |
The title's own ray-traced lighting (Ray tracing) |
-Fsr3 quality|balanced|performance |
AMD's PC FSR 3.1 upscaler (also works in -Console series-s at 1080p) |
-Fsr4K <profile> (-FsrVersion 4|3) |
AMD FSR 4 by default where supported (falls back to FSR 3.1 otherwise) |
-FrameGen |
With -Fsr3/-Fsr4K: AMD FSR frame generation (Series X and Series S) |
-Dlss quality|balanced|performance |
NVIDIA DLSS Super Resolution via Streamline (RTX 20+) |
-DlssFrameGen (-DlssFgMult 2|3|4) |
NVIDIA DLSS Frame Generation + Reflex (2x on RTX 40+, 3x/4x Multi Frame Gen on RTX 50+) |
-SkipIntro |
Skips only the 4K startup intro movie (keeps in-game cutscenes, TVs, and menus) |
-Console series-x|series-s |
Console model reported to the game (controls budgets; Series S caps output at 1920×1080 and supports PC FSR/FG) |
-Borderless |
Full-screen window without a frame |
-Build release |
Runs target\release\victory.exe instead of target\diag |
-Victory <path> |
Runs another victory.exe with the same settings (to compare builds) |
-Shaders, -Warm, -WarmAll |
Prepare shaders and pipelines instead of playing (Quick start) |
-StreamLog |
Also logs every streaming request |
-More @{ NAME = 'value' } |
Any other setting. Settings left over in the terminal are cleared, so use this for them. |
Useful settings for -More:
| Setting | What it does |
|---|---|
VICTORY_FRAME_INTERVAL_MS = '0' |
Uncapped ('16.667' caps at 60); also live in the menu, which keeps it for later runs |
VICTORY_OUTPUT = '2560x1440' |
Custom output resolution (or 'native'; Series S caps at 1920x1080). Non-16:9 enables ultrawide automatically |
VICTORY_ULTRAWIDE = '1' |
Forces the Hor+ ultrawide aspect-ratio patch |
VICTORY_FSR_4K = 'ultra-performance' |
Selects PC upscaler preset (quality, balanced, performance, ultra-performance, or 0) |
VICTORY_FRAMEGEN_VERSION = '3' |
Frame generation by FSR 3.1 instead of FSR 4 |
VICTORY_APU_ASYNC = '0' / VICTORY_DSP_ASYNC = '0' |
Disables multi-threaded Opus decoding (VICTORY_APU_THREADS, default 4) or reverb convolution (VICTORY_DSP_THREADS, default 2) |
VICTORY_OCCLUSION_FAR = '0' / VICTORY_SNAPSHOT_UAV_TABLES = '0' |
A/B toggles for the CPU occlusion far-depth stand-in and record-time UAV table snapshots (both on by default) |
VICTORY_COMING_WAITS = '0' |
Disables deferring texture uploads whose pages are actively being written by DirectStorage (on by default) |
VICTORY_AMBIENT = '0' |
Turns off the lighting stand-in (the title's own indirect light only) |
VICTORY_REFLECT_STANDIN = '0' |
Turns off the reflection stand-in |
VICTORY_STARTUP_CARD = '1' |
Shows the startup progress card (off by default) |
VICTORY_KBM_GTA = '1' |
PC-style keyboard and mouse on the stand-in pad: F2 or ` toggles mouse look. Sensitivity: VICTORY_MOUSE_SENS; invert: VICTORY_MOUSE_INVERT_Y = '1' |
VICTORY_D3D12_ADAPTER = 'NVIDIA' |
Picks a GPU by index or part of its name (multi-GPU PCs) |
VICTORY_SAFE_SINGLE_WAVE = '0' |
Disables NVIDIA Wave32 single-wave64 forward-branch widening (A/B debug) |
VICTORY_GPU_RO_SKIP = '0' |
Disables NVIDIA GPU-read-only UAV write-range clipping (A/B debug) |
VICTORY_WATER_LIGHT = '1' |
Re-enables NVIDIA-skipped water volumetric lighting compute shaders (A/B debug) |
Every VICTORY_… setting is described in a comment where the code reads it.
The portable scripts
scripts\portable is the older way without the source code (the launcher in
victory.exe does all of it): put victory.exe and the three victory-*.cmd files next to the game's executable.
| File | Use |
|---|---|
victory-play.cmd |
Starts the game with the same defaults as play.ps1. Add words in any order: fsr3 (or fsr4), balanced/performance, framegen, borderless, raytracing, nosoftpages |
victory-shaders.cmd |
Translates the shaders and makes the pipelines ahead |
victory-settings.cmd |
The settings both use; also where the FSR DLL folder is set |
Logs go to victory-logs\ next to the game.
The in-game overlay
F3 shows the HUD: frame rate, frame time (with the p90 and the longest), GPU busy,
the submit thread's time, graphics memory (amber past the point where new textures stop, so above 93%
by default), late command lists and, while there are any, pipelines being compiled.
F1 opens the menu; F1 or Esc closes it. While it is open the game gets no input
and the cursor shows. Q and E change tabs. The panel at the right describes the
setting in focus.
| Tab | What is in it |
|---|---|
| Performance | Frame rate and its history, the frame's steps, command translators, CPU, video memory and RAM, the texture queue, pipelines and caches |
| Game Settings | Upscaling and frame generation, Vignette / Depth of Field toggles, then the game's own quality levels |
| Lighting | The indirect light stand-in, crease shading and indoor reflections. F6/F7 lower or raise the light, F8 turns crease shading on or off, F9 goes back to the run's start |
| Runtime | Frame pacing (with 30, 40, 60 fps and uncapped buttons), texture, pipeline and overlay switches, and the run's VICTORY_… variables |
| Tools | Save profile / account switcher, write counters or video memory breakdown to the log, save the pipeline library and, in a diag build started with VICTORY_RECORD, capture a frame |
| Cheats | Only once turned on, see below |
Game Settings. Change one or more quality levels, then press Apply; Revert drops changes not applied yet and Restore all goes back to the run's start. The game takes them when its own settings update runs, which in play it may not do for a long time: Force apply shows while a change waits.
Cheats (story mode). Turn the tab on under Runtime → Overlay & Interface → "Cheats
tab", or with VICTORY_CHEATS=1: heal, god mode, about $100,000, the wanted level,
vehicle repair, weather, time of day and eight of the game's dormant cheat vehicles
(numbered: their names are not in its code). Each calls the game's own function, whose
code is compared first; one that differs is shown as unavailable. God mode refills
health, so a hit that kills at once still kills. Armour and infinite ammo are not
offered. No cheat has been confirmed to work in a logged run yet (2026-11-28).
Menu choices are saved in %LOCALAPPDATA%\revictory\overlay.txt.
Upscaling and frame generation (AMD FSR & NVIDIA DLSS)
The game's own upscaler is used by default. Both AMD FidelityFX (FSR 4 / FSR 3.1) and NVIDIA Streamline (DLSS Super Resolution + DLSS Frame Generation + Reflex) can replace it and generate interpolated frames with the HUD kept out of interpolation.
Bundled DLLs:
- AMD FidelityFX SDK 2.4.0 (
bin\fidelityfx-2.4.0, MIT licence):amd_fidelityfx_loader_dx12.dll,amd_fidelityfx_upscaler_dx12.dll, andamd_fidelityfx_framegeneration_dx12.dll. Embedded insidevictory.exeand extracted to%LOCALAPPDATA%\revictory\fidelityfx-2.4.0(override viaVICTORY_FIDELITYFX_DIR,fidelityfx_dirinvictory.toml, or afidelityfx\folder next tovictory.exe). - NVIDIA Streamline SDK 2.14.1 (
bin\streamline):sl.interposer.dll,sl.common.dll,sl.dlss.dll,sl.dlss_g.dll,sl.pcl.dll,sl.reflex.dll,nvngx_dlss.dll,nvngx_dlssg.dll. Embedded insidevictory.exeand extracted to%LOCALAPPDATA%\revictory\streamline(override viaVICTORY_STREAMLINE_DIR,streamline_dirinvictory.toml, or astreamline\folder next tovictory.exe).
Choose a profile in the launcher, or with the script:
# AMD FSR 4 (default, falls back to FSR 3.1 when unsupported) + Frame Generation
.\scripts\play.ps1 -Exe <exe> -Log -Fsr4K quality -FrameGen
# Force AMD FSR 3.1 explicitly (also works with -Console series-s at 1080p)
.\scripts\play.ps1 -Exe <exe> -Log -Fsr3 quality -FrameGen
# NVIDIA DLSS Super Resolution + DLSS Frame Generation (2x / 3x / 4x)
.\scripts\play.ps1 -Exe <exe> -Log -Dlss quality -DlssFrameGen -DlssFgMult 2
| Profile | Series X render → output (4K) | Series S render → output (1080p) |
|---|---|---|
quality |
2560×1440 → 3840×2160 | 1280×720 → 1920×1080 |
balanced |
2258×1270 → 3840×2160 | 1129×635 → 1920×1080 |
performance |
1920×1080 → 3840×2160 | 960×540 → 1920×1080 |
ultra-performance |
1280×720 → 3840×2160 | 640×360 → 1920×1080 |
AMD FSR version: -Fsr4K <profile> defaults to -FsrVersion 4 (FSR 4.1.2 where supported, falling back to FSR 3.1 otherwise); -Fsr3 forces FSR 3.1 even on an FSR 4 card. In Series S mode, the title puts its UI on a separate overlay plane, so both FidelityFX and DLSS frame generation use the base display plane directly as the HUD-less picture.
NVIDIA DLSS & Reflex: DLSS Super Resolution requires an NVIDIA RTX 20+ GPU. DLSS
Frame Generation (-DlssFrameGen) requires an RTX 40+ GPU (2x) or RTX 50+ GPU (3x/4x
Multi Frame Generation via -DlssFgMult) with Windows Hardware-Accelerated GPU
Scheduling (HAGS) enabled, and automatically pairs with NVIDIA Reflex.
What changes while playing (F1 → Game Settings, and Runtime for the cap), in a run
started with the PC upscaler:
| Setting | Changes |
|---|---|
| Frame generation on or off | At once |
| FSR 3.1 or 4 | At once, with a short hitch; about 350 MB more while both exist |
| Frame cap | At once, the game's own limiter and time step with it; kept for later runs |
| Profile, or the upscaler on or off | At the next start: the game sizes its textures by it when it starts |
What the menu saves applies to the next start unless the script names something else
(-Fsr3, -Fsr4K). To go back to the game's own upscaler, choose it in the launcher or
delete the fsr_ lines in %LOCALAPPDATA%\revictory\overlay.txt. The live FSR version
and cap are new (2026-11-29) and little tested.
Graphics memory: about 0.65 GB more was measured with quality and frame generation.
It is counted in the budget by itself. On a 16 GB card, watch the overlay's memory line;
Windows' budget shrinks while other programs hold the card.
Frame rate: a lower profile frees up the card. Where the processor is the limit, as it is in most busy places now, the frame rate stays the same.
Frame generation:
- Needs
-Fsr3or-Fsr4K(it takes the PC upscaler's depth and motion vectors) and the frame-generation DLL; without the DLL the log names the file and the run only upscales. - Made by FSR 4 where the card has it, otherwise by 3.1 (
VICTORY_FRAMEGEN_VERSION=3: always).VICTORY_FRAMEGEN_DEBUG=1shows AMD's debug view. - The game's HUD is kept out of interpolation (
VICTORY_FRAMEGEN_HUDLESS, on), so text and the minimap don't smear. - It adds about one frame of latency.
- For even pacing, cap the game at half the display's refresh, e.g.
-More @{ VICTORY_FRAME_INTERVAL_MS = '16.667' }on 120 Hz (the default cap is 30). - The overlay shows presented frames and, below them, the game's real frames.
Streaming
Two streaming implementations are built in, chosen once at start:
- Software page table (default). On the console the title remaps 64 KiB memory pages while it streams. Doing that with Windows calls cost up to 2 ms per page and caused the freezes. This path keeps the remaps in a table of its own and maps a page only when it is touched, keeping every GPU copy and texture in step with what the pages hold. Streaming requests are also served oldest batch first, which matches the order the title retires them in.
- 11:55 path (
-NoSoftPages). The streaming code of the 2026-11-27 11:55 build, which also streamed well without the table. It is kept as a fallback.
Graphics memory
The layer keeps a GPU copy of what the title streams in, so the card can fill up. The residency policy:
- Evict above 85% of the budget Windows reports, load up to 93%, and react when that budget changes. The gap is what lets textures load while others are let go.
- Fewer detail levels for new textures above 89%. Full detail returns once there is room again.
- Small textures are still made when the card is full, in the gaps of existing texture blocks.
- Idle textures are evicted before anything is refused, and half-empty texture blocks are repacked so whole blocks can be released.
- A slot never shows another texture's data, nor black. It shows a neutral gray until its own texture is ready (textures of numbers rather than colors, such as depths and heights, read zero).
Other programs using the GPU (browsers, chat apps) take from the same budget. Closing them gives the game more room.
Ray tracing
-RayTracing turns on the title's own ray-traced lighting, reflections and global
illumination. The console's acceleration structures are rebuilt and traversed in the
layer. It currently halves the frame rate.
Without it, a stand-in fills in the indirect light and reflections the title would
trace (VICTORY_AMBIENT, VICTORY_REFLECT_STANDIN):
- it leaves light alone where the game already got it right, such as outdoor sky light;
- it fills in where the game's result is missing, such as dark interiors;
- a few bright lights cannot pump the whole scene.
Logs, profiles, captures and troubleshooting
| What | Where |
|---|---|
Run logs (-Log) |
%LOCALAPPDATA%\revictory\logs\play-*.log |
| The runtime's crash records | %LOCALAPPDATA%\revictory\data\<title id>\crashes.log |
The runtime's minidumps (every thread; on a crash, and after 20 s without a frame: VICTORY_HANG_DUMP, VICTORY_DUMP=0|full) |
%LOCALAPPDATA%\revictory\data\<title id>\dumps\ |
| Menu settings | %LOCALAPPDATA%\revictory\overlay.txt |
| Shader and pipeline caches | cache_dir in victory.toml (default %LOCALAPPDATA%\revictory\cache) |
Something is wrong:
- Try
-Safe. - Try
-NoSoftPages. - Delete
overlay.txtto drop saved menu choices. - Keep the log; it names the setting behind most lines.
To mark a glitch and log individual present gaps, start with
-Log -More @{ VICTORY_PANEL_LOG = '1'; VICTORY_LOG = 'warn,victory_gpu::perf=info' }.
Press F4 while the game is focused for a PLAYER_MARK. Gaps of at least
150 ms between successful presents produce a SLOW_PRESENT line. Both work
with the HUD hidden.
Run scripts\shader-diff.ps1 to find the installed GDK and Windows SDK shader
compilers, run the differential tests serially, and save the output under
target\diagnostics. Use -Warp for the software adapter or -List to
list tests without requiring either compiler.
Clearing the shader cache is not needed. Translations are stored per translator version and settings, so an old build never picks up a new build's shaders or the other way round.
Frame captures for the replayer:
- Delete any old
D:\victory-captures\go. Clear out oldcapture-<n>folders now, not while the game runs: each run makes its folder at launch and records shaders into it. - Launch with
-More @{ VICTORY_RECORD = 'D:\victory-captures'; VICTORY_RECORD_FRAMES = '1' }. - When the moment is on screen, run
New-Item D:\victory-captures\go(or press the button in the menu's Tools tab; either way deletegobefore the next launch). The game pauses a few seconds while it writes about 7 GB. In a cutscene it can take about 3 s longer to start (it waits up to 100 frames for one whose lists were all recorded).
victory replay <folder> --pixel x,y then traces any pixel back through every draw.
This found the car-lamp flicker and the black walls.
Frame recordings (diag builds), for what shows for a frame only: F11 starts one and
F11 again ends it. It is written to %LOCALAPPDATA%\revictory\captures with each frame's
picture, what ran in it and what happened meanwhile. VICTORY_REC_GB sets how much memory
it may hold (4).
Profiles: -More @{ VICTORY_PROFILE = '<from s>,<to s>,<ms>,<file>' } samples the
busiest threads' stacks. Keep target\diag\victory.pdb from the same build to read it.
How it works
The layer loads the title's executable, answers its system calls (Xbox OS, Xbox Live offline, DirectStorage, audio) and translates its graphics:
- Console D3D12.X becomes PC Direct3D 12 (
crates/victory-gpu). The title's command lists are written down on its own threads and translated by twelve threads of ours. A submit thread joins the title's submissions, copies what the CPU changed in shared memory to the card, and brings back what shaders wrote. - RDNA 2 shaders become DXIL (
crates/victory-shader), ahead of time and into a versioned cache. - Load-time patches (
crates/victory-loader), each byte-checked against the title's code and switchable: larger constant and streaming rings, the descriptor writes reported to us, the frame-rate setting, the settings menu. - Runtime services (
crates/victory-hle): memory and page mapping, DirectStorage, audio DSP, input, saves.
Repacks and third-party distributions
This project does not collaborate with, endorse or support groups that repackage it with proprietary code, assets, keys or cracks. A package that bundles any of those is not this project, and problems caused by one are out of scope. Do not ask for, link to or distribute such packages here.
If you share a build, share this repository's source and let each user supply their own copy. Do not put proprietary files in a release archive.
Credits
Built on VIctory (Marvisak & contributors) and fxceless/victory-fork, with fixes and improvements adapted from the wider community (full commit attribution is preserved in git history):
- Upstream & community forks: DexNom/VIctory, Belobug/VIctory-Belobug-AMD, myokex/victory-amd, FQY55kai/ZJOU-VICTORY, TrustNo1/Darner (Wave32/NVIDIA fixes), and VIda / VIctory-AMD-UM.
- Additional contributors & references: RX 7900 XTX fork, romainhedouin, Spexivus, joroyt, tightfall, Joshua Odom, Geckomacabre, cxy0072019-sketch, and all ReVIctory PR contributors. (XCL was consulted as a reference only; no code from it is included.)
License
GPL-3.0-or-later, as VIctory. See LICENSE. Bundled third-party
redistributables (bin/fidelityfx-2.4.0/ and bin/streamline/) and format tables
(crates/victory-formats/src/bcpack-tables.bin) remain under their respective terms.