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]>
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]>
Expose the cap in MiB as a launcher parameter and keep the existing More override. Restore the runtime default for launches that omit the cap.
Refs: #6
On a PC with 16 GB of RAM (RTX 3060 12 GB, i5-12400F, Series S at 540p)
every run with play-nvidia.ps1 ended a minute or so into the world: the
card's shared memory (the PC's, capped by Windows at half the RAM) reached
7.5 GB, a host list failed to close or be made with 0x8007000E, and the
driver faulted in CopyTextureRegion. About two thirds of that memory were
the windows of title memory outside buffers.
VICTORY_WINDOWS_BAR_MB=3072 puts them in card memory the CPU maps
(D3D12_HEAP_TYPE_GPU_UPLOAD) while the card has room. Same machine: no
crash in 5+ minute runs, shared memory flat at about 4.4 GB, 10-12 fps in
the world instead of 1.6-3. Without a resizable BAR, mapped_card_buffer
returns None and windows stay where they were.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
- 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]>
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]>
- 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]>
scripts\play-nvidia.ps1 -Exe <your copy's executable>: the fork's play set plus PIPELINE_WAIT_MS=10000, DYNAMIC_SLOTS=524288, RENDER_SCALE=0.5, OWN_UPSCALER=1, BVH_MISS=1, CARD_BUFFERS_MIN_MB=1, CARD_BUFFERS_MB=1536, COMPOSE=1, Series S. Starts a victory_sm.exe copy of the build so an NVIDIA App Smooth Motion profile for that exe applies (-NoSmoothMotion: victory.exe; -SeriesX: the Series X profile).