Launcher: clean old caches, compile only used pipelines, keep game data out of source checkouts #2
Loading…
Reference in a new issue
No description provided.
Delete branch "launcher-cache-cleanup"
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?
Launcher: clean old caches, compile only used pipelines, keep game data out of source checkouts
Base:
amdatefc43ea(AMD buildv2026.12.05.1).This is a launcher-only change. It adds a safe cleanup path for the caches that
grow over time, and keeps a source checkout from collecting game-derived data.
Changes
Clean old caches (
-Cleanand a button in the launcher):removes only rebuildable data:
cache-old-*copies left by Fix Shaders;jaxe-prep-*.cmdbatches left by an interrupted precompile;times together under 200 MB);
%LOCALAPPDATA%\victorycaches andAMD\DxcCache.old.The active cache, saves, settings and game files are never touched.
Automatic log pruning on every start (same rules as above, without the
PowerShell/victory/AMD parts).
Test-SourceTree: whenjaxe.ps1runs from a checkout (a folder with.jaxe-root), cache and saves go to%LOCALAPPDATA%\jaxeinstead of insidethe source tree. A release folder keeps them beside the launcher, as before.
Existing saves from earlier checkout runs are copied over once.
warm --usedduring precompile: compile the pipelines earlier runs drewwith (about 4,600) instead of every known pipeline (~88,000). The rest are
still recorded and made on first use.
In-place updates keep
jaxe.ps1as well as settings, saves and cache,so local launcher changes survive an update.
Update check reads the AMD asset version (not the release tag). A release
can bump only the NVIDIA asset (tag
v2026.12.05.2) while the AMD zip staysv2026.12.05.1; the launcher then no longer offers a false update.jaxe Clean.cmd(new): double-click helper forjaxe.ps1 -Clean.Small fixes:
$cleanBtninstead of$clean(would collide with the new[switch]$Clean), fonts created outside the-Propertyhashtable, andImport Save / Reset Shaders / Copy Old Saves use the new cache/data roots.
Testing
Windows 11, AMD RX 7800 XT, from a jaxe checkout:
jaxe v2026.12.05.1).jaxe.ps1 -Clean: exit 0, report printed, only rebuildable data removed.jaxe.exe warm --used --limit 10: 10 pipelines compiled, then0 to make;the cache book is written under the new translator fingerprint.
gtahub/amdworktree; the result is identical to thetested launcher (line endings normalised).
No game files, assets, keys or machine-specific paths are included.
Pull request closed