upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/xma2_decoder.cpp
diff options
context:
space:
mode:
authorOreoFR <29048345+OreoFR@users.noreply.github.com>2026-12-03 03:37:16 +0100
committerOreoFR <29048345+OreoFR@users.noreply.github.com>2026-12-03 03:37:16 +0100
commit636e61f9427aeecaa6f7c97aab40b72945a37c7d (patch)
tree9c36dd5b92c9e5978449190a862e381e637b4fd0 /runtime/src/xma2_decoder.cpp
parentdaa7490869f1f6f298d3408ba0d5dd610320bea3 (diff)
launcher: Tools > Clear shader cache deletes the data folder's cache-2, never the saves
Players ask how to clear the cache. Tools gains Clear shader cache: it deletes the data folder's cache-2 (scripts/play-d3d12.ps1's LEONIDA_CACHE_DIR: translated shaders, pipelines, the title's prepared images), after a confirmation that names the folder and its size; refused while the game runs (started here or not); the saves in <data>/data and anything else in the data folder are not touched; the next start makes it again. shader_cache_dir follows a custom Data folder. New texts in de/es/fr/pt; docs/launcher.md's Tools line says it. Tests: ClearShaderCacheTests (only cache-2 goes, a read-only file included, the saves and leonida-settings.txt stay, a second clear says already empty; refused while running; the default data folder; size_text; the name is play-d3d12.ps1's). 114 OK; a clear that deletes the whole data folder fails them. Real window (isolated APPDATA, fake 8 MB cache): the button on Tools, the confirmation with the folder and "8.0 MB", the cache gone and the saves kept, then "already empty". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions