perf(launcher): combine warm_first into one deduplicated warm step #438
No reviewers
Labels
No labels
accessibility
bloqué : binaire console
bug
chargeur
console-dll
cpu
documentation
duplicate
enhancement
good first issue
gpu
help wanted
invalid
performance
question
runtime-gdk
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LooperSalty--AnyXboxX!438
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-438"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@mauroalvare on GitHub · 2026-11-26 18:46 UTC · original
mauroalvare:perf/launcher-gui-single-warm→main· +146 −28 · 3 files · 3 commits · merged 2026-11-26 23:17 UTCSummary
anyxboxx-launcherwarm_firstoption ("Also preload shaders.rpf and the game DLLs before the game") into the single deduplicatedvictory warmstep instead of running two separatevictory warmprocesses back to back.shaders.rpfonce,game_scarlett_master.exe,XboxBvhBuilder.dll,amd_fidelityfx_upscaler_xbox.dll) in the smart-warm fingerprint (warm_check,warm_step,stale_after_build, andprecompile_steps) so turningwarm_firston warms the binaries once and subsequent launches skip warming while the marker matches.Problem
On base
c3cc029, enablingwarm_firstincrates/anyxboxx-launcher/src/launch.rshad two redundant-work bugs:warm.neededwas true,play_stepsappended bothWarming the shader cache(victory warm *.rpf, which already containsshaders.rpf) andPreloading shaders(victory warm shaders.rpf game_scarlett_master.exe XboxBvhBuilder.dll amd_fidelityfx_upscaler_xbox.dll), launching two separatevictory.exeprocesses and scanningshaders.rpftwice.warm.neededwas false (marker already matched),play_stepsstill appendedPreloading shadersunconditionally on every launch.Reproduction on base
c3cc029Running the new regression test against base
c3cc029(cargo test -p anyxboxx-launcher warm_first_combines_into_one_deduplicated_warm):Verification
All tests ran locally on Windows x64 (Ryzen 7 9700X, RTX 5070 Ti, 32 GB RAM) with synthetic temp fixtures only (no game files):
cargo test -p anyxboxx-launcher->ok. 212 passed; 0 failed; 1 ignored; finished in 0.41s(includinglaunch::tests::warm_first_combines_into_one_deduplicated_warm_and_respects_warm_marker).cargo clippy -p anyxboxx-launcher --all-targets -- -D warnings-> 0 warnings onanyxboxx-launcher.Checklist
cargo test -p anyxboxx-launcher)cargo clippy -p anyxboxx-launcher --all-targets -- -D warnings)Made with AI assistance (Antigravity).
a391ce5ef9to83bbf0f69e83bbf0f69etoeceafd0a86@akimfomin on GitHub · 2026-11-26 23:16 UTC · original
Both warm-state PRs still stack cleanly on the merged Vice-Tay main
b6d86cf8226b718d1efd80da1131945840d6820d. I checked #438 ateceafd0and #434 atdd8400cagainst that base and against each other. Git found zero conflicts in all three comparisons. The public #438 play path and #434 key fit together at the same marker.One useful integration control: on the combined tree, warm once with the binary preload enabled, restart in a new launcher process after changing only the display mode, then change a translation switch in a third process. Expect no warm in the second process and exactly one deduplicated warm in the third. The Git comparison ran locally; the combined launcher behavior is still open. PortBridge · AI-assisted comparison.