README: What this fork brings covers every release, fix and project change so far (22 releases, 801 merged PRs)

This commit is contained in:
trustno1-coder
2026-11-30 18:44:05 -08:00
parent de21ed5710
commit 5fabb46eaf

455
README.md
View File

@ -1655,102 +1655,377 @@ 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:
Not one fix but a long line of them: 22 releases between 2026-11-26 and
2026-11-30, 801 merged pull requests, hundreds of measured runs on the same
RTX PC, and each fault chased towards its cause before the next build. The
headlines first. Every group below opens with a click.
**Rendering fixes**
- **One file to play.** Put `victory.exe` beside `game_scarlett_master.exe`
and double-click it. Nothing to build, nothing written into the game
folder: settings, saves, caches and logs live under `%LOCALAPPDATA%\victory`.
- **DLSS and frame generation.** DLSS upscaling with its model and mode to
choose, and DLSS frame generation from 2x to 6x on RTX 50 (2x on RTX 40),
changed while playing. RTX 20 and 30 cards and cards without DLSS get AMD
FSR 3 frame generation (2x).
- **Hardware ray tracing (DXR).** The game's ray-traced shadows and lighting
traced on the card's RT cores with DXR 1.1: all 14 of its ray-query shaders.
Off by default and still slow: about 9-10 fps at native 1440p on an RTX 5070,
against 17-18 with it off.
- **The F1 menu and the F3 stats panel.** Every setting in one menu, saved as
you change it, and a panel with fps, frame time, GPU time, draws, RAM and
VRAM. See [the F1 guide](#the-f1-menu-every-setting-explained) and
[every VICTORY_ setting](#every-victory_-setting).
- **Mouse and keyboard**, with key bindings in F1, and **PS4, PS5, Stadia and
no-name USB pads** beside Xbox ones.
- **Save sharing.** F1 > EXPORT SAVE writes your save as one zip, IMPORT SAVE
puts someone else's in place. Your own settings are never exported.
- **Faster frames, measured.** On the recorded test route at native 1440p
(RTX 5070, Series X mode): 15.7 to 17.5-18.4 fps in v2026.11.30.01, with the
lowest frames at 13-16 fps instead of 9. Ray tracing went from 9-14 fps to
25+ in play (with DLSS) in v2026.11.29.01.
- **Shaders preloaded, caches kept.** PRELOAD SHADERS builds what the game uses
before it starts (1,853 pipelines in 125 s in the last test), and an update
deletes only the cache files it can no longer read.
- **It starts on more PCs.** Windows 10, ultrawide, 16:10 and 1080p-tall
monitors, two-GPU PCs, repacks with their own `D3D12` folder: each start-up
crash reported was traced and fixed.
- **801 pull requests from the community, each built and run before it was
merged**, and merged with its original commits so every contributor keeps
the credit.
- **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
Still open, as the release notes say: 30 fps at native 1440p is not reached
yet (16-18 fps on the test route), 8 GB cards can still run out of video
memory, and with frame generation on some PCs see "a host command list did not
close" after 4-20 minutes.
<details>
<summary><b>Rendering and picture fixes</b></summary>
- **Trees that flickered, faded, flashed or vanished.** Flicker from 64-lane
compute shaders rewritten the wrong way on 32-lane NVIDIA cards: they are
now folded exactly where the other rewrites fall short. Fading trees fixed,
daylight flashing fixed (memory handling a merge had lost came back), draws
now wait for their shader instead of being skipped for a second, and trees
and bushes no longer go missing at a distance.
- **One-frame flashes** (trees blinking, the road changing colour, a shadow
glitch): a race when freeing texture slots.
- **The picture breaking up while moving** (see-through patches, a ghosted
double image): draws ran out of descriptor slots as an area streamed in.
There are now 393,216 instead of 262,144, and on the test walk no draw is
dropped.
- **Block artifacts** on glass, glossy surfaces and the character: render
target aliasing is off by default.
- **Heads and faces.** No more broken or missing heads or hair drawn as a cone,
faces with only eyes and teeth, floating eyes and teeth, or coloured squares
("confetti") on faces.
- **Ultrawide monitors**: no seam at about 74% of the screen and no ghosted
half-head. The output is 2560x1440 on every monitor (`VICTORY_NATIVE_WIDE=1`
tries the monitor's shape).
- **Water and sky.** Open water without dark blocks around boats, along shores
and under bridges, no dark tiles along the horizon, the underwater water
shader translating again, no squares of clear sky in clouds after a cut, and
no magenta casts on paper or eyes.
- **Textures.** A grey stand-in of the right kind instead of black while a
texture loads, BC7 colours fixed, no purple blotches on lit paper, no white
dot grid on shaded walls, skin and clothes, distant buildings no longer
black, vehicle panels, paint and decals no longer missing, and green or
black textures on 8 GB cards fixed.
- **Many shader translation fixes** (console instructions lowered,
32-lane rewrites made exact, texture layouts addressed for both consoles):
fewer wrong or missing effects.
- **Near console-like texture rendering and lighting** since v2026.11.27.8,
which cost some fps on purpose.
</details>
<details>
<summary><b>Crashes and start-up failures</b></summary>
- **Windows 10.** It showed a black screen with only the fps line, then closed
a second after start. Its own Direct3D 12 is too old for the translated
shaders, so the first start offers Microsoft's newer runtime (about 22 MB,
signed by Microsoft); `victory.exe get-d3d12` fetches it by hand.
- **0x887E0003, "D3D12 SDK version configuration ... invalid"**: Direct3D 12 is
loaded only after the exe has picked the version, so a repack's 1.618 or 1.620
`D3D12` folder works, and so does no folder at all.
- **Monitor shapes.** No crash or white window at start on ultrawide, 4K, 16:10
or laptop screens, or on monitors with fewer than 1440 lines.
- **"Failed to allocate upload buffer"** after the loading screen: the range
ray tracing needs is reserved the moment the exe starts.
- **Memory growing until the PC ran out**: the same view no longer becomes a
new table entry each time it is rewritten.
- **The 6.5 GB reservation refused at start** (os error 8): 8 GB of that range
is set aside first and given back for a retry. A crash shortly after start on
some PCs: 512 MB below 4 GB is now kept free for the game.
- **Frame generation crashes**: FSR 3 frame generation with DLSS off closed the
game a few seconds in, so it now needs DLSS upscaling and the menu says so.
A driver that refuses DLSS turns DLSS and frame generation off for the run
instead of crashing. Series S no longer stops at the start with DLAA.
- **Smaller fixes**: fewer errors at command-list close, a small allocation
failure no longer ends the game, files with a null path no longer crash it,
one shader failure no longer stops a preload, and many fixes in the loader,
async calls, task queues, page mapping and audio heap.
</details>
<details>
<summary><b>Speed</b></summary>
- **Less CPU work per frame.** Most of a frame goes to the thread that gets the
game's work ready for the card, much of it tracking what the game wrote to
memory. Dozens of pull requests trimmed it: fewer locks, fewer questions to
Windows (a range it refused was asked about about 385 times a frame), copies
under 1 KiB 3-4x faster, small copies on several threads, narrower GPU waits,
card copies compared only where they were written.
- **Indoor slowdowns**: particle light shaders that dropped some rooms to 4-8
fps run properly on NVIDIA.
- **16 GB PCs**: a setting that switched itself on there and cost 7-8% is off.
- **About 2 fps back with the game window in front**: frames are shown as soon
as they are ready (`VICTORY_TEARING=0` turns this off).
- **No more 14 fps starts**: a start without frame generation plays at full
speed, first run included.
- **Long sessions** no longer get slower the longer you play.
- **Series S without DLSS** keeps the game's own upscaler: 28.5 to 30.9 fps in
the prologue's cell on an RTX 3090 Ti, and its own TAA is +16% on an RTX 3060.
- **Hybrid and V-Cache CPUs**: the game's threads go to the fast cores first.
The V-Cache placement stays opt-in because it cost 28% on one CPU.
- **The game's own 30 fps frame interval lifted**, with no fps cap by default
(F1 FRAME RATE CAP sets one).
</details>
<details>
<summary><b>Frame generation and upscaling</b></summary>
- **DLSS Super Resolution** in place of the game's upscaler, with mode and
model (DLSS MODEL AUTO picks NVIDIA's recommendation for each mode).
- **DLSS frame generation 2x to 6x**, switched while playing when it was on at
the start or made ready with `-FrameGenReady`. Its swap chain is sized for
3x-6x on RTX 50, and the card's memory is shared out so it has room on a
full 12 GB card. Frame generation stuck at one frame a present recovers.
- **AMD FSR 3 frame generation** (2x) for RTX 20 and 30 and cards without DLSS,
handed the picture without the HUD so HUD and subtitles don't double. AMD's
files are offered for download where it would be used. FSR 4 frame
generation on AMD is in as an experiment.
- **MFG Unlocker** (a third-party mod) as an F1 option: downloaded from its own
GitHub, checked against its author's hashes, and loaded before NVIDIA's
frame generation.
- **A start notice** says which frame generation runs on your card and, if it
is off, why. RTX workstation cards are recognised by name.
- **Reflex low latency only while frame generation is on** (+7% with it ready
but off).
- **Series S picture sizes** in F1: 1920x1080 (DLAA), 1280x720 (the game),
1113x626, 960x540 and 640x360.
- **The fps line**: frames rendered and, with frame generation, frames shown
(`FPS: 28.4 FG: 170.4`).
</details>
<details>
<summary><b>Lighting and ray tracing</b></summary>
- **Hardware ray tracing (DXR 1.1)**, `VICTORY_HW_RT=1` or RAY TRACING >
HARDWARE. Lighting on trees and characters that switched between lit and
shadowed every frame with it on was fixed before release. The F3 panel says
which ray tracing runs: hardware, software or off.
- **Software ray tracing much faster**: 25+ fps in play instead of 9-14.
- **Rays that miss what isn't built** (no purple plants), and shadow rays
without structures counted as blocked, not lit.
- **Light without ray tracing**: LIGHT ESTIMATE, GRAY SHADOW LIFT (live),
NEUTRAL PROBE LIGHT, REFLECTION ESTIMATE and FOG CAP make up for what ray
tracing would have lit. See [LIGHTING in the F1 guide](#lighting).
- **Black blobs and white grain**: bad numbers from shaders, which blur and the
upscaler spread into patches, are scrubbed; no white grain on floors.
- **Water light** (lighting water by its depth) as a switch: it cost about 15
ms of card time a frame on 32-lane cards and showed dark blocks on some, so
it is off by default.
- **Mirrors** get the light around them.
</details>
<details>
<summary><b>Memory and VRAM</b></summary>
- **Texture slots no longer in use are given back**, old command allocators are
replaced and small buffers share card memory: lower RAM and VRAM.
- **A full card**: small texture levels show instead of nothing, failed uploads
are retried, 512 MB of the card's budget is kept free of texture copies, and
copies nothing uses are let go on long sessions.
- **8 GB cards**: less memory used, on-screen textures first, render targets
kept resident first on request (`VICTORY_RESIDENCY_PRIORITY=1`). The Series S
profile is the way to play on them.
- **PCs short of RAM**: no false memory pressure while the pagefile can still
grow, finer windows on 16 GB PCs (6.0 to 5.2 GB of the PC's memory held by
the card), and spare copies kept where they are needed.
- **C: drive full?** `setx VICTORY_HOME D:\victory` moves settings, saves,
caches, logs and downloads to another drive.
- **VIDEO MEMORY LIMIT** in F1 sets how much VRAM the game aims for.
</details>
<details>
<summary><b>Input, controls and mouse/keyboard</b></summary>
- **Mouse and keyboard**: mouse camera, WASD, left click to shoot, right click
to aim, F to get in or out (keyboard play uses your bindings), the mouse
wheel bindable, LT and RT held together on mouse buttons, and map drag and
zoom with the mouse.
- **Key bindings in F1**: pick a line, press the key. Saved to
`%LOCALAPPDATA%\victory\bindings.ini` and used at once. While F1 is open the
mouse is free and does not move the game.
- **Pads**: DualSense and DualSense Edge, DualShock 4 over USB, Bluetooth or
Sony's adapter, with rumble; Stadia pads; no-name USB pads
(`victory pads` shows their buttons). Mouse and keyboard no longer hide the
pad.
- **Button prompts** show Xbox buttons with a pad and keys with mouse and
keyboard, following the F1 settings.
- **The screen stays on with a pad in hand**: a pad never counted as activity
to Windows, so a display request is held for the whole run.
- **Windows**: borderless full screen (Alt+Enter too), an English keyboard
option, mouse capture, the window icon from your own install and a title
bar that follows the dark or light theme.
- **F1 with the mouse**, and with a pad as an option.
</details>
<details>
<summary><b>Menus, stats panel and tools</b></summary>
- **F1 menu**: saved as you change it, SAVE AND RESTART NOW, SAVE AND CLOSE
GAME, a description line for each row, a "what limits fps" line, PRELOAD
SHADERS, CLEAR SHADER CACHE, RESET, EXPORT SAVE and IMPORT SAVE. Restarting
from it keeps the options the game was started with.
- **F3 stats panel**: frame rate and frame time, frames shown with frame
generation, GPU time, draws, RAM, VRAM, CPU use, free memory and two-minute
graphs, gathered on a thread of its own.
- **On main for the next release**: an anti-aliased F1 menu and slimmer F3
panel, and the menu in pages with presets
([the F1 guide](#the-f1-menu-every-setting-explained) describes it).
- **A mods folder**: every DLL in `%LOCALAPPDATA%\victory\mods` is loaded at
start.
- **Command-line tools**: `victory.exe play --help`, `preload`, `get-dlss`,
`get-fsr`, `get-d3d12` and `get-mfg`.
- **For testers**: controller recording and replay
(`VICTORY_INPUT_RECORD`, `VICTORY_INPUT_REPLAY`), frame-time percentiles in
the log, and many diagnostics switches listed under
[every VICTORY_ setting](#every-victory_-setting).
</details>
<details>
<summary><b>Startup, shaders and caches</b></summary>
- **PRELOAD SHADERS** (F1, or `victory.exe preload`), with a progress window
over the game's splash and a real total. It no longer needs two or three
runs: helpers that ended early are retried, up to 5 rounds.
- **The preload builds everything it should.** A short list left by a crashed
run made it build 4 pipelines instead of 88,563; fixed. It runs at the first
start of every new version, with frame generation on or off.
- **Caches across updates**: only the files the new version cannot read are
deleted (230 MB of old translated shaders in the test), the game's list of
83,556 known pipelines is kept, and changing a setting remakes only the
pipelines it affects. `VICTORY_KEEP_OLD_SHADERS=1` keeps the old files.
- **Shorter stalls** while pipelines compile, and a pipeline refused for lack
of memory is asked for again. The driver finds its saved pipelines again and
the pause at the first 3D frame is shorter.
- **Two graphics cards**: the game plays on the card your monitor is plugged
into, and preloads are kept per card.
- **Checks before the game runs**: the package's archives, missing game files
named, the shader model of the card the game runs on.
- **Faster loading** through the Windows file cache, and the intro movies
skippable (`VICTORY_SKIP_BINK`).
</details>
<details>
<summary><b>Sound, game systems and Linux</b></summary>
- **Phone calls, TVs and reverb are heard**: the game's audio convolutions are
computed. XMA audio decoding is faster.
- **DirectStorage, files and system calls**: many fixes so the console calls
the game makes behave as they do on the console.
- **Linux and Proton**: fixes and docs, NVIDIA's files fetched without
PowerShell, file-backed memory and compiler fixes for Wine.
</details>
<details>
<summary><b>Releases and launcher</b></summary>
- **22 one-exe releases** so far, each built from a tagged commit, with its
SHA-256 and notes on what changed, how it was tested (a recorded route
checked frame by frame) and what is still open. Pull requests that broke
something in testing were switched off again and listed by name in the
notes.
- **NVIDIA's and AMD's files come from NVIDIA and AMD**: the first start asks
once (about 70 MB from NVIDIA, about 30 MB from AMD), checks their
signatures, and the game still runs if you say no. Their licences don't let
a repository carry them. `Get-NVIDIA-DLSS.cmd` does the same for a build of
your own.
- **For builds from source**: `scripts\play-nvidia.ps1` starts with the same
shader settings as `victory.exe`, so a
preloaded cache is used. For Steam, add `victory.exe` with
`play "<path to game_scarlett_master.exe>"` as launch options.
- **Reporting a problem**: every release says which two logs to attach and
where they are.
</details>
<details>
<summary><b>Project and community</b></summary>
- **Every pull request built and run before it was merged**, and merged with
its original commits, never squashed, so every contributor keeps the credit.
The release notes list each one.
- **CI on every pull request and push** (`ci.yml`): clippy with warnings as
errors on the normal and diagnostics builds, and all tests, including the
check that nothing from the game is ever committed.
- **Logs asked for** (`needs-logs.yml`): an issue without logs gets a reply
saying which two to attach and where. The label comes off when the author
adds them, and an issue that needs logs and gets none is closed after
12 hours.
- **Scams and game requests removed**: `spam.yml` removes fake "PC port
download" guides and malware "crash fixes"; `game-requests.yml` removes
posts asking where to get the game, and says why.
- **Labels from titles** (`title-labels.yml`): `[tags]` at the start of a title
become labels.
- **Issue forms** for a crash, a graphics problem, performance, a feature
request and a test report, plus a pull request template and a short
`CONTRIBUTING.md`.
- **Rules for coding agents** in `AGENTS.md`: search all issues and pull
requests first, add to an exact duplicate instead of opening a new one,
accurate labels required, reread the rules on every update of `main`, and
close your own issues and pull requests that are no longer relevant.
- **Duplicate cleanup**: 43 exact duplicate issues closed and pointed to the
issue they repeat.
</details>
<details>
<summary><b>Earlier work, before the 2026-11-26 base</b></summary>
Before this fork moved onto its current base, the same work went into the
other codebases above. What carried over is in the groups above; the rest is
in this repository's history and comes over as the current base turns out to
need it.
- **Draws no longer skipped on NVIDIA**: NVIDIA caps the view heap below what
the game asks for, and thousands of draws a frame were dropped. 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.
- **Menus, loading screens and subtitles on Series S** (black until then) and
**faces that move**, made to work on this card.
- **White, hazy rooms explained**: the game's ray tracing ran with its
structure builder off, so every ray missed. The builder was made to run on
NVIDIA, and the draws dropped for it went from thousands a frame to one.
- **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.
- **Memory compares moved to the card**: 11 to about 22 fps on the base of the
time. The current base itself was chosen by measurement: the same rooms went
from 15-17 fps to 26-30, at a higher resolution.
**Speed**
</details>
- **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.
801 pull requests from 261 contributors merged so far (as of 2026-11-30):
[the full list](https://github.com/trustno1-coder/VIctory-NVIDIA/pulls?q=is%3Apr+is%3Amerged).
### The base since 2026-11-26: foxhound