main #4

Open
skyflare wants to merge 483 commits from TrustNo1/Darner:Main into dlss5/add
Owner

Contributor role (optional)

  • Fluxer ID:

What it changes

How it was tested

  • Tested revision:
  • Commands and results:
  • Gameplay, when relevant: GPU, Series X or S profile, resolution, DLSS, frame generation, ray tracing.
  • Before and after, when relevant: compare the same scene, settings and hardware.
  • Shader wave sizes tested, when relevant: 32 and/or 64 lanes.
  • Coverage gaps:

Checklist

  • This PR contains one change based on main.
  • The diff follows docs/asset-policy.md.
  • I recorded this PR's dependencies below.
    • Depends on: none

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches.
  • Related PRs:
<!-- Thanks for the pull request. Please label it (pr-fix, pr-feature, pr-performance, pr-diagnostics, pr-refactor, pr-docs or pr-tests, plus the area labels), or put the label in the title, like [pr-fix]. --> <!-- Use Fixes #N for a complete fix or Refs #N for a partial change. --> ## Contributor role (optional) - Fluxer ID: <!-- Type !myid in the Darner Fluxer server and paste the number here. When this is merged, you get the Contributor role there. --> ## What it changes <!-- What was wrong, and what this does about it. --> ## How it was tested - Tested revision: - Commands and results: - Gameplay, when relevant: GPU, Series X or S profile, resolution, DLSS, frame generation, ray tracing. - Before and after, when relevant: compare the same scene, settings and hardware. - Shader wave sizes tested, when relevant: 32 and/or 64 lanes. - Coverage gaps: ## Checklist - [ ] This PR contains one change based on `main`. - [ ] The diff follows `docs/asset-policy.md`. - [ ] I recorded this PR's dependencies below. - Depends on: none <!-- Replace the indented item above with one item per prerequisite using "- Depends on #N (reason)". Keep this PR in draft while any prerequisite is unmerged. Add the same PRs in CodeFloe's Dependencies panel if you can edit it. --> <!-- Address review feedback in this PR. Open a new PR for follow-up work. --> ## Checked for overlap - [ ] I searched the open pull requests for the same issue and for the files this touches. - Related PRs: <!-- List #N or write "none found". -->
Measured on an RTX 2080 Ti (Series S, 1440p DLSS Performance, hardware RT,
house save): 18.57 -> 21.01 fps, GPU 51.2 -> 46.4 ms a frame.

- DARNER_LEGACY_FINITE=31 (new): a legacy multiply is plain when its factors
  come from constant buffers, textures, buffers, or sums and products of
  these (taken as finite). 0 proves each one as before.
- DARNER_MOVREL_WATERFALL (new, on unless 0): waterfall loops over an M0
  register index run once per lane.
- DARNER_LICM_CBUF=1 (new): constant-buffer rows at constant indices leave
  loops from conditional blocks too.
- DARNER_SHADER_OPT default 511: the WIDE pass runs too.
- DARNER_SHADER_LOOP_LIMIT_OF (new): loop limits of single programs, by the
  hash a run's log names them by, keyed apart in the shader cache; default
  7b2c3c1db2298f44:1024 (CS_ShadowTileBalanceRTCost), empty for none.
- CS_ShadowRenderTiled and CS_GenerateShadowMasks_HairOnly unfolded by
  default on 32-lane hosts, like lightAtlas.

LEGACY_FINITE, MOVREL_WATERFALL and LICM_CBUF are in the shader cache key.
Where one factor was known finite, the zero test was of that factor alone
(`a == 0 ? 0 : a * b`). Mesa's NIR folds only `min(|a|,|b|) == 0 ? 0 : a * b`
into its fmulz (RDNA's `v_mul_dx9_zero_f32`), so the other form stayed a
compare and a select after the multiply. The lowering now always uses the
min form (dx.op FAbs 6 and FMin 36, both already emitted here). The zero is
+0 as the console's in every case; before, the product of a zero and a
finite value could be -0. New test legacy_min_form_is_the_legacy_product
covers 0, -0, inf, NaN and denormals against the D3D9 rule.

Port of lobomfz/VIctory-xmem PR #257 (author Jojonobody2), commit 47f5223c3.
The author's numbers (RX 7900 XTX, RADV shader stats, instructions without
s_delay_alu), theirs, not measured here: 13,918 -> 13,626; 35,684 -> 35,217;
3,845 -> 3,760 in three programs. The gain on Windows AMD-proprietary and
NVIDIA drivers is unverified.

Shader cache: this base has no TRANSLATOR_VERSION; the source hash is part
of translation_fingerprint, so every cached shader translates again.

Tests: darner-shader --lib, skipping the hanging wave64 pair test and the
2^32-float oracle64::legacy_mul_forms_are_exact (debug-slow, not touched):
546 passed, 4 failed (the 4 known on trustno1/main), 15 ignored.

Co-authored-by: Jojonobody2 <[email protected]>

This change was made with AI assistance (Claude Code).
# Conflicts:
#	crates/darner-gpu/src/shader_cache.rs
The previous commit made the legacy multiply test min(|a|, |b|) == 0 for
every factor pair (from lobomfz/VIctory-xmem PR #257, by Jojonobody2). It
now does so only with DARNER_LEGACY_MIN=1; off, the translation is what
trustno1/main emits (a known finite factor tested alone, same zero sign).
The code is only reached on AMD RDNA hosts (or DARNER_HOST_RDNA=1).

The switch is a Rewrite of emit::cost, so build.rs lists it in
DARNER_SHADER_SWITCHES and its value joins the translation fingerprint and
the shader cache key. Documented in cost.rs, README and docs/findings.md.
New test legacy_min_off_keeps_the_one_factor_test covers the choice
(legacy_zero_test), not the emitted module.

This change was made with AI assistance (Claude Code).
Without the ray-tracing structures the reflections' miss program writes the
texels of the rays the screen-space passes resolve nothing for. The opaque
layer's dispatches are left out (DARNER_RAYMISS_KEEP unset), so those texels
keep earlier frames' or other targets' bytes, fed back through the half-size
image. With the switch, the image a left-out dispatch would have written is
cleared to zero with the existing UAV clear, in the direct and the indirect
dispatch path. May be what #74 shows on chrome and paint (unconfirmed).

Port of the reflection part of Leonard Wernke's fork commit accfd9fe0 (old
PR #3631, RAYMISS_ZERO, on by default there); diego's ab37f19a7 (old PR #3411,
RAYMISS_CLEAR) is the same fix with its own pass. No shader change.

Co-authored-by: Leonard Wernke <[email protected]>
Co-authored-by: diego <[email protected]>

This change was made with AI assistance (Claude Code).
The row and the findings entry for the commit before (port of fork commits by Leonard Wernke, accfd9fe0, and diego, ab37f19a7).

This change was made with AI assistance (Claude Code).
With the reflection stand-in on, every dispatch of the miss program for opaque
and transparent surfaces is followed by the existing depth-less pass
(ambient::without_depth), which gives every texel of the rays' image the
light around, without a direction; and the opaque layer's program runs.
Left out, the tiles only it writes kept earlier frames' bytes, a shimmer that
moves with the camera on glossy surfaces (advxrsary's capture).

Port of the fill in advxrsary's fork commit dd8979582 (old PR #4347; on by
default there). Its cap on a window's share of the room's light in the
diffuse stand-in is not ported. No shader change of the title.

Co-authored-by: advxrsary <[email protected]>

This change was made with AI assistance (Claude Code).
The row and the findings entry for the commit before (port of the fill in advxrsary's fork commit dd8979582).

This change was made with AI assistance (Claude Code).
The air pass after the title's local-light inscattering volume caps the near
slices at the room's light alone. In a dark interior whose room mean a menu,
a lamp or the outdoors raised, the near air glowed up to it: a milky green
veil over dark rooms, garages and the wardrobe and mod-shop menus with ray
tracing off (old GitHub issue #1395). With the switch the near cap is the
lesser of the room's light and the surface's in that direction; towards a
bright window it still rises with distance. A define of our air pass, chosen
when the passes are made; the title's shaders and the shader cache key are
unchanged.

Port of dheerajc8073's fork commit 23e8243c3 (old GitHub #1395), where it
was unconditional; their test clear_air_cap_bounds_dark_interiors is kept.

Co-authored-by: dheerajc8073 <[email protected]>

This change was made with AI assistance (Claude Code).
The row and the findings entry for the commit before (port of dheerajc8073's fork commit 23e8243c3, old GitHub #1395).

This change was made with AI assistance (Claude Code).
This change was made with AI assistance (Claude Code).
The frame generation loading reserve already includes copies of title buffers. Apply both limits to the original target so the texture park reserves that room once and still protects future copies after the loading reserve settles.
Driving with hardware RT dropped to 12-17 fps (RTX 5090, Series X, 4K
DLSS Quality) and recovered within seconds of stopping; walking was fine
and RT off was fine. BLAS prep took ~200 ms of CPU per second while
driving. The new prep timers put it in reading title memory: decoding
a meshlet index buffer took ~240 us and quant24 vertices ~10x what the
decode itself costs, because `title_readable` ran `watch::materialize`,
which makes every view the runtime keeps in its books alone
(DARNER_SOFT_VIEWS) a mapping of the host's: 1,400-2,400 every 10 s
while driving ("asked for by the GPU side"), none with RT off. One of
them ran on the title's thread for every geometry with a transform
(the deferred-build transform copy, 6a5f7ee).

- DARNER_HW_RT_SOFT_READS (on unless 0): transforms, quant24 vertices,
  meshlet indices and the plain index range scan are copied out through
  `host::read_into`, as the GPU side reads title memory; the old path
  stays as the fallback. A test checks both decodes give the same bytes.
- DARNER_HW_RT_BLAS_HEAPS (on unless 0): BLAS buffers up to 16 MB are
  placed in 64 MB heaps (2.6 us to make vs 240 us committed on the same
  card); their units go back when the D3D12 object goes (a private-data
  object the runtime releases), so they live as long as before.
- DARNER_HW_RT_MESHLET_ARENA (on unless 0): decoded meshlet index
  buffers go into 32 MB mapped upload blocks in 4 KiB units, charged
  what they take (the cache held ~4,000 at 64 KiB each and thrashed),
  units reused after the entry's retirement.
- BLAS budget: on cards with 28 GB or more, a tenth of the budget up
  to 4 GB (1.5 GB filled with 6,064 evictions in 8 minutes on 32 GB);
  DARNER_HW_RT_BLAS_BUDGET_MB sets it.
- Report lines: BLAS buffer making, BLAS prep split, meshlet cache
  misses and their time, the decoded meshlet blocks.

Same route, same settings: 12.5-17.5 fps driving before the reads
change, 20-35 after; BLAS prep ~200 -> ~25 ms per second; meshlet miss
240 -> 18 us; host views asked for by the GPU side 1,400-2,400 -> 0
per 10 s.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ported from VIctory-xmem e5a00326, adapted to Darner's ambient.rs/draw.rs.

Upstream-Repository: https://github.com/lobomfz/VIctory-xmem
Upstream-Commit: e5a00326a064326bfb3bd0979fd5b02419eef2ce
With FG TYPE FSR 4 and HDR on, the swap chain is R10G10B10A2 and fsr.rs
kept ordinary presents ("only the donor's SDR swap-chain format is
supported"). AMD's FSR Frame Generation 4.0.2 documentation lists no such
limit, its swap chain takes the PQ transfer function from SetColorSpace1,
and the monitor's luminance range when the app sets no HDR metadata
(FrameInterpolationSwapchainDX12.cpp in SDK v2.4.0, the 3.1 swap chain).

- crates/darner-gpu/src/streamline/fsr.rs: the check takes HDR10
  (R10G10B10A2_UNORM) besides SDR (R8G8B8A8_UNORM). Other formats, such
  as a float (scRGB) back buffer, keep ordinary presents as before: not
  tested. FG_HIGH_DYNAMIC_RANGE stays as it was: only for a float back
  buffer.

Seen on an RX 9070 with HDR on and DARNER_RELAY=2 (2026-12-03): swap-chain
provider 4.0.0 and generator 4.0.2 confirmed, context made with format=24,
"212 presents with it on, 0 off" after the first upscalings. The picture is
as bright with frame generation on as with it off.
Both are read in crates/darner-gpu/src/host/hdr.rs and were not documented.
The max nits is the peak the game is given (display.rs) and tunes its HDR
picture to; paper white is the brightness of the SDR parts on an HDR output.
VirtualQuery walks the page tables to the end of the region under the
process's address-space lock, which in the title's big pools takes
milliseconds a call. The structure rehydrates (read_geometries and the
decoders, on title threads under XboxBvhBuilder) kept two title threads in
it for whole seconds, and the submitting thread's write-watch asking
waited for the lock behind them: in an xperf trace (RTX 4080, hardware
RT) it sat in WrPushLock, readied from MiUnlockVadShared by those threads,
up to 1.3 s a frame. readable_len now reads one byte of each 4 KiB page
with crate::safecopy (the kernel's read with DARNER_SAFE_COPY=0); a range
past the end of all addresses is unreadable, as VirtualQuery said.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
`darner rig`, the F1 auto-detect and play-rig.ps1 took hardware-accelerated
GPU scheduling as on only with the registry's HwSchMode = 2, and as off
without the value. A Windows 11 PC (build 26300, RTX 4070 Ti, driver 621.01)
has no such value and has scheduling on (the kernel: supported 1, enabled 1,
enabled by default 0): the check said "off", asked for a fix, and the picks
left DLSS frame generation off.

rig.rs now asks the kernel for the card the game runs on
(D3DKMT_WDDM_2_7_CAPS, HwSchEnabled), and reads the registry only where
that cannot be asked. Not under Wine: its gdi32 has no
D3DKMTQueryAdapterInfo before Wine 9.

play-rig.ps1 takes no value on Windows 11 as on, the rule
play-nvidia-framegen.ps1 has. That is a guess, not a reading: the game
asks Windows itself at its start.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Both are read in crates/darner-gpu/src/host/hdr.rs and were not documented.
The max nits is the peak the game is given (display.rs) and tunes its HDR
picture to; paper white is the brightness of the SDR parts on an HDR output.
Play-MyRig.cmd (scripts\play-rig.ps1) starts `darner.exe play` with its output
piped and read line by line (`& $runner @playArgs 2>&1 | ForEach-Object`); its
input is still the console. A question printed without a new line never reaches
the screen there, and the start waits for an answer nobody sees. Seen on
2026-12-03 with a build of 1a5286a78 on an RTX 5080: the start stopped with
nothing more on the screen. By the code, it waited at the first-start settings
offer (c9925327a), the hang 85c11db93 describes; since then that offer gives up
after 20 s, still unseen. The DLSS, FSR and MFG Unlocker offers and the
Direct3D 12 runtime question read their answer the same way, with no time limit.

can_ask(): stdin and stdout both a console. Those five questions use it. Not
asked, each takes the path it already takes when stdin is not a console: the
settings offer stays due for a start from a console (F1 AUTO-DETECT and
`darner rig --write` apply the picks at any time), DLSS and FSR say how to get
their files, MFG Unlocker stays off, and the Direct3D 12 runtime is fetched as for
any start without a console. hold_window is left as it is: only a start in a
console of its own reaches it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HXFUNBwhfGAyZcqq5dLciz
A test of PR #76 on an RTX 5090 showed dark speckled blotches on roads at
sunset with 31 that were gone with 0. It acts only where legacy products
are guarded (AMD RDNA cards, or DARNER_HOST_RDNA=1), so NVIDIA cards lose
nothing; the other five levers of #76 stay on.
# Conflicts:
#	crates/darner-gpu/src/hwrt.rs
With DARNER_RELAY=0 (the default on AMD cards) the line of submissions does not start, so the states darner tracks for depth and motion at the present are not known and FSR frame generation stayed off. The PC upscaler now snapshots both where the title's upscaling reads them; the present list keeps the snapshot until it has run.

RX 9070, FG type fsr4, DARNER_RELAY=0, frame generation 2x: 105-110 presents a 10 s with a generated frame, 0 prepare dispatches failed (was 0 with it on).
The warning now carries the provider ID and version FidelityFX reported
(or none), so a player's log shows what answered instead (an RX 9070 fell
back to ordinary presents with 4.1.2 upscaling working).
# Conflicts:
#	crates/darner-gpu/src/streamline/fsr.rs
The line's "committed" is the process's private bytes, and the compile
memory line's "left to commit" counts what an expandable page file can
still grow to: neither says whether a PC needs its page file. Each second
the line now also says the PC's commit charge, its limit, the most since
Windows started, and how far each passes the RAM (GetPerformanceInfo).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
With the monitor on the CPU's graphics (or a laptop's hybrid graphics) the
card we draw on has no output, so HDR stayed off with "the display could not
be asked" (an RTX 3070 Ti beside a Ryzen 7950X). The displays of every card
are asked then, one in HDR first. The F1 HDR row uses the same query.
DARNER_LDS_ISOLATED_ADD is off by default, so the test saw the wave64 form
and failed. A per-thread test override, as TEST_HOST_WAVE.
The AMD crash reports on v2026.12.03.01 that named a pipeline (RX 9060 XT,
driver 26.10.44, and others) faulted in AMD's shader compiler building
vertex 4afb138ba2e54313 with pixel cad3ecfdcdcf2a7d
(BreakableGlass_AlphaPrepass) at start, with the loss guard on or off.
Both shaders translate byte for byte as in .02.02. darner play adds
cad3ecfdcdcf2a7d to DARNER_LEAVE_OUT on AMD cards;
DARNER_AMD_GLASS_PREPASS=1 keeps it.
DARNER_FULLSCREEN makes the window borderless at its creation, before the
title shows it, so the style saved to go back to had no WS_VISIBLE; Alt+Enter
then hid the window (white area, gone from the taskbar, the game running).
Going back keeps the window's visibility as it is now.
Issue #121 (RTX 4070 Ti, 2K output (the reporter's wording), Series X,
DLSS Performance, frame generation x3): median 21.5 fps with AUTO vs
23.5 fps with OFF, about 2 fps (9 %). The runs were not identical (the
reporter waited a minute at a spot in some), so the README and findings
hedge the size as rough; the F1 help has no number. Text only; no
behaviour or default change.

This change was made with AI assistance (Claude Code).
FSR 3 frame generation needs DLSS for the upscaling, so it never ran on AMD
cards (RX 9070 XT, 2026-12-03: 'FSR 3 frame generation stays off'). AUTO
became FSR 4 only with no type in the settings file, and F1 saves AUTO, so
after a save AMD cards got no frame generation. Now AUTO or FSR 3, saved or
not, is FSR 4 on those cards, with a console note for FSR 3. F1's text says
FSR 3 needs DLSS.
LoadLibraryExW of the game's code copy failed with OS error 4551 under
Windows' Smart App Control (2026-12-03, also on a first start with an empty
darner folder). The error now says an integrity policy refused an unsigned
file, which darner writes itself and cannot sign.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Both launchers set DARNER_POOL_SMALL=auto: on with a discrete NVIDIA card,
where small textures in blocks of their own took about 2.4 GB less on the
card at the Series S bench and kept twice as many textures while driving;
other cards keep 64 KiB steps until tested. 1 still turns it on with any
card, 0 off. The decision is logged once.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The newest play log, crashes.log and the newest crash log go into
reports\darner-logs-<date>-<time>.zip (deflate 9), with the user's folder
and name hidden in the copies; File Explorer opens on the zip. The zip
writer of save_share moves to zip.rs unchanged. README names the zip first.

Port of our fork commit 3a0f490a3 (pr4-log-zip); author credited.

This change was made with AI assistance (Claude Code).
DARNER_PRELOAD_SAVE_EVERY=<seconds, at least 30>, off by default, makes
into_library save the host pipeline library every that many seconds via
known::keep_library, so a stopped preload keeps what it built.

This change was made with AI assistance (Claude Code).
Adds docs/ab-testing.md and links it from the README: run order, warm-up,
one change per arm, which log lines to read (the 5-second fps line and the
frame times line), how to compare against the noise floor, what to report
and common traps. Docs only.

This change was made with AI assistance (Claude Code).
With the switch on, the start's preload mark is warmed/shared-<hash of
translator id, card, driver> instead of one by this darner.exe's bytes, so a
new build or folder on the same translator does not open the window again.
Off (default) is unchanged. The other warm marks keep the exe path, because
NVIDIA keeps compiled pipelines per program path. Adds
darner_shader::emit::host::adapter_driver().

This change was made with AI assistance (Claude Code).
Add a standing-still versus moving section (input record/replay, DARNER_KEYS
from world), point DARNER_BENCH_CSV at the column list in bench.rs and name
the columns that matter, fix the 1 % low as 1000 / p99, A B C C B A for three
arms, same overlays and capture tools in every arm, and a bench-remote note.
Fix the README row that still described DARNER_BENCH_CSV as four columns.

This change was made with AI assistance (Claude Code).
adapter_driver's comment now names Host::driver and the warm marks in
pipeline/known.rs (HostPipelines does not exist). README and findings say
that a new darner.exe finding the shared mark skips the whole preload and
gets only the shared pipeline library; NVIDIA's per-program driver cache
means the other pipelines are built in game on first use (not measured).

shared_marks no longer falls back to the environment: prepare clears every
DARNER_* variable not in the settings, so an environment-only value made
the window mark shared while warm::shared_on read false afterwards.

This change was made with AI assistance (Claude Code).
A stray backspace byte had replaced the backslash and the b.

This change was made with AI assistance (Claude Code).
A failed prepare left the snapshot unkept while the bar detector had already
recorded copies from it, so a later upscale could take its slot before the
list ran (tyr0nsur's check on #139, RTX 4060: the bars read the later frame).
With ray tracing the device was lost (0x887A0005) once the driver's 512 MiB
shader heap filled (#4, #100); testers stopped it with 0x001ABC0F at 1-2 GiB
set in Profile Inspector. This writes the same setting through NVAPI's driver
settings into the profile "Darner (shader heap)" for darner.exe and the
running exe's name (--exe adds more), --status shows what applies, --remove
deletes the profile. Writing needs an administrator prompt.
# Conflicts:
#	apps/darner/src/play.rs
The 'N fps' line is printed about every 5 s but its value covers only the
last ~1 s counting interval; report the median and the line count, and take
whole-window average fps and p99 from the DARNER_BENCH_CSV frame intervals.
The average of the per-second p99s is lower than the whole-window p99.

Reported by akimfomin on #152; figures from akimfomin's run.

This change was made with AI assistance (Claude Code).
Issue forms (crash, graphics, performance): required known-issues and
one-problem checkboxes, a RAY TRACING dropdown, required settings with
hand-set DARNER_ lines, driver version number, "Log files attached" with the
DARNER_HOME folders and a note that attached files have so far been removed
from the page. Release field: the F3 BUILD row, not "latest".

PR template: the problem on main, gates run, A/B result and "changes a
default", hardware dependence, "replaces or overlaps", and a first checklist
item that the change was run in the game. CONTRIBUTING: say what was run, A/B
for a change of a default, push to the branch instead of opening a new pull
request; drop the CI line (there is no CI), Discussions, /claim and the label
link (the host has no labels yet).

This change was made with AI assistance (Claude Code).
Before comparing p99s, check each CSV is complete over the window: rows
dropped when the writer falls behind show as rows_lost and a gap in
host_row, and a cut-off tail leaves host_row consecutive, so only the last
timestamp shows it. Compare A and B over the same interval, counting only
intervals with both ends inside it; report the comparison as incomplete,
or use the shorter window for both, if a capture ends early.

Suggested by tyr0nsur on #152; the two checks were tried by akimfomin.

This change was made with AI assistance (Claude Code).
The hot file's branch read `auto` as on with any card. Both now go through one function (0 off, auto or an empty value by the card, anything else on), with a test for both card cases. DARNER_AB stays a forced on/off.

The texts say which textures are small: those whose most detailed level is 64 KiB or less; with its other levels a texture can be larger.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
A play log over 200 MB was left out and the zip held only README.txt,
while make() still reported the names it was given. Now such a log goes
in as its last 64 MB (from a whole line on) with a note in README.txt,
and write() returns the names it really put in the zip.

Reported by tyr0nsur on PR #146.

This change was made with AI assistance (Claude Code).
The first files of the title folder hold no shaders, and precompile printed
its progress line only at every 1000th shader, so the preload window showed
"reading" for 15 to 20 s with nothing moving. Print the same line once per
file before it is read; preload_ui already reads it as step 1, file f of F.
Log/progress output only, no new switch.

This change was made with AI assistance (Claude Code).
Port of foxhound pull request 504 (readmet3xt-lab/foxhound, "Mirror byte-written
descriptors that cross a watch-page boundary", GPL-3.0).

The written ranges were cut at watch pages, and a record that straddled a
part's start was left to the part holding its first byte. When only the
second page was written, that part did not exist and the record was never
mirrored. The parts are now whole records (`sync_record_parts`): runs within
one page, a record across a page boundary in a part of its own, overlapping
written ranges deduplicated, each record in exactly one part.

Tests: `dirty_parts_cover_only_touched_records_once` (no GPU), and
`dirty_sampler_across_two_watch_pages_is_mirrored`, which needs a hardware
heap and otherwise prints "skipped: no hardware heap here" and returns.
A record that crosses into the page is the only part, once, for 16- and
32-byte records (review on #163).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The per-poll capture check released the capture with no reason in the log.
Log the window focus, menu, map and user state whenever the result flips.
The opaque layer's miss program is left out for the sky light it gives each
ray (white grain on floors). With the reflection stand-in on
(DARNER_AMBIENT_SPECULAR) that light is replaced by the estimate, while
leaving the program out keeps earlier frames' bytes: colour noise on a convex
mirror, glowing patches on a cell floor (BaRian29's capture). With the switch
and the stand-in on, it runs. miss_left_out is a pure function with a test.

Port of BaRian29's fork commit 5c212d21b (old PR #3580; on whenever the
stand-in was there). The stand-in check is ambient::specular_on (new) and
ambient::on, since DARNER_AMBIENT alone makes the latter true. No shader change.

Co-authored-by: BaRian29 <[email protected]>

This change was made with AI assistance (Claude Code).
The row and the findings entry for the commit before (port of BaRian29's fork commit 5c212d21b).

This change was made with AI assistance (Claude Code).
Move the DARNER_WARM_SHARED preload-mark paragraph out from before the
unrelated DARNER_KEY_STICK_MENU bullet into its own section, and revert
warm::shared_on to its previous (private) visibility, as nothing outside
the module uses it.

This change was made with AI assistance (Claude Code).
The only evidence is one uneven report (#121), so the F1 help line and the
README say it may or can cost frame rate, not that it does.

This change was made with AI assistance (Claude Code).
A page for players who have never built Darner: install the tools with
winget, fetch the pull request's verified commit through refs/pull/<N>/head,
build and play it with scripts\play-nvidia.ps1 and the change's switch in
-More, and report. CONTRIBUTING.md points to it.

This change was made with AI assistance (Claude Code).
DARNER_RAM_TRIM=soft made its list of ranges again as soon as the last one
was gone through. A list with nothing to take (no range, or only ranges of
classes that are shut or left alone) is gone through in the frame after it
was made, so the walk of the address space that makes a list (VirtualQuery
over some 240,000 regions in play, half a second) ran back to back: 20,589 ms
in 600 frames with 0 MB taken out (v2026.12.03.01, RTX 4050 Laptop 6 GB,
32 GB PC, frame generation on).

A list is now made again when it is a minute old, and sooner (five seconds
after it was made) only when it is gone through and gave something
(list_due). The same scene on f3840d7 with the change: 0 to 648 ms in 600
frames.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Play now, Quit or a failed preload process left no trace, so the next start
opened the window again with no hint of how far the last one got. With the
switch on, such a stop writes warmed/<hash>.partial (temp file, then rename):
step, count done, count of the step, and whether the last line (library
saved) was seen. The next start's window says how many files or pipelines
were left; a record that saw the library saved writes the mark and opens no
window. No record, or the switch off: as before.

Refs #128

This change was made with AI assistance (Claude Code).
A member's screenshot showed "0 of 822 pipelines (0 %)" with no sign of
life in step 3 ("Storing them for loading").

- warm: the "N of M in the library" line is printed by time (every 2 s)
  or every hundredth of the list, whichever comes first, in both
  into_library and fill_library (was every 500 and 250 pipelines), plus
  "opening the pipeline library" and "saving the pipeline library" lines.
- preload window: the time spent in the step; a line naming the activity
  (opening the saved library, making pipelines, saving it, a save skipped
  because another Darner held the library's writer lock); a "still
  working" note after 60 s with no new count while compile memory lines
  show the compiles go on. The window now reads the preload's stderr too.
- The step-3 hint said Play now keeps what is built; step 3's pipelines
  are written only when it ends (unless DARNER_PRELOAD_SAVE_EVERY).
- The preload's log (its lines and its tracing) goes to
  <home>\logs\darner-preload-<time>-<pid>.log (five newest kept) instead
  of nowhere; the path is in the window and printed when it ends.

New strings are in locales/en.json only; zh-CN falls back to English.

This change was made with AI assistance (Claude Code).
With DARNER_NO_MIRROR=1 a copy no shader writes keeps no mirror: a refresh
only notes what goes up, and the send reads title memory. A page the copy
took before and the title wrote since reaches take() with known = true,
and DARNER_TAKE_BLOCKS (on) sent it to take_landed, which compares title
memory with the mirror 4 KiB at a time and sends only the blocks that
differ. The mirror let go holds what it held when it was let go (a file's
view, DARNER_CARD_CPU_FILE, on in darner.exe) or bytes no longer known
(private pages discarded, DARNER_CARD_CPU_HEAP), not what the card's side
holds: a block the title wrote back to those bytes was not sent, and the
card's side kept what an earlier send put there. The compare also wrote
title memory into the mirror let go, bringing its pages back.

take() looks at blocks (and at landings) only for a copy with its mirror;
take_landed returns to copy() for one without. Copies with their mirror,
and every copy without DARNER_NO_MIRROR, are taken as before.

Test: a_copy_without_its_mirror_is_not_compared_block_by_block.
Review fixes for PR #146 (second-opinion review):
- F1 now shows how zipping went (zip made, no log, or why it failed)
  instead of always saying File Explorer opens; Explorer opens only on success.
- The privacy text says "the user folder in paths" and that 8.3 short paths
  and the user name elsewhere are not replaced (README, module docs, zip README.txt).
- In the game a log is tailed at 64 MiB (MOST_IN_GAME) so the zip is not built
  from a near-200 MB log in the game's memory; the command keeps its cap.

This change was made with AI assistance (Claude Code).
The title waits at its start screen for A (Enter on the keyboard) before it loads
anything, so a start nobody sits at needs a scripted key (DARNER_KEYS, DARNER_KEYS_FILE)
timed by an outside driver. With DARNER_SKIP_START=1 the pad the title sees gets A for
0.2 s at the end of every 2 s, from the first poll until the world is first shown
(darner_gpu::world_since), and not while the F1 menu is open. Off unless set. The press
goes on the pad overlay, so it reaches the one pad, the first host pad or the keyboard's
stand-in alike. README row, a line in docs/troubleshooting.md, and the switch is one of
the player's own in darner-settings.txt.
Pasted as separate lines, PowerShell ran every line even after git clone
or git checkout failed, so the downloader ran on the wrong commit (review
on #203). Step 2 is now one block that checks each git command, enters the
folder with -ErrorAction Stop and compares HEAD with the verified commit
before anything else runs. Tried in Windows PowerShell 5.1 and PowerShell 7
against a local repository with a pull ref: a valid commit, an unknown
commit, an existing folder and an existing clone.

The Build Tools line also passes --norestart, so the installer never asks
for a restart halfway through the first-time setup.

This change was made with AI assistance (Claude Code).
play-nvidia.ps1 uses DARNER_HOME, which defaults to the same folder as the
released darner.exe, so a PR build replaced the player's pipeline library
and settings (review on #203). Step 3 now sets DARNER_HOME to a test-home
folder in the clone before the play line, says the first start there
compiles shaders, and points to the log there. It also says the default
fast build is not fully optimised: use -Build release on both runs for an
fps comparison, or say both used the same build.

This change was made with AI assistance (Claude Code).
Adds preload.activity.*, preload.log, preload.play_now_description_store
and preload.progress.step_time to locales/zh-CN.json.

This change was made with AI assistance (Claude Code).
refresh_tests::submission took one_submission's lock and then
watch::one_view_test's (the second since 6ecada3), while six tests of the
same module take one_view_test's first and one_submission's second. A test
that calls submission holding neither, beside one of those six, could hold
one lock each and wait for the other; every other test that takes either
lock then waited behind them and `cargo test` never ended.

submission takes one_view_test's first, as those tests do. Both are held
over the same lines as before.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Diagnostics builds only: time in State::tables, RecordHash building, the
fill loop, fresh_tables hits/misses, views created against make_listed
hits and root one-slot tables, logged as a "desc tables:" line with the
share of list-call time. No behaviour change.

This change was made with AI assistance (Claude Code).
This change was made with AI assistance (Claude Code).
Adapt the locally saved VIctory-NVIDIA follow-up from December 1, 2026 (6cf5ea7). Use the same process-wide switch when the staging cache creates and rebuilds a view.

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg
Adapt locally saved VIctory-NVIDIA work from December 1, 2026 (0571ced, f1559d7). Read the pending snapshot when Windows blocks its promotion and leave it in place for a later retry.

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg

Co-authored-by: Stas Darevskiy <[email protected]>
Adapt locally saved VIctory-NVIDIA work from December 1, 2026 (a225614, cab8245). Keep the legacy factor for files with no F1 selection and apply explicit --set overrides after the saved choice.

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg

Co-authored-by: t91a60 <[email protected]>
Adapt locally saved VIctory-NVIDIA work from December 1, 2026 (737d443). After cleanup and reporting, return the status already captured from the Darner process.

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg
Apply the same precedence rule in the PowerShell entry point. Keep legacy-only factors and later -More overrides. Based on the tested suggestion in TrustNo1/Darner#233 (comment).

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg

Co-authored-by: superhero-520 <[email protected]>
Adapt locally saved VIctory-NVIDIA work from December 1, 2026 (060d3d3). Keep waiting for this launch's warm-up and F1 restarts while ignoring older processes using the same executable.

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg
Adapt locally saved VIctory-NVIDIA work from December 1, 2026 (7639c8c). Apply literal-path handling when checking the Darner binary and entering the checkout.

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg
Adapt locally saved VIctory-NVIDIA work from December 1, 2026 (e54151a). Read BOM-less UTF-8 first and keep the legacy shell-encoding fallback for invalid UTF-8.

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg
The preload log only held the child's tracing lines and its stdout, so a
failure printed with `Error: ...` / `Caused by:` on stderr never reached the
attachment. The stderr reader now also appends lines the child's logger did not
write (no timestamp first, not a `[log]` note) to the file, once; the console
echo is unchanged. Reported by akimfomin on #215.

This change was made with AI assistance (Claude Code).
Adapt the launcher part of locally saved VIctory-NVIDIA work from December 1, 2026 (5e2874e). Include the PowerShell process ID, as the Rust launcher already does.

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg
Keep the filename examples in sync with the process-specific launcher logs.

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg
Adapt locally saved VIctory-NVIDIA work from December 1, 2026 (f017360). Skip waiting on the GPU and notifying DLSS and FSR while the existing resize retry gate is closed.

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg
Adapt locally saved VIctory-NVIDIA work from December 1, 2026 (c9e0b97). Cache successful gray texture creation, retry failed creation at a bounded rate per kind, and keep already initialized textures recognizable.

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg
Adapt locally saved VIctory-NVIDIA work from December 1, 2026 (bcebf7d). Use the same early-screen condition to select the queue and to exempt a pipeline from the slow limit.

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg
Adapt locally saved VIctory-NVIDIA work from December 1, 2026 (b97f584). If starting the dedicated decoder fails, fill the affected voice when it is enabled or advances its read cursor.

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg
Adapt locally saved VIctory-NVIDIA work from December 1, 2026 (5329ffd). A failed warning write must leave logging on its existing fallback instead of panicking in initialization.

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg
Adapt locally saved VIctory-NVIDIA work from December 1, 2026 (a32c1da). A failed spawn did not take a sample. Restore the previous interval marker only if the failed spawn still owns that claim.

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg
With DARNER_PRELOAD_RESUME on and a finished record, the start printed
"not fully preloaded" and then "the earlier preload had finished". Now the
warning is printed only with an unfinished record, no record, or the switch off.

This change was made with AI assistance (Claude Code).
Blob::read returns Some(Blob::None) for an empty pending file. Preserve the original promotion error in that case so load_cache can use its read-only fallback to the valid primary. Reuse the held-reader setup to cover the empty-file regression reported at TrustNo1/Darner#232 (comment).

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg

Co-authored-by: akimfomin <[email protected]>
The first-start offer of auto-detect's picks reads its answer on a thread and
gives up after 20 s (85c11db9). The thread stayed in read_line, so the first
line typed for the next question of the same start (NVIDIA files, AMD files,
MFG Unlocker, "press Enter to close") went to it and was thrown away; the
download questions then took the next empty line as yes.

Every question in play.rs now asks one helper: a read given up on is kept, and
the next question takes its line instead of starting a second read. A line
typed before the next question was shown is dropped.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Since 412a0ec a queue with one out-of-order entry is rotated whole on every drain, holding the shard's lock. Keep entries by submission number instead: a drain visits only what it releases, and entries behind a later one are still released when they may be.

The DARNER_RETIRE_ORDER_DIAG sample counted entries hidden behind the head of a queue, which cannot happen now, so it and its tests are removed.
`gpu_owned::tests::concurrent_faults_on_same_block_serialize_single_readback` failed in
199 of 200 runs of its module, for two reasons.

It sets `TEST_READBACKS` to zero, lets eight threads fault on one trapped block and asserts
that the count is one. The count is one static for every trapped block, and
`veh_read_fault_and_partial_write_zero_clobber`, which traps two blocks and so makes two
readbacks, runs beside it on another test thread: the count was two or three
(`left: 3, right: 1`, "one readback for the block, not eight"; 192 of the 200 runs). Both
tests now hold one lock, `ONE_TRAP_TEST`, for their whole length.

And its stand-in handler gives the block its protection back before the bytes go in, as
`read_back` does, so a thread that came to the block between the two read it with no
fault and not the pattern (`left: 7, right: 8`, "all eight threads read the card's
bytes"; 7 of the 200 runs, and 18 of 200 with the lock alone). The test now holds the
handler's turn until all eight threads have faulted, which is what its name says it is
about, and asserts that they did.

300 of 300 runs of the module pass.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
`host::refresh_tests::unchanged_ranges_are_known` asks the write watch (`ask_once`,
`ask_once_end`) with `one_submission`'s lock alone. The tests of `watch::` that ask hold
`watch::one_view_test`'s lock and not that one, and the asking is one for the process, so
the two ended each other's: `watch::ask_holds::asking_kept_fast_path_guards_ask_ahead_and_done`
failed in 28 of 60 runs of `watch::`'s tests beside this one (20 of them at
`assert!(asked(p, p + 2 * PAGE).is_some())`), and this test failed with "view false:
taken" in one whole run of the crate's tests. It was the only test of the crate that asks
without that lock.

It now asks under `one_view_test`'s lock instead. Every test that holds
`one_submission`'s holds that one too while it asks (`submission` and the six tests that
take both), so they are kept out as before, and holding one lock this test takes no part
in the order of the two.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
A translator change deleted pipelines/warm-done.txt (#128), though the marks
are named by the translated code, root signature and graphics state under a
fingerprint without the translator. With the switch (off by default) the file
stays: a pipeline whose translation changed has a new name and is made again,
one that did not is skipped and the driver's cache answers for it. Not used
with DARNER_WARM_SHARED=1, whose marks mean "stored in the library" that the
change deletes. Switch off: unchanged.

This change was made with AI assistance (Claude Code).
With the switch set, the pipelines slow-pipelines.txt has a time for go first, longest first (stable; unknown ones keep their order after them), in step 2 (inside the early group and inside the rest) and in the library step. The library step's fixed stripes (skip(t).step_by(threads)) become a queue of chunks taken by whichever thread is free, so the 1 to 2 minute tail should shrink (not measured). Off: the old order and stripes.

This change was made with AI assistance (Claude Code).
The window always passes --all (77k to 89k pipelines). With
DARNER_PRELOAD_EARLY_FIRST=1 (off by default) it passes --used when an early
list exists, so the game starts after the early/slow set (~7.5k pipelines) and
the rest is made on demand. Without a list, or with the switch off, it stays
--all. The decision is a pure function in the new preload_scope.rs, with tests.

This change was made with AI assistance (Claude Code).
CONTRIBUTING.md step 2 and a new AGENTS.md step say to comment on the
issue, or open a draft pull request with a WIP: title, before writing code.

This change was made with AI assistance (Claude Code).
Diagnostics builds only. A "desc fill split:" line next to "desc tables:":
time and calls inside the Create*View/CreateSampler calls, inside
CopyDescriptors/CopyDescriptorsSimple (calls and descriptors), in make_listed
lookups (and how many made a view), and the rest of the fill. Counted per
thread inside the fill and added to the counters once per fill.

DARNER_DIAG_SUBMIT_DELAY_US: spins that many microseconds once per shown
frame in queue::show_planes before present_placed; logs "diag: submit delay
N us per frame". Unset or 0: no effect.

This change was made with AI assistance (Claude Code).
Have wake_decoder report whether it woke a worker. Both command paths already have the current XMA instance, so use that instance for the fallback after releasing the voice slot. This avoids taking another XMA read guard in the command path. Based on TrustNo1/Darner#248 (comment).

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg

Co-authored-by: Jesper-Andersson <[email protected]>
Apply the literal path rule to Streamline, FidelityFX and frame-generation launcher build lookups. Cover the normal SDK discovery paths identified at TrustNo1/Darner#240 (comment).

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg

Co-authored-by: Jesper-Andersson <[email protected]>
An empty pending snapshot does not supersede a populated primary. Keep reading the primary while another writer holds the cache lock and skip replacing it after the lock becomes available. Reported and isolated at TrustNo1/Darner#232 (comment).

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg
check_for_update() ran in play::prepare before darner-settings.txt was read,
and looked only at the process environment. play passes the settings file's
switches to the title's process, not to itself, so DARNER_UPDATE_CHECK=0
written in the file (or given with --set) was ignored and the request went out.

The check now runs right after the settings file is read, and is off when
--set, the settings file or the environment says DARNER_UPDATE_CHECK=0, in
that order. Test: the_update_check_follows_the_settings_file_and_set.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Use the runner start time for observer process selection and log creation time for summary selection. This keeps a still-running previous session from affecting the watcher and history described in TrustNo1/Darner#239 (comment).

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg

Co-authored-by: Jesper-Andersson <[email protected]>
Port the two PS5 DualSense behaviours from lobomfz/VIctory-xmem#367 into
Darner on top of DARNER_DS_TRIGGERS=1:

- crates/darner-loader/src/vehicle_notch.rs: wraps the vehicle trigger
  producer call site (0xd1_ab6a -> 0xd1_b510) and applies the PS5 notch
  profile for source 1937662562 (70% R2 pull detent, component 12/17 gear
  check, and +-0.1 throttle hysteresis).
- crates/darner-loader/src/ps5_rumble.rs: replaces the single-strength
  rumble emitter slot (0x619_4e18 -> 0x41c_5e30) with the PS5 build's
  motor curve forwarding to the two-motor emitter (0xc1_6170).
- crates/darner-hle/src/modules/gameinput/playstation.rs: installs both
  hooks inside install_hook() (only when DARNER_DS_TRIGGERS=1) and
  forwards the title pad pointer from apply_hook().

Asset policy checked: cargo xtask policy (557 files ok). No game assets included.
When two DARNER_THIN worker threads enter execute_tlas() for the same TLAS console VA within ~0.5 ms of each other, the first thread's local Arc<HostAs> raises Arc::strong_count(existing) from 1 to 2. alloc_or_reuse_as() treated strong_count > 1 as a shared copy, allocated a brand new unbuilt 4 MiB TLAS buffer, and immediately called descriptor::refresh_tlas_views() to point live shader-visible SRV descriptors at the uninitialized buffer while earlier frames were tracing it on the GPU — causing nvlddmkm Event 13 (SM Warp Exception: MMU Fault) and 0x887A0006.

Track execute_copy() aliasing explicitly via HostAs::copied (AtomicBool) and check !existing.copied for AsKind::Tlas in alloc_or_reuse_as() (with a double-check under the write lock), so concurrent worker threads reuse the same TLAS buffer in place and never expose an unbuilt TLAS to in-flight TraceRay shaders.
The test added with 7a2c516b calls VirtualAlloc in an unsafe block without a
SAFETY comment; every unsafe block has one (AGENTS.md). Comment only.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
69271db4 put load_hint between the first lines of load's doc comment and the
function, so they described load_hint and load kept only its last line.
Comment only.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
no_resizable_bar tested the adapter name for "RTX 20", which the workstation
card "NVIDIA RTX 2000 Ada Generation" contains too. With the card's memory not
mapped, its owner was told the card has no Resizable BAR and that there is
nothing to change, in place of the advice to turn it on in the BIOS. The
GeForce RTX 20 series is now matched as "GEFORCE RTX 20".

Co-Authored-By: Claude Fable 5.2 <[email protected]>
render_submit_begin took the frame id from queue::presented() + 1 when it was
called (c88549fc). The line (queue::behind, on with the relay and thin lists)
calls it when it runs a submission, which can be after the title has presented
that frame: frame N's last submissions then set the marker of frame N + 1,
before that frame's own simulation markers, and N + 1's first submission set
none. The other markers already carry the title's frame.

The frame is now read on the title's thread when the lists are submitted and
goes with the job (Lists, Run, Joined). The paths that run lists at once pass
the same value as before.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Reworked port of the fork's up-preload-skip (64729c78c), by Jesper-Andersson, after the maintainer's hold on PR #142.

With DARNER_PRECOMPILE_SKIP_DONE=1 (off by default), precompile writes down each title file it finished and skips it on a restarted run. Changes against the first version:
- A file is listed only when it came out clean: no shader of it failed or panicked, none it shares with an earlier file failed there, and every translation was stored (new shader_cache::unstored counter, for translations whose cache write failed).
- A prune that removes entries writes pruned-at in the cache folder; the list's header carries that generation, so a list made before a prune is void, also one another process writes.
- One list file per key (precompiled-<16 hex of key>.txt), created with create_new or written beside and renamed over, never truncated.
- The summary line says how many shaders were new and how many came from the cache.

Refs #128, #142

This change was made with AI assistance (Claude Code).
The list's header was checked on one handle and the line appended through
another open, so a newer generation renaming its list over the file in
between received the older writer's line. Open once (read + append), verify
the header through that handle, then write: the handle stays on the file it
checked. Adds a test with a seam between the check and the write.

This change was made with AI assistance (Claude Code).
When moving by copying, stage the cache on the destination volume and rename it into place after the copy completes. If a source file is locked, the old cache remains and the destination does not present a partial copy.

https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg
There is no toggled!/asked_for! form for a numeric switch; hot.rs is the
project's reader for values (the DARNER_HOT_AB file, else the environment,
cached once). The default stays 0 = off. README row updated.

This change was made with AI assistance (Claude Code).
Each list of the F1 menu (the settings, IMPORT's saves, KEY BINDINGS,
AUTO-DETECT's changes) was centred on the line picked. Hovering picks the
row under the mouse, so with 9 rows shown the list slid away under it at
almost every move; hovering the tabs jumped the settings to their top, and
hovering a button to their end. The wheel stepped the line picked, round
the ends, rather than scrolling.

Now each list keeps where it was scrolled (another page starts at its top).
It moves only to show a line stepped to past its edge, by that line, or for
the wheel: by Windows' wheel lines (3 by default; a page for "one screen at
a time"), stopping at the ends, the line under the mouse picked after. A tab
or the Q or E box under the mouse is lit: a soft pill inside the dividers,
the name in the text colour.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Supersedes PR #185 (by ItsYusei99, ported from lobomfz/VIctory-xmem#273) and
combines it with our R2 vehicle notch / PS5 rumble split port (a50d132):

- Merge PR #185: PS5 adaptive trigger decoding (ps5_trigger.rs), title light bar
  updates (TARGET 4), release-on-connect, and isolated PadHaptics WASAPI submix
  output on channels 3 and 4 (haptics.rs).
- Add Trigger::MultiVibration (effect kind 9) from lobomfz/VIctory-xmem#367.
- Auto-enable DARNER_DS_TRIGGERS and DARNER_DS_HAPTICS when a PlayStation
  controller is detected via playstation::present() (=0 disables either).
- Update README settings documentation.

Credits: ItsYusei99 (Darner PR #185), k-qno1 (lobomfz/VIctory-xmem#273, #367).
Asset policy checked: cargo xtask policy (559 files ok). No game assets included.
Each first touch of a landed page is also noted by the code's place (module
and offset, through readwatch::module_of): the title's places are logged the
first time each is seen, and the most frequent places, ours and other code's
apart, with the census on the frame-rate line. A touch inside vcruntime140's
memcpy/memset (leaves: the caller's return address is at the stack pointer)
is put on its caller, so the title's copies and ours are told apart.

Refs #287

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Keep the writer lease through inspection of the empty pending file and the read of the primary. Remove the empty scoped file once the writer owns the lease. Treat an empty legacy pending file as absent when choosing which library to read.

Review: TrustNo1/Darner#275 (comment)
https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg
A drive root cannot be published by renaming a sibling directory. Reject roots and report destination preparation failures before making the staged copy. Check availability again before copying and retain the staging path only until the rename succeeds.

Review: TrustNo1/Darner#293 (comment)
https://git.gtahub.st/andrewpozdnakov7-jpg
https://github.com/andrewpozdnakov7-jpg
Verify that the busy primary is returned and stays intact. The cache can keep its save destination once the empty pending file is cleaned up by #275.

TrustNo1/Darner#275
The plane composer multiplies the scene's linear light by 2^EV before the
interface is blended: gamma 2.2 decode, scale, encode, clamp in the SDR branch
(ahead of GRAY SHADOW LIFT), PQ decode, scale, encode, clamp in the HDR10
branch. -2 to +2 accepted; F1 LIGHTING offers -1, -0.5, 0 (OFF), +0.5, +1.
Output side only: the game's own exposure and adaptation speed are unchanged.
Unset or 0: a scale of 1, the SDR branch is skipped.

This change was made with AI assistance (Claude Code).
Adds the six missing // SAFETY: comments across darner-core, darner-loader and darner-shader tests, and enables clippy::undocumented_unsafe_blocks in darner-core and darner-loader while leaving darner-shader/src/lib.rs untouched so DARNER_TRANSLATOR does not change.
The offset was only in the plane composer's ps and ps_pq. ps_single now
applies it too (a plain multiply on linear float planes, PQ maths on an
HDR10 output), and a whole plane that would be copied is drawn instead
while the offset is set: a float plane by the single-plane composer,
any other by the plane composer. With the offset off nothing changes:
the same copy, no extra pass.

This change was made with AI assistance (Claude Code).
Routes Config::resolve's default directory lookup through its env closure, ignores empty system base-directory variables before falling back, checks and prints physical_pages_dir in darner config when set, and documents DARNER_HOME in darner.example.toml.
Port the registry type filter from VIctory-NVIDIA #4066. Accept REG_SZ in both Darner readers and retain the existing REG_MULTI_SZ parsing.

Co-authored-by: jebaczydow <[email protected]>
Factors the queue counters, writer loop, filter precedence and sync switch in darner-core::logging into unit-testable helpers without changing runtime behaviour, and adds six tests covering ordering, overflow drop reporting, disconnected receivers, bounded flush and DARNER_LOG/RUST_LOG/DARNER_LOG_SYNC parsing.
Extracts pure helpers for saved settings parsing, language selection, fallback lookup and placeholder formatting in darner-core::i18n, and adds six unit tests covering tag normalisation, override precedence, English fallback and placeholder/key invariants across bundled locale catalogs.
The 50 ms wall-clock limit could fail on a loaded machine even when the
rollback works. flush only waits while written < queued, so asserting
that both counters are equal checks the same thing without timing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Open pull requests that add catalogs or i18n helpers (#154, #196, #217)
insert next to lookup. With lookup_in after text instead of before
lookup, they merge without a conflict.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
XMemMapPhysicalPagesScatter maps one page per address through
XMemMapPhysicalPages, so each page's unmap walked every ray tracing table
(hwrt::title_memory_freed). In a load with hardware RT, the title's
streaming thread spent about a third of its CPU time there (xperf, RTX 4080).
The call now runs inside darner_gpu::title_memory_freed_gathered, as
map_aliases does since #92: the ranges leave the tables once, before the
call returns to the title. DARNER_HW_RT_FREED_GATHERED=0 restores the walk
per page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Trigger mouse actions on release over the original target, allowing clicks to
be cancelled by releasing elsewhere. Show a subtle pressed tint while the left
button is held, and preserve the distinction between page tabs and Q/E
navigation targets.
The bit reader is checked against a bit-by-bit reader for every width from
0 to 32 bits at every position up to a byte past the data (the 8-byte path,
the tail path and zeros past the end), with overread set exactly when a
read passes the end. Signed reads, ff_wma_get_large_val's four prefixes,
log2 and to_i16's rounding, clamping and NaN are pinned too. Tests only.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
With DARNER_RANGE_LOCK=1 the thread that lands flights no longer waits for
every mapping call of the title's while it puts a texture read-back into
title memory, only for those touching the texture.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
With DARNER_CARD_CPU_FILE=1 the CPU mirrors are temporary files in the
cache's cpu-mirrors folder, made without a look at the drive's free space.
They grow all through a session (994 -> 3,385 MiB in one) and took a full
system drive's last bytes: 7 of 8 host pipeline library saves failed with
os error 112 and minutes of the log were lost, while no mirror file failed.

MappedStorage::new now refuses a file that would leave less than 4 GiB
free (io::ErrorKind::StorageFull); the callers' existing fallback keeps
that mirror in private memory. This crate's unit tests keep no room.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
`bounded_root_srvs()` took the variable's presence as "go back to root
descriptors", so `DARNER_ROOT_SRV_DIRECT=0` (typed to be explicit, or left
from comparing two runs) chose the unbounded path whose reads past a
buffer's end removed the device (upstream PR #493). It is read through
`crate::switch::on` now: on when set and not `0`, as the README's
"1 = on" row says. Unset and `1` are as before.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
`plain()` is off under `cfg!(test)`, so every test in slots.rs ran the
opt-in bitmap allocator (`DARNER_SLOTS_BITMAP=1`) and none reached
`plain_alloc` or `plain_release`, which are the default. The new test
runs the plain scan against the file's reference allocator: the same
slots, free count, cursor and occupancy over 4,000 random steps at six
sizes. Test only.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Cache::prune kept every .tmp-* file, so one left by a run that stopped
between writing and renaming stayed for good. They now go by the same
max_age as entries: the shortest age in use (DARNER_SHADER_CACHE_DAYS=1)
is a day, and a write takes far less, so a fresh staging file still being
written stays. The prune test now covers both.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Both were read with .is_some(), so DARNER_STRICT_JOINS=0, typed to turn
it off, turned it on: about 40 shaders stop drawing, and as both names
are in the shader cache key, every shader is translated again. The README
documents both as "1 = on", which is what they now read.

This is a translator change, so it re-keys every user's shader cache once.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
install read the 1.0.2.1 prologue at base + 0xe4e3d0 for every title,
before any setting was checked, and went on to hook it whatever it found.
With a title or build whose image is smaller, that read lands past the
image's end. bytes() now returns nothing past SizeOfImage, which darner-hle
already reads from the mapped headers (runtime::image_size), and install
stops before any hook when the prologue is not the known build's.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The F1 help and the README row said "on by default, not on RTX 30
cards" beside a menu row that shows OFF, and port.rs said "off by
default" above code that is on when unset. Both halves are described as
they are: unset, the card side is on (except on Ampere cards) but xmem
takes unset as off and does not arrange the heap, so nothing is placed.
`port_constants_on`'s doc said xmem asks it; nothing calls it. The
frame-rate line no longer prints "=1" when the variable is unset. No
behaviour changes.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
After a question was given up on, the line its read got before the next
question was shown was dropped. Lines typed after that one stayed in the
console's input, and the next question read the first of them as its answer;
an empty one is a yes for the download questions. The read that follows a
dropped line now clears the console's input first.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Each EXCEPTIONS entry now lists the checks it waives (file type, size,
magic, NUL bytes, hex/base64 runs, runs of \x/0x literals). Every other
check still runs on that file, so a PE header pasted into host.rs, or a
base64 blob in frame_users.rs, is refused like anywhere else. The current
tree passes unchanged: each entry waives what it trips today.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The comment it copied says every test that reads DARNER_THREAD_TICKET holds
ONE_AT_A_TIME, which is not true: folded_tests'
two_dimensional_groups_of_several_host_waves_give_every_console_thread_once
reaches ticket_on() without the lock. This pull request should not repeat that
claim; the race itself is left to a change of its own. The comment on set_var
above is main's and stays as it is.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
`parse_tls` checked that the callback *array* lies inside a section but
took every entry in it as a callback address: `va_to_rva` proves only
that the VA is at or above the preferred base, so `ImageBase +
0x4000_0000` was accepted. The loader turns each RVA into a function
address and calls it from `spawn_main` before the entry point, so that
entry ran code 1 GiB above the module.

`parse_imports` already bounds the same kind of untrusted pointer: an
IAT slot is refused unless rva + 8 <= SizeOfImage (`entries`).
`parse_tls` now takes `SizeOfImage` and refuses a callback unless
rva + 1 <= SizeOfImage. That is the same check stopping one step short,
not a deliberate trust of header fields.

The test builds a synthetic PE32+ image with a TLS directory; it fails
on main and passes here. The title image still parses (both callbacks
kept) and still binds with no missing imports.
`write_sites::apply` takes a file name and a hexadecimal offset from a
text file (`DARNER_WRITE_SITES=<file>`) and bounds it with a plain
`offset + 16 > size`. `usize::from_str_radix` accepts any `usize`, so an
offset in `usize::MAX - 15 ..= usize::MAX` overflows that addition: in
the release profiles (release, diag and fast, which inherit it) it wraps
to 15, passes the guard, and `base + offset` wraps to `base - 1`; the
sixteen bytes read there are below the image's first page and the SAFETY
comment on that read ("sixteen bytes inside the image") no longer holds.
In the dev profile the guard itself panics.

`heap_sites` bounds its own site the way this now does, with
`checked_add`, so this is a missed hardening rather than a choice.

The test writes a list naming the image at `usize::MAX` and
`usize::MAX - 7`; it panics on main ("attempt to add with overflow") and
passes here.
`longest_encoded_run` split the file at every byte outside the base64
alphabet and took the longest fragment, so a payload the encoder wrapped
had no fragment longer than its line: GNU `base64` and Python's
`encodebytes` wrap at 76 columns and `openssl base64` at 64, all far
under `MAX_ENCODED_RUN` (512). Any wrapped dump written to an allowed
file type passed the check, and this check is the static half of the
rule that nothing from the game is ever committed.

Lines are now joined back when every line of the group is wholly payload
and at least as wide as an encoder's line, so a wrapped payload counts as
one run while wrapped prose and single-character lines stay prose.

The test wraps 4096 synthetic characters at 76 columns: it passes the
check on main and is caught here. `repository_passes_policy` still passes
over the tree (555 files), so nothing in it trips the new rule.
`darner translate` compared every emitted shader's label with the literal
"02384a60fda6f2d0" and, for that one shader only, printed the LDS-defrag
counters to stderr. That is session-local debugging left in a shipped
tool: it pays a `label()` string and a `contains` for every emitted
shader, writes an undocumented line no switch asks for, and hard-codes
an id taken from the title's own build in a generic translator. The same
counters are already logged through `tracing` by the GPU path, behind the
`diagnostics` feature, and `DARNER_SHADER_CENSUS` is the supported way to
ask for them.

The block is deleted; `label()` is still used by the lines around it.
The environment values are filtered so that empty means unset, and so is
`physical_pages_dir` from the file, but the other file fields are not:
`[paths] cache_dir = ''` became `PathBuf::from("")`. That is not "the
default": `subdir`/`checked_dir` join onto it, and `Path::new("").join("shaders")`
is the relative path `shaders`, so every cache write landed in whatever
folder darner was started from instead of under `%LOCALAPPDATA%\darner`
(it was reproduced with `darner config` and `darner translate --warm` in
a scratch folder). The same held for `data_dir`, `game_dir` and an empty
entry of `test_titles`.

All the file paths are now filtered the way the environment and
`physical_pages_dir` already were. A path that is not empty behaves as
before.
two_dimensional_groups_of_several_host_waves_give_every_console_thread_once
lowers a wave32 program in a 32 x 2 group at host width 32, which reaches
ticket_on() and so reads DARNER_THREAD_TICKET. A wave64 test sets that
variable to "0" for a while, holding ONE_AT_A_TIME; this test read it
without the lock, so it could be lowered without the thread ticket. The
lock is held only around lower(): run() takes it itself.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
No test passed `TextureDesc.mips = 0` to `Texture::new`, though that is
the D3D12 default ("the whole chain") and the branch that derives the
count from the largest side is what every such allocation takes its
offsets and its size from: `32 - largest.leading_zeros()` at
`texture.rs:1618`. An off-by-one there changes the mip count, and so the
size, of every texture described that way, and dropping the `.max(depth3d)`
gives a 40-deep volume five mips instead of six. Both terms were pinned
only by the comment beside them.

The test asks for 64x16 and 16x64 flat textures (seven mips, so the
height counts as a side) and a 16x16x64 volume (seven, against the five
its face alone would give), and checks that a description naming one mip
still gets one. Pure function: no GPU, no title, no fixture.
Use crate::runtime::image_size(base) instead of the hardcoded 1.0.2.1
IMAGE_MAX constant in haptics::install(), playstation::install_hook(),
vehicle_notch::install(), and ps5_rumble::install(), and bounds-check
APPLY_SLOT_RVA + size_of::<usize>() against it before reading the slot.
IMAGE_MAX stays scoped to capture() pointer validation.

Addresses review feedback from iBooM72 on PR #276.
Asset policy checked: cargo xtask policy (559 files ok).
Refs #288. Behind DARNER_PRELOAD_CONTROLS=1 (off by default): the preload
window gets 10 / 50 / 80 / Max and Pause/Resume buttons. Each step asks a
cooperative gate before taking new work (next shader, next warm chunk,
next library pipeline); work that has begun finishes, so the silent-child
watchdog never times a pause. The window talks to `darner preload` over
its stdin. DARNER_PRELOAD_LOAD sets the start preset.

This change was made with AI assistance (Claude Code).
The row had two values, not set shown as OFF and `1` as ON. Not set is
not off: the card side still looks for the heap (except on RTX 30
cards), and the menu could not write `0`, the one value both halves
read as off. The row is AUTO (not set), OFF (`0`), ON (`1`) now, with a
test. The help and the README rows say that AUTO places nothing, because
the heap is not arranged for it without ON.

Menu fix by the gpu-dig session; text by this one.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
The #189 log shows the native mouse capture released for 5.17 s in play
with the window focused and in_menu=true, but in_menu is one boolean for
eleven conditions. menu_or_paused_cause returns the first one that holds,
in the same order and with the same reads, and the "native mouse capture
changes" line logs it as menu_cause.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
`GetModuleFileNameA` wrote the UTF-8 bytes of a Rust `String` into the
title's buffer, and `__p___argv` built every element with
`CString::new(&str)`, which is UTF-8 too. A-suffix APIs exchange the ANSI
code page: `GetCommandLineA`, six hundred lines below, already encodes
with `host::ansi`, and `files::narrow` decodes every path the title hands
back as `CP_ACP`.

So one path with a non-ASCII character made our own APIs disagree: for
`C:\Spiele\Zoë\game.exe`, `GetModuleFileNameA` wrote `Zoë` as `C3 AB` and
reported 23 where `GetModuleFileNameW` reported 22, and a title that took
its directory from there and opened a file under it handed us bytes its
own code page never produced, so the file was not found. `__p___argv`
contradicted `GetCommandLineA` for the same argument, which the doc above
`GetCommandLineA` says must match.

Both now encode through `host::ansi`. `XLaunchNewGame`, whose path comes
from `GetModuleFileNameA` by its own documentation, decodes the same way
instead of reading UTF-8.
The member loop of `ImportLibrary::parse` kept whatever `object`'s
short-format import reader returned and never read the header's machine
field, so a member from `um\x86` or `um\arm64` parsed as if it were the
console's export map: its `_ExitProcess@4` landed beside the real
`ExitProcess` of the same DLL, with nothing to tell them apart.

`image.rs` refuses a foreign machine for a PE image; this is the one
reader in the crate that did not. A member whose architecture is not
x86-64 now fails the library with `PeError::Unsupported`, the same
variant and the same shape of message the image path uses.

The test builds the existing synthetic archive with one AMD64 member and
one whose machine field is `IMAGE_FILE_MACHINE_I386`; on main the I386
member is merged, here it is refused.
The switch was parsed into an `Option<Vec<String>>` whose `Some` survived an
empty value, so `DARNER_SHADER_ONLY=` (or " " or ",") matched no container at
all: the scan skipped every container before `Container::parse` and the run
printed "containers found 0" with the "shaders may sit in compressed or
encrypted archives" hint — a false negative for a directory full of shaders.
An empty environment value means unset here as it does for the paths in
darner-core's config (`config.rs:100`, `empty_env_values_are_ignored`) and for
`DARNER_TRANSLATE_ONLY`, which only applies a non-empty list (translate.rs:661).
Parse the value in `only_hashes`, which returns `None` when the variable names
no hash, and pin it with a unit test: unset, "", " , " all now scan every
container, while a real hash still selects.
`unmap` computed the end of the range it is given as `base + len`, and
both numbers are the title's own: `XMemMapPhysicalPages` passes the
address and the page count of its own call, and the page-mapping copies
pass their destination and length. A range at the top of the address
space wraps that sum, and the view search that follows —
`BTreeMap::range(base + 1..end)` — then panics on a range whose start is
above its end. The panic is thrown out of `extern "system" fn
XMemMapPhysicalPages`, which aborts the process instead of unwinding. The
comment above the search says the author knew `BTreeMap` panics on this
shape, but the guard that followed only covered `len == 0`.

`map_pages` now bounds the page count times the page and that sum with
`checked_mul` and `checked_add` before anything is touched, and returns
the null it returns for an unknown page, with a warning saying why, so
the title sees a failed call rather than the process dying. `unmap`
bounds its own sum as well, so no other caller — the page-mapping copies
included — can hand `BTreeMap::range` a backwards range.

The test asks for a page at the last page of the address space. With the
old sum it aborts the test binary (`attempt to add with overflow`, then a
non-unwinding panic and `STATUS_STACK_BUFFER_OVERRUN`); with the bound it
returns null and the call is refused.
Off by default and keyed in the shader cache. A mesh program whose
thread 0 requests the group's outputs (s_sendmsg GS_ALLOC_REQ) ahead of a
barrier every thread passes once declares the counts it requested after
that barrier, not the declared maxima at its start; primitives are culled
up front only where the request's own path exported one (the empty or
oversized meshlet's culled primitive), so each primitive is written once.
Programs without such a request keep the maxima.

Why: the Arc A770 lost the device (a page fault in the driver's memory)
in MS_VS_LinearDepthPreSkin's indirect mesh draws (824dc1956e7e38b6), at
the first step outside a building in two runs of two. Skipping those
draws, and exact counts, each got past it; with exact counts, six times
through that door and a walk among people.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The console-side OMSetRenderTargets took the title's count as a length: the
one-range form sized a heap vector with it (`collect()`, so a count of
u32::MAX asked for 32 GB, and a refused allocation aborts the process rather
than panicking), and on either form the count reached `State::set_targets`,
where `BoundTargets::restore` binds one view per handle. D3D12 takes at most
D3D12_SIMULTANEOUS_RENDER_TARGET_COUNT (8) render targets: the debug layer
refuses a command naming more, the host list then fails its `Close`, and
`Host::close`'s recovery ends the run.

Eight is what this file already knows: `thin::targets` clamps the same
argument with `(count as usize).min(8)`, and `BoundTargets::restore` binds at
most eight. Take the count as at most `RENDER_TARGETS` (8) before the handles
are built, in a helper (`target_handles`) that both forms go through, so
neither can size an allocation past 8 handles or name more than eight views.
The excess is refused as `thin::targets` refuses it, silently, keeping the
first eight.

render_target_counts_past_eight_take_the_first_eight pins the bookkeeping:
the eight views that follow the first on the one-range form from a count of
nine, the first eight of the title's own array, the first eight from a count
of u32::MAX, and nothing for a null array.
A D3D12_RESOURCE_DESC's DepthOrArraySize is a depth for a TEXTURE3D and an
array size for a TEXTURE2D, so a 64x64x64 volume and a 64-layer 64x64 array
of the same format and mip count produced one key: the read-back cache handed
one shape's GetCopyableFootprints list, and therefore one shape's read-back
buffer size, to the other.

Both users of that list trust it. record_texture recorded the wrong number of
copies, with SubresourceIndex values the texture does not have, and land
paired footprint i with (i % mips, i / mips) of a layout whose slices is 1 for
a 3D texture, so Layout::tile returned Invalid and nothing landed: the title
kept reading whatever the read-back was supposed to replace.

Put the dimension and the sample count (also passed to the call) into
FootprintKey through a pure footprint_key(), and move the count into
subresource_count() so it can be pinned without a device. The new test builds
the 2D-array and 3D descriptions, checks their subresource counts are 64 and
1, and checks the two keys differ; with the old five-field tuple it fails on
exactly that assertion. No adapter is needed.
The 600-frame report tells, for the largest objects of each of the nine kinds
it lists, how many frames ago one was last used; but the frame a use is
recorded in was only ever fed for the four texture kinds, whose two sites call
`touch` from resource.rs. So the buffer of indirect arguments a list keeps
from recording to recording (indirect_scratch, batch_place), the list's card
budget for the clamp's notes, the "before" hashes a submission's compare reads
and the buffer a twin is copied through all kept the frame they were made in,
and were printed as unused since it. Their bytes went into the report's 60+ /
600+ columns, which exist to tell what may be moved off the card: the run
named the buffers in use every frame as the ones to move.

Tell the ledger of those uses at the site of each: the reused indirect
arguments, each batch's buffer and the card budget in host.rs; the compare's
hashes through shadow::card_before_used; the twin's buffer in
record_twin_copy. Two kinds need no new call: the retag that gives a pooled
buffer its kind already records the frame (the take that hands a Kind::Scratch
out, the frame a Kind::AheadStore buffer is set aside in, which is as long as
it has gone unused). The swap chain has no use site to point at: its entry
stands for the back buffers of the chain the presents show, no one place tells
the ledger of a present, and it hangs on no object of ours. The report says
"unused n/a" for it and leaves it out of the sums, rather than print the age
since it was made as if it had been idle all along.

The frame a use is recorded in is one function now, entry_used, which touch
calls. The new test builds one entry of every listed kind by hand (no device,
no title) and pins both halves: a kind with no use site is not told as idle,
and entry_used moves the frame a use is told in.
Windows 10's D3D12Core sets a list's table pointer on Close and back on Reset. Each shim now links to the one made for the object's other table, so the switch reuses two shims instead of leaking a new one (and taking MADE and VirtualQuery) on every Close and Reset.
`s_cmp_eq_u64`/`s_cmp_lg_u64` compare two lane masks, so their SCC is a
per-lane property, not a uniform one: equality sets it when every lane's
two bits are equal, inequality when some lane's differ, and
`s_cbranch_scc1`/`scc0` take the branch where it is set or clear. Every
other `s_cmp_*` in the suite compares numbers, so this per-lane SCC and
its exclusion from the uniform `scc_some` set were only ever reached by a
title program: a lane that took the wrong way would run exactly the region
the console skips, silently and in the wrong direction.

The test builds the four combinations (`eq`/`lg` by `scc1`/`scc0`) from
hand-written instructions and checks that the branch's condition is the
lanes' own two bits — two per-lane atoms in its support — rather than a
uniform value or an unknown. No GPU, no title, no fixture.
#315 makes `default_dir` read the environment through the injected closure
instead of the process's environment, so a test that resolves with
`|_| None` cannot find a user directory once both changes are in: together
they failed `an_empty_path_in_the_file_means_unset` with "cannot determine
a user directory; set DARNER_CACHE_DIR and DARNER_DATA_DIR".

The test now answers LOCALAPPDATA, XDG_CACHE_HOME and HOME through the
closure. That changes nothing while `default_dir` reads the process's
environment (it ignores the closure), and keeps the test about the empty
path once it does not, so whichever of the two lands second needs only the
three-line `default_dir("cache", &env)` conflict resolution.
Shadow::take checks mirrorless() at the top, beside direct_paged(), so neither the
changes_only / send_changed() branch nor the else branch compares with a mirror that
was let go (keep_stores() sets changes_only before revive_mirror() makes the mirror
again). take_quiet checks it too. New test: a mirrorless copy with changes_only set.
In-place refits of BLASes placed in reused units of the shared BLAS
heaps page-faulted on an RX 7900 XTX ("device hung", 0x887A0006) at the
barrier after a wave of refits, at addresses just over 32 GiB away from
any live allocation (the GPU followed a garbage 32-bit node pointer).
Committed BLAS buffers, and heap units never reused, did not fault, and
delaying the reuse of units did not help. BLASes built with ALLOW_UPDATE
now take committed buffers; the rest stay in the heaps.
DARNER_HW_RT_REFIT_COMMITTED=0 places them as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The map of acceleration structures holds an entry from when its build
is recorded. Lists are recorded on several threads and submitted in the
title's order, so a refit could name a source whose build had not been
submitted (or never was) and read whatever its memory held. Such a
request is now built anew. DARNER_HW_RT_REFIT_BUILT=0: as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The title takes its display size (window, host output, its two UI targets,
the output its upscaler is made for) from the mode of its own list nearest
to the output setting. The list is four 16:9 sizes and the SDR mode
(3840x2160), so a 3440x1440 output got 2560x1440 (and 5120x1440 got
3840x2160). The output setting reaches the title later, without a new
display size notice when the height is the same, so the scene followed
3440x1440 while everything made at start stayed 2560x1440: blocks of stale
picture, see-through characters, an edge at 2560/3440 of the width (#3246,
(+0x56a2afd at start).

An output the title does not list is now written into the SDR mode entry
(and reported through DARNER_DISPLAY_MODE), the UI pool holds two
output-sized targets, and the host's frontend viewport fix-up looks for the
output's size (DARNER_NATIVE_OUTPUT) instead of 2560x1440. 16:9 is
unchanged (stock mode, 94 MiB pool, same cave).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Series X's 1440p picture takes the chosen shape: 2560x1440, 2304x1440, 3440x1440 or 1920x1440. The window, UI targets and upscaler follow it (the native output change before this). DARNER_NATIVE_SIZE still wins; empty keeps 16:9 or DARNER_NATIVE_WIDE as before. Hidden for Series S.
Over the whole of a 2304x1440 or 1920x1440 picture its right side ran off the screen (the button prompts at the bottom right).
The output path already takes 5120x1440 (its UI pool and display mode are sized for it). Asked for in #110 and #119.
At 21:9 or 32:9 the map, pause menu and briefs are a 16:9 panel with the world sharp on both sides and a hard edge where the panel ends. When the interface plane is opaque along its free edges (a full-screen menu; the HUD is clear there), the composer shows the scene beside it through a 64-tap disc blur (1.5% of the width), at 40% brightness, and fades the panel's free edges into it over 0.75% of the width. Top and bottom on 16:10 and 4:3. DARNER_MENU_SIDES=0 turns it off.
- DARNER_ASPECT left from Series X is dropped on Series S (play.rs settings and run.rs), and a safe start leaves it out: its UI targets would be wider than the Series S UI pool.
- DARNER_RENDER_1080P draws 1080 lines at the output's shape (2580x1080 at 21:9, 1440x1080 at 4:3): the scale is by height, not 1920 / width.
- DARNER_MENU_SIDES only where the interface is centred at its own shape (overlay_centered), as the bar clearing.
- No centred UI target for frame generation with HDR, where Streamline is given no UI plane.
covered_scene_row sampled 0.5% and 99.5% of the output's height and cleared within 16% of it; in a taller output those fall outside the centred interface, so the bars stayed. Both are now relative to the interface. With a regression test that a fully opaque black fade stays.

Patch and test by akimfomin (PR #143 review, pr-143-tall-cinema-bars.patch), applied on the rebase with the root constants moved for EXPOSURE.
A `darner preload <game folder> --all` that finished left no warmed mark, so
the next `darner play` of the same darner.exe ran the whole preload again
(30.6 min here, right after the script's own preload). `darner preload` now
writes the mark the preload window writes, when it warmed every known
pipeline of the whole title and the cache is not a named DARNER_CACHE_DIR.

The mark is the one the next start waits for: `done_mark`, which `prepare`
uses too, so with DARNER_WARM_SHARED=1 it is the shared mark. The whole
title is no folder given, or folders that hold the game's executable or are
the configured game_dir; a subfolder writes no mark.

Refs #128

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01DnqmuVZnMPVji1pieTnKH3
At the start the memory sticks are read from the firmware's SMBIOS tables
(type 17: memory type, form factor, reported and configured speed, part
number). The speed a kit is made for is taken from its part number where
the maker writes it (G.Skill F5-6000..., Corsair ...3200C16, TeamGroup
...6000HC38..., Kingston Fury KF560..., Crucial Ballistix BL...G36C16...)
or from the speed the stick reports. When desktop DDR4/DDR5 runs at least
200 MT/s under it, the F2 advisor says so and suggests XMP or EXPO in the
BIOS, and the log has a line. Laptops (SO-DIMM, soldered) and mixed kits
are left alone. DARNER_RAM_CHECK=0 turns it off.

Asked for in the community: players saw about 2-3 fps from turning XMP on,
since copies to and from the card run at the memory's speed.
Recognise the documented non-hundred DDR4 XMP rates 3333 and 3733 MT/s in Corsair (CM...G...3333C16...) and G.Skill (F4-3733C17...) part-number rate fields inside part_speed, so slow_sticks still reports an XMP-off shortfall when SMBIOS reports only the 2133 MT/s SPD default.

Guarded by vendor prefix, rate allowlist, and 2-digit CAS marker so unrelated OEM or numeric SKU digits continue to return None, leaving existing generic/OEM parsing, rate bounds, and the 200 MT/s slack unchanged.
Replace the generic <digit>G prefix heuristic in ddr4_vendor_rate with an ASCII-byte GX4M prefix check so DDR5-shaped Corsair part numbers such as CMK16GX5M2B3333C16 are rejected, and add the GX5 negative case to the regression test.
Series X, 3440x1440 with DLSS off stopped at the title's out-of-memory break (+0x2219650) a few seconds into the start, and with only the heap bigger at the scene pool's int3 (+0x2473e88). Measured on the retail build, RTX 4090, world loaded: 21:9 ran with 2,600/1,000 MB and 3,000/1,000, stopped with 3,000/850; 32:9 stopped with 4,500/1,400 and 6,000/1,600, ran with 8,000/1,600 (the 4K DLAA sizes). Given 3,200/1,100 and 8,000/1,600 unless DARNER_RT_HEAP_MB or DARNER_SCENE_POOL_MB is set. With DLSS (a smaller scene) nothing changes.
quad_read_guarded kept a quad neighbour's value only when waveActiveBallot named
that lane. The ballot leaves helper lanes out, while the console's whole-quad mode
has them in EXEC, so a helper source fell back to this lane's own value. In the
water (capture 44, DrawInstanced 5178, PSO 378) that made a normal from a zero
cross product: rsqrt(0) * 0 = NaN along every tile's diagonal.

A helper source now counts as present, told by a quad read of its own
isHelperLane. DARNER_QUAD_HELPERS=0 keeps the ballot only. The switch is read by
the translator, so it is in the shader cache key (KEYED 60 -> 61).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Six switches, all off by default (DARNER_NO_VIGNETTE, DARNER_NO_AIM_VIGNETTE,
DARNER_NO_SCREEN_GRADIENT, DARNER_NO_SCREEN_OVERLAY, DARNER_NO_LENS_FLARE,
DARNER_NO_DOF), ported from VIda, each with a row on a new F1 page.
The shader ones patch the PostFX programs before translation and key the
stripped programs on their own; the other two patch the 1.0.2.1 executable
and leave any other build alone.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The launcher was renamed from play-nvidia.ps1 to build-darner.ps1 on main; the
literal-path changes are carried over to it.
With andrewpozdnakov7-jpg's follow-ups d2d7e3e (unused hover target) and
30d2e05 (press targets scoped to their lists).
Merged after #328: the mouse press/release targets of #328 kept, with #297's
lists that stay put under the mouse, wheel scrolling and lit tabs.
`made_at` began at 0 and `coarse_ms` counts from the process's start, so
`list_due` held the first list back until 60 s after the start, where `main`
made it in the first slice (review of #225). `made_at` is now `None` until a
list is made, and a list is due at once then.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
It took the lock only inside `look`, so the test's own writes between the
askings, and its last `nothing_new`, ran outside it, unlike the other tests
of `refresh_tests` that take it (review of #262). Another test's asking could
take one of those writes before this test asks for it. The lock is taken once
at the start now; it is not taken again on the thread that holds it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The window title and the top right of the "Preparing shaders" line name the
build (start_notice::BUILD, the same name the F3 panel and the update check
use), so a player sees which build starts before the title does.

Fixes #536

Co-Authored-By: Claude Opus 5.5 <[email protected]>
HostHeap::new initialized remap_cursor from REMAPPED.latest without advancing REMAPPED.published, and refresh_remapped returns early when latest == cursor. Later overlapping writes or full-queue compaction in RemapQueue::record then coalesced into unpublished pre-heap ranges and overwrote their sequence numbers with self.latest (> remap_cursor), causing the new heap's snapshot to observe spans that existed before the heap was created and mark unrelated texture slots due (causing extra texture re-reads rather than missed updates). This also broke watch::tests::streamed_texture_written_through_an_alias_reaches_a_full_queue whenever a view reused a recently unmapped virtual address.

Add RemapQueue::cursor() to advance published to latest when HostHeap::new takes its initial cursor (older heaps still see all entries since their cursor because snapshot partitions on *sequence <= cursor), plus a deterministic RemapQueue unit test covering both back-entry coalescing and compaction.

Co-Authored-By: Gemini <[email protected]>
Refs #389

1. Hold crate:⌚:one_view_test() across tests calling Host::execute, Host::present_planes, bump_ahead_gen, remapped_ranges, fence::signal/set, or watch::asked/writes directly without it, so Host::submit's watch::ask_once_end() and concurrent asks cannot clear JOURNAL.ahead mid-test. Where another lock (texback POOL_TEST_LOCK, uav_pool SERIAL) is also taken, one_view_test() is always acquired first.

2. Call watch::title_memory_freed(ptr, 0) / title_memory_allocated(at, len) around VirtualAlloc/VirtualFree in watch, watch_pipe and host refresh tests so recycled virtual addresses invalidate stale RES_CACHE and refusal entries, and retry adjacent (p, q) allocation in ask_rest_falls_back_per_piece_when_touching_unwatched_neighbour until q succeeds so p + 2 * PAGE cannot land on an unfreed write-watched allocation from an earlier test.

3. Serialize queue::tests that drain global static WAITING using watch::one_view_test() so a_retired_line_is_not_run / a_queued_wait_or_signal_keeps_its_fence / a_present_keeps_another_queues_wait_for_one_frame cannot pop another test's Held::Run.

4. Isolate PRESENTED_US in pipeline::make::tests::a_capped_draw_waits_once_then_drops with watch::one_view_test() and PRESENTED_US.store(0, Ordering::Relaxed) so earlier present tests do not exhaust held_room() in serial or parallel runs.

Depends on PR 1 (pr/remap-published-on-new-heap) for streamed_texture_written_through_an_alias_reaches_a_full_queue.

Co-Authored-By: Gemini <[email protected]>
- quality: a cut texture whose view asks for a finer level is lifted while the card has room
  (DARNER_TEXTURE_QUALITY_GROW=0 keeps cuts); lifts counted in the texture quality line.
- noneutral: mode 3 shows the tiny copy of the right texture for 2D slots from frame 900
  (DARNER_NO_NEUTRAL_FROM), else what mode 0 shows; play mode sets it.
- hwrt: DARNER_HW_RT_TLAS_FRESH defaults on (=0 off), #567.
CNF port: with DARNER_INDIRECT_DIRECT=1 every indirect draw, mesh
dispatch and dispatch reads its record in the title's host copy with no
clamp pass, no scratch buffer and no rebinding; dispatches of the 11
programs CNF lists as able to pass 65,535 groups in x, and unaligned
records, stay clamped as before. =2 adds the clamp's wait (UAV barriers
on the argument and count copies) before each direct execution; =3
keeps mesh dispatches clamped.
Ported from CNF's placement module. Unset: Darner's own placement
(DARNER_TITLE_AFFINITY) as before, no new exports registered.
- fast: the title's threads (main, title-image CreateThread, task queue
  workers, async work, input poll, suspend routines) and our frame threads
  (those asking darner-gpu's cores module for fast cores) are bound with
  SetThreadAffinityMask to the host's better cores (fastest efficiency
  class; under the largest L3 on 3D V-Cache parts); the title's
  SetThreadGroupAffinity and SetThreadAffinityMask masks are not passed on.
  Everything else (pipeline makers, storage, audio, driver) stays free.
- title: each console processor is one host core (both hardware threads)
  of the fastest kind in host order; fewer than 14 such cores: dropped.
- free: nothing bound, the title's group masks dropped.
Hooks the entries of the title's two descriptor table fills (RVAs from
CNF's table for this build). A bind of a table just filled gets a new
version per list; a rebind of the same address without a fill keeps it.
A draw's direct table entries of a filled table, same version, same plan,
already brought up to date at the host list's current epoch, are skipped
as a group instead of each re-reading its record and SAME_ENTRIES.
Needs DARNER_TABLE_SAME on. Ported from CNF's tablefill.rs (transient
tables only).
Ported from CNF's barriers.rs: global and buffer entries go to the host as
global barriers of one ID3D12GraphicsCommandList7::Barrier call (SYNC_NONE
no-ops dropped, split halves folded, pairs the host refuses get any access,
the indirect clamp's compute read added); texture entries move the list's
tracked states at the title's barrier, so the per-draw/view/copy transitions
that follow find the texture in place. =2 passes syncs only. Falls back to
the old path without device support; a list without list7 gets one UAV wait.
Works with DARNER_THIN (entries written down at the call).
With DARNER_HEAP_FEED=1 a submission's long send runs (send::Own) go
straight from its own upload memory into the card's copies on a copy
queue of their own, instead of as copies on the drawing queue. The copy
queue waits for everything already on the drawing queue (WAR), and the
drawing queue waits for the copies right before the sync list, so the
copies stand where the drawing queue's own copies stood. Scatter pairs,
hot tiles and hash passes stay on the drawing queue. Falls back to the
drawing queue while the upload check looks or tiles are mapped for the
send. Ported in part from CNF's heapfeed.rs (transport only, no title
heap hooks). Takes precedence over DARNER_UPLOAD_QUEUE when both are on.
Ported from CNF's dstorage/store.rs. Decoded BCPack and zlib+BCPack results
from file sources are appended to cache\dstorage\data.bin by a writer
thread (index.bin beside it, CRC-32 per record and per decoded payload,
BLAKE3 identity of the decoder), and read back on later runs instead of
decoding again. Damaged, truncated or torn stores are detected: bad index
records are dropped, a bad header empties the store, and every hit checks
magic, key, path, length and CRC before it is served. Off by default.
Views of physical pages mapped inside the title's alias pool reservation (XMemVirtualAlloc kind 0x20402000, flags 0x23, protection 0x2404) are left uncommitted. An access there commits that 64 KiB page in a vectored handler, and in the watch handler for our own copies, then runs again. Ported from CNF's regions.rs/xmem.rs.
Ported from CNF's wcdemand (commit on demand only, no heap enlargement or
alias pool changes): the title's write-combined heap (kind 0x20003000,
flags 0x283, protection 0x2404) is only reserved; xmem_extheap_alloc_vfn
and xmem_extheap_free_vfn are hooked (callhook hook_entry + after_stub) so
an allocation's reserved pages are committed when handed out and the pages
no live neighbour shares are decommitted before the free. A vectored
handler commits a reserved heap page touched outside a live allocation.
The GPU side is told (title_memory_allocated after a commit,
title_memory_freed before a decommit); the heap's write-combined mark and
protection record are put back after each free.
Ported from CNF's streamed.rs give_up, adapted to Darner's texture path.
DirectStorage requests into physical pages are kept per page (xmem texgive);
once a texture's host copy holds its bytes and they are final, the 4 KiB
pages wholly made by kept requests are MEM_RESET and trimmed in every view,
the texture is kept (uploads skipped, staging let go), and any later read
of those pages first re-runs the requests to make them again.
# Conflicts:
#	crates/darner-game/src/lib.rs
#	crates/darner-hle/src/modules/xmem.rs
# Conflicts:
#	crates/darner-hle/src/modules/dstorage.rs
DARNER_RECORD_THREADS=6..8 gives the title that many render recording
threads instead of its five (8 is CNF's choice); unset, empty or 5 changes
nothing. Ported from CNF's subrender: per-thread tables moved out of the
image with room behind them (iced-x86 scan of the code that addresses
them), setters run again for the added slots, calls followed by our code,
and the count, index, tag, rank, context-mask and async-compute patches.
Known build only; installed before every other code change.
Ported from CNF's texheap.rs and d3d12ma/shim.cpp: textures that would be a
committed resource each (targets, depth, clear-valued, too large for the pool
blocks) are placed in 64 MiB heaps of three pools (no targets, targets, 4 KiB
small). Pieces rest 2 s after the texture goes. UAV textures stay committed.
Host lists and their preludes record on per-thread per-frame shared
command allocators held by leases until their work has run; landed host
lists are reset on a darner-land-lists thread and stay closed until the
recording thread opens them. List tables keep up to 256 KiB of room over
a reset. Both switches off by default. Ported from CNF's allocators.rs.
Ported from CNF's queues.rs. Plain submissions of the title's compute queues
(no layer work: card steps, card copies/compare, fills beside, gpu_owned
blocks, texture uploads/detiles/staging, read-backs, depth twins) run on a
second DIRECT queue. The direct queue GPU-waits for each one and then signals
its host-fence value, so the one host fence keeps its meaning everywhere.
The second queue waits for everything on the direct queue when anything other
than a plain title direct submission went there (every layer send, tile
mapping and wait on the direct queue is flagged via compute_queue::to_queue),
when a passed memory-value wait is met by a flight in the air, or when it
names a texture an unfinished direct submission names. Frame line counts
submissions, overlaps, waits by reason and kept-on-direct reasons.
# Conflicts:
#	crates/darner-gpu/src/host.rs
larp v1.1.0 (GPL-3.0-or-later) goes in reference/larp/ as published,
minus its README and launcher scripts. It is not a workspace member and
is never built or run (reference/README.md).

The asset policy gets a folder exception for it (owner's decision): its
replacement shaders are decompiled programs of the title and several are
over the size limit. Binary files are still refused there. Exceptions
ending in / now cover a folder; a test checks it covers only that folder.

AGENTS.md: gtahub instead of GitHub, Main as the branch, and the roadmap
section; roadmap paths point at reference/larp/.
The agent rules still described GitHub (gh commands, TrustNo1-Coder/Darner, main).
The project is on git.gtahub.st now (Forgejo, default branch Main), so the lookups
are tokenless API calls that page past 50 items, issues and pull requests are opened
in the browser, and there is no CI.

- New sections: how to take a task from the pinned ROADMAP issue (#693) and how to
  take an open issue (root cause first, Fixes #N), with 24 h claims, delivery on
  opening the pull request, the review outcomes and the hard limits.
- Labels: the real list, the MULDER label on every agent pull request, the status/*
  labels, the relevance/* meaning; tags stay in the title.
- Stale code facts: removed translation_fingerprint, line references, counts,
  darner-simd, Rust 1.89, the 1 MiB policy limit, the fast profile.
- CONTRIBUTING.md and the pull request template: Main, labels, MULDER, Task: <id>.
Almost every contributor runs an AI agent, and the old rule (ask before every post,
the user opens each pull request in the browser) stopped the ROADMAP flow from
running on its own. Agents now claim, push to their user's fork and open their own
pull requests through the API with a token, and comment on the work they hold.
Closing anything, opening issues and commenting on other people's work still need
their user's OK; the token never goes into the repository, a log or a comment.
This pull request has changes conflicting with the target branch.
  • apps/darner/src/main.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'Main:TrustNo1-Main'
git switch 'TrustNo1-Main'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'dlss5/add'
git merge --no-ff 'TrustNo1-Main'
git switch 'TrustNo1-Main'
git rebase 'dlss5/add'
git switch 'dlss5/add'
git merge --ff-only 'TrustNo1-Main'
git switch 'TrustNo1-Main'
git rebase 'dlss5/add'
git switch 'dlss5/add'
git merge --no-ff 'TrustNo1-Main'
git switch 'dlss5/add'
git merge --squash 'TrustNo1-Main'
git switch 'dlss5/add'
git merge --ff-only 'TrustNo1-Main'
git switch 'dlss5/add'
git merge 'TrustNo1-Main'
git push origin 'dlss5/add'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
skyflare/Darner!4
No description provided.