launcher: clear caches from Game & Cache (upstream 873bdfd) #68

Manually merged
github merged 1 commit from github-bot/gh-68 into gh-pr/68/base 2026-12-06 00:43:39 +00:00 AGit
Owner

@⁠Kal0s-design on GitHub · 2026-12-05 19:59 UTC · original
Kal0s-design:port/clear-caches → main · +140 −2 · 1 files · 1 commits · merged 2026-12-05 22:31 UTC

From upstream ReVIctory (873bdfd, author kept), applied without conflicts. A CLEAR CACHES button in Settings, Game & Cache, under TRANSLATE SHADERS / WARM USED / WARM ALL. It asks first (No is the default), then deletes the shaders, pipelines and images folders under the cache folder on a worker thread, says how much it freed, and refreshes the cache status. Saves, settings and profiles aren't touched, a folder inside the repo is refused, and a folder that can't be removed (the game still running, say) is reported by name. The button is greyed out while a job runs or the cache check is going.

One thing worth knowing before merging, which the confirmation text doesn't say. The pipelines folder also holds known-shaders.bin and known-pipelines.bin, the record of what was actually used while playing, which is what WARM USED warms. Those aren't rebuilt by the next launch, they fill again as you play, so after a clear WARM USED starts from nothing (TRANSLATE SHADERS and WARM ALL work as before). That's upstream's behaviour too. If you'd rather keep those two files I can add that here.

I checked where this fork keeps things under the cache folder. The shader replacements folder comes from VICTORY_SHADER_REPLACE and lives wherever that points, so it isn't affected. The button sits at y 500, below the three job buttons at 452, with nothing else drawn there in that tab.

Clippy -D warnings is clean in both of the Lint workflow's runs and the victory app's tests pass (57). I haven't clicked it on a real cache here.

AI-assisted: yes

🤖 Generated with Claude Code

**@⁠Kal0s-design** on GitHub · 2026-12-05 19:59 UTC · [original](https://github.com/VGLALALA/ReVictory-RDNA3/pull/68) `Kal0s-design:port/clear-caches` → `main` · +140 −2 · 1 files · 1 commits · merged 2026-12-05 22:31 UTC From upstream ReVIctory (873bdfd, author kept), applied without conflicts. A CLEAR CACHES button in Settings, Game & Cache, under TRANSLATE SHADERS / WARM USED / WARM ALL. It asks first (No is the default), then deletes the shaders, pipelines and images folders under the cache folder on a worker thread, says how much it freed, and refreshes the cache status. Saves, settings and profiles aren't touched, a folder inside the repo is refused, and a folder that can't be removed (the game still running, say) is reported by name. The button is greyed out while a job runs or the cache check is going. One thing worth knowing before merging, which the confirmation text doesn't say. The pipelines folder also holds known-shaders.bin and known-pipelines.bin, the record of what was actually used while playing, which is what WARM USED warms. Those aren't rebuilt by the next launch, they fill again as you play, so after a clear WARM USED starts from nothing (TRANSLATE SHADERS and WARM ALL work as before). That's upstream's behaviour too. If you'd rather keep those two files I can add that here. I checked where this fork keeps things under the cache folder. The shader replacements folder comes from VICTORY_SHADER_REPLACE and lives wherever that points, so it isn't affected. The button sits at y 500, below the three job buttons at 452, with nothing else drawn there in that tab. Clippy -D warnings is clean in both of the Lint workflow's runs and the victory app's tests pass (57). I haven't clicked it on a real cache here. AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
A CLEAR CACHES button under TRANSLATE SHADERS / WARM USED / WARM ALL in
Settings -> Game & Cache: it asks first, then deletes the cache folders
the layer rebuilds on demand (shaders, pipelines, images), says how much
it freed, and that the next launch rebuilds them. Saves, settings and
profiles are untouched.

The button is drawn in the Game & Cache tab and the launcher builds and
lints clean; the deletion is the same shader/pipeline/image cache the
existing translate and warm jobs write.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 20:02:45 +00:00
github-bot force-pushed github-bot/gh-68 from 27cf66c53e to 6e477d965a 2026-12-05 22:33:29 +00:00 Compare
github-bot changed target branch from main to gh-pr/68/base 2026-12-05 22:33:30 +00:00
github manually merged commit 6e477d965a into gh-pr/68/base 2026-12-06 00:43:39 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.