Commit Graph
17 Commits
Author SHA1 Message Date
trustno1-coderandClaude Opus 5.5 06afe633e6 Window and input from #17: asked for, off by default, in the F1 menu
Fullscreen, the English keyboard and the mouse capture now run only when
asked for (VICTORY_FULLSCREEN=1, VICTORY_MOUSE_CAPTURE=1,
VICTORY_IME_ENGLISH=1), so a start that sets nothing keeps the window and
input as before. The F1 menu has the three of them (FULLSCREEN (NO BORDER),
MOUSE CAPTURE, ENGLISH KEYBOARD); a change applies at the next start.

Checked: victory-hle, victory and the menu tests, with the three unset and
with all three set to 1.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 21:53:38 -08:00
trustno1-coder c8212dfe92 Merge pull request #17 from superboynick: window and input (fullscreen, English IME, mouse capture) 2026-11-26 21:49:45 -08:00
trustno1-coderandClaude Fable 5.2 48ad7859fb victory play: the program alone, beside the title, is all there is to start
Started with no command (a double click) or as `victory play [exe]`, the
program finds game_scarlett_master.exe beside itself and starts it with the
settings scripts\play-foxhound.ps1 gives it, built in (apps/victory/src/play.rs):
the same switch table, what the F1 menu saved over it, DLSS and frame
generation made ready where NVIDIA's files are, the frame rate cap, and
`--set NAME=VALUE` for anything else. Nothing is written beside the program
or into the title's folder: the menu's settings file, a log for every start
(play-<utc>-<pid>.log, the newest ten kept) and NVIDIA's files are under
%LOCALAPPDATA%\victory, where the caches and saves already are.

NVIDIA's DLSS and frame generation files stay NVIDIA's and are not part of
the program: a first start without them asks once whether to fetch them from
NVIDIA's GitHub, and `victory get-dlss` does it later (the fetcher script,
embedded, with a new -To).

victory-core logging: VICTORY_LOG_FILE adds a plain-text log file.

README: the quick start is the release's exe (download, put beside the
title, double click); building it yourself is kept below.

Checked on an RTX 5070: no title beside it (a clear error), a file of that
name (found, Streamline loaded), get-dlss (66.6 MB in 38 s, files identical
to the SDK's), two muted runs of the title from a folder of the program's own
(25-28 fps in the opening rooms, right picture, nothing written beside it),
and a start from the title's folder by the user.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-26 21:28:35 -08:00
trustno1-coderandClaude Fable 5.2 1010e02314 README: how to run it, at the top (what you need, four commands, F1 and F3)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-26 21:02:15 -08:00
trustno1-coderandClaude Fable 5.2 35c156087e Open water without dark blocks; the F3 stats panel in every build
Water: on hosts of 32-lane waves the water's two tiled light programs
(water_shading:CS_TransmissionVolumetrics_Tiled 5dc3b25986622949 and
_Tiled_LocalLights 6f225b641c5b0708) translate in the wave-wide form only,
and in that form leave whole tiles of open water dark (around boats, along
shores, under bridges) at about 15 ms of the card a frame. They are left out
there (pipeline/make.rs); VICTORY_WATER_LIGHT=1, or WATER LIGHT in the F1
menu, runs them as before. Runs on a copy of a save on the first boat ride,
RTX 5070, Series X 1440p DLSS Quality: 25 fps with the blocks before, 30 fps
without them after; the water is darker and bluer without that light.
fxceless/victory-fork's README of 2026-11-27 names the same two programs and
form.

Stats panel: host/panel.rs is built without the diagnostics feature too (the
recording time is counted in diagnostics builds only), has a frame generation
line, and is switched by F3 or by STATS PANEL (F3) in the menu, live. The FPS
line at the top is hidden while the panel shows.

README: both, and where the panel is.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-26 20:39:26 -08:00
trustno1-coderandClaude Fable 5.2 9d6300fa2d README: what this fork brings, said in full (rendering fixes, speed, picture, playing it, testing)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-26 19:50:05 -08:00
trustno1-coderandClaude Fable 5.2 caab8b4e2c README: this fork's own work across the projects it was built from, with foxhound as today's base
Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-26 19:46:48 -08:00
trustno1-coderandClaude Fable 5.2 4db427792f Merge the fork's main until 2026-11-26 into the foxhound base (its tree is kept in history, not in the files)
This fork's files are now foxhound's with this fork's additions on top. What main held before (CGBJ's renderer with DLSS through the DLSS SDK, the first F1 menu) stays reachable as this merge's second parent.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-26 19:41:59 -08:00
trustno1-coderandClaude Fable 5.2 22c6be2e76 F1 settings menu, frame generation 2x-6x live, no frame rate cap, FPS line
On readmet3xt-lab/foxhound 02fc18a, which becomes this fork's base.

- host/menu.rs: the F1 settings menu, in every build (it was in the
  diagnostics build only): DLSS mode and model, frame generation, frame
  rate cap, console profile, picture size, the light estimates and the
  main speed switches. Saved to victory-settings.txt, applied by the
  launcher at the next start; "save and restart" from the menu. The title
  gets no keyboard while it is shown (gameinput.rs).
- host/font.rs: the dot letters, moved out of the diagnostics panel so
  that the menu has them in every build.
- streamline.rs: VICTORY_FRAMEGEN_X=2..6, the frames shown for each one
  rendered (no more than the state says this card generates); 0: ready
  but off. The amount and off/on change while the title runs
  (set_framegen, from the menu). Result 39, "warning: out of VRAM", is
  taken as set: asked again at every present it showed no generated
  frame at all (1,828 times in one run on a full 12 GB card).
- The frame rate at the top left of the picture while the menu is closed:
  frames rendered a second, and with frame generation those shown
  (VICTORY_FPS_LINE=0: not). The window's caption says both too.
- scripts/play-foxhound.ps1: applies what the menu saved; -FrameGenX;
  -Fps defaults to 1000 (no cap: VICTORY_FRAME_INTERVAL_US=1000); frame
  generation is made ready at every start with Streamline so that the
  menu can switch it (-NoFrameGenReady: not), with a share of the card's
  memory held back for it (VICTORY_TEXTURE_ROOM_PERCENT 80 on, 86 ready);
  NVIDIA's files are looked for in nvidia-sdk\ here; builds the layer when
  it is not built. scripts/play-nvidia.ps1 is the same launcher under
  this fork's old name.
- Get-NVIDIA-DLSS.cmd / scripts/get-nvidia-sdks.ps1: fetch the eight
  NVIDIA files that are loaded (about 70 MB) out of NVIDIA's Streamline
  release into nvidia-sdk\ (git-ignored). They are NVIDIA's, under
  NVIDIA's licences, and are not part of this repository.
- README for this fork; foxhound's own is kept as docs/README-foxhound.md.

Measured on an RTX 5070 (Series X, native 2560x1440, DLSS Quality,
opening rooms): mostly 26-30 frames a second rendered; in Streamline's
own check 2x, 4x and 6x show exactly 2, 4 and 6 frames for each one
rendered.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-26 19:41:59 -08:00
trustno1-coderandClaude Fable 5.2 b190242f81 README: say first that DLSS is installed with Get-NVIDIA-DLSS.cmd and that F1 opens the menu
Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-26 18:11:06 -08:00
trustno1-coderandClaude Fable 5.2 63957271cd CGBJ's renderer, DLSS, an F1 settings menu, frame generation, ray tracing switch
The default of scripts\play-nvidia.ps1 changes: the game renders its own
720p and DLSS takes it to 1080p (Series S), in place of the half render
scale and the title's upscaler. -Resolution still reaches the older path.

- Renderer: codec-d/cool_fox f4b48ad (GPL-3.0) with this fork's NVIDIA
  fixes on top (residency.rs, stretch.rs, the ffx upscale dispatch).
- DLSS for the title's upscale, from avatarmanz/VIctory-7900XTX pull
  request 203 (feature `dlss`, VICTORY_UPSCALE=dlss), with
  VICTORY_DLSS_PRESET and a live sharpness setting.
- F1 settings menu in the game (host/menu.rs): saved to
  victory-settings.txt, applied by the launcher at the next start,
  "save and restart" from the menu. F3: the panel, now with the
  generated frame rate beside the real one.
- DLSS frame generation through NVIDIA Streamline (streamline.rs, fg.rs),
  2x to 6x, the amount changed while playing. Constants and the depth and
  motion vector tags are handed over at each present.
- VICTORY_FPS_CAP: the title's own 30 frames a second can be lifted
  (60, 120, none), live from the menu.
- Real ray tracing as an option (-RayTracing, VICTORY_BVH_BUILDER=1): on
  this renderer the structure builder runs on NVIDIA. Frame generation is
  left off with it: the two together run at about 0.1 fps, cause not found.
- VICTORY_HEAP_RECHECK_EVERY: textures picked by index looked at again
  for the whole run (a test against the posterized look).
- Get-NVIDIA-DLSS.cmd / scripts\get-nvidia-sdks.ps1: fetch the few NVIDIA
  files DLSS and frame generation need (about 70 MB) from NVIDIA's GitHub
  into nvidia-sdk\ (git-ignored). They are NVIDIA's, under NVIDIA's
  licences, and are not part of this repository. Without them the picture
  is stretched and there is no frame generation.
- scripts\build-nvidia.ps1; the launcher builds the layer when it is not
  built, and again with DLSS once those files are there.

Measured on an RTX 5070 (Series S, DLSS, opening rooms): about 15-17 fps
without ray tracing, 13-15 with it, before generated frames. What is known
to be wrong is in the README's new section.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-26 17:56:14 -08:00
trustno1-coderandClaude Opus 5.5 85a529b61a play-nvidia.ps1: windows BAR cap on by itself under 24 GB of RAM
PR #8 made VICTORY_WINDOWS_BAR_MB opt-in (-WindowsBarMB). Without the
switch, a 16 GB PC was back to the 0x8007000E crash about a minute into
the world that PR #6 fixed: Windows lets the card share at most half the
RAM, and the windows fill that. Now, when -WindowsBarMB is not given, PCs
with under 24 GB of RAM get 3072 and larger ones keep the runtime default
(off). -WindowsBarMB (0 included) and -More still decide when given; if
the RAM can't be read, nothing is set.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 09:57:50 -08:00
trustno1-coderandClaude Opus 5.5 033be27f33 Pick the card (VICTORY_ADAPTER); RTX 5060 Ti results; Series S 1080p crashes
- host.rs: VICTORY_ADAPTER=<part of a card's name, or #index> creates the
  host device on that card instead of Windows' default; the log names the
  card, or lists the cards when nothing matches. play-nvidia.ps1 -Adapter.
- README: RTX 5060 Ti 16 GB vs RTX 5070 12 GB on the same PC, same build and
  settings (Series S 540p): 14.9 vs 19.3 fps. The GPU work is close; the
  5060 Ti's slot is PCIe 4.0 x4 with no display, and this layer's copies
  dominate.
- README: Series S at 1080p (render scale 1.0) stops at a breakpoint at
  start on a 12 GB card too, so it is not video memory; use 720p or lower.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 19:41:22 -08:00
trustno1-coderandClaude Opus 5.5 d3cd650c12 Launchers per console and resolution
play-nvidia.ps1 takes -Resolution (2160, 1440, 1080, 720, 540, 480): the
height the world is drawn at before the title's own upscaler. The render scale
is that height over the output height (Series S 1080, Series X 2160); Series S
refuses heights above 1080. The script prints the console and resolution it
starts with.

scripts\play-S-{1080,720,540,480}p.ps1 and play-X-{2160,1440,1080,720,540,480}p.ps1
call it with each, passing -Exe and other switches through. README: "Picking a
resolution", with what each draws, its render scale, which were measured on
the RTX 5070 and what to expect.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 19:20:45 -08:00
trustno1-coderandClaude Opus 5.5 77e13a974a Faces move, ray tracing mostly off, intro video fix, picture fixes
- Faces: the face network's 16-bit values travel through integer views; they
  were read as floats and came back as zeros on NVIDIA. Port of
  fxceless/victory-fork pull request 927 (tippythetaidum): emit/halves.rs,
  lower.rs, descriptor/host.rs, draw.rs.
- Ray tracing mostly off: scripts/rt_off_hashes.txt lists the 1,000
  CS_RaytracingResolve and 34 traced-shadow shaders, skipped by
  play-nvidia.ps1 through VICTORY_SKIP_PIPELINES (-RayTracing keeps them).
  The structure builder cannot run on NVIDIA, so every ray missed and rooms
  went white depending on the view angle. The screen-probe and visibility
  traces keep running; skipping them left rainbow glitter.
- Intro video flicker: linear one-level R8 video planes always record their
  copy (texture.rs), so frames of the ring no longer show out of order.
- VICTORY_AMBIENT_MOST (ambient.rs), VICTORY_NAN_SCRUB (emit/lower.rs) and
  VICTORY_PIPELINE_WAIT_ONCE (pipeline/make.rs, on by default).
- Off by default: VICTORY_CONSTANT_MARKS (port of fxceless pull request
  1216), VICTORY_TARGET_VARIANTS (port of fxceless a35c557393), F9 frame
  capture (capture.rs).
- play-nvidia.ps1: the speed set by default, -Quality for the slower set
  with fewer stretched bodies and less rainbow skin. README updated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 19:13:08 -08:00
trustno1-coderandClaude Opus 5.5 0cdad6b357 README: list the projects this fork was built from
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 16:09:17 -08:00
trustno1-coderandClaude Opus 5.5 10e87106c2 README: what this fork changes and how it gets its frame rate, at the top
The settings that lower the picture (Series S profile, half render scale, the
title's own upscaler, ray walks ended at the root), the ones that are faster
without changing it (memory compares on the card, waiting for shaders, Smooth
Motion), and the code changes that make it work on NVIDIA, with the measured
frame rates of each step. The old list further down now points to it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 15:48:31 -08:00