# victory-sley-fork VIctory, a compatibility layer that runs an Xbox Series title natively on Windows from files the user supplies, tuned and measured on **one PC with an NVIDIA card**. **No game files, code, assets, saves or caches are in this repository.** You need your own copy of the title. Not affiliated with or endorsed by its developer or publisher. GPL-3.0-or-later, as VIctory. Every number on this page was measured on this machine with this tree. Nothing here is taken from another fork's README. | | | |---|---| | CPU | Intel Core i7-13700KF (8 P-cores, 8 E-cores, 24 threads) | | GPU | NVIDIA GeForce RTX 4070 Ti, 12 GB, driver 621.24, Resizable BAR on | | RAM | 32 GB | | OS | Windows 11 Home, build 26200 | | Profile | Series S: the world drawn at 1280x720, upscaled to 1920x1080 | ## Where it stands (2026-11-28) **Playable, not smooth.** The opening hours run from the prison through the boat section to the house on the Keys, driven by hand, with the HUD, the map, saves and the pause menu working. ### Frame rate From the layer's own once-a-second frame lines, in the world. A five-minute run nobody touched (run `G1`, the cutscene and first steps at the house): | | | |---|---| | Frame rate, median | **20.6 fps** at about 6,000 draws a frame; 19-24 fps once the area has loaded | | A frame, median | 49.5 ms: 39.4 ms preparing on the CPU (21.7 ms of it copies of title memory), 9.6 ms copying back | | Device losses | none | A session played by hand (138 seconds in the world, the house and its jetty), by how much the title draws: | Draws a frame | Seconds | fps, median (p10 - p90) | Preparing | Copying back | |---|---|---|---|---| | 3,000-5,000 | 10 | **23.8** (12.5 - 25.1) | 34.9 ms | 5.6 ms | | 5,000-7,000 | 16 | **17.7** (14.9 - 19.5) | 49.0 ms | 8.2 ms | | 7,000 and more | 110 | **17.1** (11.4 - 20.2) | 45.8 ms | 8.0 ms | Light scenes (open water, about 2,000 draws) reach the title's own cap of 30 fps. Dense places at night, 8,000 to 12,000 draws, fall to 11-15 fps. Those two tables are of 27 November. With what was added on the 28th (textures hashed by turns, mimalloc, the two guard switches; see below) the unattended test scene runs at 24-26 fps at 4,000 to 5,000 draws a frame, 29 fps at 3,400. A played session with all of it is not measured yet. The limit is not the card: it waits. A frame is as long as one thread of the layer needs to prepare the card's work, and that time grows with the number of draws. Per-thread CPU load shows it: a few threads busy, the processor as a whole at 40-55 %. ### Memory and heat | | | |---|---| | RAM in use, whole PC, heavy scenes | 29-31 GB of 32: no margin. Close the browser and launchers first | | The layer's own private memory | 23-25 GB | | The process's memory in RAM, test scene at 390 s | 24.0 GB on the process heap, 21.2 GB with mimalloc (18.3 GB in a later, lighter run) | | VRAM in use | 9.3-11.1 GB of 12 | | Copies of title buffers in card memory | about 980 MB in 3,440-3,490 copies | ### What is wrong - **Shadowed areas are too dark and flat, nights most of all.** The title lights them with traced rays, which do not run; a constant stand-in takes their place. - **Ten seconds or so at 1-7 fps on entering a new area**, while its textures are read, detiled and sent up. - **After 10-20 minutes some draws are dropped** ("no free dynamic descriptor slots"): the card caps the view heap at 1,000,000 where the title asks for 1,245,184. The pool also ran out for a moment on arriving in the world. wike1701's fix (slots given back only to the heap that took them, from trustno1-coder/VIctory-NVIDIA) is in; a long session with it is not checked yet. - **Ten compute programs had no lowering** for a card of 32-lane waves: five particle emitters from models, two tree-culling validations, two of the water's volumetrics, one triangle collection. Nine lower with wave-wide branches when named in `VICTORY_WAVE_WIDE_ONLY` (below); the triangle collection (`6b82bc7d22016cb5`) is still refused. What they change on screen is not checked yet. - `CS_DefragHeap_ComputeRelocations` (`02384a60fda6f2d0`) translates since the fix below, and runs, but its half-meets keep the card busy: 20.3 fps with it against 24.1 without, in the same scene. It is left out here (`VICTORY_SKIP_PIPELINES`). - A small dotted blob in the sky in some views. ## What this fork adds - **AMD's PC FidelityFX upscaler in place of the console's.** The title's FSR calls are served by the signed `amd_fidelityfx_upscaler_dx12.dll` of AMD's FidelityFX SDK (FSR 3.1.6 here), not by the console library run as translated code. Measured here in the prison prologue: about 4.5 fps with the emulated library, about 15 with the host's, before any of the settings below. Point `VICTORY_FIDELITYFX_DIR` at the folder that holds the DLL; it is not in this repository, take it from AMD's SDK release. `VICTORY_FFX_SHARPNESS=0..1` sets RCAS sharpening (the title asks for none; 0.5 is used here). - **Full screen** by F11 or Alt+Enter (frameless, the swap chain stretched; the code is TaynanGT/Vice-Tay's), and `VICTORY_FULLSCREEN=1`. DXGI's own Alt+Enter, which froze the picture, is off. - **`VICTORY_AMBIENT_FILE=`**: the stand-in's setting (`constant:1.2`, `1`, `off`...) is read from the file's first line twice a second, to tune it in a running game (the idea is Belobug's). - **`VICTORY_TEXTURE_TURNS=1`**: a texture whose memory the hash found the same for 64 frames is hashed every fourth frame only, the textures taking turns. Without the guard (`VICTORY_TEXTURE_GUARD=0`, needed here for clean skin) every sampled texture was hashed at every check: 173 MB a frame for 1.4 MB changed. A texture that changes after a rest may show three frames late. - **mimalloc for the layer's own allocations** (`VICTORY_ALLOC=system`: the process heap, as before). The process heap held 3.96 GB in 251 segments for 1.25 GB of blocks alive. - **A translator fix**: a half-meet asked for in a block lowered earlier (a mask exchanged where it was made) took that block's branch and left the lowering behind it; the block's successors were reached by nothing. `CS_DefragHeap_ComputeRelocations` panicked on it. No shader of the 25,000 panics now, and the message names what reads an instruction of no block. - **The sampling profiler survives a fault** while it unwinds another thread's stack (it ended a run after 35 seconds of samples). - A line of the dynamic descriptor slots' use (free now, fewest since the last line and since the start), and a line of what ends the runs of submission parts prepared together. - From trustno1-coder/VIctory-NVIDIA: dynamic slots given back only to their heap (wike1701), raw buffer views kept inside their buffer (CuteBooty), violet probe garbage dropped before the ambient raise (Ahyildiz), helpers at the submitting thread's priority (Indy2l; no gain here, see below). - `VICTORY_DYNAMIC_SLOTS` is honoured on host heaps capped at 1,000,000 views. Not tested yet. - Card copies of title buffers are asked by a list of the touched ones (`VICTORY_CARD_TOUCHED_LIST=0`: all of them, as before). See below: no gain. ## What was measured ### What helped | Setting | Measured here | |---|---| | `VICTORY_CARD_BUFFERS_MIN_KB=64` with **`VICTORY_CARD_BUFFERS_MB=2048`** | The default cap on a 12 GB card is 512 MB, which left about 180 MB a frame to be snapshotted and compared on the CPU. Four alternating runs of 4.5 minutes: 14.5 and 13.7 fps median without, **20.1 and 20.4** with. Copying back fell from 23 ms to 10 ms a frame in every run with it. 808-980 MB are used; no buffer was turned down | | **`VICTORY_TEXTURE_TURNS=1`** (this fork) | Switched every 20 s in one run, 24 phases at about 3,500 draws: **39.7 ms a frame with, 44.0 without** (25.2 fps against 22.7), the lower in each of the 12 pairs of neighbouring phases. 41 MB of textures hashed a frame instead of 173 | | mimalloc (this fork) | Two runs of 400 s in the test scene: the process held 21.2 GB in RAM at 390 s against 24.0 GB, the PC had 3.8 GB free against 1.8. On the process heap it grew through the run (22.6 to 24.0 GB); with mimalloc it stayed at about 21 GB | | `VICTORY_PORT_GUARD=1` with `VICTORY_PORT_GUARD_PLAN=1` | The two together, switched every 20 s: 40.3 ms a frame against 42.4 over 7 phases each (the scene grew lighter through the run, which favours them by up to half of that). With the plan on, the guard switched: the lower in 12 of 13 phases set against their two neighbours, by 0.6 ms at 29 fps, near the title's cap. Either alone does nothing. Three days earlier, before the two rows above, they were slower | | `VICTORY_WAVE_WIDE_ONLY=` | Nine of the ten refused compute programs translate and run. 330 s in the test scene: no device loss, 24.4 fps at 5,275 draws, as without | | `VICTORY_TEXTURE_NO_WAIT=0` | No more pixelated, noisy skin on characters | | `VICTORY_AMBIENT=constant:1.2` (0.8 before) | Shaded sides less black | | `VICTORY_SKIP_PIPELINES=5dc3b25986622949,6f225b641c5b0708` | The water's two tiled volumetrics take the approximate wave32 form (each half-wave its own result) and drew flickering squares on the water. Left out, the water is clean | | New thermal paste | The CPU fell from 97-98 C to 76-83 C in the same scenes | | NVIDIA Smooth Motion (driver frame generation; needs Windows' hardware-accelerated GPU scheduling) | 19 rendered fps shown as 38. Input still answers at the rendered rate | ### What gave nothing Each was run against a control. Left in, off or unset. | Tried | Result | |---|---| | Renderer port 1 (`VICTORY_PORT_CONSTANTS=1`), once it placed the 185 MB heap | 25 MB a frame sent up instead of 38-48, and the same 17.3 fps | | Renderer port 5 (`VICTORY_PORT_CBV=1`) | Places nothing on this card: raw twins need a view heap of 2^22 slots, the card gives 1,000,000 | | `VICTORY_WINDOWS_BAR_MB=1024` and `3072` | Within the noise between two control runs; 12-40 MB went that way | | `VICTORY_CARD_WINDOWS_MB`, `VICTORY_HEAP_SYNC_EARLY=1`, `VICTORY_WIDE_SPIN` | Within the noise | | The touched list of card copies (this fork) | 13.8 and 16.2 fps with, 14.0 and 16.7 without | | A fast core kept for the submitting thread (tried, not kept) | 16.4 and 17.6 fps with, 17.1 without; the thread worked longer | | `VICTORY_TEXTURE_FILLED_NO_WAIT=1` (this fork: a texture filled before does not wait for the runtime's remapping) | The wait goes (43 to 1 ms a frame over all threads), frames stay as long: 50.0 ms against 50.4 | | `VICTORY_HELPER_PRIORITY` (Indy2l's, on by default upstream; `0` here) | 43.3 ms a frame on against 43.1 off, at 5,500 draws. Its author measured it on six cores; this CPU has sixteen | | `VICTORY_WINDOW_KB=1024` | 18,624 MB in RAM against 18,600 | | `VICTORY_LIST_IDLE_TRIM_S=10` | The driver's heaps 2,606 MB against 2,615 | | A higher `VICTORY_JOIN_PARTS` or `VICTORY_JOIN_LISTS` | Not run: of 22 ends of joined runs a frame, 12 are a part that reads what the ones before it write, 6 a wait for a value not met, 3 the caps | | Series X profile | 7.2 fps | ### What made it worse | Tried | Result | |---|---| | `VICTORY_WAVE_LOCAL=idiom` | Refuses 47 programs, cascade shadows and the irradiance cache among them: characters and props go dark | | `CS_DefragHeap_ComputeRelocations` run (it translates since the fix) | 20.3 fps against 24.1 with it left out, two runs of 330 s in the same scene; the card 96 % busy against 83 % | | TaynanGT/Vice-Tay's switches for its 4070 machine, on a merge of that tree | 7.5 fps, 30 GB of RAM, characters drawn as noise. The same tree without them: 20.1 fps, clean | ### How the numbers were taken, and what they are worth - Frame rates are the median of the once-a-second frame lines with over 1,000 draws a frame. - The title does not resume at the same spot twice, so two runs never draw the same thing. A difference of 1-2 fps between two runs means nothing here; only differences that repeat in alternating runs, or that show in a figure that does not depend on the scene (the copy-back time above), are called a gain. - Several early comparisons were spoiled by someone playing in the test window; they are not reported. ## Running it Windows 11 x64, a CPU with AVX2, a Direct3D 12 GPU with shader model 6.6 and mesh shaders, Rust (the toolchain is pinned), the MSVC build tools, your own dump of the title. ```powershell git clone https://github.com/Spaghetih/victory-sley-fork cd victory-sley-fork copy victory.example.toml victory.toml # then set your paths, outside this folder cargo build --release -p victory target\release\victory.exe shaders # translates every shader ahead; minutes ``` The settings this page was measured with (a batch file; set your own paths): ```bat set VICTORY_FIDELITYFX_DIR= set VICTORY_FFX_SHARPNESS=0.5 set VICTORY_AMBIENT_AIR=1.5 set VICTORY_AMBIENT=constant:1.2 set VICTORY_TEXTURE_NO_WAIT=0 set VICTORY_TEXTURE_GUARD=0 set VICTORY_TEXTURE_TURNS=1 set VICTORY_TEXTURE_ROOM_PERCENT=94 set VICTORY_HELPER_PRIORITY=0 set VICTORY_PORT_GUARD=1 set VICTORY_PORT_GUARD_PLAN=1 set VICTORY_RELAY=2 set VICTORY_RELAY_COPY=1 set VICTORY_WIDE_BACK=1 set VICTORY_CARD_REHASH_RUNS=1 set VICTORY_CARD_STEPS=2 set VICTORY_CARD_AWAKE=1 set VICTORY_CARD_BUFFERS_MIN_KB=64 set VICTORY_CARD_BUFFERS_MB=2048 set VICTORY_JOIN_COPIES=1 set VICTORY_JOIN_PARTS=8 set VICTORY_THIN=1 set VICTORY_INDIRECT_WINDOW=1 set VICTORY_INDIRECT_BATCH=2 set VICTORY_MAP_THREADS=1 set VICTORY_SHOW_AFTER=1 set VICTORY_UPLOAD_AHEAD=1 set VICTORY_LEVELS_ON_DEMAND=1 set VICTORY_SKIP_PIPELINES=5dc3b25986622949,6f225b641c5b0708,02384a60fda6f2d0 set VICTORY_WAVE_WIDE_ONLY=407eca669212d400,5e3dd99e0f067aee,18d957e62926ed3e,57f1b81de55c2842,ae0deeafe219c15c,7c9a6a83826cdfac,21f7ad7863620328,a10179ab7eda0dc3,926c46bab3b86bd6 target\release\victory.exe run --console series-s --execute ``` If the picture turns posterized (flat bands in the sky, black holes in the brightest lights), the pipeline library is damaged: close the game and delete `pipelines\host-pipelines.bin` in the cache folder. The first minutes stutter while it is made again. If stretched bodies or objects show (a white band across the screen), `VICTORY_RELAY=1` with `VICTORY_CARD_STEPS=0` is the fix other forks give for it. Its cost here is not measured cleanly. ## Where this tree comes from Our work sits on [DoubleGhosty/cool_fox](https://github.com/DoubleGhosty/cool_fox) (merged up to 2026-11-27), a continuation of codec-d/cool_fox, which is [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX) with work for NVIDIA cards on top, itself from [fxceless/victory-fork](https://github.com/fxceless/victory-fork) and [Marvisak/VIctory](https://github.com/Marvisak/VIctory). The history is kept, and commits taken from elsewhere name their author. Their README, with their own measurements and credits, is kept as [docs/README-cool_fox.md](docs/README-cool_fox.md); every `VICTORY_...` switch is described in a comment where the code reads it. - **Marvisak/VIctory** and its contributors: the loader, the runtime services, the Direct3D 12 back end and the shader recompiler. - **DoubleGhosty/cool_fox** and **codec-d**: the base, the wave32 lowerings, renderer port 1's fix (our report, issue 23). - **avatarmanz/VIctory-7900XTX**, **fxceless/victory-fork** and the people whose pull requests they carry. - **[TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay)**: the full-screen switch. - **[Belobug/VIctory-Belobug-AMD](https://github.com/Belobug/VIctory-Belobug-AMD)**: the ambient light stand-in's idea and the tuning from a file. - **[trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA)**: where the causes of the pixelated skin and the stretched bodies were written down, and the dynamic slots on capped heaps. - AMD's FidelityFX SDK supplies the upscaler DLL; it is not redistributed here. - This fork's changes were made with [Claude Code](https://claude.com/claude-code). ## License GPL-3.0-or-later, as VIctory. See [LICENSE](LICENSE); the one file it does not cover is named in [docs/asset-policy.md](docs/asset-policy.md).