launcher: clear caches from Game & Cache (upstream 873bdfd) #68
No reviewers
Labels
No labels
accessibility
amd
bug
crash
device-removed
documentation
duplicate
enhancement
feature-request
good first issue
help wanted
input
invalid
launcher
memory
needs-logs
nvidia
off-topic
performance
question
shaders
stutter
visuals
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/VGLALALA--ReVictory-RDNA3!68
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-68"
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?
@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 UTCFrom 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
27cf66c53eto6e477d965a