Preload window: show the build being prepared #542

Open
mygmailwasratelimited wants to merge 0 commits from mygmailwasratelimited/Darner:preload-build-name into Main
First-time contributor

Fixes #536

Contributor role (optional)

  • Fluxer ID: 1576315101458202624

What it changes

  • The problem on main: read from the code only. The preload window's title is a plain "Darner" and its heading names no build, so the build being prepared is only seen once the game starts (F3 panel, start notice).

The preload window now names the build in two places: the window title (Darner v2026.12.04.01-4) and, in small grey text, at the right of the "Preparing shaders" line. The name is start_notice::BUILD, the one the F3 panel and the update check already use (DARNER_BUILD_NAME, else the release tag and commits since). One file, apps/darner/src/preload_ui.rs: 4 lines added, 1 changed. Nothing else is drawn or moved.

How it was tested

  • Tested revision: 7c8aa34 (on main c8258f9).
  • Commands and results:
    • cargo clippy --workspace --all-targets --locked -- -D warnings: passed.
    • cargo clippy --workspace --all-targets --all-features --locked -- -D warnings: passed.
    • cargo test --workspace --locked --no-fail-fast: every crate passed except two darner-gpu tests, watch::tests::streamed_texture_written_through_an_alias_reaches_a_full_queue and host::menu::tests::gray_shadow_lift_is_live_and_saved_as_a_percentage. Each passed 3 of 3 runs on its own; darner-gpu does not depend on the darner app this changes. darner-shader's oracle64::legacy_mul_forms_are_exact was stopped after about 10 minutes, unfinished; every other darner-shader test passed. The other crates: 859 passed, 0 failed.
    • cargo xtask policy: asset policy: 576 files ok.
    • In game: darner.exe play --preload from a release build of this branch. The window title read Darner v2026.12.04.01-4 and the same name showed at the right of the "Preparing shaders" line.
  • Changes a default: no.
  • A/B result: not applicable (no speed or default change).
  • Gates run on that revision: all three (both clippy runs and cargo test, with the results above).
  • Gameplay, when relevant: not relevant; only the preload window was checked.
  • Shader wave sizes tested, when relevant: not relevant.
  • Hardware dependence: likely general.
  • Coverage gaps: not checked in another interface language (zh-CN uses another font, a longer heading could reach the build name) or at a DPI other than mine.

Checklist

  • I ran this change in the game, or say below why it can't be (docs, tests only).
  • 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.
  • Replaces or overlaps: none found

🤖 Generated with Claude Code

Fixes #536 ## Contributor role (optional) - Fluxer ID: 1576315101458202624 ## What it changes - The problem on main: read from the code only. The preload window's title is a plain "Darner" and its heading names no build, so the build being prepared is only seen once the game starts (F3 panel, start notice). The preload window now names the build in two places: the window title (`Darner v2026.12.04.01-4`) and, in small grey text, at the right of the "Preparing shaders" line. The name is `start_notice::BUILD`, the one the F3 panel and the update check already use (`DARNER_BUILD_NAME`, else the release tag and commits since). One file, `apps/darner/src/preload_ui.rs`: 4 lines added, 1 changed. Nothing else is drawn or moved. ## How it was tested - Tested revision: 7c8aa34 (on main c8258f9). - Commands and results: - `cargo clippy --workspace --all-targets --locked -- -D warnings`: passed. - `cargo clippy --workspace --all-targets --all-features --locked -- -D warnings`: passed. - `cargo test --workspace --locked --no-fail-fast`: every crate passed except two `darner-gpu` tests, `watch::tests::streamed_texture_written_through_an_alias_reaches_a_full_queue` and `host::menu::tests::gray_shadow_lift_is_live_and_saved_as_a_percentage`. Each passed 3 of 3 runs on its own; `darner-gpu` does not depend on the `darner` app this changes. `darner-shader`'s `oracle64::legacy_mul_forms_are_exact` was stopped after about 10 minutes, unfinished; every other `darner-shader` test passed. The other crates: 859 passed, 0 failed. - `cargo xtask policy`: asset policy: 576 files ok. - In game: `darner.exe play --preload` from a release build of this branch. The window title read `Darner v2026.12.04.01-4` and the same name showed at the right of the "Preparing shaders" line. - Changes a default: no. - A/B result: not applicable (no speed or default change). - Gates run on that revision: all three (both clippy runs and `cargo test`, with the results above). - Gameplay, when relevant: not relevant; only the preload window was checked. - Shader wave sizes tested, when relevant: not relevant. - Hardware dependence: likely general. - Coverage gaps: not checked in another interface language (`zh-CN` uses another font, a longer heading could reach the build name) or at a DPI other than mine. ## Checklist - [x] I ran this change in the game, or say below why it can't be (docs, tests only). - [x] This PR contains one change based on `main`. - [x] The diff follows `docs/asset-policy.md`. - [x] I recorded this PR's dependencies below. - Depends on: none ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. - Replaces or overlaps: none found 🤖 Generated with [Claude Code](https://claude.com/claude-code)
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]>
mygmailwasratelimited changed title from Preload window: show the build being prepared to [startup] Preload window: show the build being prepared 2026-12-05 10:12:22 +00:00
mygmailwasratelimited changed title from [startup] Preload window: show the build being prepared to [pr-feature][startup] Preload window: show the build being prepared 2026-12-05 10:13:15 +00:00
First-time contributor

Tested merged onto c8258f95 (release), head 95e3e6b2, Windows 11.

Started play <title> --preload with each build and read the titles of the process's top-level windows (EnumWindows) for 40 s:

  • main: Darner
  • this PR: Darner v2026.12.04.01-7

I did not check the text drawn inside the window (only the title bar), or other languages.

AI-assisted testing (Claude Code, Claude Opus 5.5); results and text reviewed by me.

Tested merged onto `c8258f95` (release), head `95e3e6b2`, Windows 11. Started `play <title> --preload` with each build and read the titles of the process's top-level windows (EnumWindows) for 40 s: - `main`: `Darner` - this PR: `Darner v2026.12.04.01-7` I did not check the text drawn inside the window (only the title bar), or other languages. _AI-assisted testing (Claude Code, Claude Opus 5.5); results and text reviewed by me._
TrustNo1 changed title from [pr-feature][startup] Preload window: show the build being prepared to Preload window: show the build being prepared 2026-12-06 03:27:30 +00:00
Owner

Test needed — commit 95e3e6b2; what to check:

  • The problem on main: read from the code only. The preload window's title is a plain "Darner" and its heading names no build, so the build being prepared is only seen once the game starts (F3 panel, start notice).

The preload window now names the build in two places: the window title (Darner v2026.12.04.01-4) and, in small grey text, at the right of the "Preparing shaders" line. The name is start_notice::BUILD, the one the F3 panel and the update check already use (DARNER_BUILD_NAME, else the release tag and commits since). One file, apps/darner/src/preload_ui.rs: 4 lines added, 1 changed. Nothing else is drawn or moved.

Evidence to post: card + driver, settings, commit tested, before/after (switch off vs on, two runs each), fps median and p99, and one line saying you looked at the picture.

Reply testing to take this run; it's free again after 24 h with no results.

**Test needed** — commit `95e3e6b2`; what to check: - The problem on main: read from the code only. The preload window's title is a plain "Darner" and its heading names no build, so the build being prepared is only seen once the game starts (F3 panel, start notice). The preload window now names the build in two places: the window title (`Darner v2026.12.04.01-4`) and, in small grey text, at the right of the "Preparing shaders" line. The name is `start_notice::BUILD`, the one the F3 panel and the update check already use (`DARNER_BUILD_NAME`, else the release tag and commits since). One file, `apps/darner/src/preload_ui.rs`: 4 lines added, 1 changed. Nothing else is drawn or moved. Evidence to post: card + driver, settings, commit tested, before/after (switch off vs on, two runs each), fps median and p99, and one line saying you looked at the picture. Reply `testing` to take this run; it's free again after 24 h with no results.
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'preload-build-name:mygmailwasratelimited-preload-build-name'
git switch 'mygmailwasratelimited-preload-build-name'

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 'Main'
git merge --no-ff 'mygmailwasratelimited-preload-build-name'
git switch 'mygmailwasratelimited-preload-build-name'
git rebase 'Main'
git switch 'Main'
git merge --ff-only 'mygmailwasratelimited-preload-build-name'
git switch 'mygmailwasratelimited-preload-build-name'
git rebase 'Main'
git switch 'Main'
git merge --no-ff 'mygmailwasratelimited-preload-build-name'
git switch 'Main'
git merge --squash 'mygmailwasratelimited-preload-build-name'
git switch 'Main'
git merge --ff-only 'mygmailwasratelimited-preload-build-name'
git switch 'Main'
git merge 'mygmailwasratelimited-preload-build-name'
git push origin 'Main'
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 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
TrustNo1/Darner!542
No description provided.