Skip to content

About

VIctory (Xbox Series compatibility layer) tuned for NVIDIA RTX cards: Series X at 2560x1440 with DLSS, about 26-30 fps on an RTX 5070, DLSS frame generation 2x-6x, an F1 settings menu and F3 stats panel, open water without dark blocks. Built on many repos combined into one. No game files or NVIDIA files included.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

3,167 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VIctory on NVIDIA

Reporting a problem? Please attach both logs from the run that went wrong. Without them we can only guess. Paste %LOCALAPPDATA% into the address bar of File Explorer for the default paths below. With VICTORY_HOME set, look for logs there. victory.exe config shows the active data_dir for crash logs.

  1. The play log, in %LOCALAPPDATA%\victory\logs\: the newest victory-nvidia-play-<date>-<time>-<number>.log (from victory.exe) or victory-nvidia-<date>-<time>.log (from the script launcher). The window shows its path at the start, on the line Log: ....
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newest victory-<date>-<time>-<number>.crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\.

Also say which GPU, Windows version (10 or 11) and release you used.

Many errors already have an answer in docs/troubleshooting.md: look there first.

Frame generation: what your card supports

Your card Frame generation Limits
GeForce RTX 40 and RTX 50 DLSS frame generation 2x on RTX 40; more than 2x (up to 6x) needs an RTX 50
GeForce RTX 20 and RTX 30 AMD FSR 3 frame generation, or DLSS multi frame generation (MFG) through the MFG Unlocker mod (F1, MFG UNLOCKER; see below) FSR 3: 2x at most. MFG Unlocker: a third-party mod, not made or supported by NVIDIA or by this fork; NVIDIA itself offers DLSS frame generation only on RTX 40 and later. DLSS upscaling works on these cards either way, so the Series X profile is fine
Other cards (no DLSS) None FSR 3 frame generation needs DLSS upscaling on, on both consoles
  • At every start the game tells you which one your card runs, and why not if it can't, at the top of the picture for the first 30 seconds (and in the console window).
  • F1 menu, FRAME GEN TYPE: AUTO (DLSS where the card has it, else FSR 3), DLSS, or FSR 3 (also on an RTX 40/50, if you prefer it). FRAME GENERATION switches it off or on.
  • FSR 3 needs DLSS upscaling on, on both consoles (so does a Series S picture other than 1280x720; with DLSS off the start says what was turned off).
  • FSR 3 needs AMD's FidelityFX DLLs (amd_fidelityfx_loader_dx12.dll and amd_fidelityfx_framegeneration_dx12.dll, about 30 MB). They are AMD's and not part of this program. On a card without DLSS frame generation (or with FSR 3 chosen in F1) the first start of victory.exe asks once whether to download them from AMD's own GitHub (the FidelityFX SDK); victory.exe get-fsr does it later, and Get-AMD-FSR.cmd does it for the script launcher. Each file is checked against the copy this fork was tested with, and only loaded with AMD's valid signature. A fidelityfx folder next to victory.exe, or VICTORY_FIDELITYFX_DIR, works too.

Quick start: how to run it

The easy way: one file, nothing to build

  1. Download victory.exe from the latest release.
  2. Put it into the folder of your own dump of the title's Xbox Series build v1.0.2.1, next to game_scarlett_master.exe.
  3. Double-click it. Windows may say the publisher is unknown (the file is not signed): "More info", then "Run anyway".

The supported Xbox Series build shows the stock Victory keyboard prompts by default. Animated hold prompts retain their original icons. Use --set VICTORY_PROMPTS=gamepad with victory play to show Xbox prompts. The optional custom mouse-and-keyboard profile continues to use gamepad prompts.

  • The first start asks once whether to download NVIDIA's DLSS and frame generation files (about 70 MB) from NVIDIA's own GitHub. They are NVIDIA's and are not part of this program; say no and the game still runs, with its own upscaling and no frame generation.
  • Settings, saves, caches, logs and NVIDIA's and AMD's files are kept under %LOCALAPPDATA%\victory. The one exception is on Windows 10. Its own Direct3D 12 stops at shader model 6.5, and the game's translated shaders need 6.6. Without 6.6 the game shows a black screen and closes within seconds. So the first start there offers to fetch Microsoft's newer Direct3D 12 runtime (the D3D12 Agility SDK, D3D12Core.dll, about 22 MB from nuget.org). It goes into a D3D12 folder beside victory.exe. victory.exe get-d3d12 does the same by hand, Get-D3D12.cmd does it for a build of your own (into target\release\D3D12), and scripts\play-foxhound.ps1 (with play-nvidia.ps1 and PLAY_FRAMEGEN.cmd) runs it when that folder is missing and no device runs shader model 6.6. The file is checked against Microsoft's signature and the tested SHA-256. Windows 11 keeps using its own runtime. A D3D12 folder that is already there, for example from a repack or another guide (1.618, 1.620), is used at the version of its D3D12Core.dll. Before v2026.11.27.6 that version had to be 1.614, or Windows refused Direct3D 12 with 0x887E0003 (the fix in .4 and .5 did not take effect).
  • To use another drive, set $env:VICTORY_HOME = 'E:\VIctory Data' in PowerShell, then run .\victory.exe config in that window to check the cache and save directories. For future launches, run setx 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 the data folder with the game closed or point VICTORY_DATA_DIR at the existing folder.
  • VICTORY_CACHE_DIR and VICTORY_DATA_DIR each override the corresponding [paths] entry in victory.toml. Those entries take precedence over the cache and data defaults under VICTORY_HOME. The Pareto launcher uses cache-pareto unless VICTORY_CACHE_DIR is 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, only victory play did, 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 reads FRAME 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-mfg downloads it by hand. The mod writes its own RTXMFG-... logs and settings beside victory.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 add VICTORY_MFG_UNLOCKER= to %LOCALAPPDATA%\victory\victory-settings.txt). FSR 3 frame generation (2x) is the fully supported way on those cards. A winmm.dll copy of the mod beside victory.exe still 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=menu before 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. Use menu with 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 pads in a command prompt and press each button: it shows the number each one sends. Then add a line VICTORY_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 is VICTORY_PAD_BUTTONS=3,2,4,1,5,6,7,8,9,10,11,12. VICTORY_GENERIC_PADS=0 turns generic pads off (VICTORY_DUALSENSE=0 turns off only the PlayStation pads).
  • F8 toggles vehicle camera auto-center bypass live (bypassed by default; VICTORY_VEHICLE_AUTO_CENTER=1 or 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=1 by default; =0 falls back to VICTORY_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: WASD move/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, IJKL and Z/C also drive the stand-in right stick and triggers).
    • Radial wheel (Q): moving the mouse selects sectors; scrolling the mouse wheel cycles sub-slot items via RT / LT (VICTORY_WHEEL_SCROLL_INVERT=1 inverts wheel direction).
    • Driving (non-aircraft vehicles): W = RT (throttle), S = LT (brake/reverse), A/D steer, LShift/LCtrl pitch forward/back (bikes/boats), Space = A, E = RB (handbrake), F = L3 (horn), MMB = R3 (look behind), and when the radial wheel is closed RMB = LB / LMB = RB.
    • Tuning env vars: VICTORY_MOUSE_SENS (default 0.0015), VICTORY_MOUSE_INVERT_Y=1, VICTORY_WHEEL_SENS (default 0.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 in bindings.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.

  1. Build it once (Rust is needed for this repository anyway):

    scripts\build-steam-launcher.cmd
  2. Steam, Games → Add a Non-Steam Game → Browse → the scripts\play-foxhound.exe that step 1 built, then Add Selected Programs. Rename it if you like (right-click, Properties).

  3. Right-click it, Properties → Launch Options, and put the path of your own game_scarlett_master.exe there — nothing else:

    "D:\Games\MyDump\game_scarlett_master.exe"
    

    A first argument that is not a switch is taken as the title and gets -Exe in 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 into scripts\play-args.txt (one argument a line, # for comments) and leave the launch options empty.

    Switches the script takes through -More work here too, as NAME=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.

  4. 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 its Log: 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 line mouse/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.txt in this folder), because this runs the same script.
  • Release download instead: if victory.exe sits 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.txt and applied at the next start ("SAVE AND RESTART NOW" does that for you; 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=1 separately enables an experimental lowering for the volume-portals compute shader on 32-lane hosts. An explicit VICTORY_WAVE_WIDE setting 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=0 leaves 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

Credits

A tree of other people's work with a little on top; the history is kept.

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.

About

VIctory (Xbox Series compatibility layer) tuned for NVIDIA RTX cards: Series X at 2560x1440 with DLSS, about 26-30 fps on an RTX 5070, DLSS frame generation 2x-6x, an F1 settings menu and F3 stats panel, open water without dark blocks. Built on many repos combined into one. No game files or NVIDIA files included.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages