WIP pr-fix & pr-feature shader preload tracking accuracy fix and F1 menu preset settings only in the Picture tab. #210

Closed
tragice wants to merge 4 commits from (deleted):main into main
First-time contributor

Contributor role (optional)

  • Fluxer ID: 1576470748871012355

What it changes

  • The accuracy of tracking shaders preloading.
  • The presets option is limited to the Picture tab in the F1 menu.

-Shaders were tracked by file, because allmost all shaders were in 1 file it would be stuck saying reading file 41of 49 83%. Now it is tracked by the amount of bytes of the translated hash, it gives an accurate percentage and smooth flow in the preloading shaders step 1 of 3 progress bar.
-Presets limited to Picture tab, no concerns or errors were present just design philosophy and OCD. the presets make the biggest most impactful changes in the pictures tab, keep it where it functions. (I was also tired of accidentally changing this setting in other menu tabs).

Checklist

  • I ran this change in the game, or say below why it can't be (docs, tests only).
  • -only effects the progress tracking of preloading shaders. this was tested and is now accurate.
  • -Presets option limited to Picture tab functioning and no other menu items broken.
<!-- Thanks for the pull request. Start the title with its type (pr-fix, pr-feature, pr-performance, pr-diagnostics, pr-refactor, pr-docs or pr-tests) and the area tags, like [pr-fix][memory]. This host has no labels yet, so the tags stay in the title. --> <!-- Use Fixes #N for a complete fix or Refs #N for a partial change. --> ## Contributor role (optional) - Fluxer ID: 1576470748871012355 ## What it changes - The accuracy of tracking shaders preloading. - The presets option is limited to the Picture tab in the F1 menu. <!-- What was wrong, and what this does about it. --> -Shaders were tracked by file, because allmost all shaders were in 1 file it would be stuck saying reading file 41of 49 83%. Now it is tracked by the amount of bytes of the translated hash, it gives an accurate percentage and smooth flow in the preloading shaders step 1 of 3 progress bar. -Presets limited to Picture tab, no concerns or errors were present just design philosophy and OCD. the presets make the biggest most impactful changes in the pictures tab, keep it where it functions. (I was also tired of accidentally changing this setting in other menu tabs). ## Checklist - [X] I ran this change in the game, or say below why it can't be (docs, tests only). - -only effects the progress tracking of preloading shaders. this was tested and is now accurate. - -Presets option limited to Picture tab functioning and no other menu items broken.
F1 menu has the preset option limited to the Picture menu.
This change tracks shader preloading by the bytes of the hash translated. It will give an accurate percentage of the shaders preloading now.
Collaborator

Nice change, the byte-based percent is the right measure for step 1. A heads-up so nobody is surprised later: three of our open PRs touch files this one touches.

  • #215 (step-3 window and log file) is the one that really clashes. In apps/darner/src/preload_ui.rs it rewrites note(), including the " shaders in the cache, file " branch that this PR replaces, and it changes lines() and some of the same tests.
  • #140 (preload resume mark, head 8ee484969) conflicts with this PR in preload_ui.rs only in the tests module: this PR edits the test at about line 480 and #140 adds a test right after it. It does not conflict in note() or lines().
  • #146 (F1 ZIP LOGS) edits crates/darner-gpu/src/host/menu.rs, but not page_of, the PRESET row or the page tests that this PR changes. It merges cleanly with this PR.

The maintainer's order is #153, then #215, then #140 (comment on #140). #215 is no longer WIP, so this PR will most likely need a rebase onto #215. The one conflict is in note() in preload_ui.rs; lines(), the tests and the locales files merge on their own. If #210 lands first, we rebase #215 and #140 as the maintainer asked. Say here if you want help sorting out the conflict.

Checked with git merge-tree on the PR heads (#210 54be9d603, #215 0d431b386, #140 8ee484969, #146 21611ee8c).

Drafted with AI assistance (Claude Code).

Nice change, the byte-based percent is the right measure for step 1. A heads-up so nobody is surprised later: three of our open PRs touch files this one touches. - #215 (step-3 window and log file) is the one that really clashes. In `apps/darner/src/preload_ui.rs` it rewrites `note()`, including the `" shaders in the cache, file "` branch that this PR replaces, and it changes `lines()` and some of the same tests. - #140 (preload resume mark, head 8ee484969) conflicts with this PR in `preload_ui.rs` only in the tests module: this PR edits the test at about line 480 and #140 adds a test right after it. It does not conflict in `note()` or `lines()`. - #146 (F1 ZIP LOGS) edits `crates/darner-gpu/src/host/menu.rs`, but not `page_of`, the PRESET row or the page tests that this PR changes. It merges cleanly with this PR. The maintainer's order is #153, then #215, then #140 (comment on #140). #215 is no longer WIP, so this PR will most likely need a rebase onto #215. The one conflict is in `note()` in `preload_ui.rs`; `lines()`, the tests and the `locales` files merge on their own. If #210 lands first, we rebase #215 and #140 as the maintainer asked. Say here if you want help sorting out the conflict. Checked with `git merge-tree` on the PR heads (#210 54be9d603, #215 0d431b386, #140 8ee484969, #146 21611ee8c). Drafted with AI assistance (Claude Code).
shader percentage tracking in preload window is fixed now. Also all copyright material and splash screen loading that was dormant has been removed.
tragice closed this pull request 2026-12-04 06:24:58 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
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
TrustNo1/Darner!210
No description provided.