A fork of VIctory, the compatibility layer that runs an Xbox Series title natively on Windows from files you supply, made to run well on a mid-range NVIDIA card under Windows 10. The goal is a steady 30 fps first, then as much more as the PC allows.
We started from avatarmanz's VIctory-7900XTX. That tree is developed on an AMD RX 7900 XTX and takes the "porting, not emulating" route: byte-checked patches to the title's renderer so that it behaves the way a PC renderer does, instead of the layer watching and copying the console's shared memory every frame. This branch is that tree tuned for NVIDIA, plus changes of our own. avatarmanz's README is kept as README-7900XTX.md.
This repository contains no game files or assets. You need your own copy of the game. It is not affiliated with or endorsed by the game's developer or publisher.
Tested on one machine: Windows 10 Pro 22H2, Ryzen 5 7500F (6 cores), 32 GB of RAM, GeForce RTX 4070 SUPER 12 GB, ray tracing off. Every number below comes from the same place: the opening scene in front of the cell window, Series S profile, the same save, the median over 55 seconds in the scene.
| Settings (driver's background compiling off in all) | fps | ms a frame |
|---|---|---|
As scripts\play.ps1 starts it: everything below, plus host copies only shaders use left on the card, the upscaler chain's three shaders translated, translator threads below normal priority |
26.1-27.5 | 36.3-38.3 |
Without those three (the play script of 2026-11-26): VICTORY_THIN, renderer patches 2, 5 (through the tables' own slots), 6 and 7 |
22.3 | 44.8 |
The same without VICTORY_PORT_CBV_SLOT |
20.8 | 48.2 |
The same without VICTORY_THIN either |
18.4 | 54.3 |
The tree we started from (avatarmanz's 0a43566, with our changes), without VICTORY_THIN |
17.2 | 58.3 |
Walking about the cell the title holds its own 30 fps cap; in the busier dormitory it runs at 23-26. The title asks for a frame every 33.3 ms, so in front of the window about 3-4 ms a frame are still to be found.
Why background compiling is off: NVIDIA's driver recompiles shaders in the background, on its
own schedule, often minutes into a run. While it does, three cores are busy and the frame rate
drops to about 16. VICTORY_D3D12_BACKGROUND=0 turns that off (Windows needs Developer Mode for
it), which makes runs comparable with each other. Without VICTORY_PORT_CBV_SLOT it draws hair too
bright (see "Known problems"); with it the picture is right, so play.ps1 turns background compiling
off as well.
What holds a frame. The title records each frame's lists on five threads at once and starts
the next frame about 5 ms after the slowest of them is done. Without VICTORY_THIN the list calls
are translated inside the title's calls, about 135 ms of processor time a frame; four threads were
done in about 30 ms and the fifth in 50-55, and that thread spent nearly all of it in our
translation. Cutting the work of the thread that prepares submissions moved nothing then.
VICTORY_THIN hands the translation to eight threads of ours (it ran the dynamic descriptor slots
out on the tree we started from; here none are refused) and takes about 6 ms off a frame. Now the
thread that prepares submissions is the wall, busy for nearly all of the frame, and what is taken
off it shows.
avatarmanz's renderer patches were measured on a CPU-bound AMD machine. Here they hardly move the frame rate, each for a different reason.
Patch 5 (VICTORY_PORT_CBV) has shaders read constant buffers through a raw twin of every
view slot, which needs view heaps of 2^22 descriptors. NVIDIA allows 1,000,000, so the patch
falls back to copying, as before, without saying so. VICTORY_PORT_CBV_SLOT=1 (ours) reads a
constant buffer named by a fixed table entry raw through that entry's own slot instead, where the
host puts a raw view of the buffer's copy. It takes about 3 ms a frame off the preparing thread.
Patch 1 (VICTORY_PORT_CONSTANTS) leaves the title's 174 MB buffer of constants and skinned
vertices in the PC's memory and has the card read and write it there over PCIe. It takes about
5 ms a frame off the CPU and puts about 15 ms on the card, which then sets the frame: 85-97%
busy, against 60-67% without the patch.
Patches 2, 6 and 7 work and cost little, but the frame was not waiting on what they remove.
What the card writes, brought back. A timeline of the frame showed the title waiting about
six times a frame for values the card writes, and behind each wait the layer fetching what shaders
wrote back into title memory: the card's copy queue and the landing threads, some 14 ms of the
frame. Of the ~63 MB fetched a frame, most came from buffers only shaders use: the upscaler
chain's 21 MB work buffer and six others the title writes once, at the load.
VICTORY_LAND_NOT=<lengths> leaves copies of those lengths on the card (pieces the title sent
bytes up into within the last 300 frames still come back). That took the frame from 22.7 to
26.1 fps, with the same pictures and the same draws a frame.
The upscaler chain. Three of its shaders were refused ("a lane mask exchanged where not every
lane runs"), and a fourth waited out a loop on flags they would have set, about 3 ms of the card a
frame. VICTORY_WAVE_WIDE_ONLY=<hashes> (after the fxceless fork's e4245f3) lets the listed
programs take the wave-wide form.
A change in avatarmanz's tree (b68e65e) gives each structured buffer view that does not start on
16 bytes a copy of its own bytes when the host has no raw twins, which means on NVIDIA. In this
scene that came to about 360 new buffers a frame, made under one lock the title's recording
threads queued for, and 5.5 fps. VICTORY_VIEW_BYTES_TWINLESS=0 turns it off. It stays on by
default, as upstream has it.
The process uses about 24 GB of memory, so 32 GB of RAM is tight: with a browser open, Windows started paging during our first run.
Smaller PCs, imitated on the same machine (2026-11-27, the same scene; the cores held by a job object, the card's memory above 8 GB filled by buffers nothing uses):
| As | fps |
|---|---|
| The whole machine (6 cores, 12 threads) | 26.5-26.9 |
| 4 cores, 8 threads | 22.4-22.8 |
| 6 cores without SMT | 21.2 with every title thread at normal priority; with the title's own priorities the load before the cell took 80 s instead of 20 |
| An 8 GB card | 8.6: what the layer keeps on the card does not fit, and the system moves it to and fro |
The clock speed was not lowered, so an older CPU of the same core count would be slower still. Of the 24 GB, about
8 GB is the title's own memory and 1.5 GB our own allocations. The command lists are not most of the rest: about
2,200 are alive, most waiting 64 submissions after they ran before they are used again, and with upstream's memory
budgets (VICTORY_RESIDENCY=1, which play.ps1 turns on with 32 GB of RAM or less) they wait 16, 1,510 are alive
and the process's private memory is 24.1 GB instead of 26.4, at the same frame rate. Keeping fewer idle lists than
512 made new ones all the time (24.6 fps) for 0.7 GB more. What holds the remaining 15 GB besides the title's own
memory is not yet known.
- Windows 10: the D3D12 Agility SDK is loaded from
D3D12\next to the executable (D3D12SDKVersion620). Windows 10's own D3D12 stops at shader model 6.5. - On cards with 10-12 GB every title buffer from 64 KiB on gets a copy in the card's memory. In the scene above that is worth about 4 fps (14.4 without it).
XMemAllocDefaultblocks of 1 MiB and more are write-watched title memory, so only the pages the title wrote are sent to the card, not the whole block at every refresh.- Of the copies in the card's memory, only those touched since are looked at for changes.
- Lists give their dynamic descriptor slots back as soon as their submission has landed (from codec_d's cool_fox).
- A translator fix for a guarded access at a join (from cool_fox). The cell window's glass is back.
- The
VICTORY_VIEW_BYTES_TWINLESSswitch described above. VICTORY_PORT_CBV_SLOT, described above.VICTORY_LAND_NOTandVICTORY_WAVE_WIDE_ONLY, described above. Both lists are for this title only. A length is no name: the log says each copy a listed length catches, and in the cell0xc00000caught four. If an object looks wrong or goes missing somewhere new, run withoutVICTORY_LAND_NOTfirst.- The threads that translate lists run below normal priority (
VICTORY_LIST_LOW=0: normal), so that the title's threads and the submitting one get a core first. scripts\play.ps1sets all of the above, and takes-Console series-s(the default) orseries-x.- The mouse as the right stick (
VICTORY_MOUSE=1, on inplay.ps1;-NoMouseleaves it alone): raw counts, so no pointer acceleration, as a stick pushed in step with how fast the mouse moves (VICTORY_MOUSE_SPEED, counts a second for all the way, 3000 by default;VICTORY_MOUSE_DEADZONE, 0.25, how far the least move pushes it, past the title's own dead zone). The left button is the right trigger, the right button the left trigger. While the title's window is in front the cursor stays in it, hidden; Alt+Tab lets it go. - On a PC with fewer than 12 logical processors
play.ps1runs every title thread at normal priority (VICTORY_TITLE_PRIORITIES=flat). The title gives its workers "highest", as on a console's seven cores of its own; on six, those that spin waiting for a load left the threads that do the loading about 20 ms a second. VICTORY_TEST_CARD_MB=8192imitates a smaller card on a bigger one, for testing: the memory above it is filled and left out of what the layer is told it has.scripts\play.ps1 -Fps 45lifts the title's 30 fps cap to 45 (VICTORY_FRAME_INTERVAL_MS=22.222, upstream's switch). Where the PC is faster than 30 it shows: 30.8 fps at the lightest moment of a walk about the cell, against 30.0 with the cap. In front of the cell window and in the dormitory the CPU holds the frame below 30 either way. Between 41 and 59 the title keeps its 30 fps timing, so while the frame rate stays near 30 nothing runs faster; at a real 45, effects the title counts per frame would run 1.5 times as fast.VICTORY_HOST_FSR=1(off by default): the title's own FidelityFX calls are served by AMD's PC upscaler on the host GPU,amd_fidelityfx_upscaler_dx12.dllfrom theKits/FidelityFX/signedbinfolder of AMD's FidelityFX SDK 2.4.0, in the folderVICTORY_FIDELITYFX_DIR(or[paths].fidelityfx_dir) names. On Series S the title picks FidelityFX itself, so nothing of the title is changed. On an RTX 4070 SUPER the SDK offers FSR 3.1.6; the title's translated upscaler chain then no longer runs, and the frame rate is the same (the CPU holds it). Ported from beloooo's VIctory-Belobug-AMD, which has it from DexNom's VIctory.
You need Windows 10 or 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, and your own dump of the game.
On Windows 10, put D3D12Core.dll and d3d12SDKLayers.dll of the Agility SDK release whose
D3D12SDKVersion is 620 (the value in apps/victory/src/main.rs) into target\diag\D3D12\.
Without them the system's own D3D12 is used and nothing that needs shader model 6.6 runs.
copy victory.example.toml victory.toml # then set your paths, outside this folder
cargo build --locked --profile diag -p victory --features diagnostics
target\diag\victory.exe shaders # every shader translated, about 3 minutesVICTORY_PORT_CBV and VICTORY_PORT_CBV_SLOT change how shaders are translated, so run
shaders with the values you will play with (play.ps1 uses 1 for both). After a run with
VICTORY_PIPELINE_BOOK=1, target\diag\victory.exe warm --used has the driver make the
pipelines that run drew with before the next run needs them (about 5 minutes, with the same
values again). Pipelines of a new translation are still made during the first two or three runs.
To play:
scripts\play.ps1 -Exe <your copy's executable>Background compiling off needs Windows' Developer Mode; without it the driver keeps compiling in the background and the frame rate drops while it does.
- Fixed: hair drawn too bright and the scene too warm with
VICTORY_D3D12_BACKGROUND=0. It was the host pipeline library: a build of another folder that loaded the library a build of the first folder had written drew it so in every run, and drew it right with a library of its own (presumably the driver runs stored entries otherwise for another build, and with background work on makes them again; how is not known). The library is now one per folder of the executable (cache\pipelines\host-pipelines-<hash of the folder>.bin), so a build in a new folder makes its pipelines again in its first runs. The earlier reading of this (the copied constant buffer path, cured byVICTORY_PORT_CBV_SLOT) was most likely the same thing; not checked again. - After updating to this, the first one or two runs make every pipeline again (the old
host-pipelines.binis no longer read): slow, with parts of the picture missing until they are made. To skip that, copy yourhost-pipelines.binto the name the log gives (host pipeline library loaded ... file=orno host pipeline library yet ... file=), if builds of this same folder wrote it. - From upstream: far objects flicker in places, the light is wrong for a while after walking indoors, textures of what just came into view appear late, and the first run of a new build stutters while the driver makes pipelines.
VIctory and everyone who works on it; avatarmanz, whose tree this one is built on; codec_d, whose cool_fox the slot release and the translator fix above come from; gomeaw, for the NVIDIA work in avatarmanz's tree.
GPL-3.0, as upstream (LICENSE).