Name the pointee of the APU buffer-reuse test's allocations (victory-hle tests compile again) #487

Open
SmartIngenieriayDesarrollo wants to merge 2 commits from upstream-pr/487 into main
SmartIngenieriayDesarrollo commented 2026-12-01 03:01:53 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by SmartIngenieriayDesarrollo on 2026-12-01T03:01:53Z.


cargo test -p victory-hle does not compile on main since 6cc88412 ("Reuse XMA and Opus decoder buffers without changing audio semantics"):

error[E0282]: type annotations needed for `[*const _; 2]`
  --> cratesictory-hle\src\modulespu.rs:1014:17

The test that checks decoder buffers are reused keeps the last PCM pointer of each stream in [std::ptr::null(); 2], and the pointee type is never inferred. The streams' PCM is a Vec<f32> (apu.rs:348), so the array is [*const f32; 2].

The change is one line, inside the test only. With it, cargo test -p victory-hle --lib compiles and the APU tests pass (Windows 11, stable toolchain).

— El_Santo

AI-assisted: yes

<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:5578083103 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/487). Originally posted by [SmartIngenieriayDesarrollo](https://github.com/SmartIngenieriayDesarrollo) on 2026-12-01T03:01:53Z. --- `cargo test -p victory-hle` does not compile on `main` since 6cc88412 ("Reuse XMA and Opus decoder buffers without changing audio semantics"): ``` error[E0282]: type annotations needed for `[*const _; 2]` --> crates ictory-hle\src\modulespu.rs:1014:17 ``` The test that checks decoder buffers are reused keeps the last PCM pointer of each stream in `[std::ptr::null(); 2]`, and the pointee type is never inferred. The streams' PCM is a `Vec<f32>` (`apu.rs:348`), so the array is `[*const f32; 2]`. The change is one line, inside the test only. With it, `cargo test -p victory-hle --lib` compiles and the APU tests pass (Windows 11, stable toolchain). — El_Santo AI-assisted: yes
chatgpt-codex-connector[bot] commented 2026-12-01 03:02:02 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-12-01T03:02:02Z.


Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-01T03:11:49.088769Z 153a687 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7299250631 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/487#issuecomment-7299250631). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-12-01T03:02:02Z. --- <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"153a6875e85e09344c5db2b41daacc62601bcdd7","has_any_findings":true,"has_unresolved_findings":true,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} --> <details> <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-12-01T03:11:49.088769Z">2026-12-01T03:11:49.088769Z</relative-time> | `153a687` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review" or "@codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
chatgpt-codex-connector[bot] commented 2026-12-01 03:11:44 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-12-01T03:11:44Z.

Review: COMMENTED


💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 153a6875e8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

<!-- greyfinch-sync:TaynanGT/Vice-Tay:review:6124503621 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/487#pullrequestreview-6124503621). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-12-01T03:11:44Z. **Review:** COMMENTED --- <!-- codex-review-receipt:v1 --> ### 💡 Codex Review Here are some automated review suggestions for this pull request. **Reviewed commit:** `153a6875e8` <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". </details>
chatgpt-codex-connector[bot] commented 2026-12-01 03:11:45 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-12-01T03:11:45Z.

Code review location: docs/tests.md; line 10

@@ -0,0 +1,103 @@
+# Tests
+
+How changes to this tree are tested on the test PC the README describes, and
+what each recent session played and measured. Newest first.
+
+## How a session is run
+
+- **Build.** A diagnostics build (`cargo build --profile diag -p victory
+  --features diagnostics`), its shaders translated ahead with `victory shaders`.
+- **Launch.** `scripts\play.ps1 -Console series-s` with the RTX 4090 settings,

P1 Badge Keep the test baseline on Series X at 4K with ray tracing

For candidate acceptance, this new default recipe selects Series S without requiring 3840×2160 output or ray tracing, so following it measures a different workload from the required Series X 4K RT boat route. AGENTS.md explicitly forbids using Series S as the acceptance baseline. Distinguish the historical Series S reports from the current acceptance procedure and make the latter require the mandated profile, output resolution and route.

AGENTS.md reference: AGENTS.md:L51-L51

Useful? React with 👍 / 👎.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:review-comment:4748750151 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/487#discussion_r4748750151). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-12-01T03:11:45Z. **Code review location:** `docs/tests.md`; line 10 ~~~~diff @@ -0,0 +1,103 @@ +# Tests + +How changes to this tree are tested on the test PC the README describes, and +what each recent session played and measured. Newest first. + +## How a session is run + +- **Build.** A diagnostics build (`cargo build --profile diag -p victory + --features diagnostics`), its shaders translated ahead with `victory shaders`. +- **Launch.** `scripts\play.ps1 -Console series-s` with the RTX 4090 settings, ~~~~ --- **<sub><sub>![P1 Badge](https://img.shields.io/badge/P1-orange?style=flat)</sub></sub> Keep the test baseline on Series X at 4K with ray tracing** For candidate acceptance, this new default recipe selects Series S without requiring 3840×2160 output or ray tracing, so following it measures a different workload from the required Series X 4K RT boat route. `AGENTS.md` explicitly forbids using Series S as the acceptance baseline. Distinguish the historical Series S reports from the current acceptance procedure and make the latter require the mandated profile, output resolution and route. AGENTS.md reference: [AGENTS.md:L51-L51](https://github.com/TaynanGT/Vice-Tay/blob/153a6875e85e09344c5db2b41daacc62601bcdd7/AGENTS.md#L51-L51) Useful? React with 👍 / 👎. <!-- codex-code-review-finding:v1 -->
chatgpt-codex-connector[bot] commented 2026-12-01 03:11:45 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-12-01T03:11:45Z.

Code review location: docs/tests.md; line 9

@@ -0,0 +1,103 @@
+# Tests
+
+How changes to this tree are tested on the test PC the README describes, and
+what each recent session played and measured. Newest first.
+
+## How a session is run
+
+- **Build.** A diagnostics build (`cargo build --profile diag -p victory
+  --features diagnostics`), its shaders translated ahead with `victory shaders`.

P1 Badge Require host-pipeline warming before measuring gameplay

When the current translator/driver fingerprint needs pipeline preparation, victory shaders only populates shader translations (crates/victory-gpu/src/shader_cache.rs:198–207); it does not warm the recorded host pipeline recipes, and scripts/play.ps1 contains no warm/preload step. Following this preparation recipe can therefore leave host PSOs compiling during measurement and contaminate the comparison with compilation stalls. Restore the full-preload requirement from AGENTS.md, including warming known pipelines for the current fingerprint before the acceptance route.

AGENTS.md reference: AGENTS.md:L39-L39

Useful? React with 👍 / 👎.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:review-comment:4748750162 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/487#discussion_r4748750162). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-12-01T03:11:45Z. **Code review location:** `docs/tests.md`; line 9 ~~~~diff @@ -0,0 +1,103 @@ +# Tests + +How changes to this tree are tested on the test PC the README describes, and +what each recent session played and measured. Newest first. + +## How a session is run + +- **Build.** A diagnostics build (`cargo build --profile diag -p victory + --features diagnostics`), its shaders translated ahead with `victory shaders`. ~~~~ --- **<sub><sub>![P1 Badge](https://img.shields.io/badge/P1-orange?style=flat)</sub></sub> Require host-pipeline warming before measuring gameplay** When the current translator/driver fingerprint needs pipeline preparation, `victory shaders` only populates shader translations (`crates/victory-gpu/src/shader_cache.rs:198–207`); it does not warm the recorded host pipeline recipes, and `scripts/play.ps1` contains no warm/preload step. Following this preparation recipe can therefore leave host PSOs compiling during measurement and contaminate the comparison with compilation stalls. Restore the full-preload requirement from `AGENTS.md`, including warming known pipelines for the current fingerprint before the acceptance route. AGENTS.md reference: [AGENTS.md:L39-L39](https://github.com/TaynanGT/Vice-Tay/blob/153a6875e85e09344c5db2b41daacc62601bcdd7/AGENTS.md#L39-L39) Useful? React with 👍 / 👎. <!-- codex-code-review-finding:v1 -->
chatgpt-codex-connector[bot] commented 2026-12-01 03:11:45 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-12-01T03:11:45Z.

Code review location: docs/tests.md; line 18

@@ -0,0 +1,103 @@
+# Tests
+
+How changes to this tree are tested on the test PC the README describes, and
+what each recent session played and measured. Newest first.
+
+## How a session is run
+
+- **Build.** A diagnostics build (`cargo build --profile diag -p victory
+  --features diagnostics`), its shaders translated ahead with `victory shaders`.
+- **Launch.** `scripts\play.ps1 -Console series-s` with the RTX 4090 settings,
+  in full screen, the performance panel on. Nothing else compiles meanwhile; one
+  game runs at a time.
+- **Play.** Either by hand, through scripted pad input sent while watching a
+  capture after every move, or by a scripted route (walk, run, turn the camera,
+  step aside). Take a capture every minute and record the full verification
+  from the game window on the card's encoder.
+- **Measure.** fps and the frame's parts from the game's own once-a-second frame
+  lines in the world (lines with over 1,000 draws a frame); the game's memory,

P1 Badge Use individual frame intervals for acceptance metrics

For regression acceptance, the prescribed once-a-second FPS and submission-time averages cannot reconstruct individual-frame 1% lows or establish whether every frame meets the 50/30/15 ms gates. Averaging can conceal the stalls these gates are intended to reject. AGENTS.md requires a fully bracketed per-present trace; the renderer already emits victory_gpu::frame=debug, and scripts/measure-present-hitches.ps1 explicitly measures individual accepted host presents rather than averaged FPS. Require that trace and its threshold counts instead of treating these summaries as sufficient acceptance evidence.

AGENTS.md reference: AGENTS.md:L54-L54

Useful? React with 👍 / 👎.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:review-comment:4748750172 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/487#discussion_r4748750172). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-12-01T03:11:45Z. **Code review location:** `docs/tests.md`; line 18 ~~~~diff @@ -0,0 +1,103 @@ +# Tests + +How changes to this tree are tested on the test PC the README describes, and +what each recent session played and measured. Newest first. + +## How a session is run + +- **Build.** A diagnostics build (`cargo build --profile diag -p victory + --features diagnostics`), its shaders translated ahead with `victory shaders`. +- **Launch.** `scripts\play.ps1 -Console series-s` with the RTX 4090 settings, + in full screen, the performance panel on. Nothing else compiles meanwhile; one + game runs at a time. +- **Play.** Either by hand, through scripted pad input sent while watching a + capture after every move, or by a scripted route (walk, run, turn the camera, + step aside). Take a capture every minute and record the full verification + from the game window on the card's encoder. +- **Measure.** fps and the frame's parts from the game's own once-a-second frame + lines in the world (lines with over 1,000 draws a frame); the game's memory, ~~~~ --- **<sub><sub>![P1 Badge](https://img.shields.io/badge/P1-orange?style=flat)</sub></sub> Use individual frame intervals for acceptance metrics** For regression acceptance, the prescribed once-a-second FPS and submission-time averages cannot reconstruct individual-frame 1% lows or establish whether every frame meets the 50/30/15 ms gates. Averaging can conceal the stalls these gates are intended to reject. `AGENTS.md` requires a fully bracketed per-present trace; the renderer already emits `victory_gpu::frame=debug`, and `scripts/measure-present-hitches.ps1` explicitly measures individual accepted host presents rather than averaged FPS. Require that trace and its threshold counts instead of treating these summaries as sufficient acceptance evidence. AGENTS.md reference: [AGENTS.md:L54-L54](https://github.com/TaynanGT/Vice-Tay/blob/153a6875e85e09344c5db2b41daacc62601bcdd7/AGENTS.md#L54-L54) Useful? React with 👍 / 👎. <!-- codex-code-review-finding:v1 -->
chatgpt-codex-connector[bot] commented 2026-12-01 03:11:45 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-12-01T03:11:45Z.

Code review location: README.md; line 77

@@ -1,616 +1,243 @@
-# 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](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](https://github.com/dashdogy/MFG-Unlocker) mod** (F1, MFG UNLOCKER; see [below](#mfg-unlocker)) | 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](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/latest).
-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".
-
-Prompts follow the F1 settings only, nothing is detected: Xbox button prompts
-by default, keyboard keys when CONTROLS is KEYBOARD or MOUSE AND KEYBOARD is on.
-Animated hold prompts keep their original icons. A custom mouse-and-keyboard
-bindings file keeps the gamepad pictures.
-
-- 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`.
-- <a id="mfg-unlocker"></a>**RTX 20 and 30 cards: DLSS multi frame generation
-  (MFG) works through the [MFG Unlocker](https://github.com/dashdogy/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](https://www.nexusmods.com/site/mods/757) (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](docs/dlss.md#rtx-20-and-30-cards-dlss-enabler-a-mod-not-ours).
-
-**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.
+# Vice-Tay
+
+> [!NOTE]
+> **Development has resumed.** I'm back at work on Vice-Tay as of Monday, November 30.
+
+**Xbox Series compatibility on Windows, tuned on a GeForce RTX 4090.**
+
+Vice-Tay builds on [VIctory](https://github.com/Marvisak/VIctory) to run an Xbox Series title from your own files. The title's x86-64 code runs on the host CPU. The compatibility layer provides the console APIs it calls and translates its graphics work to Direct3D 12.
+
+[Quick start](#getting-started) · [Measurements](#measurements) · [Measurements on GitHub Pages](https://taynangt.github.io/Vice-Tay/)
+
+## Measurements
+
+The goal is **30 rendered FPS in the open world with correct visuals**.
+
+### Series S boat test at 4K
+
+On November 27, 2026, I repeated the same boat route with two local builds. Both used DLSS Quality (2560 × 1440 → 3840 × 2160) and AMD 2× frame generation. Each result averages about 39 seconds of telemetry.
+
+| Build | Rendered FPS | Generated FPS | Presented FPS |
+| --- | ---: | ---: | ---: |
+| 4K reference · `e9a30f4f` | 16.12 | 16.12 | 32.25 |
+| 4K experimental · `424fb3f6` | **26.72** | 26.72 | **53.44** |
+
+The experimental build reached a median of 27.80 rendered FPS across the sampled intervals. The Series S 4K option is under review in [PR #329](https://github.com/TaynanGT/Vice-Tay/pull/329).
+
+[4K settings, frame counts and percentiles](docs/measurements.md#series-s-4k-boat-test)
+
+### Earlier Series S measurements
+
+| Session | Result |
+| --- | --- |
+| **1080p GPU read-through test** | An on/off test with the boat stationary went from **22.60 to 26.38 rendered FPS** and **45.13 to 52.78 presented FPS**. |
+| **6-minute frame generation test** · `88e80129` | Medians of **22.4 rendered FPS** and **44.9 presented FPS** in a separate 1080p test with 2× frame generation. |
+| **30-minute playtest** · `bc090416` | Median of **21.1 rendered FPS** and a 17.0 FPS 1% low across the prologue, the boat section and traversal on foot. |
+
+[1080p comparison](docs/measurements.md#series-s-1080p-gpu-read-through) · [Frame generation test](docs/measurements.md#series-s-frame-generation) · [30-minute playtest](docs/measurements.md#series-s-baseline)
+
+**Test PC** · RTX 4090 (24 GB), Ryzen 9 9950X3D, 48 GiB DDR5, Windows 11 Pro x64
+
+<details>
+<summary>Full test configuration</summary>
+
+| Component | Configuration |
+| --- | --- |
+| CPU and motherboard | AMD Ryzen 9 9950X3D (16 cores, 32 threads), MSI MAG X870 TOMAHAWK WIFI (MS-7E51), BIOS 1.A93 |
+| Graphics | NVIDIA GeForce RTX 4090 (24 GB GDDR6X, driver 621.40), integrated AMD Radeon Graphics |
+| Memory | 2 × 24 GiB DDR5 at 8,000 MT/s, 43.4 GiB visible to Windows, 128 GiB page file |
+| Storage | Samsung 990 PRO 4 TB and 2 TB, Samsung 970 PRO 1 TB |
+| Display | Samsung Odyssey OLED G8 (G81SF), 3840 × 2160 at 240 Hz |
+| OS | Windows 11 Pro 26H2 x64, build 26300.10075 |
+
+</details>
+
+In the 30-minute playtest, checkpoint retries worked after the boat ran aground. The HUD, minimap, mission prompts and pause menu were usable along the route.
+
+## Getting started
+
+**Requirements.** Windows 10 or 11 x64, an AVX2-capable CPU, a Direct3D 12 GPU with Shader Model 6.6 and mesh shader support, Rust, and MSVC build tools with a Windows SDK. Rust uses the version pinned in [`rust-toolchain.toml`](rust-toolchain.toml).
+
+> [!IMPORTANT]
+> Bring your own copy of the title. Keep the executable, game data and derived cache outside this checkout. See the [asset policy](docs/asset-policy.md).
+> The runtime reports unverified game and package licences as inactive. A title that requires a verified licence may stop at startup.
+
+1. Clone the repository and copy the configuration template.
+
+   ```powershell
+   git clone https://github.com/TaynanGT/Vice-Tay.git
+   Set-Location Vice-Tay
+   Copy-Item .\victory.example.toml .\victory.toml
+   ```
+
+2. Set `game_dir` in `victory.toml` to the directory containing your title files. Build the diagnostics executable and launch the Series S profile with the path to your executable.
+
+   ```powershell
+   cargo build --locked --profile diag -p victory --features diagnostics
+   .\scripts\play.ps1 -Exe 'D:\victory-data\game\game.exe' -Console series-s

P2 Badge Use options that the shipped PowerShell launcher accepts

On a fresh checkout, the new quick-start command cannot launch the title: scripts/play.ps1's parameter block declares only Exe, Safe, RayTracing, Build and More, so -Console series-s fails parameter binding. The later -Machine, -Dlss4K and -FrameGen examples have the same interface mismatch. Point these examples at a launcher that implements those options, or document the supported interface.

Useful? React with 👍 / 👎.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:review-comment:4748750182 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/487#discussion_r4748750182). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-12-01T03:11:45Z. **Code review location:** `README.md`; line 77 ~~~~diff @@ -1,616 +1,243 @@ -# 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](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](https://github.com/dashdogy/MFG-Unlocker) mod** (F1, MFG UNLOCKER; see [below](#mfg-unlocker)) | 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](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/latest). -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". - -Prompts follow the F1 settings only, nothing is detected: Xbox button prompts -by default, keyboard keys when CONTROLS is KEYBOARD or MOUSE AND KEYBOARD is on. -Animated hold prompts keep their original icons. A custom mouse-and-keyboard -bindings file keeps the gamepad pictures. - -- 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`. -- <a id="mfg-unlocker"></a>**RTX 20 and 30 cards: DLSS multi frame generation - (MFG) works through the [MFG Unlocker](https://github.com/dashdogy/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](https://www.nexusmods.com/site/mods/757) (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](docs/dlss.md#rtx-20-and-30-cards-dlss-enabler-a-mod-not-ours). - -**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. +# Vice-Tay + +> [!NOTE] +> **Development has resumed.** I'm back at work on Vice-Tay as of Monday, November 30. + +**Xbox Series compatibility on Windows, tuned on a GeForce RTX 4090.** + +Vice-Tay builds on [VIctory](https://github.com/Marvisak/VIctory) to run an Xbox Series title from your own files. The title's x86-64 code runs on the host CPU. The compatibility layer provides the console APIs it calls and translates its graphics work to Direct3D 12. + +[Quick start](#getting-started) · [Measurements](#measurements) · [Measurements on GitHub Pages](https://taynangt.github.io/Vice-Tay/) + +## Measurements + +The goal is **30 rendered FPS in the open world with correct visuals**. + +### Series S boat test at 4K + +On November 27, 2026, I repeated the same boat route with two local builds. Both used DLSS Quality (2560 × 1440 → 3840 × 2160) and AMD 2× frame generation. Each result averages about 39 seconds of telemetry. + +| Build | Rendered FPS | Generated FPS | Presented FPS | +| --- | ---: | ---: | ---: | +| 4K reference · `e9a30f4f` | 16.12 | 16.12 | 32.25 | +| 4K experimental · `424fb3f6` | **26.72** | 26.72 | **53.44** | + +The experimental build reached a median of 27.80 rendered FPS across the sampled intervals. The Series S 4K option is under review in [PR #329](https://github.com/TaynanGT/Vice-Tay/pull/329). + +[4K settings, frame counts and percentiles](docs/measurements.md#series-s-4k-boat-test) + +### Earlier Series S measurements + +| Session | Result | +| --- | --- | +| **1080p GPU read-through test** | An on/off test with the boat stationary went from **22.60 to 26.38 rendered FPS** and **45.13 to 52.78 presented FPS**. | +| **6-minute frame generation test** · `88e80129` | Medians of **22.4 rendered FPS** and **44.9 presented FPS** in a separate 1080p test with 2× frame generation. | +| **30-minute playtest** · `bc090416` | Median of **21.1 rendered FPS** and a 17.0 FPS 1% low across the prologue, the boat section and traversal on foot. | + +[1080p comparison](docs/measurements.md#series-s-1080p-gpu-read-through) · [Frame generation test](docs/measurements.md#series-s-frame-generation) · [30-minute playtest](docs/measurements.md#series-s-baseline) + +**Test PC** · RTX 4090 (24 GB), Ryzen 9 9950X3D, 48 GiB DDR5, Windows 11 Pro x64 + +<details> +<summary>Full test configuration</summary> + +| Component | Configuration | +| --- | --- | +| CPU and motherboard | AMD Ryzen 9 9950X3D (16 cores, 32 threads), MSI MAG X870 TOMAHAWK WIFI (MS-7E51), BIOS 1.A93 | +| Graphics | NVIDIA GeForce RTX 4090 (24 GB GDDR6X, driver 621.40), integrated AMD Radeon Graphics | +| Memory | 2 × 24 GiB DDR5 at 8,000 MT/s, 43.4 GiB visible to Windows, 128 GiB page file | +| Storage | Samsung 990 PRO 4 TB and 2 TB, Samsung 970 PRO 1 TB | +| Display | Samsung Odyssey OLED G8 (G81SF), 3840 × 2160 at 240 Hz | +| OS | Windows 11 Pro 26H2 x64, build 26300.10075 | + +</details> + +In the 30-minute playtest, checkpoint retries worked after the boat ran aground. The HUD, minimap, mission prompts and pause menu were usable along the route. + +## Getting started + +**Requirements.** Windows 10 or 11 x64, an AVX2-capable CPU, a Direct3D 12 GPU with Shader Model 6.6 and mesh shader support, Rust, and MSVC build tools with a Windows SDK. Rust uses the version pinned in [`rust-toolchain.toml`](rust-toolchain.toml). + +> [!IMPORTANT] +> Bring your own copy of the title. Keep the executable, game data and derived cache outside this checkout. See the [asset policy](docs/asset-policy.md). +> The runtime reports unverified game and package licences as inactive. A title that requires a verified licence may stop at startup. + +1. Clone the repository and copy the configuration template. + + ```powershell + git clone https://github.com/TaynanGT/Vice-Tay.git + Set-Location Vice-Tay + Copy-Item .\victory.example.toml .\victory.toml + ``` + +2. Set `game_dir` in `victory.toml` to the directory containing your title files. Build the diagnostics executable and launch the Series S profile with the path to your executable. + + ```powershell + cargo build --locked --profile diag -p victory --features diagnostics + .\scripts\play.ps1 -Exe 'D:\victory-data\game\game.exe' -Console series-s ~~~~ --- **<sub><sub>![P2 Badge](https://img.shields.io/badge/P2-yellow?style=flat)</sub></sub> Use options that the shipped PowerShell launcher accepts** On a fresh checkout, the new quick-start command cannot launch the title: `scripts/play.ps1`'s parameter block declares only `Exe`, `Safe`, `RayTracing`, `Build` and `More`, so `-Console series-s` fails parameter binding. The later `-Machine`, `-Dlss4K` and `-FrameGen` examples have the same interface mismatch. Point these examples at a launcher that implements those options, or document the supported interface. Useful? React with 👍 / 👎. <!-- codex-code-review-finding:v1 -->
chatgpt-codex-connector[bot] commented 2026-12-01 03:11:45 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-12-01T03:11:45Z.

Code review location: README.md; line 192

@@ -1,616 +1,243 @@
-# 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](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](https://github.com/dashdogy/MFG-Unlocker) mod** (F1, MFG UNLOCKER; see [below](#mfg-unlocker)) | 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](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/latest).
-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".
-
-Prompts follow the F1 settings only, nothing is detected: Xbox button prompts
-by default, keyboard keys when CONTROLS is KEYBOARD or MOUSE AND KEYBOARD is on.
-Animated hold prompts keep their original icons. A custom mouse-and-keyboard
-bindings file keeps the gamepad pictures.
-
-- 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`.
-- <a id="mfg-unlocker"></a>**RTX 20 and 30 cards: DLSS multi frame generation
-  (MFG) works through the [MFG Unlocker](https://github.com/dashdogy/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](https://www.nexusmods.com/site/mods/757) (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](docs/dlss.md#rtx-20-and-30-cards-dlss-enabler-a-mod-not-ours).
-
-**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.
+# Vice-Tay
+
+> [!NOTE]
+> **Development has resumed.** I'm back at work on Vice-Tay as of Monday, November 30.
+
+**Xbox Series compatibility on Windows, tuned on a GeForce RTX 4090.**
+
+Vice-Tay builds on [VIctory](https://github.com/Marvisak/VIctory) to run an Xbox Series title from your own files. The title's x86-64 code runs on the host CPU. The compatibility layer provides the console APIs it calls and translates its graphics work to Direct3D 12.
+
+[Quick start](#getting-started) · [Measurements](#measurements) · [Measurements on GitHub Pages](https://taynangt.github.io/Vice-Tay/)
+
+## Measurements
+
+The goal is **30 rendered FPS in the open world with correct visuals**.
+
+### Series S boat test at 4K
+
+On November 27, 2026, I repeated the same boat route with two local builds. Both used DLSS Quality (2560 × 1440 → 3840 × 2160) and AMD 2× frame generation. Each result averages about 39 seconds of telemetry.
+
+| Build | Rendered FPS | Generated FPS | Presented FPS |
+| --- | ---: | ---: | ---: |
+| 4K reference · `e9a30f4f` | 16.12 | 16.12 | 32.25 |
+| 4K experimental · `424fb3f6` | **26.72** | 26.72 | **53.44** |
+
+The experimental build reached a median of 27.80 rendered FPS across the sampled intervals. The Series S 4K option is under review in [PR #329](https://github.com/TaynanGT/Vice-Tay/pull/329).
+
+[4K settings, frame counts and percentiles](docs/measurements.md#series-s-4k-boat-test)
+
+### Earlier Series S measurements
+
+| Session | Result |
+| --- | --- |
+| **1080p GPU read-through test** | An on/off test with the boat stationary went from **22.60 to 26.38 rendered FPS** and **45.13 to 52.78 presented FPS**. |
+| **6-minute frame generation test** · `88e80129` | Medians of **22.4 rendered FPS** and **44.9 presented FPS** in a separate 1080p test with 2× frame generation. |
+| **30-minute playtest** · `bc090416` | Median of **21.1 rendered FPS** and a 17.0 FPS 1% low across the prologue, the boat section and traversal on foot. |
+
+[1080p comparison](docs/measurements.md#series-s-1080p-gpu-read-through) · [Frame generation test](docs/measurements.md#series-s-frame-generation) · [30-minute playtest](docs/measurements.md#series-s-baseline)
+
+**Test PC** · RTX 4090 (24 GB), Ryzen 9 9950X3D, 48 GiB DDR5, Windows 11 Pro x64
+
+<details>
+<summary>Full test configuration</summary>
+
+| Component | Configuration |
+| --- | --- |
+| CPU and motherboard | AMD Ryzen 9 9950X3D (16 cores, 32 threads), MSI MAG X870 TOMAHAWK WIFI (MS-7E51), BIOS 1.A93 |
+| Graphics | NVIDIA GeForce RTX 4090 (24 GB GDDR6X, driver 621.40), integrated AMD Radeon Graphics |
+| Memory | 2 × 24 GiB DDR5 at 8,000 MT/s, 43.4 GiB visible to Windows, 128 GiB page file |
+| Storage | Samsung 990 PRO 4 TB and 2 TB, Samsung 970 PRO 1 TB |
+| Display | Samsung Odyssey OLED G8 (G81SF), 3840 × 2160 at 240 Hz |
+| OS | Windows 11 Pro 26H2 x64, build 26300.10075 |
+
+</details>
+
+In the 30-minute playtest, checkpoint retries worked after the boat ran aground. The HUD, minimap, mission prompts and pause menu were usable along the route.
+
+## Getting started
+
+**Requirements.** Windows 10 or 11 x64, an AVX2-capable CPU, a Direct3D 12 GPU with Shader Model 6.6 and mesh shader support, Rust, and MSVC build tools with a Windows SDK. Rust uses the version pinned in [`rust-toolchain.toml`](rust-toolchain.toml).
+
+> [!IMPORTANT]
+> Bring your own copy of the title. Keep the executable, game data and derived cache outside this checkout. See the [asset policy](docs/asset-policy.md).
+> The runtime reports unverified game and package licences as inactive. A title that requires a verified licence may stop at startup.
+
+1. Clone the repository and copy the configuration template.
+
+   ```powershell
+   git clone https://github.com/TaynanGT/Vice-Tay.git
+   Set-Location Vice-Tay
+   Copy-Item .\victory.example.toml .\victory.toml
+   ```
+
+2. Set `game_dir` in `victory.toml` to the directory containing your title files. Build the diagnostics executable and launch the Series S profile with the path to your executable.
+
+   ```powershell
+   cargo build --locked --profile diag -p victory --features diagnostics
+   .\scripts\play.ps1 -Exe 'D:\victory-data\game\game.exe' -Console series-s
+   ```
+
+Use [`Play-VIctory.cmd`](Play-VIctory.cmd) to pass the same options from Command Prompt. Double-click it to enter the executable's path at a prompt. The launcher defaults to full screen, the Series X profile and an automatic GPU preset. **F11** or **Alt+Enter** toggles full screen during play.
+
+For titles that use BCPack, set `VICTORY_BCPACK_TABLES` to the path of a local copy of the [format tables](docs/asset-policy.md#bcpack) you are authorised to use.
+
+If the title reaches the menu but stops at world load, verify your title files before changing graphics settings. Compare the full file hashes against a trusted manifest for the exact release you own, using the algorithm listed in that manifest. An archive with missing or zero-filled data can still have the expected size. Re-copy any mismatched files from your verified source and check the hashes again before launching.
+
+| Option | Use it to |
+| --- | --- |
+| `-Console series-s` | Select the lighter console profile used in the sessions above. |
+| `-Machine 4090` / `-Machine 4070` / `-Machine 7900xtx` | Select a GPU preset explicitly. See the [RTX 4070 test notes](docs/rtx4070-performance.md). |
+| `-Machine 4070tisuper` | The RTX 4070 Ti SUPER (16 GB) preset, asked for explicitly. With Resizable BAR on, it moves up to 4 GB of shader-read windows from RAM into the card's memory. Also [measured on an RTX 5080 with eight cores](docs/rtx5080-16gb.md), where it ran one scene at 27 fps against 16 with the RTX 4090 settings. |
+| `-Machine laptop` | Try the [16 GB NVIDIA laptop preset](docs/laptop-16gb.md), measured on one RTX 3050 laptop. |
+| `-Machine 3060` | Try the [six-core, 16 GB NVIDIA desktop preset](docs/rtx3060-16gb.md), measured on one RTX 3060 12 GB / i5-12400F PC. |
+| `-Safe` | Launch with the conservative settings when investigating a graphics or stability issue. |
+| `-Windowed` / `-NoPanel` | Start in a window or hide the diagnostics overlay at launch. |
+| `-RayTracing` | Enable the structures needed for the title's ray-traced indirect lighting. |
+| `-Fsr4K quality` / `-Dlss4K quality` | Upscale to 3840 × 2160 with PC FSR or DLSS on Series X. |
+| `-FrameIntervalMs 16.67` | Set the frame interval in milliseconds. Use `0` to remove the limit or omit the option to keep the title's setting. |
+| `-WarmPipelines` | Warm pipelines used in previous runs before starting the title. |
+| `-Build release` | Use the executable built with `cargo build --locked --release -p victory`. The overlay requires a diagnostics build. |
+
+<details>
+<summary>PC upscaling and Series S frame generation</summary>
+
+The Series X 4K profiles support `quality`, `balanced` and `performance` on
+build 1.0.2.1. They render at 2560 × 1440, 2258 × 1270 and 1920 × 1080
+respectively. For Series S, use `-Dlss` or `-Fsr` with the same three
+presets to keep the console profile's output size. These presets set the
+render scale, including when used with `-Machine laptop`.
+
+For FSR, point `VICTORY_FIDELITYFX_DIR` or `[paths].fidelityfx_dir` at the
+folder containing `amd_fidelityfx_upscaler_dx12.dll`. The 4K mode prefers
+FSR 4.1.2 and uses 3.1.6 when that is what the adapter supports. In Series S,
+pass `-More @{VICTORY_FSR4_SERIES_S='1'}` to prefer FSR 4.1.2 on a supported
+adapter. Series S uses FSR 3.1.6 by default. Both profiles can use FSR when
+DLSS fails.
+For DLSS on an RTX card, get `nvngx_dlss.dll` from the NVIDIA DLSS SDK.
+Set `VICTORY_DLSS_DIR` or `[paths].dlss_dir` to its folder, or put the DLL
+beside `victory.exe`. Some drivers ship without this library. Vice-Tay
+checks for it before initializing NGX and uses the configured FSR
+fallback when it is missing. `VICTORY_DLSS_NO_UPDATE=1` uses the installed
+selection without an NGX update. [AMD FSR SDK](https://gpuopen.com/amd-fsr-sdk/) ·
+[NVIDIA DLSS SDK](https://github.com/NVIDIA/DLSS)
+
+For 2× Series S frame generation, pass `-FrameGen`. Point
+`VICTORY_FFX_FG_DIR` or `[paths].ffx_fg_dir` at the SDK 2.4.0
+`Kits/FidelityFX/signedbin` folder with `amd_fidelityfx_loader_dx12.dll`
+and `amd_fidelityfx_framegeneration_dx12.dll`. If neither is set, the FSR
+upscaler folder is used. This uses AMD's analytical
+3.1.6 frame generation provider. The launch below uses DLSS on an RTX card.
 
 ```powershell
-$env:VICTORY_ADAPTER = 'RTX 5070 Ti'
-.\victory.exe
+$env:VICTORY_FFX_FG_DIR = '<SDK signedbin>'
+.\scripts\play.ps1 -Exe 'D:\victory-data\game\game.exe' -Console series-s -Dlss quality -FrameGen
 ```
 
-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](https://rustup.rs) and the
-[Visual Studio Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/)
-with "Desktop development with C++", then in PowerShell:
+With neither PC upscaler selected, frame generation uses depth and motion
+vectors from the title's native FidelityFX loader. `RENDER FPS` in the
+diagnostics panel counts rendered frames, and `FG OUTPUT FPS` counts
+swap-chain presentations. The PC FSR bridge follows
+[DexNom's implementation](https://github.com/DexNom/VIctory/commit/ab34a8b21477c94da2a6cf07249138e8bc84602e)
+through beloooo's port. The frame generation bridge follows
+[PastiiJay's DirectX 12 integration](https://github.com/PastiiJay/klbf-lab/commit/793c56c36fda760b027122418b922fc359abf580).
+
+</details>
+
+<details>
+<summary>Shader cache and pipeline warm-up</summary>
+
+The launcher pretranslates shaders when it has no completed scan for the current shader cache key and source paths. On Windows it uses `game_dir` when configured and falls back to the executable's directory. The driver may still build pipelines during the first run.
+
+Run these steps separately from the repository root to warm the shader cache and compile pipelines seen in previous runs. Both steps can resume from cached work.
 
 ```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'
+.\target\diag\victory.exe shaders
+.\target\diag\victory.exe warm --used
 ```
 
-Put the path to **your** `game_scarlett_master.exe` in the last line. The
-first start builds the layer, which takes a few minutes.
+Pass an archive path to `shaders` to scan just that archive. At launch, `--if-needed` checks file metadata throughout each input directory before reusing a completed scan. On Windows volumes that do not report file change times, it scans the input again. `-SkipShaders` skips pretranslation at launch.
+`-WarmPipelines` runs the same `warm --used` command after pretranslation.
+When comparing warm-up times, `warm --used --batch-size 80` tests longer batches and
+`warm --used --normal-priority` tests normal worker priority. Change one option
+at a time. The defaults are 40 pipelines per worker process and idle priority.
+
+The opening's head blend-shape map starts compiling when its pipeline is created. Its dispatch can wait up to two seconds for the result. After a timeout, later dispatches use the pipeline as soon as it is ready. Set `VICTORY_HEAD_MAP_WAIT=0` for the ordinary pipeline schedule and wait budget.
 
-**Starting it through Steam (controller support)**
+</details>
 
-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).
+<details>
+<summary>Direct3D 12 Agility SDK on Windows 10</summary>
 
-`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.
+For a Windows runtime that rejects root signature flags `c00` or `c01`, use the application-local [Microsoft.Direct3D.D3D12 1.620.2 package](https://www.nuget.org/packages/Microsoft.Direct3D.D3D12/1.620.2).
 
-1. Build it once (Rust is needed for this repository anyway):
+1. Open the `.nupkg` as a ZIP and copy `build/native/bin/x64/D3D12Core.dll` to `target\diag\D3D12\`. The optional debug layer uses `D3D12SDKLayers.dll` from the same package.
+2. Build with the Agility SDK exports enabled.
 
    ```powershell
-   scripts\build-steam-launcher.cmd
+   $env:VICTORY_AGILITY_SDK = '1'
+   try { cargo build --locked --profile diag -p victory --features diagnostics }
+   finally { Remove-Item Env:VICTORY_AGILITY_SDK }
    ```
 
-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. Launch with `scripts\play.ps1`. Keep the `D3D12` folder beside the executable. For a release build, use `target\release\D3D12\` and build with `--release`.
 
-3. Right-click it, **Properties → Launch Options**, and put the path of **your
-   own** `game_scarlett_master.exe` there — nothing else:
+</details>
 
-   ```
-   "D:\Games\MyDump\game_scarlett_master.exe"
-   ```
+<details>
+<summary>Linux and Proton: a faster wineserver</summary>
 
-   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](#how-to-run-it).
-
-A fork of [VIctory](https://github.com/Marvisak/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](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](https://github.com/Marvisak/VIctory),
-[fxceless's fork](https://github.com/fxceless/victory-fork),
-[the 7900 XTX fork](https://github.com/avatarmanz/VIctory-7900XTX),
-[Belobug's](https://github.com/Belobug/VIctory-Belobug-AMD),
-[DexNom's](https://github.com/DexNom/VIctory),
-[CGBJ's cool_fox](https://github.com/codec-d/cool_fox), Kelvaroq's, Neptune,
-xcl (another layer for the same title) and then
-[foxhound](https://github.com/readmet3xt-lab/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, "SAVE AND CLOSE GAME" saves and
-  closes the game; lines marked LIVE change at once).
-- **The F3 stats panel**, in every build: frame rate and frame time, frames
-  shown with frame generation, draws, how busy the GPU and the submitting
-  thread are, copies, RAM and VRAM. The menu switches it too.
-- **Open water without dark blocks.** Two of the title's water light programs
-  run on 32-lane cards only in a form that left whole tiles of the sea dark
-  (around boats, along shores, under bridges) and cost about 15 ms of the
-  card a frame. They are left out there: no blocks and 30 fps instead of 25
-  on the first boat ride (RTX 5070), with water that is darker and bluer.
-  WATER LIGHT in the menu (`VICTORY_WATER_LIGHT=1`) runs them again.
-  `--set VICTORY_WATER_VOLUME_PORTALS=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](https://github.com/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](docs/README-foxhound.md); its measurements are in
-[docs/findings.md](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](#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](https://rustup.rs) (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.
+Under Proton the title keeps 90,000 to 136,000 mapped views alive and maps or unmaps about a thousand a second. Stock `wineserver` keeps a process's views in a list and searches it from the front on every request, so everything that waits on the server slows down. [`linux/wineserver`](linux/wineserver) builds GE-Proton11-14's `wineserver` with a red-black tree of views and puts it in a copy of the GE-Proton folder, `GE-Proton11-14-viewtree`.
 
-```powershell
-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'
+```sh
+bash linux/wineserver/build.sh

P2 Badge Provide the Linux scripts invoked by the setup instructions

For a Linux user following this section, the first command references an absent file, as does the later linux/play.sh launch command. A repository-wide tracked-file/content search and inspection of build scripts/configuration found neither script nor a generation step for these paths; they are also absent from the checkout's build outputs. Include the referenced scripts and patch inputs, or provide instructions using files that ship in this tree, otherwise the documented patched-Proton setup and launch procedure is unusable.

Useful? React with 👍 / 👎.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:review-comment:4748750188 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/487#discussion_r4748750188). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-12-01T03:11:45Z. **Code review location:** `README.md`; line 192 ~~~~diff @@ -1,616 +1,243 @@ -# 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](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](https://github.com/dashdogy/MFG-Unlocker) mod** (F1, MFG UNLOCKER; see [below](#mfg-unlocker)) | 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](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/latest). -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". - -Prompts follow the F1 settings only, nothing is detected: Xbox button prompts -by default, keyboard keys when CONTROLS is KEYBOARD or MOUSE AND KEYBOARD is on. -Animated hold prompts keep their original icons. A custom mouse-and-keyboard -bindings file keeps the gamepad pictures. - -- 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`. -- <a id="mfg-unlocker"></a>**RTX 20 and 30 cards: DLSS multi frame generation - (MFG) works through the [MFG Unlocker](https://github.com/dashdogy/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](https://www.nexusmods.com/site/mods/757) (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](docs/dlss.md#rtx-20-and-30-cards-dlss-enabler-a-mod-not-ours). - -**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. +# Vice-Tay + +> [!NOTE] +> **Development has resumed.** I'm back at work on Vice-Tay as of Monday, November 30. + +**Xbox Series compatibility on Windows, tuned on a GeForce RTX 4090.** + +Vice-Tay builds on [VIctory](https://github.com/Marvisak/VIctory) to run an Xbox Series title from your own files. The title's x86-64 code runs on the host CPU. The compatibility layer provides the console APIs it calls and translates its graphics work to Direct3D 12. + +[Quick start](#getting-started) · [Measurements](#measurements) · [Measurements on GitHub Pages](https://taynangt.github.io/Vice-Tay/) + +## Measurements + +The goal is **30 rendered FPS in the open world with correct visuals**. + +### Series S boat test at 4K + +On November 27, 2026, I repeated the same boat route with two local builds. Both used DLSS Quality (2560 × 1440 → 3840 × 2160) and AMD 2× frame generation. Each result averages about 39 seconds of telemetry. + +| Build | Rendered FPS | Generated FPS | Presented FPS | +| --- | ---: | ---: | ---: | +| 4K reference · `e9a30f4f` | 16.12 | 16.12 | 32.25 | +| 4K experimental · `424fb3f6` | **26.72** | 26.72 | **53.44** | + +The experimental build reached a median of 27.80 rendered FPS across the sampled intervals. The Series S 4K option is under review in [PR #329](https://github.com/TaynanGT/Vice-Tay/pull/329). + +[4K settings, frame counts and percentiles](docs/measurements.md#series-s-4k-boat-test) + +### Earlier Series S measurements + +| Session | Result | +| --- | --- | +| **1080p GPU read-through test** | An on/off test with the boat stationary went from **22.60 to 26.38 rendered FPS** and **45.13 to 52.78 presented FPS**. | +| **6-minute frame generation test** · `88e80129` | Medians of **22.4 rendered FPS** and **44.9 presented FPS** in a separate 1080p test with 2× frame generation. | +| **30-minute playtest** · `bc090416` | Median of **21.1 rendered FPS** and a 17.0 FPS 1% low across the prologue, the boat section and traversal on foot. | + +[1080p comparison](docs/measurements.md#series-s-1080p-gpu-read-through) · [Frame generation test](docs/measurements.md#series-s-frame-generation) · [30-minute playtest](docs/measurements.md#series-s-baseline) + +**Test PC** · RTX 4090 (24 GB), Ryzen 9 9950X3D, 48 GiB DDR5, Windows 11 Pro x64 + +<details> +<summary>Full test configuration</summary> + +| Component | Configuration | +| --- | --- | +| CPU and motherboard | AMD Ryzen 9 9950X3D (16 cores, 32 threads), MSI MAG X870 TOMAHAWK WIFI (MS-7E51), BIOS 1.A93 | +| Graphics | NVIDIA GeForce RTX 4090 (24 GB GDDR6X, driver 621.40), integrated AMD Radeon Graphics | +| Memory | 2 × 24 GiB DDR5 at 8,000 MT/s, 43.4 GiB visible to Windows, 128 GiB page file | +| Storage | Samsung 990 PRO 4 TB and 2 TB, Samsung 970 PRO 1 TB | +| Display | Samsung Odyssey OLED G8 (G81SF), 3840 × 2160 at 240 Hz | +| OS | Windows 11 Pro 26H2 x64, build 26300.10075 | + +</details> + +In the 30-minute playtest, checkpoint retries worked after the boat ran aground. The HUD, minimap, mission prompts and pause menu were usable along the route. + +## Getting started + +**Requirements.** Windows 10 or 11 x64, an AVX2-capable CPU, a Direct3D 12 GPU with Shader Model 6.6 and mesh shader support, Rust, and MSVC build tools with a Windows SDK. Rust uses the version pinned in [`rust-toolchain.toml`](rust-toolchain.toml). + +> [!IMPORTANT] +> Bring your own copy of the title. Keep the executable, game data and derived cache outside this checkout. See the [asset policy](docs/asset-policy.md). +> The runtime reports unverified game and package licences as inactive. A title that requires a verified licence may stop at startup. + +1. Clone the repository and copy the configuration template. + + ```powershell + git clone https://github.com/TaynanGT/Vice-Tay.git + Set-Location Vice-Tay + Copy-Item .\victory.example.toml .\victory.toml + ``` + +2. Set `game_dir` in `victory.toml` to the directory containing your title files. Build the diagnostics executable and launch the Series S profile with the path to your executable. + + ```powershell + cargo build --locked --profile diag -p victory --features diagnostics + .\scripts\play.ps1 -Exe 'D:\victory-data\game\game.exe' -Console series-s + ``` + +Use [`Play-VIctory.cmd`](Play-VIctory.cmd) to pass the same options from Command Prompt. Double-click it to enter the executable's path at a prompt. The launcher defaults to full screen, the Series X profile and an automatic GPU preset. **F11** or **Alt+Enter** toggles full screen during play. + +For titles that use BCPack, set `VICTORY_BCPACK_TABLES` to the path of a local copy of the [format tables](docs/asset-policy.md#bcpack) you are authorised to use. + +If the title reaches the menu but stops at world load, verify your title files before changing graphics settings. Compare the full file hashes against a trusted manifest for the exact release you own, using the algorithm listed in that manifest. An archive with missing or zero-filled data can still have the expected size. Re-copy any mismatched files from your verified source and check the hashes again before launching. + +| Option | Use it to | +| --- | --- | +| `-Console series-s` | Select the lighter console profile used in the sessions above. | +| `-Machine 4090` / `-Machine 4070` / `-Machine 7900xtx` | Select a GPU preset explicitly. See the [RTX 4070 test notes](docs/rtx4070-performance.md). | +| `-Machine 4070tisuper` | The RTX 4070 Ti SUPER (16 GB) preset, asked for explicitly. With Resizable BAR on, it moves up to 4 GB of shader-read windows from RAM into the card's memory. Also [measured on an RTX 5080 with eight cores](docs/rtx5080-16gb.md), where it ran one scene at 27 fps against 16 with the RTX 4090 settings. | +| `-Machine laptop` | Try the [16 GB NVIDIA laptop preset](docs/laptop-16gb.md), measured on one RTX 3050 laptop. | +| `-Machine 3060` | Try the [six-core, 16 GB NVIDIA desktop preset](docs/rtx3060-16gb.md), measured on one RTX 3060 12 GB / i5-12400F PC. | +| `-Safe` | Launch with the conservative settings when investigating a graphics or stability issue. | +| `-Windowed` / `-NoPanel` | Start in a window or hide the diagnostics overlay at launch. | +| `-RayTracing` | Enable the structures needed for the title's ray-traced indirect lighting. | +| `-Fsr4K quality` / `-Dlss4K quality` | Upscale to 3840 × 2160 with PC FSR or DLSS on Series X. | +| `-FrameIntervalMs 16.67` | Set the frame interval in milliseconds. Use `0` to remove the limit or omit the option to keep the title's setting. | +| `-WarmPipelines` | Warm pipelines used in previous runs before starting the title. | +| `-Build release` | Use the executable built with `cargo build --locked --release -p victory`. The overlay requires a diagnostics build. | + +<details> +<summary>PC upscaling and Series S frame generation</summary> + +The Series X 4K profiles support `quality`, `balanced` and `performance` on +build 1.0.2.1. They render at 2560 × 1440, 2258 × 1270 and 1920 × 1080 +respectively. For Series S, use `-Dlss` or `-Fsr` with the same three +presets to keep the console profile's output size. These presets set the +render scale, including when used with `-Machine laptop`. + +For FSR, point `VICTORY_FIDELITYFX_DIR` or `[paths].fidelityfx_dir` at the +folder containing `amd_fidelityfx_upscaler_dx12.dll`. The 4K mode prefers +FSR 4.1.2 and uses 3.1.6 when that is what the adapter supports. In Series S, +pass `-More @{VICTORY_FSR4_SERIES_S='1'}` to prefer FSR 4.1.2 on a supported +adapter. Series S uses FSR 3.1.6 by default. Both profiles can use FSR when +DLSS fails. +For DLSS on an RTX card, get `nvngx_dlss.dll` from the NVIDIA DLSS SDK. +Set `VICTORY_DLSS_DIR` or `[paths].dlss_dir` to its folder, or put the DLL +beside `victory.exe`. Some drivers ship without this library. Vice-Tay +checks for it before initializing NGX and uses the configured FSR +fallback when it is missing. `VICTORY_DLSS_NO_UPDATE=1` uses the installed +selection without an NGX update. [AMD FSR SDK](https://gpuopen.com/amd-fsr-sdk/) · +[NVIDIA DLSS SDK](https://github.com/NVIDIA/DLSS) + +For 2× Series S frame generation, pass `-FrameGen`. Point +`VICTORY_FFX_FG_DIR` or `[paths].ffx_fg_dir` at the SDK 2.4.0 +`Kits/FidelityFX/signedbin` folder with `amd_fidelityfx_loader_dx12.dll` +and `amd_fidelityfx_framegeneration_dx12.dll`. If neither is set, the FSR +upscaler folder is used. This uses AMD's analytical +3.1.6 frame generation provider. The launch below uses DLSS on an RTX card. ```powershell -$env:VICTORY_ADAPTER = 'RTX 5070 Ti' -.\victory.exe +$env:VICTORY_FFX_FG_DIR = '<SDK signedbin>' +.\scripts\play.ps1 -Exe 'D:\victory-data\game\game.exe' -Console series-s -Dlss quality -FrameGen ``` -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](https://rustup.rs) and the -[Visual Studio Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/) -with "Desktop development with C++", then in PowerShell: +With neither PC upscaler selected, frame generation uses depth and motion +vectors from the title's native FidelityFX loader. `RENDER FPS` in the +diagnostics panel counts rendered frames, and `FG OUTPUT FPS` counts +swap-chain presentations. The PC FSR bridge follows +[DexNom's implementation](https://github.com/DexNom/VIctory/commit/ab34a8b21477c94da2a6cf07249138e8bc84602e) +through beloooo's port. The frame generation bridge follows +[PastiiJay's DirectX 12 integration](https://github.com/PastiiJay/klbf-lab/commit/793c56c36fda760b027122418b922fc359abf580). + +</details> + +<details> +<summary>Shader cache and pipeline warm-up</summary> + +The launcher pretranslates shaders when it has no completed scan for the current shader cache key and source paths. On Windows it uses `game_dir` when configured and falls back to the executable's directory. The driver may still build pipelines during the first run. + +Run these steps separately from the repository root to warm the shader cache and compile pipelines seen in previous runs. Both steps can resume from cached work. ```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' +.\target\diag\victory.exe shaders +.\target\diag\victory.exe warm --used ``` -Put the path to **your** `game_scarlett_master.exe` in the last line. The -first start builds the layer, which takes a few minutes. +Pass an archive path to `shaders` to scan just that archive. At launch, `--if-needed` checks file metadata throughout each input directory before reusing a completed scan. On Windows volumes that do not report file change times, it scans the input again. `-SkipShaders` skips pretranslation at launch. +`-WarmPipelines` runs the same `warm --used` command after pretranslation. +When comparing warm-up times, `warm --used --batch-size 80` tests longer batches and +`warm --used --normal-priority` tests normal worker priority. Change one option +at a time. The defaults are 40 pipelines per worker process and idle priority. + +The opening's head blend-shape map starts compiling when its pipeline is created. Its dispatch can wait up to two seconds for the result. After a timeout, later dispatches use the pipeline as soon as it is ready. Set `VICTORY_HEAD_MAP_WAIT=0` for the ordinary pipeline schedule and wait budget. -**Starting it through Steam (controller support)** +</details> -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). +<details> +<summary>Direct3D 12 Agility SDK on Windows 10</summary> -`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. +For a Windows runtime that rejects root signature flags `c00` or `c01`, use the application-local [Microsoft.Direct3D.D3D12 1.620.2 package](https://www.nuget.org/packages/Microsoft.Direct3D.D3D12/1.620.2). -1. Build it once (Rust is needed for this repository anyway): +1. Open the `.nupkg` as a ZIP and copy `build/native/bin/x64/D3D12Core.dll` to `target\diag\D3D12\`. The optional debug layer uses `D3D12SDKLayers.dll` from the same package. +2. Build with the Agility SDK exports enabled. ```powershell - scripts\build-steam-launcher.cmd + $env:VICTORY_AGILITY_SDK = '1' + try { cargo build --locked --profile diag -p victory --features diagnostics } + finally { Remove-Item Env:VICTORY_AGILITY_SDK } ``` -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. Launch with `scripts\play.ps1`. Keep the `D3D12` folder beside the executable. For a release build, use `target\release\D3D12\` and build with `--release`. -3. Right-click it, **Properties → Launch Options**, and put the path of **your - own** `game_scarlett_master.exe` there — nothing else: +</details> - ``` - "D:\Games\MyDump\game_scarlett_master.exe" - ``` +<details> +<summary>Linux and Proton: a faster wineserver</summary> - 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](#how-to-run-it). - -A fork of [VIctory](https://github.com/Marvisak/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](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](https://github.com/Marvisak/VIctory), -[fxceless's fork](https://github.com/fxceless/victory-fork), -[the 7900 XTX fork](https://github.com/avatarmanz/VIctory-7900XTX), -[Belobug's](https://github.com/Belobug/VIctory-Belobug-AMD), -[DexNom's](https://github.com/DexNom/VIctory), -[CGBJ's cool_fox](https://github.com/codec-d/cool_fox), Kelvaroq's, Neptune, -xcl (another layer for the same title) and then -[foxhound](https://github.com/readmet3xt-lab/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, "SAVE AND CLOSE GAME" saves and - closes the game; lines marked LIVE change at once). -- **The F3 stats panel**, in every build: frame rate and frame time, frames - shown with frame generation, draws, how busy the GPU and the submitting - thread are, copies, RAM and VRAM. The menu switches it too. -- **Open water without dark blocks.** Two of the title's water light programs - run on 32-lane cards only in a form that left whole tiles of the sea dark - (around boats, along shores, under bridges) and cost about 15 ms of the - card a frame. They are left out there: no blocks and 30 fps instead of 25 - on the first boat ride (RTX 5070), with water that is darker and bluer. - WATER LIGHT in the menu (`VICTORY_WATER_LIGHT=1`) runs them again. - `--set VICTORY_WATER_VOLUME_PORTALS=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](https://github.com/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](docs/README-foxhound.md); its measurements are in -[docs/findings.md](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](#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](https://rustup.rs) (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. +Under Proton the title keeps 90,000 to 136,000 mapped views alive and maps or unmaps about a thousand a second. Stock `wineserver` keeps a process's views in a list and searches it from the front on every request, so everything that waits on the server slows down. [`linux/wineserver`](linux/wineserver) builds GE-Proton11-14's `wineserver` with a red-black tree of views and puts it in a copy of the GE-Proton folder, `GE-Proton11-14-viewtree`. -```powershell -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' +```sh +bash linux/wineserver/build.sh ~~~~ --- **<sub><sub>![P2 Badge](https://img.shields.io/badge/P2-yellow?style=flat)</sub></sub> Provide the Linux scripts invoked by the setup instructions** For a Linux user following this section, the first command references an absent file, as does the later `linux/play.sh` launch command. A repository-wide tracked-file/content search and inspection of build scripts/configuration found neither script nor a generation step for these paths; they are also absent from the checkout's build outputs. Include the referenced scripts and patch inputs, or provide instructions using files that ship in this tree, otherwise the documented patched-Proton setup and launch procedure is unusable. Useful? React with 👍 / 👎. <!-- codex-code-review-finding:v1 -->
chatgpt-codex-connector[bot] commented 2026-12-01 03:11:45 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-12-01T03:11:45Z.

Code review location: docs/replay.md; line 26

@@ -5,6 +5,39 @@ layer sends to the card, and the memory it reads) and run it again without
 the title, to see where the card's time goes and to try changes in seconds.
 Code: `crates/victory-gpu/src/replay`.
 
+## Inspect a dropped draw
+
+For one frame's operation listing, create the capture folder first. Use a
+diagnostics build and add the folder and frame number to your usual launch.
+
+```powershell
+-More @{VICTORY_CAPTURE='C:\captures\vice-tay'; VICTORY_CAPTURE_FRAMES='1000'}
+```
+
+Read `frame-1000-ops.txt` in the capture folder. A failed preparation for a
+direct draw, indexed draw or mesh dispatch includes the reason, pipeline
+recipe key and guest shader hashes when a pipeline was set. Draws that reach
+the GPU can still produce incorrect geometry, depth or materials.
+
+## Inspect the scene before frame generation
+
+With frame generation enabled, set `VICTORY_CAPTURE_SCENE_BEFORE_FRAMEGEN=1`
+and the capture folder above. List specific frames or create an empty
+`scene-next` file in that folder while the title is running. The next

P2 Badge Document implemented frame-generation capture controls

For a frame-generation diagnostic run, this switch and the scene-next/scene-trace markers have no implementation: a repository-wide search finds those names only in the new documentation. The actual request handler in crates/victory-gpu/src/capture.rs:59–65 listens for VICTORY_CAPTURE_ON_REQUEST and next-frame.request, so following this procedure cannot request the promised pre-interpolation scene capture. Document the supported capture mechanism or include the missing implementation before directing users to these controls.

Useful? React with 👍 / 👎.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:review-comment:4748750193 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/487#discussion_r4748750193). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-12-01T03:11:45Z. **Code review location:** `docs/replay.md`; line 26 ~~~~diff @@ -5,6 +5,39 @@ layer sends to the card, and the memory it reads) and run it again without the title, to see where the card's time goes and to try changes in seconds. Code: `crates/victory-gpu/src/replay`. +## Inspect a dropped draw + +For one frame's operation listing, create the capture folder first. Use a +diagnostics build and add the folder and frame number to your usual launch. + +```powershell +-More @{VICTORY_CAPTURE='C:\captures\vice-tay'; VICTORY_CAPTURE_FRAMES='1000'} +``` + +Read `frame-1000-ops.txt` in the capture folder. A failed preparation for a +direct draw, indexed draw or mesh dispatch includes the reason, pipeline +recipe key and guest shader hashes when a pipeline was set. Draws that reach +the GPU can still produce incorrect geometry, depth or materials. + +## Inspect the scene before frame generation + +With frame generation enabled, set `VICTORY_CAPTURE_SCENE_BEFORE_FRAMEGEN=1` +and the capture folder above. List specific frames or create an empty +`scene-next` file in that folder while the title is running. The next ~~~~ --- **<sub><sub>![P2 Badge](https://img.shields.io/badge/P2-yellow?style=flat)</sub></sub> Document implemented frame-generation capture controls** For a frame-generation diagnostic run, this switch and the `scene-next`/`scene-trace` markers have no implementation: a repository-wide search finds those names only in the new documentation. The actual request handler in `crates/victory-gpu/src/capture.rs:59–65` listens for `VICTORY_CAPTURE_ON_REQUEST` and `next-frame.request`, so following this procedure cannot request the promised pre-interpolation scene capture. Document the supported capture mechanism or include the missing implementation before directing users to these controls. Useful? React with 👍 / 👎. <!-- codex-code-review-finding:v1 -->
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/487:upstream-pr/487'
git switch 'upstream-pr/487'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/487'
git switch 'upstream-pr/487'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/487'
git switch 'upstream-pr/487'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/487'
git switch 'main'
git merge --squash 'upstream-pr/487'
git switch 'main'
git merge --ff-only 'upstream-pr/487'
git switch 'main'
git merge 'upstream-pr/487'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
TaynanGT/Vice-Tay!487
No description provided.