launcher: prune old caches, compile only used pipelines, keep data out of source trees #200

Open
github-bot wants to merge 1 commit from github-bot/gh-200 into amd AGit
Owner

@⁠avalondrey on GitHub · 2026-12-04 14:46 UTC · original
avalondrey:launcher-improvements → amd · +181 −33 · 2 files · 1 commits · open

launcher: prune old caches, compile only used pipelines, keep data out of source trees

  • Add an optional "Clean old caches" button and -Clean switch that removes
    oversized run logs / frame files, PowerShell's rebuildable caches, caches
    left by earlier installs, and AMD's DxcCache.old. It never touches saves,
    the active cache, or the game files.
  • Compile only the pipelines earlier runs actually drew with (warm --used)
    instead of every pipeline the title ever created (~85,000), which makes the
    first precompile after an update much shorter.
  • When started from a source checkout (a .jaxe-root ancestor), keep the
    runtime cache and saves in %LOCALAPPDATA%\jaxe instead of the source tree,
    as required by docs/asset-policy.md. Release folders are unchanged.
  • Check updates against the version in the AMD asset name, since a release can
    bump only its NVIDIA asset while the AMD zip keeps the previous version.
  • Fix the launcher crash caused by naming the clean button $clean, which
    collides with the script's [switch]$Clean parameter.

Tested on Windows 11 with an RX 7800 XT: the launcher opens, -Clean reports the
freed space, the pipeline cache stays valid (warm --used -> 0 to make), and
saves/caches are preserved.

**@⁠avalondrey** on GitHub · 2026-12-04 14:46 UTC · [original](https://github.com/eikkapine/jaxe/pull/200) `avalondrey:launcher-improvements` → `amd` · +181 −33 · 2 files · 1 commits · open launcher: prune old caches, compile only used pipelines, keep data out of source trees - Add an optional "Clean old caches" button and `-Clean` switch that removes oversized run logs / frame files, PowerShell's rebuildable caches, caches left by earlier installs, and AMD's DxcCache.old. It never touches saves, the active cache, or the game files. - Compile only the pipelines earlier runs actually drew with (`warm --used`) instead of every pipeline the title ever created (~85,000), which makes the first precompile after an update much shorter. - When started from a source checkout (a `.jaxe-root` ancestor), keep the runtime cache and saves in %LOCALAPPDATA%\jaxe instead of the source tree, as required by docs/asset-policy.md. Release folders are unchanged. - Check updates against the version in the AMD asset name, since a release can bump only its NVIDIA asset while the AMD zip keeps the previous version. - Fix the launcher crash caused by naming the clean button `$clean`, which collides with the script's `[switch]$Clean` parameter. Tested on Windows 11 with an RX 7800 XT: the launcher opens, -Clean reports the freed space, the pipeline cache stays valid (`warm --used` -> 0 to make), and saves/caches are preserved.
Adds an optional Clean old caches button and -Clean switch, compiles only the
pipelines earlier runs drew with (warm --used), keeps runtime data out of
source checkouts, checks updates against the AMD asset version, and fixes the
$clean / [switch]$Clean name collision.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-04 14:48:30 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/200/head:github-bot/gh-200'
git switch 'github-bot/gh-200'

Merge

Merge the changes and update on Forgejo.
git switch 'amd'
git merge --no-ff 'github-bot/gh-200'
git switch 'github-bot/gh-200'
git rebase 'amd'
git switch 'amd'
git merge --ff-only 'github-bot/gh-200'
git switch 'github-bot/gh-200'
git rebase 'amd'
git switch 'amd'
git merge --no-ff 'github-bot/gh-200'
git switch 'amd'
git merge --squash 'github-bot/gh-200'
git switch 'amd'
git merge --ff-only 'github-bot/gh-200'
git switch 'amd'
git merge 'github-bot/gh-200'
git push origin 'amd'
This discussion has been locked. Commenting is limited to contributors.
No description provided.