Files
DazaandClaude Opus 5.5 484aa16781 Support VIctory-NVIDIA v2026.11.29.01: mods, its own controls, memory (#78)
* Support VIctory-NVIDIA v2026.11.29.01: mods, its own controls, memory

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 <[email protected]>

* Review fixes, and what upstream's issues show: keep the keys, F1, screens

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 <[email protected]>

* Fix CI: tests never read the screen; the keyboard mark is Windows-only

- 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 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-11-29 15:25:38 -08:00
..
2026-11-28 01:14:33 -08:00
2026-11-28 01:14:33 -08:00