Skip to content

Support VIctory-NVIDIA v2026.11.29.01: mods, its own controls, memory - #78

Open
dazacode wants to merge 3 commits into
mainfrom
feat/victory-nvidia-2026-11-29
Open

dazacode wants to merge 3 commits into
mainfrom
feat/victory-nvidia-2026-11-29

Conversation

@dazacode

@dazacode dazacode commented Nov 29, 2026 •

Copy link
Copy Markdown
Owner

VIctory-NVIDIA v2026.11.29.01 (490 merged PRs) changes what the launcher needs to do for it. It loads mods from a folder, has its own mouse and keyboard, applies its F1 settings itself, and sizes its own memory pools for small PCs. This PR follows those changes and works around the regressions players report on that release.

What changes

Mods (Settings → Mods & controls, Windows only)

  • The game loads every DLL in %LOCALAPPDATA%\victory\mods at each start (its PR #1892).
  • The launcher lists them, adds a DLL (never overwriting one), turns a mod off (renamed to .dll.off, which the game skips) or on, removes one, and opens the folder. It never downloads or runs a mod.
  • Actions name the file on disk, so a mod that is there both on and off shows as two rows, each acting on its own file.
  • Screenshot mode hides the folder path, which contains the Windows user name.

Keyboard keys for the controller

  • The launcher's keys now skip builds that have their own mouse and keyboard (F1 → MOUSE AND KEYBOARD, keys in bindings.ini), so keys are never remapped twice.
  • The launcher tells such a build from the program itself (VICTORY_MNK_BINDINGS). It reads each program once, on its own thread, never inside the hook.
  • Every other fork still reads only the fixed keyboard table, so it keeps the keys: the base, DexNom, fxceless, Kelvaroq and VItoriaBr (checked in each repo).

F1 menu on victory play starts (bug fix)

  • The launcher no longer runs its F1 watcher on these starts.
  • This build writes victory-settings.txt on every F1 change, including choices applied at once. The watcher closed the game each time.
  • The build applies its choices and restarts itself, so the watcher isn't needed.

Memory

  • On a victory play start, the memory saver also sends the switches this build reads, from its docs/windows-memory.md: two pipeline workers (Light and up), plus a smaller VRAM reserve for later render targets (Very light).
  • A value the player set always wins, even one equal to the Foxhound preset's default.

Diagnosis

  • Windows commit limit vs a full card: a memory-guard commit line together with 0x8007000E refusals (or a left to commit abort) is reported as Windows short of RAM and page file, with page-file steps.
    • It gets its own fix: Series S and the memory saver. Render scale and output stay as they are, since those are for the card.
    • New advice: two pipeline workers for VIctory-NVIDIA on 16 GB of RAM, offered only when a start doesn't already send it.
  • Start-up reservation crash: XMemVirtualAlloc refused … (os error 8) followed by a stop is now named as a problem of this release (upstream #2081, #2112, #2141, #2150, #2167; fix in PR #2133). The launcher points to Restore previous build instead of blaming switches.

Screens that aren't 16:9

  • This build sizes its picture from the screen's shape (native_1440p.rs), and players on 21:9, 32:9 and 16:10 screens report it stopping at the start (#2055, #2060, #2073).
  • On such a screen the launcher sets VICTORY_NATIVE_SIZE=2560x1440 (the earlier size) and logs why.
  • A value the player sets, or one saved in the F1 menu, wins.

Smaller fixes

  • Each build is asked --help once per program file, instead of before every check and start. Through Wine or CrossOver each call takes seconds.
  • Agent tool: status reported VIctory-NVIDIA builds as not installed, because it looked under the diag profile.

All new text is translated into es, fr, ru, zh-CN and zh-TW.

Testing

  • node scripts/ci.mjs --tauri --keep-going passes on Windows: typecheck, translations, UI tests, vite build, fmt, clippy, cargo test and the installer build.
  • New tests cover:
    • the mods folder: listing, on/off, a mod there twice, adding without overwriting, refused names;
    • memory switches on play, and the player's value winning over the preset default;
    • advice suppression;
    • the commit-limit finding and its lighter fix;
    • the reservation-crash finding, using a line from upstream issue #2081;
    • screen shapes;
    • the own-keyboard marker.
  • Against a real v2026.11.29.01 install (RTX 4060 8 GB, 16 GB RAM):
    • the built program passes the native-play detection;
    • real settings with the controller-key fields load;
    • the play command for the saved settings includes VICTORY_PIPELINE_WORKERS=2;
    • the real log (1137 pipelines refused with 0x8007000E) is diagnosed as the commit limit;
    • VICTORY_MNK_BINDINGS is present in that build and absent from the fxceless build and another installed fork build.
  • The settings UI was checked in the browser mock with headless Chrome. macOS and Linux are covered by CI only.

Not covered

  • No game session was run with a mod loaded, with two pipeline workers, or on a screen that isn't 16:9. The in-game effects aren't measured.
  • On a victory play start, an F1 choice that needs a restart makes the build restart itself. The launcher then sees the first process end, so the session it shows ends while the game goes on.
  • Turning a mod off while the game runs takes effect at the next start.

Follow-ups found in research, not in this PR

  • On the first start after an update, the build runs a full preload after the launcher's own shaders/warm. The launcher could run preload itself instead.
  • Mods in victory\mods make the build ask for DLSS frame generation on cards without it (upstream PR #2113). A warning would help until that ships.
  • Fix and verify could use victory clear-shaders instead of deleting the whole cache.
  • Known-problems candidates: VICTORY_FAULT_UNLOCKED=1 (#2163) and VICTORY_LATE_WAIT>=2 (#2185).

🤖 Generated with Claude Code

dazacode and others added 3 commits November 29, 2026 02:10
VIctory-NVIDIA v2026.11.29.01 loads every DLL in %LOCALAPPDATA%\victory\mods
at each start, reads generic USB pads and has its own mouse and keyboard
controls, and sizes its pools for small PCs itself.

- Mods: Settings, Mods & controls (Windows) lists the mods folder, adds a
  DLL (never overwriting one), turns a mod off (renamed to .dll.off, which
  the game skips) or on, removes one, and opens the folder. Actions name
  the file on disk, so a mod there both on and off is two rows, each acting
  on its own file.
- The keyboard-as-controller hook is removed: with the game's own mouse
  and keyboard it would send keys twice. The section shows where the
  game's bindings.ini is. Settings files with the old fields still load.
- Memory saver on a `victory play` start: also the switches this build
  reads (two pipeline workers; Very light: a smaller VRAM reserve for
  later render targets), from its docs/windows-memory.md. A player's own
  value wins.
- Fix and verify tells Windows' commit limit (memory guard plus driver
  refusals with 0x8007000E, or an allocation with nothing left to commit)
  from a full card, and says how to let Windows manage the page file.
  New advice: two pipeline workers for VIctory-NVIDIA on 16 GB of RAM,
  not offered when a `victory play` start already sends it.
- Agent tool: `status` looked for a VIctory-NVIDIA build under the diag
  profile; the launcher builds release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eens

From the review of the first commit and research into the forks and
VIctory-NVIDIA's open issues:

- Keyboard keys for the controller come back, and skip builds with their
  own mouse and keyboard. Every other fork (the base, DexNom, fxceless,
  Kelvaroq, VItoriaBr) still reads only the fixed keyboard table, so
  removing the keys took remapping away from them. The hook tells a build
  with its own keyboard from the program (VICTORY_MNK_BINDINGS), read once
  per program file on a thread of its own, never in the hook.
- On a `victory play` start the launcher no longer runs its F1 watcher:
  the build writes victory-settings.txt on every F1 change, also those
  applied at once, and the watcher closed the game each time. The build
  applies its choices and restarts itself.
- A screen that is not 16:9 gets VICTORY_NATIVE_SIZE=2560x1440: the build
  sizes its picture after the screen's shape, and players on 21:9, 32:9
  and 16:10 report it stopping at the start (upstream #2055, #2060,
  #2073). A value of the player's or the F1 menu's wins.
- XMemVirtualAlloc refused ... (os error 8), then a stop, is named as the
  release's own reservation problem (#2081 and others, fix in PR #2133)
  with Restore previous build, not blamed on switches.
- Short of Windows commit: its own fix, Series S and the memory saver,
  without the render scale and output cuts that are for the card; the
  text says what it changes.
- Screenshot mode hides the mods folder's path (it has the user name).
- The player's own switch wins over the memory saver's also when it
  equals the preset's default.
- `victory <cmd> --help` is asked once per program file, not before every
  check and start (seconds through Wine or CrossOver).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The picture-size note for a screen that is not 16:9 read the real
  screen, so native_nvidia_play_keeps_f1_defaults_and_passes_profile_overrides
  failed on a runner whose screen is not 16:9. The screen is now looked
  up through screen_for_native_size, which gives none in tests.
- has_own_keyboard and its mark are only read by the Windows hook: on
  macOS and Linux clippy -D warnings failed on them as dead code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant