foxhound 0.8.3.5 #563

Manually merged
github merged 29 commits from github-bot/gh-563 into main 2026-12-03 14:27:48 +00:00 AGit
Owner

@⁠readmet3xt-lab on GitHub · 2026-12-03 14:18 UTC · original
readmet3xt-lab:next → main · +8266 −1603 · 82 files · 29 commits · merged 2026-12-03 14:22 UTC

Version 0.8.3.5: the fixes for the reports that 0.8.3 played worse than 0.8.2.

  • The title profile and the BCPack table file are found where players put them, and the launcher says what is lost without them.
  • Pipeline waits no longer hold frames for seconds on a cold cache; 0.8.2's defaults are back where 0.8.3 changed them unmeasured.
  • Fullscreen, textures, memory, lighting, shader translation, frame generation, input and logging fixes.
  • No built-in program list in the launcher: leaving programs out is the title profile's job.

Release notes: the v0.8.3.5 release.

🤖 Generated with Claude Code

**@⁠readmet3xt-lab** on GitHub · 2026-12-03 14:18 UTC · [original](https://github.com/readmet3xt-lab/foxhound/pull/563) `readmet3xt-lab:next` → `main` · +8266 −1603 · 82 files · 29 commits · merged 2026-12-03 14:22 UTC Version 0.8.3.5: the fixes for the reports that 0.8.3 played worse than 0.8.2. - The title profile and the BCPack table file are found where players put them, and the launcher says what is lost without them. - Pipeline waits no longer hold frames for seconds on a cold cache; 0.8.2's defaults are back where 0.8.3 changed them unmeasured. - Fullscreen, textures, memory, lighting, shader translation, frame generation, input and logging fixes. - No built-in program list in the launcher: leaving programs out is the title profile's job. Release notes: the v0.8.3.5 release. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The profile and its table file now reach the engine in the places players
actually leave them, and a missing table no longer leaves textures black or
garbled.

Profile search (victory-profile):
- Places, in order: VICTORY_TITLE_PROFILE_DIR, the installed copy under
  %LOCALAPPDATA%\foxhound\profiles\<hash> (an explicit Load wins over a
  stray copy), the title's folder, victory.exe's folder, the launcher's
  folder (VICTORY_LAUNCHER_DIR), then one level of subfolders of those.
- profile*.toml is accepted (renamed downloads); UTF-16 files are read.
- Table files are found beside the profile or in any of the places, under
  their own name or a renamed copy, told apart by hash.
- A profile for another copy of the executable keeps its roles and tables
  and drops its patch groups and places (VICTORY_PROFILE_ANY_EXE=0 refuses
  it as before); a kept .bak/.orig copy the profile is for is named.
- A miss logs every folder searched and the executable's hash; several
  copies are named; the profile hash, groups and shaders per role are logged.
- A shader told by an identity its role never matches is left out with a
  line; a code patch given by hash is said to be never applied.

Status for the launcher: one tagged line, PROFILE loaded|not-loaded|refused,
with the groups, missing tables, roles covered, the BCPack file, exe=differs
and unused copies. Install copies tables under the profile's names, finds
renamed ones, and takes a table file picked by mistake.

BCPack: VICTORY_BCPACK_TABLES is parse-checked with a fallback, then the
profile's table, then bcpack*.bin in the profile places, with or without a
profile. Without any, requests are filled with flat blocks of their BC kind
(VICTORY_BCPACK_NEUTRAL, on; 0 fails them as before), counted in a line at
most once a minute.

Also:
- The run prints its version, commit and profile state on stderr whatever
  the log filter.
- Warm children receive the executable's hash instead of hashing it again;
  replay --retranslate reads the profile.
- An interface_composite role without hashes matches no pipeline (it
  matched every one); a profile with only bake_geometry turns bake uploads on.
- CreateFileW/CreateFile2 no longer read a null path.
- A patch group with two sites in one page restores protection after all
  writes, last to first.
- docs/title-profile-format.md matches the code (.bin table, every role with
  its identity kind); a test keeps the role table in step with ROLES.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
0.8.3 let every draw wait up to 10 s a frame for its pipeline
(VICTORY_PIPELINE_WAIT_ALL on by default); a cold or partly cold cache
then ran at 0.1-0.4 fps for minutes (#440, #462). The waits go back to
0.8.2's shape, and the cases that 0.8.3 tried to fix get narrower tools.

- VICTORY_PIPELINE_WAIT_ALL is off by default (1 turns it on); with it on,
  ordinary draws wait in a budget of their own, so passes over the screen
  keep their 10 s budget for the lighting fills the title draws once.
- VICTORY_PIPELINE_WAIT_MS defaults to 500, as in 0.8.2 (it was 100).
- A pipeline a draw waits for moves to the front of the workers' queue.
- A pipeline whose wait ran out unmade is not waited for again until it is
  made (VICTORY_PIPELINE_REWAIT=1: as before).
- All waits of one frame are capped together over every budget
  (VICTORY_PIPELINE_FRAME_CAP_MS, 10 s; it could stack to 20 s); a warning
  says when a frame was held 5 s and 15 s; a line every 10 s sums the
  waits, those that ran out, those not waited again and those hurried.
- First-scene compute producers wait as once-only passes again, and the
  "first 180 frames" window also opens at the first frame that asks for 64
  new pipelines (the world's first), not only at process start.
- Face-shape pipelines are made by a worker at the front of the queue and
  waited for up to VICTORY_FACE_SHAPES_WAIT_MS (10 s) with a line, instead
  of on the recording thread with no end.
- Warm-up reads "key run" lines of the early list again, so pipelines
  earlier runs used are warmed first (and --used works); a test covers it.
- warm-bad.txt leaves a pipeline out of play only when the compiler hung on
  it or it ended the warm worker twice; a warm worker that ends before it
  begins anything no longer blames pipeline after pipeline, and the warm
  stops after a second such end (no more remove(0) on an empty list).
- note_drop no longer counts a drop twice at the 256-call flush.
- The fps overlay and window caption show one decimal below 1 fps and how
  many pipelines are being made.
- docs/commands.md documents the wait switches and the pipeline journal.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The window now has three steps: the game's folder, the title profile and
the settings (a preset and the display mode). Every option is under "All
settings", in groups. A choice that needs the title profile, the Streamline
SDK or the FidelityFX DLLs is greyed or marked with the reason. A line under
the settings says what the next run will be and what will not apply, and
Play asks before it starts without those choices.

- The profile check runs off the window's thread, reads its answer as it
  comes with a working time limit, and runs again at Play. TITLE_PROFILE_DIR
  and BCPACK_TABLES from Further switches reach it. A profile*.toml in
  Downloads or on the desktop is offered for install.
- Without a profile, the output, upscaler, FSR frame generation, frame rate
  and water switches are not passed, and the two known leave-out programs
  are left out by default.
- FSR gets its own quality row (it always used Quality). The FidelityFX
  check is per feature: the upscaler DLL, or the loader and frame
  generation DLLs.
- New rows: a frame-rate counter, and PC memory (the 16 GB window settings
  as one opt-in).
- The VRAM list offers only limits under the card's memory. Software ray
  tracing asks first on cards under 12 GB.
- The launcher no longer sets KEEP_SHOWN, QUEUE_SNAPSHOT,
  TEXTURE_STAGE_MS, PRESSURE_RELATIVE or the 16 GB window settings, and
  the layer's texture passes default to 16 ms again. The play script
  follows, and its 1920x1200 output is gone.
- Settings carry a version. After an update, Recommended is offered once.
  A value an older launcher does not know is stored beside its key, so the
  older launcher can still read the file.
- Recommended and the presets use one memory rule for the Series X
  profile. On cards without DLSS they pick FSR with a mode, and they say
  when the profile is missing.
- The log's first line adds the profile's state, the choices, and what was
  not passed and why.
- The loading window's Skip now says what skipping costs, and the F1 menu
  scrolls its rows.
- VICTORY_D3D12_CHECK in Further switches takes effect.
  FOXHOUND_TEST_DIR points the launcher at another settings folder.
- The profile status line names its file.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Without a title profile several passes were silently left as they were.
Where a rule that names no title can stand in, it now does; where none
can, the log says so.

Ray tracing without structures: while no structure builder runs and the
profile names no hit-resolve programs, compute pipelines whose code tests
structure nodes are left out (their walks find nothing). The rule decodes
each program once and looks for node-test instructions. Off with
VICTORY_RT_WALKS=1, with hardware ray tracing asked for, or when the
profile names the hit resolves. A count is logged.

Indirect light stand-in: without the profile's names, the diffuse
resolve, the surfaces' light and the air's light are found by the places
their tables bind. The radiance and air passes are followed only while
one program alone has their shape. With a profile, the first matches are
compared with the names in the log, so the rule can be checked.
VICTORY_AMBIENT_SHAPE=0 turns the rule off. A warning is logged when
"Dark areas" is on and no program has been found after about 1,800
frames.

Bakes: a pixel program that draws a bake's shape (no depth, four or
more targets, the first square and at least 512 wide) is marked. Its
pipelines then start at creation and its binds are translated in order,
as for the bakes a profile names.

Wave64 programs on 32-lane cards: refused programs are counted in a
warning that names the profile roles which are off without a profile.
VICTORY_WAVE_WIDE_GENERIC=1 (off; part of the shader cache key) tries
the wave-wide form on every stuck program when no profile is loaded.

Roles: one line at the first pipeline gives the size of the leave-out,
hit-resolve, first-scene-input and bake roles. A warning is logged when
nothing is left out by name and no profile is loaded.

Output: when a 1440p-tall output was asked for but not written, its
switches are cleared, so the host draws for the program's own output. A
display line names the output and the display mode reported. A new
value, VICTORY_DISPLAY_MODE=monitor, reports the primary display's mode
in pixels.

On Series X without the profile's upscaler route, Streamline and AMD's
libraries are no longer loaded: every one of their features takes over
a path that is in the program only with that route.
VICTORY_STREAMLINE_NO_ROUTE=1 loads them anyway. Series S is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A picture larger than the monitor's mode (the program's own 3840x2160
output on a 1440p monitor) was copied as it was into a monitor-sized
popup, and players saw it near white. It is now composed into a
monitor-sized buffer, like the black-bars case. The bars are fitted to
the monitor's mode in pixels, not to the size this process sees on a
scaled desktop. One line says when and why the composer is used.

The process is now per-monitor DPI aware by default with the fullscreen
display, so the window and the swap chain use the screen's own pixels and
the picture is not bitmap-scaled by Windows. VICTORY_DPI_AWARE=0 turns
it off, =1 turns it on for every display. Windowed displays keep their
size as before.

With frame generation the bars' composer is made on a thread of its own.
While it is being made, the presenting thread now waits up to half a
second instead of leaving presents out, and a line counts any that were
left out. If that thread cannot start, the composer is made on the
presenting thread instead of never.

Alt+Enter is turned off for every swap chain, the plain one included.
The swap-chain line names the present path and the window's size. A
line gives the window's size after each restyle for the display choice.
Another is written whenever Present's answer changes; its status codes,
such as DXGI_STATUS_OCCLUDED, were never logged.

Launcher: the Display hint says that FSR frame generation stretches the
picture instead of adding bars, and that a larger picture is scaled down.
The new host-only switches are left out of the shader stamp. Comments
no longer cite private review notes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Defaults return to v0.8.2's values. The neutral stand-in's alpha is 128
again (VICTORY_NEUTRAL_ALPHA=127 gives 0.8.3's). Guarded textures are
hashed every 8th frame at most again (VICTORY_TEXTURE_TURN_MAX=64 gives
0.8.3's back-off).

VICTORY_KEEP_SHOWN=2 lets a slot go on showing another texture only when
that texture is read the same way: a format of the same family and the
same component mapping. It never does so when either texture is a render
or depth target. Before, any texture of the same dimension stood in, so
wrong colours showed while the new one loaded.

The gray stand-in is no longer given to views read as integers (UINT,
SINT, stencil). Those views get a typed null, because an integer read of
a UNORM texture is undefined.

An upload-ahead batch whose copy fails is tried once more. If it fails
again, its textures are no longer marked uploaded and their slots are not
shown from them: the lists upload those textures instead.

8 GB cards with "Detail on demand":
- Held levels are now decided per texture. A copy the card cannot split
  into tiles holds only the levels viewed, as without the switch. Before,
  the switch gave every copy its full mip chain (#441: 11.3 GB in use
  against a budget of 7.2 GB).
- The card's memory at the last look is shared with code that makes
  memory without asking for room. While the card is past its budget, no
  texture block is made ahead of need and no heap is made for levels on
  demand.
- A texture first used by a list, not by the texture pass, goes to free
  space in the texture blocks or to the PC's memory, as the pass's
  textures do. This is on by default for budgets under 10 GB.
  VICTORY_FIRST_USE_ROOM=1 turns it on for every card, =0 turns it off.
- The room check adds the blocks made since the last look. Before, their
  free space counted as room while their bytes were not yet in use.
- The levels-on-demand line is now written even when no texture was
  made that way. It also says why textures were made the old way.

Launcher: "Detail on demand" is marked experimental, and its hint says
which textures it applies to and how to tell from the log that it works.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Commit safeguards: the upload, growth and critical floors judge what is
left under the commit limit of the moment again, as v0.8.2 did. What the
pagefiles may still grow by only grades them: with 2 GiB of growth or
more the floors are halved. In 0.8.3 the growth counted as room, so every
floor acted only in the last 512 MiB, and pressure entered and cleared a
second later. The pressure line now gives the real headroom and the
growth separately.

VICTORY_PRESSURE_RELATIVE: the physical lines get floors of 1.5 GiB to
enter and 2.5 GiB to leave. The rule was measured on a 32 GB PC only,
where the floors do not bind.

Windows:
- VICTORY_LOOSE_READ is on by default whenever the windows are fine (a
  finer grid or tails), the only case it acts in. =0 turns it off.
- Waits for the windows' table write lock are counted and logged.
- A line counts new windows that lie over bytes another window shaders
  write. Nothing on the card keeps those two copies alike.
- Windows get card room from a budget of 6.5 GiB on. 8 GB cards (budgets
  of 7.1 to 7.3 GB) had none, and shaders read every window over the bus.

Send memory grows by doubles to 256 MiB, then by steps of 256 MiB. A need
just over 1 GiB asked for 2 GiB, which a 16 GB PC refused (#459).

Waits for new memory to become resident are counted by the place that
asked, with the longest per place. That line shows which memory waits
under pressure.

Frame generation's share of the card's budget and what DLSS's failures
take off it are held to a quarter of the budget together, said when it
binds. Before, they could take up to 2.5 GB, more than a third of an
8 GB card's budget.

A host texture the host refuses for anything but out of memory is
refused for good, even under memory pressure. Before, any refusal under
pressure was asked again every half second, each time with a warning.
That warning is now said for the first eight and then at powers of two.

The store of buffers made ahead says when it lets buffers go for commit.

Per-thread scratch: BCPack decode buffers past 8 MiB are let go after
the decode, and the placed-texture lookup table gives back its room when
it is cleared.

Page numbers past the title's 21 bits: free runs are kept in an index
made once, instead of sorting every live page number at each allocation.
Freeing numbers that were not the title's is said at powers of two once
numbers are given again, since such a free may name a reused number.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Defaults back to 0.8.2, each new value still behind its switch (they
were measured on one PC):
- List translator threads: 8, or one per logical processor where there
  are fewer. 0.8.3 cut them to 6 or 4 below 16 logical processors
  (VICTORY_THIN_THREADS=6 or =4 gives that).
- The asking thread runs at the helpers' priority (above normal, or what
  VICTORY_HELPER_PRIORITY says), not the highest. VICTORY_ASK_PRIORITY=2
  gives 0.8.3's.
- The audio decoding thread runs at the helpers' priority too.
  VICTORY_XMA_PRIORITY=2 puts it above them.
- Write-watch askings join ranges up to 8 MiB apart (VICTORY_ASK_NEAR=1:
  512 KiB).
- A block the title just wrote rests 3 ms (VICTORY_GUARD_REST=500: 0.5).
- Refresh flushes share work 32 spans at a time, not 128.

The asking thread runs only its own asking and guarding. Before, it
took the other callers' refreshes and merges from the shared queue
while the submitting thread waited for its asking alone.

Read-only GPU skip (VICTORY_GPU_RO_SKIP):
- It acts only for copies in the card's memory that keep a twin to
  compare with, since that compare is the only place its guard looks.
  Copies in PC memory are handed back by pieces nothing compares, so a
  write left out there would never be seen.
- It acts only with VICTORY_SOFT_VIEWS (set by the launcher and the play
  script). The title's later changes of protection are seen only there.
- The guard's line counts as checked only the spans whose compare was
  looked at.

The title's own VirtualProtect now tells the write watch. Blocks it had
made read-only in that range are opened and checked again, under the
guards' lock. Before, a block the title made writable stayed clean in
the books, and its writes were never copied.

Placed wait: the heaps' sync is redone only when the wait for a copy at
its place's flights actually stood. The line counts the waits that found
nothing in the air.

Preludes: one the kept thread has not begun is recorded by the
submitting thread when it needs it, instead of waiting behind the kept
thread's queue.

Ranges kept for the texture pass: a full list is joined, and dropped if
the join frees less than an eighth of it. Before, a join that freed a
few entries had every later push sort all 131,072 again under the
runtime's locks.

Copies: a copy whose title destination is only partly committed writes
the committed 64 KiB pages instead of being dropped whole, which lost
every copy of a joined run. The count of copies joined across lists is
said to two decimals; it read 0.

VICTORY_DECOMMIT_NOTED: a decommit while no asking stands is kept for
the next asking instead of being lost.

VICTORY_COPY_CHANGED=1 (off): of what the write watch copies, the bytes
in 64-byte lines that really changed, beside the bytes copied.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Fixes:
- A packed-half input finds its partners in the console's whole signature, as the layout does. With a linked mesh stage, the pruned input list could give partners that disagree with the layout.
- The first load of an atomic subtraction's loop stays in the block that branches into the loop. In a block a meet had closed, the load went to the block it was redirected to, after its use in the loop's phi.
- A full-width typed buffer store at a scalar or built offset translates again. 0.8.2 dropped that offset and wrote to another element; 0.8.3 refused the whole program. The store now runs only where the offset is 0 at run time, and partial-width stores stay refused. VICTORY_TYPED_STORE_BASE=0 refuses them as 0.8.3 did.

New off switches. Each one is part of the translation, so the shader cache keys on it:
- VICTORY_STALL_LANES=0: 0.8.2's analysis of which skips would stall with no lane left.
- VICTORY_AMD_DIMS_APART=0: size queries are merged on AMD hosts too.
- VICTORY_AMD_FOLD_BITS=0: no constant folding of bit counts and reversals on AMD hosts.
- VICTORY_CUT_LANE_COUNT=0: no atomic counts the lanes that the loop limit stops.

The shader cache key now includes every VICTORY_* switch named in the translator's source, as its build script lists them. The hand-kept list had missed the three water patch switches, so a cache made with them was served to runs without them. Every key changes once, which costs one slow start after the upgrade.

The shadow-ray hardware lift (VICTORY_HW_RT_LIFT=shadows) now follows the host's decision. When the card lacks the ray-tracing tier and the route is off, programs keep the software walk. The decision is part of the host settings in the key.

New log lines:
- A wave64 program widened from the profile's refused list, with how long it took to translate.
- Loops that run their own fixed count past the stage's cap, with the largest count.
- Typed stores made at a scalar offset.
- Programs translated without the shared-memory bound.
- Mesh records with a Y or Z of 0 that run as (X, 1, 1), per frame. The clamp counts them in a sixth budget word.
- The memory the view heap's address table takes beside its strides.

Tests: victory-gpu 634 passed, victory-shader 330 passed, including a new typed-store test and the atomic-loop test. Clippy is clean.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Frame generation under 30 fps (VICTORY_FRAMEGEN_MIN_FPS): the switch on now needs 90 % of frames at a 29th of a second or less, one frame a second of slack. At the title's own 30 cap about half the frames come a little over a 30th, so the gate never turned it on. New tests: a 30 cap with up to 1 ms of jitter turns it on; a steady 28 never does.
- A failed DLSS or FSR upscaling now records the plain stretch of the scene over the output. The title's own upscaling does not run for that frame, so before this the output kept the frame before. VICTORY_UPSCALE_FALLBACK=0 restores 0.8.3's behaviour.
- DLSS out of the card's memory: the budget steps down after 30 "out of VRAM" answers within 120 upscalings (about four seconds at 30 fps), not only 30 in a row. Failures with successes between them never stepped it down. New tests cover alternating, consecutive and rare failures.
- FSR 4 frame generation: when FidelityFX refuses the FSR 4 swap chain, FSR 3's is made instead, and the generator follows it. Before, frame generation stayed off for the session.
- AMD's upscaler and frame generation alone no longer load Streamline. Streamline has no default folder any more: without VICTORY_STREAMLINE_DIR, DLSS and its frame generation stay off and say why. 0.8.3 tried a developer's folder on FSR-only runs and logged that the title's own upscaling ran. The DLSS setup doc says so.
- Removed the Series S flag that nothing read.

Tests: victory-gpu 639 passed. Clippy is clean.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Room floor (VICTORY_AMBIENT_FLOOR): the view's distance is now measured in the resolve pass from the scene's depth. The keep pass has no depth: its table holds the light image, which 0.8.3's mean pass read as depth, so a close view never read as close and the floor did not lift it. The keep pass no longer reads that table. Until the first measurement the floor holds, as it does for a view with too little depth. The new pass is precompiled with the others. The floor stays off by default.
- Kept depth for the reflections' stand-in now covers renders up to 3840x2160. Before, it stopped at 2560x1440, so 3440x1440 and 4K went without it.
- VICTORY_AMBIENT_FILTER defaults to 1 again, as in 0.8.2 (magenta and deep blue). 0.8.3 made 2, which also drops neon green, the default with no comparison. 2 still turns it on.
- After the reflections' stand-in, the next draw moves the depth-stencil target back to its own state. The stand-in may put the target in a read state to read the picture's depth, and the draw state did not know, so the next draw could write depth in that read state.
- Shadow rays answered "occluded" while no structures are built: one line a run names the profile's programs and VICTORY_SHADOW_RAYS_LIT=1, and each translation that applies it says so.

Tests: victory-gpu 639, victory-shader 330 and victory-profile 23 passed, including the check that every shader form is precompiled. Clippy is clean.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Device-removed data: the faults level (the faulting address, placed
among our memory) is on in every build by default; VICTORY_D3D12_DRED=0
turns it off, and light (breadcrumbs) is allowed in release builds.
Objects are named, and diagnostics builds keep their memory book, only
when a level is asked for. A removal without a page fault now says so.

Log lines:
- The past-share warning is said for a page wholly past the share, not
  for any page that reaches it, and no longer advises
  VICTORY_DYNAMIC_SLOTS.
- The thin line says how much of its translation time was spent
  waiting for host pipelines or memory (the existing text is kept).
- The staging line gives the title's size and the size in use.
- A list that fails to close for lack of memory, or after a device
  removal, says that instead of "a command was invalid".
- A pad whose reader stops is said once a pad.
- The first-refusal warnings no longer claim the rest are counted when
  the streaming log is off.
- "Left out on purpose" counts the structure builder's dropped stages.
- Bake draws translated at the call count mesh dispatches.
- Missing title DLLs with an executable the profile is not for are said
  as a possibly unsupported executable, not an incomplete package.
- XMemVirtualAlloc reports the error of its own call, not one
  overwritten by the address-space walk or a log write.
- The write-watch line's note says the submitting thread's askings are
  among its counts.
- Five log strings lost their line continuations and carried runs of
  spaces.

The kept-slot census (a lock and a view lookup for 65,536 slots about
once a minute) is behind VICTORY_KEPT_CENSUS=1; the line without it
still gives the slots made null and the journal size.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Input and audio:
- Sony pads on raw HID are not read while an XInput pad is connected:
  behind a remapper (Steam Input, DS4Windows) the same pad was read
  twice, so remapped buttons still fired and rumble went twice.
  VICTORY_HID_BESIDE_XINPUT=1 reads both.
- Rumble for the one pad goes to the slots the last poll found, instead
  of asking every slot again under the input lock.
- VICTORY_DSP_PASS passes through mono convolutions only; stereo
  reverbs were passed as a five times louder dry copy.

Loader: a CLWB that cannot be replaced in place (it crosses a 16-byte
boundary, or VICTORY_PATCH_CLWB=0) goes to the crash module's handler,
which runs a whole write-back loop in one exception, instead of one
exception per cache line.

Pipelines and caches:
- The early-start list with runs goes to a file of its own; the plain
  list of keys is still written, so a 0.8.2 on the same cache folder
  finds its early pipelines again. The first start of this version on
  a folder counts as a first start, so the first-start hold applies.
- A pipeline library with no count file beside it (an earlier
  version's) is rebuilt once it is 64 MiB or more.
- The pipeline journal drops this process's notes when the run ends
  on purpose: a pipeline being made at exit was refused for good.
- `victory caches` keeps the folders of builds before the translator
  stamp, which 0.8.2 still reads, unless --older is given.
- The play script's prepare stamp includes the title profile's state,
  so a profile installed later translates again.

Logs and smaller fixes:
- Newer queues' methods 0xb8 and 0xc0, and the two device pipeline
  methods that are not implemented, are said once by what they are
  taken for; the repeated words lines stay in diagnostics builds.
- VICTORY_VIEW_SPLIT_ADAPTIVE leaves the per-draw tables their slots:
  its first sync raised the line over all of them, and every draw that
  needed a table was dropped.
- The STREAM_BOUND comment: a root view past its window reads whatever
  lies beyond, not zeros.
- The tiles test compiles its own shader with the run-time compiler; a
  debug build stopped on it as a shader not built with the crate.

Build and launcher:
- BCPack tests say when the format's own tables were not given, and
  fail with VICTORY_BCPACK_REQUIRE_TABLES=1; CI runs them where the
  repository variable VICTORY_BCPACK_TABLES names a file, and warns
  where it does not.
- The launcher asks Windows for AVX2 before a start: victory.exe is
  built for it and stops before its own check can say why.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
At the 2560x1440 output the interface was laid out at the output's
size: the HUD was larger than on the console and menus ran past the
screen, also on 1080p monitors showing the 1440p picture scaled down
(issues #112, #137, #226).

A title profile can now carry an interface_canvas group. For a 16:9
output smaller than 3840x2160, the engine then:
- writes native_output with the canvas as the display mode, and a
  scanout reservation that holds two surfaces of the output and two of
  the canvas;
- applies interface_canvas with the output's size, so the program lays
  its interface out on the canvas and scales it to the output;
- reports the canvas as the display mode;
- leaves the frontend viewport workaround off, because the program
  projects the interface itself.

The group's sites are PR #358's (by Flyander, adapted from Remorc-e's
VIctory-NVIDIA PR #541, GPL-3.0-or-later). They live in the profile,
not in the engine. A profile without the group keeps the older layout,
and the run and the launcher's profile row say so.
VICTORY_INTERFACE_CANVAS=0 asks for that layout. An engine that does
not know the group leaves it unused. Canvas images go to folders of
their own. An ignored test plans both layouts against a given profile
and executable.

The FPS overlay is drawn at scale 1 up to 1440p and 2 from 2160p. At
scale 2 its two lines covered the game's status bar in the same corner
(issue #493). VICTORY_FPS_SCALE=1..4 sets the scale, as PR #512
proposed (by kwaadrat).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
README:
- The title profile is two files to keep together. It is loaded with
  the button or found beside the launcher or the game. The section
  lists what is lost without it, the profile row's states, and the
  0.8.4 profile's interface canvas.
- Every Recommended row assumes the profile. The tested row gives
  0.8.2's figures: 0.8.3's higher ones came from scenes with fewer
  draws.
- The table of 0.8.3's new defaults becomes a table of the 0.8.2
  values that are back, each with 0.8.3's value to set by hand.
- The 16 GB window settings are the PC memory row's opt-in, not forced.
- On Series X, DLSS, FSR and frame generation need the profile. The
  FSR quality row is described. FSR frame generation stretches instead
  of adding bars. The 30 fps gate is a choice.
- The Proton advice no longer asks for d3dcompiler_47. New entries
  cover a HUD too large at 1440p and minutes under 1 fps, and
  device-removed lines.
- Switch rows follow the code: GPU_RO_SKIP's scope and what its guard
  can do, DLSS_SHED's window, HID pads beside XInput, the frame-rate
  counter, the face-shape wait, where TITLE_PROFILE_DIR, BCPACK_TABLES
  and D3D12_CHECK can be set.

docs/commands.md:
- The caches and title-profile commands.
- The DRED levels and their default.
- KEPT_CENSUS and COPY_CHANGED.
- A table of every switch 0.8.3 and 0.8.4 added or changed that the
  README does not list, the translator's among them, with defaults.

docs/status.md: the measurements are dated and marked as not this
version's. The profile-less behaviour is as it is now. The HUD fault
and a 0.8.4 summary are added.

docs/fork-ray-tracing.md: what happens while no structures are built
(hit resolves left out, shadow rays, hardware ray tracing and the
profile's shadow_rays role). How the stand-in finds its passes, with
its floor and filter switches.

docs/saves.md: the Player (saves) row's data folders.
docs/underwater-wave32.md: the profile role that names the widened
programs, and the generic switch.
launcher/README.txt: what Dark areas and BCPack do without the
profile, and the interface canvas.

A doc comment in the translator sat on the wrong function.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The tested row gives the 0.8.3 test build with these defaults, and
drops an indoor figure with no measurement behind it. At the same
number of draws the four 0.8.3 defaults showed no clear gain.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The row offers Off and Software; hardware ray tracing for shadows is
set with two switches.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The quick start says that a profile installed with the button wins
over files placed beside the programs, so an update needs the new
profile loaded the same way. Saved shaders are named as such. Lines
left too long by the 0.8.4 docs are wrapped.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A first start had no record of the program's pipelines, so it compiled each
one when it was first drawn: for about a minute per new scene the picture
ran at a few frames a second, and only the next "Getting ready" compiled
them ahead.

A title profile may now list the pipelines (an optional `pipelines` table:
entries as the record in the cache folder has them, without the shaders).
`victory warm` adds the listed entries the record lacks before it compiles,
reading each shader they need from the program's own files by its hash, and
says in one line how many were listed, already there, added, and left out
because a shader was not found. Containers are written before the entries
that name them. A second preparation finds them all there in under a
second. Warm now compiles in the record's order after the pipelines runs
drew with, so a list that puts those first is compiled in that order.
`victory title-profile pipelines <out>` writes such a list from a record.
Engines before 0.8.4 ignore the table.

Players can also make the preparation run again. `victory caches
--start-over` removes this build's translated shaders and the pipelines
compiled from the record (the host library and the lists of those made,
failed and slow), and keeps the record; `--everything` also removes the
record, every build's translations and the patched images, so the next
start is a first start. Only names the layer writes are taken; the data
folder (saves) and the crash journal never are. The launcher's "Clear old"
button becomes "Caches...": it lists what each choice would remove and
offers "Clear old builds", "Prepare again" and "Start fresh", then clears
its own stamp so the next Play translates again.

Tested: a list made from a record of 93,786 pipelines found all 19,124 of
their shaders in the program's files and added every entry to an empty
cache folder in 6.5 s; 200 of them were then compiled from it with none
failing. Tests for the list, the seeding and the reset rules; README,
launcher README, commands, status and the profile format updated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A program that takes each timer step as at most 1/15 s runs slower than
real time below 15 frames a second (at 12, at 80 % of its speed). With
frame generation, a base rate under 15 is common under heavy load, and
everything timed slowed down with it.

A title profile's new max_step group gives the program a longest step of
the engine's choosing: VICTORY_MAX_STEP_MS, from 67 to 1000 ms, 250 by
default (full speed down to 4 fps); off keeps the program's own. The
engine fills in the new template value max_step (f32, seconds); the sites
and their stock bytes live in the profile and are checked before anything
is written. Frames longer than the limit, such as loading hitches, still
slow the program down rather than jump it ahead. An engine without the
value refuses only that group. The run prints the step and the lowest
frame rate that still runs at full speed. The launcher leaves the switch
out of the shader stamp.

After PR #319 by Kajcsi, ported from VIctory-NVIDIA (GPL-3.0).

Co-Authored-By: Kajcsi <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
With it, no title profile and no table file is looked for anywhere, as for
a player who has none, so a start without one can be compared on a PC that
has one installed, without moving it. The status line says that nothing
was searched and why. The launcher hands the switch on from its own
environment, as it does the profile folder.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Looking for the light passes by the places their tables bind is now
opt-in (VICTORY_AMBIENT_SHAPE=1). Checked against a title profile's
names, the rule gave the radiance and air parts to programs the profile
does not name in every one of 48 checks and found none of the named
ones, so without a profile the stand-in stays off rather than run on
the wrong passes.

The reflections' 10 s line now says how many miss dispatches read the
depth kept and why the others did not: kept at another size (with the
two sizes), kept too long ago, or the kept depth switched off. A run
at full scene size showed it read by all but the first, which rules it
out as the cause of the faults seen there.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The frames DLSS frame generation reports as shown include each
present's own frame (two a present at 2x). The counter added all of
them to the rendered rate and showed about 71 for 24 rendered and 48
shown. It now takes the generated ones as the frames shown past one a
present while generation is on, and reads 47 for 23 rendered.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Without the title profile the light estimate cannot find the game's
light passes, so the game's own light runs with nothing to stop its
rays and lit rooms and places flood with white glare. The launcher's
hints, the Recommended note, the Play dialog and both readmes said
rooms are darker; they now say what is seen and that the profile
fixes it.

DLAA at 1440p shows white blocks low in the picture, on lit floors,
most of them from the reflections' stand-in. The DLSS row names the
fault and the launcher readme points to Quality until it is fixed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The warning at 5 s and 15 s said pipeline waits "have held one frame
this long". The total adds up every wait charged to the frame from all
the threads that wait, plus what threads waiting now have set aside, so
it runs ahead of how long the frame took: a play session showed the 5 s
line where the longest frame was 368 ms. The line now says it is a sum
and points to the frame-time lines for how long frames took.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This release is named 0.8.3.5. As with 0.8.3.3, the crates keep three
parts (0.8.3) and the launcher carries the release's four; the readmes
and docs say 0.8.3.5 where they said 0.8.4. Only the program's own
crates change in the lock file.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Loading a profile refused it whole when its pipeline list was missing or
did not hash, for example after a damaged download. The list only lets a
first start prepare the game's pipelines ahead, so the profile's
textures, output size and frame-rate patches were lost for an optional
file.

An optional table whose file is missing or does not hash is now left out
at install with a warning, and the profile is installed. Required tables
still refuse it. A table file that does not hash now says it is damaged
or from another download, and to unpack the profile's archive again. The
launcher names a missing pipeline list on its own, with what it costs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The program hashes the launcher passed when no title profile was loaded
are gone: which programs to leave out is the title profile's leave_out
role, and a LEAVE_OUT line in Further switches still does it by hand.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-03 14:19:56 +00:00
github manually merged commit 5e44415b46 into main 2026-12-03 14:27:47 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.