launcher: follow-ups after #3182 (FG+RT greying, zip to clone, game folder, AMD, clearer choices, clear cache, Controls, FSR 3 files) #3272

Manually merged
github merged 23 commits from github-bot/gh-3272 into gh-pr/3272/base 2026-12-03 04:44:30 +00:00 AGit
Owner

@⁠OreoFR on GitHub · 2026-12-03 01:28 UTC · original
OreoFR:feat/launcher-fgrt-follows-play → main · +2914 −205 · 14 files · 23 commits · merged 2026-12-03 04:28 UTC

The launcher's follow-ups after #3182 (merged) go into this one PR, as the maintainer asked. Items claimed in #2570:

  • LAUNCHER-FGRT-FOLLOWS-PLAY
  • LAUNCHER-ZIP-TO-CLONE (was #3277, closed in favour of this one)
  • the Play page's game folder box
  • no DLSS asked of an AMD or Intel card
  • the chosen button of a row shows clearly
  • a Controls page for keyboard and mouse binds
  • the files a card needs (DLSS, AMD's FSR 3 DLLs) fetched by default, and "FSR" named "FSR 3"

Carries #3273 (merzleckeier's Launcher.bat exit status on the update's resume path: f88239534, 29085dbf2, authorship kept).

Carries #3289 (merzleckeier's update-card layout cancel, fixes #3285: aec7489e3, authorship kept).

Depends on: #3276 (merged) (the runtime reads LEONIDA_KBM_BINDS once it is merged; until then the launcher passes it and the runtime ignores it).

One commit per item, plus the review fixes listed under Tested.

1. The FG + RT greying follows what play-nvidia.ps1 will hold (a0a3189f3)

This answers @⁠merzleckeier's review of 671d0c0fa.

  • Adapter mismatch. card_facts' vram is now the largest qwMemorySize of the display-class registry: the script's $vram, whatever -Adapter picks. DLSS and the maker check still follow the chosen card.
  • Effective hardware RT. launch_values computes what the script will hold for LEONIDA_HW_RT, LEONIDA_BVH_BUILDER, LEONIDA_FG_WITH_RT, LEONIDA_FRAME_GEN, LEONIDA_FSR_FRAMEGEN and the console. It follows the script's order:
    1. the launcher's switches;
    2. the F1 menu's file, for the keys no switch changed since the last PLAY ($switchSettings, mirrored here and checked against the script by a test);
    3. -More last.
  • settings_rules greys from those values. A muted note under Ray tracing says when the F1 menu or Advanced turns hardware RT on or off.

2. Update Mandy makes a zip copy a git clone, installing Git when it is missing (de2358e0b)

A player who downloaded the repository as a zip got only "use a git clone" from --update.

  • A zip copy now shows Update Mandy, and the rail reads "Zip copy: press Update Mandy".
  • zip_to_clone:
    1. git init, with origin = https://github.com/ProjectLeonida/mandy.git; fetch main, and a local main that follows it.
    2. git reset: the index goes to main, the files stay as they are.
    3. Every tracked file that differs is backed up to %LOCALAPPDATA%\Leonida\zip-copy-backup-<date>-<time>.
    4. main's version is checked out over the tracked files. Untracked and ignored files (builds, caches, game_path.txt) are not touched.
    5. The usual rebuild runs when d3d12/ changed.
    6. On any failure the new .git is removed, so the copy is a zip again, never half a clone.
  • Git missing: after one question, it is installed with winget install --id Git.Git -e --source winget --silent. find_git also looks in Git for Windows' install paths, since PATH is stale in the running process. Without winget, or on Linux and macOS, the launcher says how to install Git and changes nothing.
  • Copies that are already zips still run their old launcher, so this reaches them from their next zip download.

3. A missing game folder is a box on the Play page (c22cd85ed)

The single muted line "Choose your game folder in Settings" was missed.

  • It is now a box under the state, outlined in the warning colour: "Where is your game?", what to pick, and Choose game folder.
  • The chosen folder is saved at once, into the same field as Settings' Game folder.
  • A folder without the executable gets a red line in the box, and nothing changes.
  • PLAY without a folder opens the same picker instead of a warning and a jump to Settings, then starts once a folder with the game is chosen.

4. Without an NVIDIA card PLAY passes DLSS and Smooth Motion off (db005c435)

An AMD player (RX 9070) saw DLSS greyed but still on.

  • The cause: greying only changed the controls, so a saved DLSS choice stayed in PLAY's switches. There was no -NoDlss, and -Dlss <mode>, -FrameGen N and -SmoothMotion were still passed when saved. On the Series S profile, that asks the script for DLSS on a card that cannot run it.
  • The fix:
    • for_card turns off DLSS, its mode, DLSS frame generation's multiplier and Smooth Motion for PLAY. Frame generation on FSR or Off stays as chosen.
    • PLAY, its last_switches and the Play page's options line all use it.
    • The two switches are drawn off while greyed, and Resolution stays live.
    • The saved choices are kept and come back when an NVIDIA card is chosen.

5. The chosen button of a row is violet with white text (6d9a22f58)

A player's screenshot did not show that FSR was the frame generation mode.

  • Before: the chosen segment was a raised grey with a faint edge, too close to the others.
  • Now: it is filled with a deeper shade of the switches' violet (#7c3aed, white text at 5.7:1), like an "on" switch. Greyed, it is the same violet dimmed.
  • The rows concerned: Profile, frame generation's Mode, Picture in the window, Ray tracing.

6. Tools > Clear shader cache (636e61f94)

Players ask how to clear the cache. The new Tools button:

  • deletes the data folder's cache-2: play-d3d12.ps1's LEONIDA_CACHE_DIR, which holds the translated shaders, the pipelines and the title's prepared images;
  • asks for a confirmation first, naming the folder and its size;
  • is refused while the game runs.

The saves in data\ are not touched, and the next start makes the cache again.

7. A Controls page for keyboard and mouse binds (efa45bab9)

Players asked to remap keys. A new Controls page sits between Settings and Mods:

  • a short reference of the default keys (the full list is in docs/gameinput.md);
  • Your binds, one row per bind:
    • scope: Both / On foot / In a vehicle;
    • key: a press-a-key capture, mouse buttons included;
    • pad action: Square, Cross, RB, LT, the sticks, the d-pad... or Nothing;
    • a remove button;
  • Add bind, and Reset to defaults with a confirmation.

The runtime's own keys (F1, F3, F4, F8, F9, Alt, Caps Lock) are refused at capture, with a red note.

What PLAY does with them:

  • They are stored as kbm_binds in the runtime's syntax and passed as LEONIDA_KBM_BINDS.
  • They show in the Play options line and in Copy my info.
  • A LEONIDA_KBM_BINDS typed in the Advanced field wins, and the page says so.

8. The files a card needs, by default; Tools > Fetch AMD FidelityFX files; "FSR 3" (78a810cea)

FSR 3 frame generation needs AMD's signed amd_fidelityfx_loader_dx12.dll and amd_fidelityfx_framegeneration_dx12.dll in d3d12\amd-sdk\FidelityFX\bin. Nothing fetched them, so FSR 3 stayed off without a word.

  • The fetcher: d3d12\scripts\get-amd-fidelityfx.ps1, with Get-AMD-FidelityFX.cmd as a wrapper.

    • It downloads the two DLLs from GPUOpen-LibrariesAndSDKs/FidelityFX-SDK at tag v2.4.0, the version whose frame generation and swap chain interfaces match fsr.rs, together with AMD's licence.
    • It keeps them only if their sizes and git blob hashes match the pinned ones and Authenticode says they are signed by Advanced Micro Devices. Both are kept or neither.
    • amd-sdk/ is git-ignored.
  • Tools: a "Fetch AMD FidelityFX files" button (about 29 MB).

  • By default: a new "Download the files my card needs" setting, on by default. Before PLAY, the launcher fetches what the card lacks:

    • an RTX card gets the DLSS files;
    • an AMD, Intel or RTX 20/30 card gets the FSR 3 DLLs;
    • an unknown card, or one off Windows, gets nothing.

    This happens once, and the game starts even if a fetch fails.

  • With FSR 3 chosen and the DLLs missing, a note under Frame generation says so.

  • The frame generation mode "FSR" is now "FSR 3".

New texts in de/es/fr/pt for items 1 to 3 and 6 to 8, and docs/launcher.md covers them.

Tested

Windows 11, RTX 4070 Laptop. Launcher only, no game run; play-nvidia.ps1 is not touched.

  • Launcher suite: python -I tests/test_leonida_launcher.py passes 130 tests (one skipped) on origin/main d15e048a7 plus this branch.
    • Review fixes since the first push:
      • f1e9718e9, b4d0f54ea, 96765c480: merzleckeier's and DeadlyChirp's later rounds. The F1 menu's values are kept on AMD and Intel (-CardMask, which also survives SAVE AND RESTART, and a new card is not a player change), automatic DLSS FG follows -Adapter, the Linux cache and binds, the clear-cache race, unreadable binds kept, downloads follow the chosen modes, the options really passed are recorded, and there are no control bytes in the docs;
      • e4af10dc1: the zip conversion stops on a folder or file in the way;
      • daa749086: the F1 menu's NVIDIA-only values are dropped on AMD and Intel, and a hidden 1440p stays out on Series S.
    • Controls:
      • round-trip of the binds string, keysyms to the runtime's key names, and reserved keys refused;
      • the binds are passed to PLAY, and Advanced wins;
      • a guard reads the key, action and scope names from kbm.rs and checks every name the page can write. It is skipped on main until #3276 is in; it passes against #3276's kbm.rs via LEONIDA_KBM_RS;
      • counter-tests fail when the variable is not passed, a key is mis-mapped, an action is unknown, or the reserved list is short.
    • Clear shader cache: ClearShaderCacheTests. Only cache-2 goes, the saves stay, it is refused while the game runs, and the folder name is the one play-d3d12.ps1 sets. A clear that deletes the whole data folder fails these tests.
    • No NVIDIA card: ForCardTests. On AMD, -NoDlss is passed, with no -Dlss/-FrameGen/-SmoothMotion. FSR and Off are kept. NVIDIA and an unread card are unchanged. Resolution is live on AMD and greyed on NVIDIA with a DLSS mode. All 5 tests fail on the launcher before this commit.
    • FG + RT: merzleckeier's cases, and the switch table read from play-nvidia.ps1.
    • Zip: find_git, install_git and run_update on a zip copy, refused or allowed.
    • Zip with real git, a bare repository as origin:
      • an older zip with an edited file, an added file and an ignored build becomes a clean clone at origin/main, with the edit backed up and the untracked and ignored files kept;
      • a failed download leaves no .git.
  • FG + RT dry run: play-d3d12.ps1 → play-nvidia.ps1 with a stubbed registry agreed with the greying in 18 of 18 cases.
  • Zip end to end on this repository: a git archive of an older main plus a build, a game_path.txt and a README edit was converted in about 110 s.
    • 28 files were backed up (the edit among them) and 33 updated.
    • git status is clean apart from untracked files, and the build is kept.
  • Real windows, isolated APPDATA, patched pickers:
    • zip copy: the button and the rail text show; Cancel runs nothing; OK runs --update --install-git;
    • Controls: G, R and V captured with real key events give both:G=Square;both:R=none;foot:V=RB, saved and shown on Play; F1 is refused;
    • Clear shader cache, on a fake 8 MB cache: the confirmation shows "8.0 MB", the cache is deleted and the save is kept, then a second clear says "already empty";
    • Series X + FSR on a stubbed AMD card: every row shows its choice in violet;
    • AMD card (stubbed): the options line reads -SeriesS -NoDlss, DLSS and Smooth Motion are greyed and drawn off, and the saved DLSS value is kept;
    • game folder: the box shows with no folder; a wrong folder shows the error and saves nothing; a right one is saved to launcher.json and to Settings' field, and the box goes away.
  • tests/test_text_write_line_endings.py OK; scripts/check_no_game_data.py on the changed files OK.
  • Real winget, through install_git with find reporting Git missing once. Winget accepted the exact command, found Git 2.56.1 already installed with nothing newer (exit 0x8A15002B, no change), and the launcher then found git.exe and went on.
  • FidelityFX fetch, for real (RTX 4070 Laptop PC, Windows 11): exit 0.
    • Both DLLs are in place at the pinned sizes, and Get-AuthenticodeSignature gives Valid for both, signer CN=Advanced Micro Devices.
    • A second run reports them already there.
    • Fake unsigned DLLs (-From) are rejected and nothing is kept; a tag that is not pinned is refused.
  • Not tested: a first install of Git on a PC without it. There is no VM or Windows Sandbox here; the lookup in Git for Windows' install paths after it is covered by the unit tests.

AI-assisted (oreofr-agent, Claude Code).

🤖 Generated with Claude Code

**@⁠OreoFR** on GitHub · 2026-12-03 01:28 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272) `OreoFR:feat/launcher-fgrt-follows-play` → `main` · +2914 −205 · 14 files · 23 commits · merged 2026-12-03 04:28 UTC The launcher's follow-ups after #3182 (merged) go into this one PR, as the maintainer asked. Items claimed in #2570: - **LAUNCHER-FGRT-FOLLOWS-PLAY** - **LAUNCHER-ZIP-TO-CLONE** (was #3277, closed in favour of this one) - the Play page's game folder box - no DLSS asked of an AMD or Intel card - the chosen button of a row shows clearly - a Controls page for keyboard and mouse binds - the files a card needs (DLSS, AMD's FSR 3 DLLs) fetched by default, and "FSR" named "FSR 3" Carries #3273 (merzleckeier's `Launcher.bat` exit status on the update's resume path: f88239534, 29085dbf2, authorship kept). Carries #3289 (merzleckeier's update-card layout cancel, fixes #3285: aec7489e3, authorship kept). Depends on: #3276 (merged) (the runtime reads `LEONIDA_KBM_BINDS` once it is merged; until then the launcher passes it and the runtime ignores it). One commit per item, plus the review fixes listed under Tested. ## 1. The FG + RT greying follows what play-nvidia.ps1 will hold (a0a3189f3) This answers @⁠merzleckeier's review of 671d0c0fa. - **Adapter mismatch.** `card_facts`' `vram` is now the largest `qwMemorySize` of the display-class registry: the script's `$vram`, whatever `-Adapter` picks. DLSS and the maker check still follow the chosen card. - **Effective hardware RT.** `launch_values` computes what the script will hold for `LEONIDA_HW_RT`, `LEONIDA_BVH_BUILDER`, `LEONIDA_FG_WITH_RT`, `LEONIDA_FRAME_GEN`, `LEONIDA_FSR_FRAMEGEN` and the console. It follows the script's order: 1. the launcher's switches; 2. the F1 menu's file, for the keys no switch changed since the last PLAY (`$switchSettings`, mirrored here and checked against the script by a test); 3. `-More` last. - `settings_rules` greys from those values. A muted note under Ray tracing says when the F1 menu or Advanced turns hardware RT on or off. ## 2. Update Mandy makes a zip copy a git clone, installing Git when it is missing (de2358e0b) A player who downloaded the repository as a zip got only "use a git clone" from `--update`. - A zip copy now shows **Update Mandy**, and the rail reads "Zip copy: press Update Mandy". - **`zip_to_clone`:** 1. `git init`, with `origin` = `https://github.com/ProjectLeonida/mandy.git`; fetch `main`, and a local `main` that follows it. 2. `git reset`: the index goes to `main`, the files stay as they are. 3. Every tracked file that differs is backed up to `%LOCALAPPDATA%\Leonida\zip-copy-backup-<date>-<time>`. 4. `main`'s version is checked out over the tracked files. Untracked and ignored files (builds, caches, `game_path.txt`) are not touched. 5. The usual rebuild runs when `d3d12/` changed. 6. On any failure the new `.git` is removed, so the copy is a zip again, never half a clone. - **Git missing:** after one question, it is installed with `winget install --id Git.Git -e --source winget --silent`. `find_git` also looks in Git for Windows' install paths, since PATH is stale in the running process. Without winget, or on Linux and macOS, the launcher says how to install Git and changes nothing. - Copies that are already zips still run their old launcher, so this reaches them from their next zip download. ## 3. A missing game folder is a box on the Play page (c22cd85ed) The single muted line "Choose your game folder in Settings" was missed. - It is now a box under the state, outlined in the warning colour: "Where is your game?", what to pick, and **Choose game folder**. - The chosen folder is saved at once, into the same field as Settings' Game folder. - A folder without the executable gets a red line in the box, and nothing changes. - PLAY without a folder opens the same picker instead of a warning and a jump to Settings, then starts once a folder with the game is chosen. ## 4. Without an NVIDIA card PLAY passes DLSS and Smooth Motion off (db005c435) An AMD player (RX 9070) saw DLSS greyed but still on. - **The cause:** greying only changed the controls, so a saved DLSS choice stayed in PLAY's switches. There was no `-NoDlss`, and `-Dlss <mode>`, `-FrameGen N` and `-SmoothMotion` were still passed when saved. On the Series S profile, that asks the script for DLSS on a card that cannot run it. - **The fix:** - `for_card` turns off DLSS, its mode, DLSS frame generation's multiplier and Smooth Motion for PLAY. Frame generation on FSR or Off stays as chosen. - PLAY, its `last_switches` and the Play page's options line all use it. - The two switches are drawn off while greyed, and Resolution stays live. - The saved choices are kept and come back when an NVIDIA card is chosen. ## 5. The chosen button of a row is violet with white text (6d9a22f58) A player's screenshot did not show that FSR was the frame generation mode. - **Before:** the chosen segment was a raised grey with a faint edge, too close to the others. - **Now:** it is filled with a deeper shade of the switches' violet (`#7c3aed`, white text at 5.7:1), like an "on" switch. Greyed, it is the same violet dimmed. - The rows concerned: Profile, frame generation's Mode, Picture in the window, Ray tracing. ## 6. Tools > Clear shader cache (636e61f94) Players ask how to clear the cache. The new Tools button: - deletes the data folder's `cache-2`: `play-d3d12.ps1`'s `LEONIDA_CACHE_DIR`, which holds the translated shaders, the pipelines and the title's prepared images; - asks for a confirmation first, naming the folder and its size; - is refused while the game runs. The saves in `data\` are not touched, and the next start makes the cache again. ## 7. A Controls page for keyboard and mouse binds (efa45bab9) Players asked to remap keys. A new **Controls** page sits between Settings and Mods: - a short reference of the default keys (the full list is in `docs/gameinput.md`); - **Your binds**, one row per bind: - scope: Both / On foot / In a vehicle; - key: a press-a-key capture, mouse buttons included; - pad action: Square, Cross, RB, LT, the sticks, the d-pad... or Nothing; - a remove button; - **Add bind**, and **Reset to defaults** with a confirmation. The runtime's own keys (F1, F3, F4, F8, F9, Alt, Caps Lock) are refused at capture, with a red note. What PLAY does with them: - They are stored as `kbm_binds` in the runtime's syntax and passed as `LEONIDA_KBM_BINDS`. - They show in the Play options line and in Copy my info. - A `LEONIDA_KBM_BINDS` typed in the Advanced field wins, and the page says so. ## 8. The files a card needs, by default; Tools > Fetch AMD FidelityFX files; "FSR 3" (78a810cea) FSR 3 frame generation needs AMD's signed `amd_fidelityfx_loader_dx12.dll` and `amd_fidelityfx_framegeneration_dx12.dll` in `d3d12\amd-sdk\FidelityFX\bin`. Nothing fetched them, so FSR 3 stayed off without a word. - **The fetcher:** `d3d12\scripts\get-amd-fidelityfx.ps1`, with `Get-AMD-FidelityFX.cmd` as a wrapper. - It downloads the two DLLs from `GPUOpen-LibrariesAndSDKs/FidelityFX-SDK` at tag v2.4.0, the version whose frame generation and swap chain interfaces match `fsr.rs`, together with AMD's licence. - It keeps them only if their sizes and git blob hashes match the pinned ones and Authenticode says they are signed by Advanced Micro Devices. Both are kept or neither. - `amd-sdk/` is git-ignored. - **Tools:** a "Fetch AMD FidelityFX files" button (about 29 MB). - **By default:** a new "Download the files my card needs" setting, on by default. Before PLAY, the launcher fetches what the card lacks: - an RTX card gets the DLSS files; - an AMD, Intel or RTX 20/30 card gets the FSR 3 DLLs; - an unknown card, or one off Windows, gets nothing. This happens once, and the game starts even if a fetch fails. - With FSR 3 chosen and the DLLs missing, a note under Frame generation says so. - The frame generation mode "FSR" is now "FSR 3". New texts in de/es/fr/pt for items 1 to 3 and 6 to 8, and `docs/launcher.md` covers them. ## Tested Windows 11, RTX 4070 Laptop. Launcher only, no game run; `play-nvidia.ps1` is not touched. - **Launcher suite:** `python -I tests/test_leonida_launcher.py` passes 130 tests (one skipped) on `origin/main` d15e048a7 plus this branch. - Review fixes since the first push: - f1e9718e9, b4d0f54ea, 96765c480: merzleckeier's and DeadlyChirp's later rounds. The F1 menu's values are kept on AMD and Intel (`-CardMask`, which also survives SAVE AND RESTART, and a new card is not a player change), automatic DLSS FG follows `-Adapter`, the Linux cache and binds, the clear-cache race, unreadable binds kept, downloads follow the chosen modes, the options really passed are recorded, and there are no control bytes in the docs; - e4af10dc1: the zip conversion stops on a folder or file in the way; - daa749086: the F1 menu's NVIDIA-only values are dropped on AMD and Intel, and a hidden 1440p stays out on Series S. - Controls: - round-trip of the binds string, keysyms to the runtime's key names, and reserved keys refused; - the binds are passed to PLAY, and Advanced wins; - a guard reads the key, action and scope names from `kbm.rs` and checks every name the page can write. It is skipped on main until #3276 is in; it passes against #3276's `kbm.rs` via `LEONIDA_KBM_RS`; - counter-tests fail when the variable is not passed, a key is mis-mapped, an action is unknown, or the reserved list is short. - Clear shader cache: `ClearShaderCacheTests`. Only `cache-2` goes, the saves stay, it is refused while the game runs, and the folder name is the one `play-d3d12.ps1` sets. A clear that deletes the whole data folder fails these tests. - No NVIDIA card: `ForCardTests`. On AMD, `-NoDlss` is passed, with no `-Dlss`/`-FrameGen`/`-SmoothMotion`. FSR and Off are kept. NVIDIA and an unread card are unchanged. Resolution is live on AMD and greyed on NVIDIA with a DLSS mode. All 5 tests fail on the launcher before this commit. - FG + RT: merzleckeier's cases, and the switch table read from `play-nvidia.ps1`. - Zip: `find_git`, `install_git` and `run_update` on a zip copy, refused or allowed. - Zip with real git, a bare repository as origin: - an older zip with an edited file, an added file and an ignored build becomes a clean clone at `origin/main`, with the edit backed up and the untracked and ignored files kept; - a failed download leaves no `.git`. - **FG + RT dry run:** `play-d3d12.ps1` → `play-nvidia.ps1` with a stubbed registry agreed with the greying in 18 of 18 cases. - **Zip end to end on this repository:** a `git archive` of an older main plus a build, a `game_path.txt` and a README edit was converted in about 110 s. - 28 files were backed up (the edit among them) and 33 updated. - `git status` is clean apart from untracked files, and the build is kept. - **Real windows, isolated APPDATA, patched pickers:** - zip copy: the button and the rail text show; Cancel runs nothing; OK runs `--update --install-git`; - Controls: G, R and V captured with real key events give `both:G=Square;both:R=none;foot:V=RB`, saved and shown on Play; F1 is refused; - Clear shader cache, on a fake 8 MB cache: the confirmation shows "8.0 MB", the cache is deleted and the save is kept, then a second clear says "already empty"; - Series X + FSR on a stubbed AMD card: every row shows its choice in violet; - AMD card (stubbed): the options line reads `-SeriesS -NoDlss`, DLSS and Smooth Motion are greyed and drawn off, and the saved DLSS value is kept; - game folder: the box shows with no folder; a wrong folder shows the error and saves nothing; a right one is saved to `launcher.json` and to Settings' field, and the box goes away. - `tests/test_text_write_line_endings.py` OK; `scripts/check_no_game_data.py` on the changed files OK. - **Real winget, through `install_git`** with `find` reporting Git missing once. Winget accepted the exact command, found Git 2.56.1 already installed with nothing newer (exit `0x8A15002B`, no change), and the launcher then found `git.exe` and went on. - **FidelityFX fetch, for real** (RTX 4070 Laptop PC, Windows 11): exit 0. - Both DLLs are in place at the pinned sizes, and `Get-AuthenticodeSignature` gives Valid for both, signer CN=Advanced Micro Devices. - A second run reports them already there. - Fake unsigned DLLs (`-From`) are rejected and nothing is kept; a tag that is not pinned is refused. - **Not tested:** a first install of Git on a PC without it. There is no VM or Windows Sandbox here; the lookup in Git for Windows' install paths after it is covered by the unit tests. AI-assisted (oreofr-agent, Claude Code). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Two findings of merzleckeier's review of 671d0c0fa (PR #3182):

- Adapter mismatch: the 20 GB rule of frame generation with ray tracing
  judged the memory of the card chosen in the Graphics card list, while
  play-nvidia.ps1's $vram is the largest qwMemorySize of the display class
  registry, whatever -Adapter says. card_facts' "vram" is now that value
  (an 8 GB card chosen beside a 24 GB one keeps frame generation, as the
  launch does); DLSS and the maker still follow the chosen card.
- Effective hardware RT: the rule read the Ray tracing control only.
  launch_values computes what the script will hold for LEONIDA_HW_RT,
  LEONIDA_BVH_BUILDER, LEONIDA_FG_WITH_RT, LEONIDA_FRAME_GEN,
  LEONIDA_FSR_FRAMEGEN and the console, in its order: the launcher's
  switches, the F1 menu's file for the keys no switch changed since the
  last PLAY takes ($switchSettings, mirrored and checked against the
  script by a test; -HardwareRT is not in it), then -More last.
  settings_rules greys from it, and a muted note under Ray tracing says
  when the F1 menu or Advanced turns it on or off.

Tests: merzleckeier's cases (8 GB chosen + 24 GB present enabled; Series X
8 GB with RT Off and LEONIDA_HW_RT=1 from F1 or Advanced greyed; RT off
everywhere enabled; a switch changed since the last PLAY wins over F1),
the switch table read from play-nvidia.ps1, the new texts in de/es/fr/pt.
A dry run through play-d3d12.ps1 -> play-nvidia.ps1 of origin/main with a
stubbed registry agreed with the greying in 18 of 18 cases.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-03 01:32:46 +00:00
Author
Owner

@⁠merzleckeier on GitHub · 2026-12-03 01:35 UTC · original

Rechecked a0a3189f on d15e048a. The launcher suite had 94 passes and one skip on Linux. With integer registry values, the real wrapper dry run agrees with the UI for the selected 8 GiB card beside a 24 GiB card, and with HW RT from F1 or Advanced. I also confirmed the current script's F1-off precedence after a newly enabled launcher Hardware RT choice.

One remaining representation mismatch for a follow-up. card_facts accepts an eight-byte qwMemorySize, while play-nvidia.ps1 casts $q directly to [uint64] inside the registry-walk try block. In PowerShell 7.4.21 with Series X, hardware RT and explicit 2×, I had the actual public scripts read two synthetic registries:

  • Only 8 GiB as an eight-byte little-endian array: the UI disables frame generation, but the dry run keeps 2× because the cast fails before a size is recorded.
  • Integer 8 GiB followed by 24 GiB as an eight-byte array: the UI enables it, but the dry run leaves it off because the walk keeps the earlier 8 GiB.

Decoding the eight-byte value with [BitConverter]::ToUInt64($q, 0) before the cast in a disposable copy made both cases agree and kept the integer and F1/Advanced controls green. This uses the same binary representation the Python code already supports. Synthetic only, with registry and GPU queries stubbed. AI-assisted with OpenAI Codex.

**@⁠merzleckeier** on GitHub · 2026-12-03 01:35 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#issuecomment-7364512577) Rechecked `a0a3189f` on `d15e048a`. The launcher suite had 94 passes and one skip on Linux. With integer registry values, the real wrapper dry run agrees with the UI for the selected 8 GiB card beside a 24 GiB card, and with HW RT from F1 or Advanced. I also confirmed the current script's F1-off precedence after a newly enabled launcher Hardware RT choice. One remaining representation mismatch for a follow-up. `card_facts` accepts an eight-byte `qwMemorySize`, while `play-nvidia.ps1` casts `$q` directly to `[uint64]` inside the registry-walk try block. In PowerShell 7.4.21 with Series X, hardware RT and explicit 2×, I had the actual public scripts read two synthetic registries: - Only 8 GiB as an eight-byte little-endian array: the UI disables frame generation, but the dry run keeps 2× because the cast fails before a size is recorded. - Integer 8 GiB followed by 24 GiB as an eight-byte array: the UI enables it, but the dry run leaves it off because the walk keeps the earlier 8 GiB. Decoding the eight-byte value with `[BitConverter]::ToUInt64($q, 0)` before the cast in a disposable copy made both cases agree and kept the integer and F1/Advanced controls green. This uses the same binary representation the Python code already supports. Synthetic only, with registry and GPU queries stubbed. AI-assisted with OpenAI Codex.
Author
Owner

@⁠fiestorra on GitHub · 2026-12-03 01:38 UTC · original

VERIFY-3272 — green at its head, and it is one commit away from #3273, which is not

Ran at the head (a0a3189f3):

tests/test_leonida_launcher.py     Ran 95 tests — OK
tests/test_win_launchers.py        Ran 11 tests — OK

So this branch is green, and the suite is 95 tests in 0.36 s — the launcher's tests never start the launcher, which is why a 3 500-line rewrite runs in a fifth of a second.

And the relationship with #3273 is worth having in writing, because the two look like alternatives and are not:

git log pr/3273..pr/3272      →  a0a3189f3  (one commit: the FG + RT greying)
git diff --stat pr/3273...pr/3272  →  6 files changed, 335 insertions(+), 95 deletions(-)

#3272 is #3273 plus that commit — not an ancestor relationship (the histories were rebased, so the SHAs differ), but one commit of content. And the test counts differ: 95 here, 87 there, which is the other half of it — this branch has the tests that branch does not.

What that means for the queue: #3273 is red on one literal (I posted the exact exit /b %ERRORLEVEL% versus exit /b\r\n:start\r\n in that pull request) and #3272 carries the same file, green. If the newer work is the one to keep, #3273 closes and its one commit's worth of content is already here — and if #3273 is meant to be merged first, then this one should be rebased on top of it rather than merged beside it.

What I verified and what I did not: the two test files, which is 106 tests; not the 6 485 added lines — the four 315-line i18n JSONs, Launcher.bat's 151 lines and tools/leonida_launcher.py's 3 521. python -m json.tool on the four JSONs would be the cheap next check and I did not run it.

Written with an AI assistant.

**@⁠fiestorra** on GitHub · 2026-12-03 01:38 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#issuecomment-7364568209) ## VERIFY-3272 — green at its head, and it is **one commit away from `#3273`**, which is not **Ran at the head (`a0a3189f3`)**: ``` tests/test_leonida_launcher.py Ran 95 tests — OK tests/test_win_launchers.py Ran 11 tests — OK ``` **So this branch is green, and the suite is 95 tests in 0.36 s** — **the launcher's tests never start the launcher, which is why a 3 500-line rewrite runs in a fifth of a second.** **And the relationship with `#3273` is worth having in writing**, because the two look like alternatives and are not: ``` git log pr/3273..pr/3272 → a0a3189f3 (one commit: the FG + RT greying) git diff --stat pr/3273...pr/3272 → 6 files changed, 335 insertions(+), 95 deletions(-) ``` **`#3272` is `#3273` plus that commit** — **not an ancestor relationship** (the histories were rebased, so the SHAs differ), **but one commit of content.** **And the test counts differ**: **95 here, 87 there**, **which is the other half of it** — **this branch has the tests that branch does not.** **What that means for the queue**: **`#3273` is red on one literal** (I posted the exact `exit /b %ERRORLEVEL%` versus `exit /b\r\n:start\r\n` in that pull request) **and `#3272` carries the same file, green.** **If the newer work is the one to keep, `#3273` closes and its one commit's worth of content is already here** — **and if `#3273` is meant to be merged first, then this one should be rebased on top of it rather than merged beside it.** **What I verified and what I did not**: **the two test files, which is 106 tests**; **not the 6 485 added lines** — **the four 315-line i18n JSONs, `Launcher.bat`'s 151 lines and `tools/leonida_launcher.py`'s 3 521.** **`python -m json.tool` on the four JSONs would be the cheap next check and I did not run it.** Written with an AI assistant.
Author
Owner

@⁠fiestorra on GitHub · 2026-12-03 01:38 UTC · original

Follow-up to my own comment, because I said I had not run it: the four i18n files parse.

python -m json.tool tools/launcher_i18n/{de,es,fr,pt}.json   →  all four valid

So the 315 lines each are well-formed JSON, not a truncated paste — which is the cheapest failure a 315-line translation file has, and it is not there.

What I still have not checked about them: that the four have the same key set — a missing key in es.json would fall back to English or to a blank label, and json.tool would not say a word. If the launcher's loader does not already refuse a missing key, that comparison is three lines of Python and belongs in tests/test_leonida_launcher.py next to the rest.

**@⁠fiestorra** on GitHub · 2026-12-03 01:38 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#issuecomment-7364570356) **Follow-up to my own comment, because I said I had not run it**: the four i18n files parse. ``` python -m json.tool tools/launcher_i18n/{de,es,fr,pt}.json → all four valid ``` **So the 315 lines each are well-formed JSON, not a truncated paste** — **which is the cheapest failure a 315-line translation file has, and it is not there.** **What I still have not checked about them**: **that the four have the same key set** — **a missing key in `es.json` would fall back to English or to a blank label, and `json.tool` would not say a word.** **If the launcher's loader does not already refuse a missing key, that comparison is three lines of Python and belongs in `tests/test_leonida_launcher.py` next to the rest.**
Author
Owner

@⁠fiestorra on GitHub · 2026-12-03 01:38 UTC · original

The key-set check, run: all four files carry the same 321 keys, and none is empty

I said in my last comment that "three lines of Python" would compare the four i18n files and that I had not run it. Run now, on the head:

de.json(321), es.json(321), fr.json(321), pt.json(321)
common keys to all four: 321
empty values: 0 in each
values identical to their key: 0 in each

So the translation is complete on this branch — 321 keys in four languages, no missing key, no blank label, no placeholder left as the key name. That is the failure mode a json.tool miss would have hidden, and it is not there.

And the check belongs in the suite rather than in a comment: a tests/test_launcher_i18n.py that loads the four files and asserts the key sets are equal and no value is blank is ten lines, runs in milliseconds, and fails the day someone adds an English string without its three translations. The launcher already has the pattern — switches.md's --check is the same idea for the switches.

What this does not say: that the translations are right — only that each key has one. A wrong word in de.json is invisible to this and to any test; that is what the four-language reviewers are for.

Written with an AI assistant.

**@⁠fiestorra** on GitHub · 2026-12-03 01:38 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#issuecomment-7364579579) ## The key-set check, run: **all four files carry the same 321 keys, and none is empty** **I said in my last comment that "three lines of Python" would compare the four i18n files and that I had not run it. Run now, on the head:** ``` de.json(321), es.json(321), fr.json(321), pt.json(321) common keys to all four: 321 empty values: 0 in each values identical to their key: 0 in each ``` **So the translation is complete on this branch** — **321 keys in four languages, no missing key, no blank label, no placeholder left as the key name.** **That is the failure mode a `json.tool` miss would have hidden, and it is not there.** **And the check belongs in the suite rather than in a comment**: **a `tests/test_launcher_i18n.py` that loads the four files and asserts the key sets are equal and no value is blank is ten lines, runs in milliseconds, and fails the day someone adds an English string without its three translations.** **The launcher already has the pattern — `switches.md`'s `--check` is the same idea for the switches.** **What this does not say**: **that the translations are right** — **only that each key has one.** **A wrong word in `de.json` is invisible to this and to any test**; **that is what the four-language reviewers are for.** Written with an AI assistant.
Author
Owner

@⁠fiestorra on GitHub · 2026-12-03 01:39 UTC · original

Correction to my own comment, one minute after posting it

I wrote "values identical to their key: 0 in each". That was wrong — the check printed 12 / 8 / 13 / 11, and I repeated the number I expected instead of the one I got.

The real result, with the keys named:

de.json  12  e.g. 'Auto', 'Auto ({language})', 'Hardware', 'Launcher', 'Mods'
es.json   8  e.g. 'Auto', 'Auto ({language})', 'Hardware', 'Mods', 'Shaders'
fr.json  13  e.g. 'Auto', 'Auto ({language})', 'Capture', 'Console', 'Mode'
pt.json  11  e.g. 'Auto', 'Auto ({language})', 'Console', 'Hardware', 'Mods'

And they are not a defect: Auto, Hardware, Mods, Console, Capture, Shaders are the words these languages use as-is (Portuguese Console, Spanish Mods, French Capture), and Auto ({language}) is a format string whose placeholder stays in English on purpose. So "identical to the key" is my heuristic's false positive, not a missing translation — which is exactly why a check like this belongs in the suite with the empty test and not with a guess about words.

What stands from the comment: the four files carry the same 321 keys, and no value is blank — both measured, both printed above my mistake.

The lesson is the one I keep running into tonight, now about my own output: I posted the expected number, not the measured one, in a comment whose whole value was that it had been measured. The empty-value count was 0 and I let it carry the neighbouring number with it.

**@⁠fiestorra** on GitHub · 2026-12-03 01:39 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#issuecomment-7364586713) ## Correction to my own comment, one minute after posting it **I wrote "values identical to their key: 0 in each". That was wrong** — **the check printed 12 / 8 / 13 / 11**, and I repeated the number I expected instead of the one I got. **The real result, with the keys named**: ``` de.json 12 e.g. 'Auto', 'Auto ({language})', 'Hardware', 'Launcher', 'Mods' es.json 8 e.g. 'Auto', 'Auto ({language})', 'Hardware', 'Mods', 'Shaders' fr.json 13 e.g. 'Auto', 'Auto ({language})', 'Capture', 'Console', 'Mode' pt.json 11 e.g. 'Auto', 'Auto ({language})', 'Console', 'Hardware', 'Mods' ``` **And they are not a defect**: **`Auto`, `Hardware`, `Mods`, `Console`, `Capture`, `Shaders` are the words these languages use as-is** (Portuguese `Console`, Spanish `Mods`, French `Capture`), **and `Auto ({language})` is a format string whose placeholder stays in English on purpose.** **So "identical to the key" is my heuristic's false positive, not a missing translation** — **which is exactly why a check like this belongs in the suite with the *empty* test and not with a guess about words.** **What stands from the comment**: **the four files carry the same 321 keys**, **and no value is blank** — **both measured, both printed above my mistake.** **The lesson is the one I keep running into tonight, now about my own output**: **I posted the expected number, not the measured one, in a comment whose whole value was that it had been measured.** **The empty-value count was 0 and I let it carry the neighbouring number with it.**
github-bot changed title from launcher: the FG + RT greying follows what play-nvidia.ps1 will hold (LAUNCHER-FGRT-FOLLOWS-PLAY) to launcher: follow-ups after #3182 (FG+RT greying, zip copy to clone with Git install, game folder box) 2026-12-03 01:59:11 +00:00
A copy downloaded as a zip has no .git, so the launcher could only tell the
player to clone instead. Now the Updates card shows Update Mandy on a zip
copy too, and --update turns the folder into a clone in place
(zip_to_clone):
- git init, origin set to https://github.com/ProjectLeonida/mandy.git,
  a fetch of main, and a local main that follows it. The index is set to
  main, with the files left as they are.
- Every tracked file that differs (the zip's older version or the
  player's own edit: they cannot be told apart) is first copied to
  %LOCALAPPDATA%\Leonida\zip-copy-backup-<date>-<time>. Then main's
  version is checked out over the tracked files.
- Untracked files (builds, caches, game_path.txt) are not touched.
- The usual rebuild follows when d3d12/ changed.
- On any failure the new .git is removed, so the next start finds a zip
  copy again, never half a clone.

Without Git, the question before the update says that Git is installed
first with winget (Git.Git, silent). The window passes --install-git; a
console asks [y/N]. find_git also looks where Git for Windows puts
git.exe, since the running launcher's PATH is older than the install, and
_git uses it. Without winget, and on Linux or macOS, the launcher says how
to install Git and changes nothing.

Tests:
- find_git, install_git and the ask / --install-git paths, with stubs.
- With the real git against a bare origin: an older "zip" with an edited
  file, an added file and an ignored build becomes a clean clone at
  origin/main. The differing files are backed up, the others are kept,
  and the next run_update pulls a new commit.
- A failed download leaves the zip copy as it was.
- The texts are in de/es/fr/pt; docs/launcher.md is updated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Without a game folder holding game_scarlett_master.exe, the Play card showed
one muted line ("Choose your game folder in Settings") that players missed.
It is now a box under the state, outlined in the warning colour: "Where is
your game?", what to pick, and a Choose game folder button. The picker's
folder is saved at once (the same field as Settings' Game folder); one
without the executable says so in the box in red and changes nothing. PLAY
without a folder opens the same picker instead of a warning and a jump to
Settings, and starts once a folder with the game is chosen.

New texts in de/es/fr/pt; the two old ones removed. docs/launcher.md says it.

Tests: tests/test_leonida_launcher.py (87 OK), test_text_write_line_endings;
a real-window check (isolated APPDATA, patched picker): the box shows with no
folder, a wrong folder shows the error and saves nothing, a right one is
saved to launcher.json and in Settings' field, and the box goes away.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Owner

@⁠fiestorra on GitHub · 2026-12-03 01:54 UTC · original

The eight-byte qwMemorySize is a good catch, and the two cases you list are the ones that would have been reported as "frame generation disappears" by a player — the UI says one thing, the dry run says another, and neither is wrong on its own.

Your fix is the one I would take: [BitConverter]::ToUInt64($q, 0) before the cast, because the value is eight bytes in the registry and a cast is not a decode. And the fact that you proved it in a disposable copy — both cases agree, the integer case unchanged — is the right way to settle a representation question, whereas reading the two files and reasoning would have left a doubt.

One thing worth saying about the follow-up: if it rides a later pull request, the two cases make a good test — an eight-byte-only value and an integer-then-eight-byte value, asserting that card_facts and the dry run agree in both. That is a table test over registry shapes, and it runs on Windows without the title.

And the recheck itself is worth recording: 94 passes and one skip on Linux is a different number from the 95 I saw here, which is exactly what a platform-dependent test should look like — the skip names itself, and the count difference is accounted for.

No objection from me to it landing as it stands.

**@⁠fiestorra** on GitHub · 2026-12-03 01:54 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#issuecomment-7364861881) **The eight-byte `qwMemorySize` is a good catch, and the two cases you list are the ones that would have been reported as "frame generation disappears" by a player** — **the UI says one thing, the dry run says another, and neither is wrong on its own.** **Your fix is the one I would take**: **`[BitConverter]::ToUInt64($q, 0)` before the cast**, **because the value is eight bytes in the registry and a cast is not a decode**. **And the fact that you proved it in a disposable copy — both cases agree, the integer case unchanged — is the right way to settle a representation question**, **whereas reading the two files and reasoning would have left a doubt.** **One thing worth saying about the follow-up**: **if it rides a later pull request, the two cases make a good test** — **an eight-byte-only value and an integer-then-eight-byte value, asserting that `card_facts` and the dry run agree in both.** **That is a table test over registry shapes, and it runs on Windows without the title.** **And the recheck itself is worth recording**: **94 passes and one skip on Linux** **is a different number from the 95 I saw here**, **which is exactly what a platform-dependent test should look like** — **the skip names itself, and the count difference is accounted for.** **No objection from me to it landing as it stands.**
Author
Owner

@⁠fiestorra on GitHub · 2026-12-03 01:59 UTC · original

Re-verified at c22cd85ed: 101 tests, and the i18n folder is still here — my test is not

On the current base (d15e048a7, after #3182):

head c22cd85ed · 7 files changed, 855 insertions(+), 148 deletions(-)
tests/test_leonida_launcher.py     Ran 101 tests — OK
tests/test_win_launchers.py        Ran 11 tests — OK

101, against the 95 I measured before #3182 — so the push added six tests and the whole suite still passes on the new launcher.

And one thing I checked while I was there: tests/test_launcher_i18n.py is not in the branch, while tools/launcher_i18n/ is — so the branch's translations have no test that they carry the same keys or that none is blank. That is exactly what my test-launcher-i18n branch adds (5f63199a7, Depends on: #3272): 321 keys in each of the four, no blank, and it skips while the folder is absent.

The qwMemorySize follow-up you described is still open — the two cases you listed (eight-byte only, and integer followed by eight bytes) would make a good table test, and that one needs the registry shapes, not the folder.

Nothing to ask: this head is verified as far as the suite goes, and the only thing I would add is the twelve-line test above, which is already written and waiting on the branch.

**@⁠fiestorra** on GitHub · 2026-12-03 01:59 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#issuecomment-7364968860) ## Re-verified at `c22cd85ed`: 101 tests, and the i18n folder is still here — my test is not **On the current base (`d15e048a7`, after `#3182`)**: ``` head c22cd85ed · 7 files changed, 855 insertions(+), 148 deletions(-) tests/test_leonida_launcher.py Ran 101 tests — OK tests/test_win_launchers.py Ran 11 tests — OK ``` **101, against the 95 I measured before `#3182`** — **so the push added six tests and the whole suite still passes on the new launcher.** **And one thing I checked while I was there**: **`tests/test_launcher_i18n.py` is not in the branch**, **while `tools/launcher_i18n/` is** — **so the branch's translations have no test that they carry the same keys or that none is blank.** **That is exactly what my `test-launcher-i18n` branch adds** (`5f63199a7`, `Depends on: #3272`): **321 keys in each of the four, no blank, and it skips while the folder is absent.** **The `qwMemorySize` follow-up you described is still open** — **the two cases you listed (eight-byte only, and integer followed by eight bytes) would make a good table test**, **and that one needs the registry shapes, not the folder.** **Nothing to ask**: **this head is verified as far as the suite goes**, **and the only thing I would add is the twelve-line test above**, **which is already written and waiting on the branch.**
Author
Owner

@⁠fiestorra on GitHub · 2026-12-03 02:00 UTC · original

Addendum, measured after I posted: 326 keys now, in four files, and still no test that they match

The folder check I ran just after posting the comment above:

tools/launcher_i18n/     4 files
de.json                  326 keys

326, not the 321 I measured an hour ago — so the push added five strings — and the files are still bare of any check that the four agree. My test-launcher-i18n compares the four key sets rather than a hard-coded count, so it does not care whether it is 321 or 326, which is the reason it is written that way.

The five new strings are also the reason a test is worth more than the number: each translation pass adds to one file first, and the gap between "the four have 326" and "the four have whatever each of them has" is invisible until somebody reads that menu in Portuguese.

**@⁠fiestorra** on GitHub · 2026-12-03 02:00 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#issuecomment-7364971080) ## Addendum, measured after I posted: **326 keys now, in four files, and still no test that they match** **The folder check I ran just after posting the comment above**: ``` tools/launcher_i18n/ 4 files de.json 326 keys ``` **326, not the 321 I measured an hour ago** — **so the push added five strings** — **and the files are still bare of any check that the four agree.** **My `test-launcher-i18n` compares the four key sets rather than a hard-coded count**, **so it does not care whether it is 321 or 326**, **which is the reason it is written that way.** **The five new strings are also the reason a test is worth more than the number**: **each translation pass adds to one file first**, **and the gap between "the four have 326" and "the four have whatever each of them has" is invisible until somebody reads that menu in Portuguese.**
Author
Owner

@⁠fiestorra on GitHub · 2026-12-03 02:00 UTC · original

The four files agree: 326 keys in each, nothing missing — measured on c22cd85ed

I said a minute ago that nothing checks whether the four translations carry the same keys. I checked, and they do:

cuentas: {de: 326, es: 326, fr: 326, pt: 326}
union:    326
faltan:   de 0 · es 0 · fr 0 · pt 0

So the branch is correct as it stands on this head, and my test-launcher-i18n would go green on it rather than find something — which is what a guard is supposed to do on a good day.

The reason the guard is still worth having: the next string goes into whichever file the author is working in. Five strings were added since an hour ago (321 → 326), they landed in all four at once this time, and the only thing that says so is a comparison nobody runs — json.tool would call a file with 325 keys valid, and the launcher would render one English label among 326 Portuguese ones without an error.

So: nothing to ask, nothing to fix. The test is a guard against the next commit, not a complaint about this one, and that is the honest way to put it — a pull request that is already right does not need a test to prove it was wrong.

**@⁠fiestorra** on GitHub · 2026-12-03 02:00 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#issuecomment-7364980284) ## The four files agree: **326 keys in each, nothing missing** — measured on `c22cd85ed` **I said a minute ago that nothing checks whether the four translations carry the same keys. I checked, and they do**: ``` cuentas: {de: 326, es: 326, fr: 326, pt: 326} union: 326 faltan: de 0 · es 0 · fr 0 · pt 0 ``` **So the branch is correct as it stands on this head**, **and my `test-launcher-i18n` would go green on it rather than find something** — **which is what a guard is supposed to do on a good day.** **The reason the guard is still worth having**: **the next string goes into whichever file the author is working in.** **Five strings were added since an hour ago** (321 → 326), **they landed in all four at once this time**, **and the only thing that says so is a comparison nobody runs** — **`json.tool` would call a file with 325 keys valid, and the launcher would render one English label among 326 Portuguese ones without an error.** **So: nothing to ask, nothing to fix.** **The test is a guard against the next commit, not a complaint about this one**, **and that is the honest way to put it** — **a pull request that is already right does not need a test to prove it was wrong.**
Author
Owner

@⁠merzleckeier on GitHub · 2026-12-03 02:03 UTC · original · reviewed

[P1] Protect local files and directories during ZIP conversion. I tested c22cd85e on current main (d15e048a) with real Git and a disposable local origin. In one case the ZIP copy had layout/local-notes.txt and incoming main tracked a file named layout. In the other, the ZIP copy had a local file named settings and incoming main tracked settings/defaults.txt. Both updates returned 0. In both cases the local content disappeared from the copy and was absent from the backup. A modified regular file was backed up correctly, and unrelated ignored and untracked files survived.

In zip_to_clone, --diff-filter=MT leaves these path collisions outside the backup list, then git checkout HEAD -- . replaces the local content. Check each incoming path and its parent directories before checkout. I tested an early abort in a disposable copy. It preserved both conflicting paths and removed the newly initialized .git, and the ordinary launcher suite still had 100 passes and one skip.

AI-assisted with OpenAI Codex.

**@⁠merzleckeier** on GitHub · 2026-12-03 02:03 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#pullrequestreview-6162450999) · **reviewed** **[P1] Protect local files and directories during ZIP conversion.** I tested `c22cd85e` on current `main` (`d15e048a`) with real Git and a disposable local origin. In one case the ZIP copy had `layout/local-notes.txt` and incoming `main` tracked a file named `layout`. In the other, the ZIP copy had a local file named `settings` and incoming `main` tracked `settings/defaults.txt`. Both updates returned `0`. In both cases the local content disappeared from the copy and was absent from the backup. A modified regular file was backed up correctly, and unrelated ignored and untracked files survived. In `zip_to_clone`, `--diff-filter=MT` leaves these path collisions outside the backup list, then `git checkout HEAD -- .` replaces the local content. Check each incoming path and its parent directories before checkout. I tested an early abort in a disposable copy. It preserved both conflicting paths and removed the newly initialized `.git`, and the ordinary launcher suite still had 100 passes and one skip. AI-assisted with OpenAI Codex.
github-bot changed title from launcher: follow-ups after #3182 (FG+RT greying, zip copy to clone with Git install, game folder box) to launcher: follow-ups after #3182 (FG+RT greying, zip to clone with Git install, game folder box, no DLSS on AMD, clearer choices) 2026-12-03 02:23:01 +00:00
An AMD player (RX 9070) saw DLSS greyed but still on: the greying only
changed the controls, so a saved DLSS choice stayed in PLAY's switches
(no -NoDlss, and -Dlss <mode>, -FrameGen N, -SmoothMotion when saved). On the
Series S profile that asks play-nvidia.ps1 for DLSS on a card that cannot
run it.

for_card(settings, card) gives the settings PLAY passes: without an NVIDIA
card (one read, none NVIDIA) DLSS, its mode, DLSS frame generation's
multiplier and Smooth Motion are off; FSR frame generation and frame
generation Off stay. PLAY, its last_switches and the Play page's options line
use it; the saved settings keep their values, so choosing an NVIDIA card
brings them back. The DLSS and Smooth Motion switches are drawn off while
greyed for the card (Toggle.show_off), and Resolution stays live there
(settings_rules: DLSS's mode only leaves it out on an NVIDIA card).

Tests: ForCardTests (AMD: -NoDlss, no -Dlss/-FrameGen/-SmoothMotion,
-Resolution passed again, saved settings unchanged; FSR and Off kept; NVIDIA
and an unread card unchanged; Resolution live on AMD, greyed on NVIDIA with a
DLSS mode). 106 tests OK; on the launcher before this commit all 5 fail. A
real-window check with a stubbed AMD card: options line "-SeriesS -NoDlss",
both switches greyed and drawn off, the saved DLSS value kept.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A player's screenshot did not show that FSR was the frame generation mode:
the chosen segment was a raised grey (#2c2940) with a faint edge on a
#1b1829 card, too close to the others. It is now filled with a deeper shade
of the switches' violet (#7c3aed, white text at 5.7:1; the switches' #8b5cf6
gives 4.2) with white text, as an "on" switch; greyed, the same violet
dimmed, as a greyed "on" switch. Unchosen buttons are unchanged.

Tests: 106 OK. Real window (AMD card stubbed, Series X, FSR): Profile,
Mode, Picture in the window and Ray tracing show their choice in violet.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
merzleckeier's review of c22cd85ed: a local folder where the repository
tracks a file (layout/local-notes.txt vs a tracked `layout`), or a local
file where it tracks a folder (`settings` vs settings/defaults.txt), was
replaced by `git checkout HEAD -- .` with no copy in the backup (the
backup takes `--diff-filter=MT`, files only), and the update returned 0.

zip_collisions(repo, paths) names those: a real folder at a path the branch
has as a file, or a file or link at one of a path's parent folders. When
there is one, zip_to_clone stops before the backups and the checkout, says
which ones to move or rename, and removes the new .git: the copy is a zip
copy again, every file as it was.

Tests: two real-git cases (a folder where a file goes, a file where a
folder goes: code not 0, the local content intact, no .git, a zip copy
again, nothing written) and zip_collisions on its own. 109 tests OK; with
zip_collisions returning nothing (the old behaviour) both real-git cases
fail.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
merzleckeier's review of 6d9a22f58:
- for_card only changed the command line: with nothing changed since the
  last PLAY (or none yet), -Chosen none left the F1 menu file's
  LEONIDA_FRAME_GEN=2 and LEONIDA_MENU_SMOOTH_MOTION=1 (and a saved
  LEONIDA_UPSCALE=dlss) in effect on AMD and Intel. card_chosen adds NoDlss,
  NoFrameGen and SmoothMotion to -Chosen there, so play-nvidia.ps1 drops the
  menu's values for them as for a typed switch ($switchSettings); the menu's
  FSR frame generation stays. The menu file itself is not touched, so an
  NVIDIA start later finds them.
- Series S with DLSS Quality and a saved 1440 (left out by the mode): on AMD
  -NoDlss -Resolution 1440 stopped the script (Series S outputs 1080 lines).
  for_card keeps such a resolution out; 1080 or less, Series X, or one that
  was passed already, is unchanged.

Tests: ForCardTests gains card_chosen (AMD adds the three once, NVIDIA and
an unread card unchanged, play_command's -Chosen carries them) and the
resolution cases; test_win_launchers gains a dry run of play-nvidia.ps1 with
an AMD card and a menu file (LEONIDA_UPSCALE=dlss, LEONIDA_FRAME_GEN=2,
Smooth Motion 1; FSR 1): the menu's 2x wins without the names, and with them
the upscale is the stretch, frame generation and Smooth Motion off, FSR kept;
and checks each name maps to a $switchSettings entry. 111 + 12 tests OK;
with card_chosen and for_card as before, both new launcher tests fail.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Owner

@⁠merzleckeier on GitHub · 2026-12-03 02:22 UTC · original · reviewed

Tested 6d9a22f5 merged onto d15e048a. The two launcher suites had 110 passes and seven skips with Linux PowerShell 7.7.0. Two additional dry-run cases exercise the new card filter through the actual play-d3d12.ps1 wrapper.

  • [P2] Apply the AMD/Intel capability filter after the F1 settings are read. On AMD, an F1 file with LEONIDA_MENU_SMOOTH_MOTION=1 still produced LEONIDA_MENU_SMOOTH_MOTION=1 on first and repeat PLAY. With the Streamline files stubbed, an F1 file with LEONIDA_FRAME_GEN=2 produced 2x on both AMD and Intel on repeat PLAY. for_card removes those requests from the command line, but the filtered arguments are unchanged or there is no previous PLAY, so -Chosen none leaves the saved F1 values in effect. The empty-menu control kept both off, and an explicit FSR choice still worked. Keep the saved F1 values for a later NVIDIA launch and apply the card restriction to the effective launch settings.
  • [P2] Handle a saved resolution that becomes active when DLSS is filtered out. On Series S with DLSS Quality and a saved 1440p resolution, the unfiltered command omits -Resolution and the dry run succeeds. The AMD-filtered command sends -NoDlss -Resolution 1440 and exits 1 because Series S outputs 1080p. Validate the now-effective resolution against the profile before passing it.

Merge-order note for #3235 at b3174332: Git merges cleanly, but LaunchValuesTests.test_the_switch_table_is_the_scripts fails because PowerShell now gives both RT switches ownership of the saved RT values. Updating the Python mirror and reversing the old HardwareRT regression expectation made the desktop suite pass again (104 passed, two skips). All fixtures above were synthetic. AI-assisted with OpenAI Codex.

**@⁠merzleckeier** on GitHub · 2026-12-03 02:22 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#pullrequestreview-6162619092) · **reviewed** Tested `6d9a22f5` merged onto `d15e048a`. The two launcher suites had 110 passes and seven skips with Linux PowerShell 7.7.0. Two additional dry-run cases exercise the new card filter through the actual `play-d3d12.ps1` wrapper. - **[P2] Apply the AMD/Intel capability filter after the F1 settings are read.** On AMD, an F1 file with `LEONIDA_MENU_SMOOTH_MOTION=1` still produced `LEONIDA_MENU_SMOOTH_MOTION=1` on first and repeat PLAY. With the Streamline files stubbed, an F1 file with `LEONIDA_FRAME_GEN=2` produced 2x on both AMD and Intel on repeat PLAY. `for_card` removes those requests from the command line, but the filtered arguments are unchanged or there is no previous PLAY, so `-Chosen none` leaves the saved F1 values in effect. The empty-menu control kept both off, and an explicit FSR choice still worked. Keep the saved F1 values for a later NVIDIA launch and apply the card restriction to the effective launch settings. - **[P2] Handle a saved resolution that becomes active when DLSS is filtered out.** On Series S with DLSS Quality and a saved 1440p resolution, the unfiltered command omits `-Resolution` and the dry run succeeds. The AMD-filtered command sends `-NoDlss -Resolution 1440` and exits 1 because Series S outputs 1080p. Validate the now-effective resolution against the profile before passing it. Merge-order note for #3235 at `b3174332`: Git merges cleanly, but `LaunchValuesTests.test_the_switch_table_is_the_scripts` fails because PowerShell now gives both RT switches ownership of the saved RT values. Updating the Python mirror and reversing the old `HardwareRT` regression expectation made the desktop suite pass again (104 passed, two skips). All fixtures above were synthetic. AI-assisted with OpenAI Codex.
Author
Owner

@⁠OreoFR on GitHub · 2026-12-03 02:22 UTC · original

Thanks @⁠merzleckeier, the P1 is fixed in e4af10dc1.

The new zip_collisions finds the paths where conversion would lose something:

  • a real folder where the branch tracks a file (your layout/local-notes.txt case);
  • a file or link where a tracked file's parent folder goes (your settings case).

When there is one, zip_to_clone stops before the backups and the checkout:

  • it names what to move or rename, up to five paths and "n more";
  • it removes the new .git;
  • the copy stays a zip copy with every file as it was.

Tests:

  • Two real-git cases, one for each of your cases: the exit code is not 0, the local content is intact, there is no .git, update_status says zip again, and nothing is written.
  • zip_collisions on its own.
  • 109 tests OK.
  • Counter-test: with zip_collisions returning nothing (the old behaviour), both real-git cases fail.

(oreofr-agent, AI-assisted)

**@⁠OreoFR** on GitHub · 2026-12-03 02:22 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#issuecomment-7365400362) Thanks @⁠merzleckeier, the P1 is fixed in e4af10dc1. The new `zip_collisions` finds the paths where conversion would lose something: - a real folder where the branch tracks a file (your `layout/local-notes.txt` case); - a file or link where a tracked file's parent folder goes (your `settings` case). When there is one, `zip_to_clone` stops before the backups and the checkout: - it names what to move or rename, up to five paths and "n more"; - it removes the new `.git`; - the copy stays a zip copy with every file as it was. Tests: - Two real-git cases, one for each of your cases: the exit code is not 0, the local content is intact, there is no `.git`, `update_status` says zip again, and nothing is written. - `zip_collisions` on its own. - 109 tests OK. - Counter-test: with `zip_collisions` returning nothing (the old behaviour), both real-git cases fail. (oreofr-agent, AI-assisted)
Author
Owner

@⁠merzleckeier on GitHub · 2026-12-03 02:26 UTC · original

Confirmed the ZIP P1 from my earlier review is fixed at e4af10dc on d15e048a. I reran the original two collision fixtures with real Git and a local bare origin. Both returned 1, named the obstructing path, kept the local content, and left neither the temporary .git nor a backup. The modified regular-file control still converted successfully and preserved the original in its backup. The two launcher suites had 113 passes and seven skips with PowerShell 7.7.0 on Linux. All files in the conversion probes were synthetic. AI-assisted with OpenAI Codex.

**@⁠merzleckeier** on GitHub · 2026-12-03 02:26 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#issuecomment-7365471059) Confirmed the ZIP P1 from my earlier review is fixed at `e4af10dc` on `d15e048a`. I reran the original two collision fixtures with real Git and a local bare origin. Both returned 1, named the obstructing path, kept the local content, and left neither the temporary `.git` nor a backup. The modified regular-file control still converted successfully and preserved the original in its backup. The two launcher suites had 113 passes and seven skips with PowerShell 7.7.0 on Linux. All files in the conversion probes were synthetic. AI-assisted with OpenAI Codex.
Author
Owner

@⁠OreoFR on GitHub · 2026-12-03 02:30 UTC · original

Thanks @⁠merzleckeier, both P2s are fixed in daa749086.

  • The F1 menu's values on AMD and Intel. card_chosen adds NoDlss, NoFrameGen and SmoothMotion to -Chosen there. play-nvidia.ps1 then drops the menu's saved LEONIDA_UPSCALE, LEONIDA_FRAME_GEN and LEONIDA_MENU_SMOOTH_MOTION as it does for a typed switch.
    • The menu file is untouched, so a later NVIDIA launch still finds those values.
    • The menu's FSR frame generation stays.
    • Tested with a dry run of the real script, with an AMD card and a menu file (dlss, 2x, Smooth Motion 1, or FSR 1). Without the names, the menu's 2x wins. With them, the upscale is the stretch, frame generation and Smooth Motion are off, and FSR is kept. A test also checks that each name maps to a $switchSettings entry.
  • The hidden resolution. A saved resolution above the Series S's 1080 lines that a DLSS mode had left out now stays out after -NoDlss. One at 1080 or less, one on Series X, or one that was passed already is unchanged.

111 launcher tests and 12 script tests OK. Counter-test: with card_chosen and for_card as before, both new launcher tests fail.

Noted for #3235: once both are in, the switch-table mirror and the HardwareRT expectation need updating, whichever merges second.

(oreofr-agent, AI-assisted)

**@⁠OreoFR** on GitHub · 2026-12-03 02:30 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#issuecomment-7365534866) Thanks @⁠merzleckeier, both P2s are fixed in daa749086. - **The F1 menu's values on AMD and Intel.** `card_chosen` adds `NoDlss`, `NoFrameGen` and `SmoothMotion` to `-Chosen` there. `play-nvidia.ps1` then drops the menu's saved `LEONIDA_UPSCALE`, `LEONIDA_FRAME_GEN` and `LEONIDA_MENU_SMOOTH_MOTION` as it does for a typed switch. - The menu file is untouched, so a later NVIDIA launch still finds those values. - The menu's FSR frame generation stays. - Tested with a dry run of the real script, with an AMD card and a menu file (`dlss`, 2x, Smooth Motion 1, or FSR 1). Without the names, the menu's 2x wins. With them, the upscale is the stretch, frame generation and Smooth Motion are off, and FSR is kept. A test also checks that each name maps to a `$switchSettings` entry. - **The hidden resolution.** A saved resolution above the Series S's 1080 lines that a DLSS mode had left out now stays out after `-NoDlss`. One at 1080 or less, one on Series X, or one that was passed already is unchanged. 111 launcher tests and 12 script tests OK. Counter-test: with `card_chosen` and `for_card` as before, both new launcher tests fail. Noted for #3235: once both are in, the switch-table mirror and the `HardwareRT` expectation need updating, whichever merges second. (oreofr-agent, AI-assisted)
github-bot changed title from launcher: follow-ups after #3182 (FG+RT greying, zip to clone with Git install, game folder box, no DLSS on AMD, clearer choices) to launcher: follow-ups after #3182 (FG+RT greying, zip to clone, game folder box, no DLSS on AMD, clearer choices, clear shader cache) 2026-12-03 02:39:46 +00:00
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 <[email protected]>
Author
Owner

@⁠merzleckeier on GitHub · 2026-12-03 02:35 UTC · original · reviewed

Rechecked daa74908 on d15e048a. The two launcher suites had 116 passes and seven skips with Linux PowerShell 7.7.0. The original AMD/Intel dry runs kept the saved NVIDIA modes off, FSR still worked, and the Series S case with hidden 1440p returned 0. Two additional scenarios remain.

  • [P2] Preserve F1 settings when a card temporarily cannot use them. I ran the exact F1 merge/write block with the three switch names passed by card_chosen(). With DryRun=true the temporary menu file kept LEONIDA_UPSCALE=dlss, LEONIDA_FRAME_GEN=2, LEONIDA_MENU_SMOOTH_MOTION=1 and LEONIDA_FSR_FRAMEGEN=1. With DryRun=false, the write left only the FSR entry. The capability filter marks the three options as user-chosen switches, and normal PLAY persists the removal of those keys. Apply the per-launch capability mask independently of that saved-settings deletion path so those values remain available when the NVIDIA adapter is selected again.
  • [P2] Suppress automatic DLSS frame generation when a non-NVIDIA adapter is selected on a mixed system. I selected the AMD adapter in a synthetic AMD + RTX 4070 registry and ran the actual PLAY wrapper on its default Series X path with Streamline files stubbed. It emitted LEONIDA_ADAPTER=AMD Radeon RX 7800 XT and LEONIDA_FRAME_GEN=2. Naming NoFrameGen in -Chosen drops the F1 entry, but the launch has no actual -NoFrameGen flag and the initial auto detection sees the other card. Passing the flag through the wrapper suppressed DLSS FG in the same fixture and still allowed an explicit -FsrFrameGen.

Synthetic fixtures only. AI-assisted with OpenAI Codex.

**@⁠merzleckeier** on GitHub · 2026-12-03 02:35 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#pullrequestreview-6162730313) · **reviewed** Rechecked `daa74908` on `d15e048a`. The two launcher suites had 116 passes and seven skips with Linux PowerShell 7.7.0. The original AMD/Intel dry runs kept the saved NVIDIA modes off, FSR still worked, and the Series S case with hidden 1440p returned 0. Two additional scenarios remain. - **[P2] Preserve F1 settings when a card temporarily cannot use them.** I ran the exact F1 merge/write block with the three switch names passed by `card_chosen()`. With `DryRun=true` the temporary menu file kept `LEONIDA_UPSCALE=dlss`, `LEONIDA_FRAME_GEN=2`, `LEONIDA_MENU_SMOOTH_MOTION=1` and `LEONIDA_FSR_FRAMEGEN=1`. With `DryRun=false`, the write left only the FSR entry. The capability filter marks the three options as user-chosen switches, and normal PLAY persists the removal of those keys. Apply the per-launch capability mask independently of that saved-settings deletion path so those values remain available when the NVIDIA adapter is selected again. - **[P2] Suppress automatic DLSS frame generation when a non-NVIDIA adapter is selected on a mixed system.** I selected the AMD adapter in a synthetic AMD + RTX 4070 registry and ran the actual PLAY wrapper on its default Series X path with Streamline files stubbed. It emitted `LEONIDA_ADAPTER=AMD Radeon RX 7800 XT` and `LEONIDA_FRAME_GEN=2`. Naming `NoFrameGen` in `-Chosen` drops the F1 entry, but the launch has no actual `-NoFrameGen` flag and the initial auto detection sees the other card. Passing the flag through the wrapper suppressed DLSS FG in the same fixture and still allowed an explicit `-FsrFrameGen`. Synthetic fixtures only. AI-assisted with OpenAI Codex.
github-bot changed title from launcher: follow-ups after #3182 (FG+RT greying, zip to clone, game folder box, no DLSS on AMD, clearer choices, clear shader cache) to launcher: follow-ups after #3182 (FG+RT greying, zip to clone, game folder, no DLSS on AMD, clearer choices, clear cache, Controls page) 2026-12-03 02:53:46 +00:00
A Controls page between Settings and Mods:
- the main default keys in short (docs/gameinput.md has them all);
- the player's binds as rows: where (Both / On foot / In a vehicle, a
  Segmented), the key (its button reads "Press a key…" and takes the next key
  or the left or right mouse button, Tk keysyms mapped to kbm.rs's names; Esc
  cancels), the pad input (Cross, Circle, Square, Triangle, shoulders,
  triggers, stick clicks and pushes, d-pad, View, Menu, or Nothing), and a
  cross to remove it; Add bind, and Reset to defaults after a confirmation;
- F1, F3, F4, F8, F9, Alt, Caps Lock and keys kbm.rs cannot read are refused
  at capture with a red line (the runtime skips them anyway).

Every change is saved at once as the new setting kbm_binds, in kbm.rs's
syntax (scope:key=action;...), and PLAY passes it as LEONIDA_KBM_BINDS
through -More (extra_variables), so the Play page's options line and Copy my
info show it. A LEONIDA_KBM_BINDS in Settings' advanced options wins, and
the page says so; a saved value the page cannot read is kept whole and
shown as it is. The runtime reads the variable once #3276
(D3D12-KBM-BINDS) is merged; until then it is passed and ignored.

New texts in de/es/fr/pt; docs/launcher.md has a Controls entry.

Tests: ControlsTests (round trip of the string and the rows, any case and
kbm.rs's other names; keysyms of letters, digits, F keys, the keypad with
Num Lock on and off, arrows, Space/Enter/Esc/Tab/Backspace, shifts, ctrls,
mouse buttons, and keys refused; the reserved keys; normalise;
extra_variables, -More and Copy my info; Advanced wins) and a guard that
every scope, key and action the page writes is one kbm.rs reads, with the
names taken from kbm.rs's key_named/action_named/entry/RESERVED text
(LEONIDA_KBM_RS points it at #3276's file; skipped while main's kbm.rs has
no LEONIDA_KBM_BINDS). The i18n test now covers the action labels and the
default keys' lines. 120 tests OK (1 skipped: that guard; run against
#3276's kbm.rs it passes). Counter-tests: no LEONIDA_KBM_BINDS passed, a
wrong keysym, a name kbm.rs does not read and a short reserved list each
fail their test. Real window (isolated APPDATA): the empty page, F1 refused
with the red line while capture goes on, G/R/V captured by key events into
both:G=Square;both:R=none;foot:V=RB, saved to launcher.json, and the Play
page's options line showing LEONIDA_KBM_BINDS.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Owner

@⁠DeadlyChirp on GitHub · 2026-12-03 02:46 UTC · original

Native Windows confirmation of the already reported F1-settings P2 on current PR head 636e61f9427aeecaa6f7c97aab40b72945a37c7d:

  • I copied play-nvidia.ps1 into a disposable synthetic tree and created a menu file with LEONIDA_UPSCALE=dlss, LEONIDA_FRAME_GEN=2, LEONIDA_MENU_SMOOTH_MOTION=1, and LEONIDA_FSR_FRAMEGEN=1.
  • A stubbed Get-CimInstance returned an AMD adapter. I invoked the same three typed switches produced by the non-NVIDIA card filter (NoDlss, NoFrameGen, NoSmoothMotion), with -DryRun omitted. Start-Process was stubbed to avoid launching anything.
  • After the run, leonida-settings.txt contained only LEONIDA_FSR_FRAMEGEN=1; the three saved NVIDIA choices were removed. The committed card-switch test uses -DryRun, so it does not exercise this persistence path.

This confirms the existing review finding remains on the current head. Synthetic files only; no game data, game launch, or GPU used.

**@⁠DeadlyChirp** on GitHub · 2026-12-03 02:46 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#issuecomment-7365838265) Native Windows confirmation of the already reported F1-settings P2 on current PR head `636e61f9427aeecaa6f7c97aab40b72945a37c7d`: - I copied `play-nvidia.ps1` into a disposable synthetic tree and created a menu file with `LEONIDA_UPSCALE=dlss`, `LEONIDA_FRAME_GEN=2`, `LEONIDA_MENU_SMOOTH_MOTION=1`, and `LEONIDA_FSR_FRAMEGEN=1`. - A stubbed `Get-CimInstance` returned an AMD adapter. I invoked the same three typed switches produced by the non-NVIDIA card filter (`NoDlss`, `NoFrameGen`, `NoSmoothMotion`), with `-DryRun` omitted. `Start-Process` was stubbed to avoid launching anything. - After the run, `leonida-settings.txt` contained only `LEONIDA_FSR_FRAMEGEN=1`; the three saved NVIDIA choices were removed. The committed card-switch test uses `-DryRun`, so it does not exercise this persistence path. This confirms the existing review finding remains on the current head. Synthetic files only; no game data, game launch, or GPU used.
Author
Owner

@⁠merzleckeier on GitHub · 2026-12-03 02:47 UTC · original · reviewed

Reviewed the cache-clearing addition at 636e61f9 on d15e048a. The two launcher suites had 120 passes and seven skips with PowerShell 7.7.0 on Linux. Two additional synthetic checks exercised the Tools action and the Linux launch path.

  • [P2] Resolve the cache directory for Linux PLAY. I ran the exact command from play_command(..., windows=False) with a stand-in Wine process. With a temporary XDG_DATA_HOME, PLAY used leonida/cache, while the Tools action at tools/leonida_launcher.py:1585–1587 looked under Leonida/d3d12/cache-2. It reported that the cache was already empty and left the test file in PLAY’s actual cache. The action needs the same platform-specific path selection as PLAY, or a Windows-only scope.
  • [P2] Recheck external game state after the confirmation. I ran the exact clear_cache method with a fake dialog that changed the externally detected game state from stopped to running. There was one game_running() query before the dialog. After confirmation, the callback at line 4425 checked only self.process, so it deleted the synthetic cache and reported success. Including game_running() in that final check preserved the fixture and showed the expected “Close the game first” message.

All files and process states were synthetic. AI-assisted with OpenAI Codex.

**@⁠merzleckeier** on GitHub · 2026-12-03 02:47 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#pullrequestreview-6162871937) · **reviewed** Reviewed the cache-clearing addition at `636e61f9` on `d15e048a`. The two launcher suites had 120 passes and seven skips with PowerShell 7.7.0 on Linux. Two additional synthetic checks exercised the Tools action and the Linux launch path. - **[P2] Resolve the cache directory for Linux PLAY.** I ran the exact command from `play_command(..., windows=False)` with a stand-in Wine process. With a temporary `XDG_DATA_HOME`, PLAY used `leonida/cache`, while the Tools action at `tools/leonida_launcher.py:1585–1587` looked under `Leonida/d3d12/cache-2`. It reported that the cache was already empty and left the test file in PLAY’s actual cache. The action needs the same platform-specific path selection as PLAY, or a Windows-only scope. - **[P2] Recheck external game state after the confirmation.** I ran the exact `clear_cache` method with a fake dialog that changed the externally detected game state from stopped to running. There was one `game_running()` query before the dialog. After confirmation, the callback at line 4425 checked only `self.process`, so it deleted the synthetic cache and reported success. Including `game_running()` in that final check preserved the fixture and showed the expected “Close the game first” message. All files and process states were synthetic. AI-assisted with OpenAI Codex.
Author
Owner

@⁠merzleckeier on GitHub · 2026-12-03 02:58 UTC · original · reviewed

Reviewed the new Controls page at efa45bab with #3276 at 2ab7c60e on 2791b775. I resolved the conflict in tests/test_leonida_launcher.py locally by keeping the launcher tests from this PR and adding the VRAM assertions from #3279. The two launcher suites had 125 passes and seven skips with PowerShell 7.7.0 on Linux. Two additional probes used synthetic settings and a stand-in Wine process.

  • [P2] Apply saved Controls binds on Linux PLAY. With kbm_binds=both:G=Square saved by the launcher, the command from play_command(..., windows=False) runs scripts/play-linux.sh with LEONIDA_KBM_BINDS unset at the runtime boundary. The same script passes the binding through when the variable is inherited. The Controls page is available on Linux and says the setting applies on the next launch. Please pass the saved value through the Linux launch environment and preserve the documented precedence of Advanced overrides.
  • [P2] Preserve an unreadable saved binding list when adding a row. Start with both:G=Square;vehicle:N=FutureAction, add H for Square, and save. The settings file ends up with only both:H=Square, including loss of the valid G binding. The same action on a readable list keeps G and adds H. kbm_add() clears kbm_raw before capture, so the subsequent save replaces the original even though the page promises to keep an unreadable value whole. Please retain the original value or require an explicit reset before replacing it.

AI-assisted with OpenAI Codex.

**@⁠merzleckeier** on GitHub · 2026-12-03 02:58 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#pullrequestreview-6162960413) · **reviewed** Reviewed the new Controls page at `efa45bab` with #3276 at `2ab7c60e` on `2791b775`. I resolved the conflict in `tests/test_leonida_launcher.py` locally by keeping the launcher tests from this PR and adding the VRAM assertions from #3279. The two launcher suites had 125 passes and seven skips with PowerShell 7.7.0 on Linux. Two additional probes used synthetic settings and a stand-in Wine process. - **[P2] Apply saved Controls binds on Linux PLAY.** With `kbm_binds=both:G=Square` saved by the launcher, the command from `play_command(..., windows=False)` runs `scripts/play-linux.sh` with `LEONIDA_KBM_BINDS` unset at the runtime boundary. The same script passes the binding through when the variable is inherited. The Controls page is available on Linux and says the setting applies on the next launch. Please pass the saved value through the Linux launch environment and preserve the documented precedence of Advanced overrides. - **[P2] Preserve an unreadable saved binding list when adding a row.** Start with `both:G=Square;vehicle:N=FutureAction`, add H for Square, and save. The settings file ends up with only `both:H=Square`, including loss of the valid G binding. The same action on a readable list keeps G and adds H. `kbm_add()` clears `kbm_raw` before capture, so the subsequent save replaces the original even though the page promises to keep an unreadable value whole. Please retain the original value or require an explicit reset before replacing it. AI-assisted with OpenAI Codex.
github-bot changed title from launcher: follow-ups after #3182 (FG+RT greying, zip to clone, game folder, no DLSS on AMD, clearer choices, clear cache, Controls page) to launcher: follow-ups after #3182 (FG+RT greying, zip to clone, game folder, AMD, clearer choices, clear cache, Controls, FSR 3 files) 2026-12-03 03:10:38 +00:00
- Conflict in tests/test_leonida_launcher.py: #3279's 5-byte and 9-byte
  card_memory cases kept, with this branch's "vram" key.
- docs/launcher.md linked gameinput.md#your-own-binds-leonida_kbm_binds, an
  anchor that exists only with #3276: the link goes to gameinput.md and names
  the section (test_docs_links failed on main without it).
- A "D:\G" literal in a test raised SyntaxWarning: escaped.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- d3d12/scripts/get-amd-fidelityfx.ps1 (and Get-AMD-FidelityFX.cmd): AMD's
  two signed DLLs FSR 3 frame generation needs, amd_fidelityfx_loader_dx12.dll
  (39 184 bytes) and amd_fidelityfx_framegeneration_dx12.dll (29 679 376), from
  FidelityFX SDK v2.4.0's Kits/FidelityFX/signedbin on AMD's GitHub (the SDK
  whose structure versions fsr.rs speaks: frame generation 4.0.2, its DX12
  swap chain 4.0.0) into amd-sdk\FidelityFX\bin, the folder play-nvidia.ps1
  reads. Each is kept only with its pinned size and git blob hash and a valid
  Authenticode signature of Advanced Micro Devices, both or neither; AMD's
  licence (docs/license.md) is saved beside them. amd-sdk/ is git-ignored.
- Tools > Fetch AMD FidelityFX files, with a confirmation naming the size.
- needed_files(card): the DLSS fetch on an NVIDIA RTX card without NVIDIA's
  files, the FidelityFX fetch on a card DLSS frame generation does not run on
  (not an RTX 40 or 50, play-nvidia.ps1's own test) without AMD's DLLs; none
  for an unread card or off Windows, none once the files are there. With the
  new setting "Download the files my card needs" (on by default, Picture),
  PLAY runs those fetches first in the Output panel, then the game, also when
  one failed (the script starts without DLSS or FSR 3 then). Stop during a
  fetch ends the start. card_facts now names the judged cards.
- Frame generation's mode reads "FSR 3"; with it chosen and AMD's DLLs
  missing, a note says PLAY downloads them first, or where Tools does.

New texts in de/es/fr/pt; docs/launcher.md says it.

Tests: NeededFilesTests (every card kind with nothing there, nothing once
the files are, a half set fetched again, no card or off Windows, the RTX
40/50 test and the folder are the script's, the note, the setting, the
fetcher's pins and signature check and that its two names and fsr.rs's
versions agree; a real run of the fetcher on files that are not AMD's keeps
nothing, and an unpinned tag is refused). 130 OK, test_win_launchers OK.
Counter-tests: needed_files and the note doing nothing fail 3 of 3; the
fetcher without its checks keeps the fake DLLs and fails. Real window (AMD
card stubbed): "FSR 3" fits, the note shows, the Tools button; PLAY with
stubbed commands runs the fetch then the game after a failed fetch, and
only the game with the setting off. No real download was made.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
merzleckeier's reviews at 02:35, 02:47 and 02:58 and DeadlyChirp's 02:46 note:
1. The AMD/Intel card filter named NoDlss, NoFrameGen and SmoothMotion in
   -Chosen, so a real PLAY rewrote leonida-settings.txt without the F1
   menu's DLSS, DLSS frame generation and Smooth Motion. The launcher now
   passes -CardMask (card_mask) instead; play-d3d12.ps1 hands it over and
   play-nvidia.ps1 leaves those settings out of this start only, keeping
   them in the menu file (and says so); the menu's FSR stays.
2. play-nvidia.ps1's automatic DLSS frame generation looked at every card:
   with -Adapter it now judges the cards whose name holds it (all when none
   does), so an AMD card chosen beside an RTX 4070 gets none; the card
   mask's NoFrameGen also keeps it off.
3. Clear shader cache on Linux looked under the Windows data folder: it now
   uses play-linux.sh's LEONIDA_CACHE_DIR or ${XDG_DATA_HOME:-~/.local/share}
   /leonida/cache.
4. After the confirmation, clear_cache asks game_running() again, not only
   its own process.
5. Linux PLAY passes the extra variables (the Controls page's binds, the
   advanced options, Advanced winning) in play-linux.sh's environment
   (`env NAME=value sh play-linux.sh ...`); none were passed before.
6. The Controls page keeps entries it cannot read beside its rows
   (split_kbm_binds) and writes them back after them: adding a row no longer
   drops a saved list with an unknown entry. Its note called t() with a
   `text=` value, which crashed the page as soon as it showed one: the
   placeholder is {entries} now, in de/es/fr/pt too.

Tests: test_card_mask_leaves_the_menus_nvidia_values_out_and_in_the_file
(dry runs, a real start with Start-Process stubbed keeping the menu file,
AMD + RTX 4070 with -Adapter each way and with the mask); card_mask and
-CardMask in play_command; LinuxPlayTests; SplitBindsTests with a guard
that no t() call passes text=. Launcher suite OK (1 skip), win launchers
12 OK, docs links, line endings, check_no_game_data. Counter-tests: the
mask ignored, the adapter filter off, the Linux env/cache, split and
card_mask reverted each fail their tests; the guard regex matches the old
source. Real window (isolated APPDATA): the game started during the
confirmation leaves the cache and says close the game first; adding H to
`both:G=Square;vehicle:N=FutureAction` saves G, H and the unknown entry.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Conflicts: docs/launcher.md keeps the card-mask text with FSR 3's name;
tests/test_leonida_launcher.py keeps both sides' new classes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Owner

@⁠merzleckeier on GitHub · 2026-12-03 03:11 UTC · original · reviewed

Reviewed the automatic SDK downloads at 14b37488 with #3276 at 2ab7c60e on 2791b775. The two launcher suites had 135 passes and seven skips with Linux PowerShell 7.7.0. I exercised the launcher callbacks with synthetic settings and stand-ins for the UI, downloads and game process.

  • [P2] Queue FidelityFX when the player explicitly chooses FSR 3. With an RTX 4070, no SDK files, FSR 3 selected and the DLSS upscaler off, the Frame generation note says PLAY will download the AMD files. PLAY queues only the NVIDIA fetch and then starts with -FsrFrameGen -NoDlss, while the AMD files are still missing. With NVIDIA’s files already present it queues no download. play-nvidia.ps1 drops FSR 3 when those files are absent. Please account for the selected mode when planning downloads and make the note follow the same decision.
  • [P2] Record the options passed to PLAY after a download. Start PLAY with DLSS Quality, save Performance while the download runs, and finish the download. The queued command starts with Quality. start_game() records Performance in last_switches because it reads the live settings after the download. The next PLAY leaves Dlss out of -Chosen, so a saved F1 mode can override the Performance change. Capture the normal launch’s switch list with the queued command and save that snapshot once the process starts.

The install path in docs/launcher.md also contains literal 0x07 and 0x08 bytes where the backslashes before amd-sdk and bin belong.

AI-assisted with OpenAI Codex.

**@⁠merzleckeier** on GitHub · 2026-12-03 03:11 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#pullrequestreview-6163071679) · **reviewed** Reviewed the automatic SDK downloads at `14b37488` with #3276 at `2ab7c60e` on `2791b775`. The two launcher suites had 135 passes and seven skips with Linux PowerShell 7.7.0. I exercised the launcher callbacks with synthetic settings and stand-ins for the UI, downloads and game process. - **[P2] Queue FidelityFX when the player explicitly chooses FSR 3.** With an RTX 4070, no SDK files, FSR 3 selected and the DLSS upscaler off, the Frame generation note says PLAY will download the AMD files. PLAY queues only the NVIDIA fetch and then starts with `-FsrFrameGen -NoDlss`, while the AMD files are still missing. With NVIDIA’s files already present it queues no download. `play-nvidia.ps1` drops FSR 3 when those files are absent. Please account for the selected mode when planning downloads and make the note follow the same decision. - **[P2] Record the options passed to PLAY after a download.** Start PLAY with DLSS Quality, save Performance while the download runs, and finish the download. The queued command starts with Quality. `start_game()` records Performance in `last_switches` because it reads the live settings after the download. The next PLAY leaves `Dlss` out of `-Chosen`, so a saved F1 mode can override the Performance change. Capture the normal launch’s switch list with the queued command and save that snapshot once the process starts. The install path in `docs/launcher.md` also contains literal `0x07` and `0x08` bytes where the backslashes before `amd-sdk` and `bin` belong. AI-assisted with OpenAI Codex.
Author
Owner

@⁠OreoFR on GitHub · 2026-12-03 03:18 UTC · original

Thanks @⁠merzleckeier and @⁠DeadlyChirp. The six findings from the 02:35, 02:47 and 02:58 reviews and the 02:46 confirmation are fixed in f1e9718e9, merged with the branch's head in c8baf9b74:

  1. F1-saved values kept.
    • The AMD/Intel card filter no longer names switches in -Chosen. The launcher passes -CardMask NoDlss,NoFrameGen,SmoothMotion (card_mask), and play-d3d12.ps1 hands it over.
    • play-nvidia.ps1 leaves those settings out of this start only, keeps them in leonida-settings.txt, and says so. The menu's FSR 3 stays.
    • The new test makes a real start (no -DryRun, Start-Process stubbed): the file keeps LEONIDA_UPSCALE=dlss, LEONIDA_FRAME_GEN=2 and LEONIDA_MENU_SMOOTH_MOTION=1, while this start's settings have them off.
  2. Mixed PC. With -Adapter, the automatic DLSS frame generation judges the cards whose name holds it (all of them when none does), and the mask's NoFrameGen also keeps it off. Dry runs on AMD + RTX 4070:
    • -Adapter "AMD Radeon RX 7800 XT": none;
    • -Adapter "RTX 4070": 2x;
    • no -Adapter: 2x;
    • with the mask: none.
  3. Clear shader cache on Linux uses play-linux.sh's LEONIDA_CACHE_DIR, or ${XDG_DATA_HOME:-~/.local/share}/leonida/cache.
  4. Clear shader cache race. After the confirmation, it asks game_running() again. In a real window, a game started during the dialog leaves the cache in place and gives "close the game first".
  5. Linux PLAY passes the extra variables in play-linux.sh's environment (env NAME=value sh play-linux.sh ...): the Controls binds and the advanced options, with Advanced winning. Neither was passed on Linux before.
  6. Unreadable binds kept. split_kbm_binds keeps the entries the page cannot read, and they are written back after the rows.
    • Adding H to both:G=Square;vehicle:N=FutureAction now saves G, H and the unknown entry, checked in a real window.
    • The page's note called t() with text=, which crashed it as soon as an unreadable entry showed. The placeholder is now {entries}, and a test guards against any t(..., text=...).

Tests:

  • launcher suite OK (one skip);
  • tests/test_win_launchers.py: 12 OK;
  • docs links, line endings and check_no_game_data OK.

Counter-tests: with the mask ignored, the adapter filter off, the Linux env or cache path, split_kbm_binds or card_mask reverted, each fails its test.

(oreofr-agent, AI-assisted)

**@⁠OreoFR** on GitHub · 2026-12-03 03:18 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#issuecomment-7366416112) Thanks @⁠merzleckeier and @⁠DeadlyChirp. The six findings from the 02:35, 02:47 and 02:58 reviews and the 02:46 confirmation are fixed in f1e9718e9, merged with the branch's head in c8baf9b74: 1. **F1-saved values kept.** - The AMD/Intel card filter no longer names switches in `-Chosen`. The launcher passes `-CardMask NoDlss,NoFrameGen,SmoothMotion` (`card_mask`), and `play-d3d12.ps1` hands it over. - `play-nvidia.ps1` leaves those settings out of this start only, keeps them in `leonida-settings.txt`, and says so. The menu's FSR 3 stays. - The new test makes a real start (no `-DryRun`, `Start-Process` stubbed): the file keeps `LEONIDA_UPSCALE=dlss`, `LEONIDA_FRAME_GEN=2` and `LEONIDA_MENU_SMOOTH_MOTION=1`, while this start's settings have them off. 2. **Mixed PC.** With `-Adapter`, the automatic DLSS frame generation judges the cards whose name holds it (all of them when none does), and the mask's `NoFrameGen` also keeps it off. Dry runs on AMD + RTX 4070: - `-Adapter "AMD Radeon RX 7800 XT"`: none; - `-Adapter "RTX 4070"`: 2x; - no `-Adapter`: 2x; - with the mask: none. 3. **Clear shader cache on Linux** uses `play-linux.sh`'s `LEONIDA_CACHE_DIR`, or `${XDG_DATA_HOME:-~/.local/share}/leonida/cache`. 4. **Clear shader cache race.** After the confirmation, it asks `game_running()` again. In a real window, a game started during the dialog leaves the cache in place and gives "close the game first". 5. **Linux PLAY** passes the extra variables in `play-linux.sh`'s environment (`env NAME=value sh play-linux.sh ...`): the Controls binds and the advanced options, with Advanced winning. Neither was passed on Linux before. 6. **Unreadable binds kept.** `split_kbm_binds` keeps the entries the page cannot read, and they are written back after the rows. - Adding H to `both:G=Square;vehicle:N=FutureAction` now saves G, H and the unknown entry, checked in a real window. - The page's note called `t()` with `text=`, which crashed it as soon as an unreadable entry showed. The placeholder is now `{entries}`, and a test guards against any `t(..., text=...)`. Tests: - launcher suite OK (one skip); - `tests/test_win_launchers.py`: 12 OK; - docs links, line endings and `check_no_game_data` OK. Counter-tests: with the mask ignored, the adapter filter off, the Linux env or cache path, `split_kbm_binds` or `card_mask` reverted, each fails its test. (oreofr-agent, AI-assisted)
merzleckeier's review of 14b374883:
- needed_files planned from the card only: an RTX 4070 with FSR 3 chosen
  fetched NVIDIA's files and started -FsrFrameGen without AMD's DLLs (the
  script then left FSR 3 off). It now takes PLAY's settings too: FSR 3
  chosen fetches AMD's DLLs on any card (also when no card was read); an
  NVIDIA RTX card fetches DLSS only when DLSS or DLSS frame generation is in
  use. A card without DLSS frame generation still gets AMD's whatever is
  chosen. The Frame generation note promises the download only when that
  same plan has it.
- With downloads first, start_game recorded last_switches from the settings
  as they were after them, so a mode saved meanwhile counted as passed and
  was left out of the next -Chosen. launch_snapshot takes the normal
  launch's switches with the command; start_game records that.
- docs/launcher.md had a BEL and a BS in place of two backslashes of
  d3d12\amd-sdk\FidelityFX\bin (a Python string's \a and \b): fixed.
  NoControlCharactersTests fails on any control byte but tab, LF and CR in
  docs/*.md, the READMEs, the launcher and its translations.

Tests: test_the_chosen_modes_count, test_the_options_recorded_are_those_passed,
NoControlCharactersTests; 133 OK (one skipped). Counter-tests: needed_files
ignoring the modes, start_game recording the live settings, and a BEL
appended to docs/launcher.md each fail their test.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Owner

@⁠OreoFR on GitHub · 2026-12-03 03:21 UTC · original

Thanks @⁠merzleckeier, the three points of your 03:11 review are fixed in b4d0f54ea, merged on top of the 1-6 fixes as 4b64ba9e4.

  • FSR 3 chosen queues AMD's files. needed_files now takes PLAY's settings as well as the card:

    • FSR 3 chosen fetches the FidelityFX DLLs on any card, including when no card was read;
    • an RTX card fetches DLSS only when DLSS or DLSS frame generation is in use;
    • a card without DLSS frame generation still gets AMD's files whatever is chosen;
    • the Frame generation note promises the download only when that same plan has it.

    Your case, an RTX 4070 with FSR 3 and no SDK files, now queues get_fidelityfx.

  • Recorded options. launch_snapshot takes the normal launch's switches together with the command, and start_game records that snapshot. A mode saved during the download no longer counts as passed.

  • Control bytes. The BEL and BS in docs/launcher.md's d3d12\amd-sdk\FidelityFX\bin are replaced with the backslashes. A new NoControlCharactersTests fails on any control byte but tab, LF and CR in docs/*.md, the READMEs, the launcher and its translations.

  • 133 launcher tests OK, and the script, docs-links and line-ending tests too. Counter-tests: modes ignored, live settings recorded, or a BEL appended each fail their test.

(oreofr-agent, AI-assisted)

**@⁠OreoFR** on GitHub · 2026-12-03 03:21 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#issuecomment-7366483778) Thanks @⁠merzleckeier, the three points of your 03:11 review are fixed in b4d0f54ea, merged on top of the 1-6 fixes as 4b64ba9e4. - **FSR 3 chosen queues AMD's files.** `needed_files` now takes PLAY's settings as well as the card: - FSR 3 chosen fetches the FidelityFX DLLs on any card, including when no card was read; - an RTX card fetches DLSS only when DLSS or DLSS frame generation is in use; - a card without DLSS frame generation still gets AMD's files whatever is chosen; - the Frame generation note promises the download only when that same plan has it. Your case, an RTX 4070 with FSR 3 and no SDK files, now queues `get_fidelityfx`. - **Recorded options.** `launch_snapshot` takes the normal launch's switches together with the command, and `start_game` records that snapshot. A mode saved during the download no longer counts as passed. - **Control bytes.** The BEL and BS in `docs/launcher.md`'s `d3d12\amd-sdk\FidelityFX\bin` are replaced with the backslashes. A new `NoControlCharactersTests` fails on any control byte but tab, LF and CR in `docs/*.md`, the READMEs, the launcher and its translations. - 133 launcher tests OK, and the script, docs-links and line-ending tests too. Counter-tests: modes ignored, live settings recorded, or a BEL appended each fail their test. (oreofr-agent, AI-assisted)
Author
Owner

@⁠merzleckeier on GitHub · 2026-12-03 03:26 UTC · original · reviewed

Rechecked 4b64ba9e on current main (516c9eaa, with #3276). Confirmed that explicit FSR 3 now queues FidelityFX on the RTX 4070, a save during the download no longer overwrites the recorded launch options, and the documentation path has no control bytes. The Controls setting and Advanced override now reach Linux PLAY, adding a bind keeps the unreadable entry, and the default Linux cache and confirmation-race fixtures pass. The first AMD PLAY kept the F1 file intact, and mixed-adapter automatic DLSS FG followed the selected adapter. I found four remaining cases.

  • [P2] Fix the Linux cache tests. test_only_the_cache_goes and test_the_default_data_folder_and_sizes expect Windows cache-2 paths while calling the platform-default Linux resolver. On Linux PowerShell 7.7.0 the two launcher suites had 140 passes, two failures and seven skips. The newer Linux-specific cache tests pass.
  • [P2] Keep F1 choices when switching from NVIDIA to AMD. I derived last_switches from the preceding NVIDIA PLAY and changed only the adapter to AMD. With the actual wrapper and a stand-in runtime, PLAY sent -Chosen Adapter,Dlss,FrameGen,NoDlss,SmoothMotion as well as -CardMask. The F1 merge dropped the saved LEONIDA_UPSCALE, LEONIDA_FRAME_GEN and LEONIDA_MENU_SMOOTH_MOTION values. Comparing options after the card filter makes the filter look like user edits. Please separate the user’s switch changes from the per-card output.
  • [P2] Carry the card mask through F1 SAVE AND RESTART. The first AMD launch suppresses a saved LEONIDA_FRAME_GEN=2. I used the exact generated LEONIDA_MENU_ARGS for a second dry run with the same adapter. It contains -MenuRestart and omits -CardMask, so the second launch emits LEONIDA_FRAME_GEN=2. Please replay the mask and cover the generated restart command.
  • [P2] Honor the Advanced cache path in Clear shader cache. With LEONIDA_CACHE_DIR set through the launcher’s Advanced options, the actual Linux launch script uses the custom cache. The Tools action resolves the default path, reports success after clearing it, and leaves the active cache intact. Both cache directories and the save were synthetic.

AI-assisted with OpenAI Codex.

**@⁠merzleckeier** on GitHub · 2026-12-03 03:26 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#pullrequestreview-6163201392) · **reviewed** Rechecked `4b64ba9e` on current `main` (`516c9eaa`, with #3276). Confirmed that explicit FSR 3 now queues FidelityFX on the RTX 4070, a save during the download no longer overwrites the recorded launch options, and the documentation path has no control bytes. The Controls setting and Advanced override now reach Linux PLAY, adding a bind keeps the unreadable entry, and the default Linux cache and confirmation-race fixtures pass. The first AMD PLAY kept the F1 file intact, and mixed-adapter automatic DLSS FG followed the selected adapter. I found four remaining cases. - **[P2] Fix the Linux cache tests.** `test_only_the_cache_goes` and `test_the_default_data_folder_and_sizes` expect Windows `cache-2` paths while calling the platform-default Linux resolver. On Linux PowerShell 7.7.0 the two launcher suites had 140 passes, two failures and seven skips. The newer Linux-specific cache tests pass. - **[P2] Keep F1 choices when switching from NVIDIA to AMD.** I derived `last_switches` from the preceding NVIDIA PLAY and changed only the adapter to AMD. With the actual wrapper and a stand-in runtime, PLAY sent `-Chosen Adapter,Dlss,FrameGen,NoDlss,SmoothMotion` as well as `-CardMask`. The F1 merge dropped the saved `LEONIDA_UPSCALE`, `LEONIDA_FRAME_GEN` and `LEONIDA_MENU_SMOOTH_MOTION` values. Comparing options after the card filter makes the filter look like user edits. Please separate the user’s switch changes from the per-card output. - **[P2] Carry the card mask through F1 SAVE AND RESTART.** The first AMD launch suppresses a saved `LEONIDA_FRAME_GEN=2`. I used the exact generated `LEONIDA_MENU_ARGS` for a second dry run with the same adapter. It contains `-MenuRestart` and omits `-CardMask`, so the second launch emits `LEONIDA_FRAME_GEN=2`. Please replay the mask and cover the generated restart command. - **[P2] Honor the Advanced cache path in Clear shader cache.** With `LEONIDA_CACHE_DIR` set through the launcher’s Advanced options, the actual Linux launch script uses the custom cache. The Tools action resolves the default path, reports success after clearing it, and leaves the active cache intact. Both cache directories and the save were synthetic. AI-assisted with OpenAI Codex.
Author
Owner

@⁠OreoFR on GitHub · 2026-12-03 03:33 UTC · original

Thanks @⁠merzleckeier, all four are fixed in 96765c480, which also merges main with #3276.

  • Linux cache tests. Both tests now pass windows=True, and clear_shader_cache takes windows. The suite passes 139 tests under Linux (WSL Ubuntu, Python 3.12), where the old tests fail on these two exactly as in CI.
  • NVIDIA → AMD keeps the F1 choices. -Chosen now compares the player's own switches (the saved settings, plus -Log for a diagnostic start), and last_switches keeps those too. It is still taken with the queued command. The card's part goes only as -CardMask. In your case it is now -Chosen Adapter with -CardMask NoDlss,NoFrameGen,SmoothMotion.
  • SAVE AND RESTART. LEONIDA_MENU_ARGS carries -CardMask. test_win_launchers runs the generated restart command: LEONIDA_FRAME_GEN stays masked and the upscale is the stretch.
  • Advanced cache dir. Clear shader cache clears a LEONIDA_CACHE_DIR typed in the Advanced options, on both systems, instead of the default cache.

Counter-tests: the old snapshot and chosen logic plus no Advanced lookup fail 3 of 3 tests, and a restart without -CardMask fails the restart case. test_win_launchers: 12 OK.

(oreofr-agent, AI-assisted)

**@⁠OreoFR** on GitHub · 2026-12-03 03:33 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#issuecomment-7366694459) Thanks @⁠merzleckeier, all four are fixed in 96765c480, which also merges main with #3276. - **Linux cache tests.** Both tests now pass `windows=True`, and `clear_shader_cache` takes `windows`. The suite passes 139 tests under Linux (WSL Ubuntu, Python 3.12), where the old tests fail on these two exactly as in CI. - **NVIDIA → AMD keeps the F1 choices.** `-Chosen` now compares the player's own switches (the saved settings, plus `-Log` for a diagnostic start), and `last_switches` keeps those too. It is still taken with the queued command. The card's part goes only as `-CardMask`. In your case it is now `-Chosen Adapter` with `-CardMask NoDlss,NoFrameGen,SmoothMotion`. - **SAVE AND RESTART.** `LEONIDA_MENU_ARGS` carries `-CardMask`. `test_win_launchers` runs the generated restart command: `LEONIDA_FRAME_GEN` stays masked and the upscale is the stretch. - **Advanced cache dir.** Clear shader cache clears a `LEONIDA_CACHE_DIR` typed in the Advanced options, on both systems, instead of the default cache. Counter-tests: the old snapshot and chosen logic plus no Advanced lookup fail 3 of 3 tests, and a restart without `-CardMask` fails the restart case. `test_win_launchers`: 12 OK. (oreofr-agent, AI-assisted)
merzleckeier's review of 4b64ba9e4:
- Two Clear shader cache tests expected Windows' cache-2 while calling the
  platform default, so they failed on Linux (CI's linux-python-and-viewer).
  They pass windows=True now (clear_shader_cache takes `windows`).
- After an NVIDIA PLAY, choosing the AMD card made -Chosen name Adapter, Dlss,
  FrameGen, NoDlss and SmoothMotion: -Chosen compared for_card's output with
  last_switches, so the card filter looked like the player's edits and the
  F1 merge dropped the saved DLSS, frame generation and Smooth Motion. Now
  -Chosen compares the player's own switches (switch_args of the saved
  settings, -Log for a diagnostic start) and last_switches keeps those too
  (launch_snapshot, still taken with the queued command); the card's part
  goes as -CardMask only.
- play-nvidia.ps1's LEONIDA_MENU_ARGS (the F1 menu's SAVE AND RESTART)
  carries -CardMask, so a masked LEONIDA_FRAME_GEN=2 stays masked on the
  restarted start.
- Clear shader cache clears a LEONIDA_CACHE_DIR typed in the Advanced
  options, the cache PLAY uses on both systems, instead of the default.

Tests: test_a_new_card_is_no_change_of_the_players (NVIDIA PLAY then AMD:
-Chosen is Adapter only, -CardMask the three); the snapshot test now expects
the player's switches; test_an_advanced_cache_dir_is_the_one_cleared;
test_win_launchers runs the generated restart command (-CardMask in it,
LEONIDA_FRAME_GEN masked, the upscale the stretch). Launcher suite 139 OK on
Windows and 139 OK (2 skipped) under Linux (WSL Ubuntu, Python 3.12), where
the old tests fail on the two cache tests as in CI; test_win_launchers 12 OK.
Counter-tests: the old snapshot/chosen and no Advanced lookup fail 3 of 3;
no -CardMask in the restart arguments fails the restart case.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 70beabca41)
(cherry picked from commit 674c6676ee)
Author
Owner

@⁠merzleckeier on GitHub · 2026-12-03 03:39 UTC · original · reviewed

Rechecked 29085dbf on 516c9eaa. The two launcher suites had 144 passes and seven skips with Linux PowerShell 7.7.0. All four earlier cases pass: the Linux cache tests, the NVIDIA-to-AMD switch preserving all F1 keys, the generated F1 restart retaining -CardMask, and clearing an absolute Advanced cache path while keeping the default cache. Thanks for carrying both #3273 commits. I reran the old-batch-to-new-batch update with a synthetic updater under Wine CMD. Statuses 0, 7, 128 and 255 all reached the caller.

[P1] Resolve relative cache paths consistently before recursive cleanup. In a Linux fixture launched from outside its checkout, PLAY ran the shell with the checkout as its working directory. A relative Advanced cache path was therefore created under the checkout. The Tools action resolved that same setting from the GUI’s working directory and selected a different existing directory. I intercepted the removal call and observed the two resolved paths. Please use the same absolute cache path for PLAY, confirmation and deletion. The Advanced value currently becomes the recursive deletion target directly, so the cleanup also needs to reject paths overlapping the saves or installation directories.

The path fixtures were synthetic. AI-assisted with OpenAI Codex.

**@⁠merzleckeier** on GitHub · 2026-12-03 03:39 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#pullrequestreview-6163314908) · **reviewed** Rechecked `29085dbf` on `516c9eaa`. The two launcher suites had 144 passes and seven skips with Linux PowerShell 7.7.0. All four earlier cases pass: the Linux cache tests, the NVIDIA-to-AMD switch preserving all F1 keys, the generated F1 restart retaining `-CardMask`, and clearing an absolute Advanced cache path while keeping the default cache. Thanks for carrying both #3273 commits. I reran the old-batch-to-new-batch update with a synthetic updater under Wine CMD. Statuses 0, 7, 128 and 255 all reached the caller. **[P1] Resolve relative cache paths consistently before recursive cleanup.** In a Linux fixture launched from outside its checkout, PLAY ran the shell with the checkout as its working directory. A relative Advanced cache path was therefore created under the checkout. The Tools action resolved that same setting from the GUI’s working directory and selected a different existing directory. I intercepted the removal call and observed the two resolved paths. Please use the same absolute cache path for PLAY, confirmation and deletion. The Advanced value currently becomes the recursive deletion target directly, so the cleanup also needs to reject paths overlapping the saves or installation directories. The path fixtures were synthetic. AI-assisted with OpenAI Codex.
merzleckeier's P1 on 29085dbf2: an Advanced LEONIDA_CACHE_DIR that is
relative was resolved from the GUI's working directory, while the runtime
resolves it from where it starts (d3d12 on Windows, where play-nvidia.ps1
pushes; the checkout on Linux, where play-linux.sh starts), so Tools could
pick another existing folder; and the typed value was the recursive
deletion target as it stood.

- shader_cache_dir makes a typed value absolute from that base (~ expanded),
  one path for the confirmation and the deletion.
- cache_dir_problem refuses a drive's root, a folder that holds the home
  folder or the data folder, and any folder that holds or sits in the saves
  (<data>/data), the game folder or Mandy's own folder. The default cache
  (<data>/cache-2, beside the saves) stays allowed. Clear shader cache says
  why and deletes nothing; the window warns before any confirmation.

Tests: CacheDirGuardTests (a relative value made absolute per system and,
being inside Mandy's folder, refused; Data, Data/data, the saves, Game, a
folder under Game, the parent of both, Mandy's folder, d3d12, the home
folder and the root all refused with the saves and the game file intact; a
cache elsewhere cleared; the default cache allowed). 141 OK; new texts in
de/es/fr/pt. Counter-test with the guard off (removal stubbed, nothing
deleted): both tests fail.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Owner

@⁠OreoFR on GitHub · 2026-12-03 03:46 UTC · original

Thanks @⁠merzleckeier, the P1 is fixed in 69925a7c0.

  • One absolute path. shader_cache_dir makes an Advanced LEONIDA_CACHE_DIR absolute from where the runtime starts: d3d12 on Windows, where play-nvidia.ps1 pushes, and the checkout on Linux. The confirmation and the deletion use that same path.
  • A deletion guard. cache_dir_problem refuses a drive's root, a folder that holds the home folder or the data folder, and any folder that holds or sits in the saves, the game folder or Mandy's own folder. A relative value always resolves inside the checkout, so it is refused too. The default <data>/cache-2 stays allowed.
  • Tests: CacheDirGuardTests covers both. 141 OK. Counter-test with the guard off and the removal stubbed: both tests fail.

(oreofr-agent, AI-assisted)

**@⁠OreoFR** on GitHub · 2026-12-03 03:46 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#issuecomment-7366916369) Thanks @⁠merzleckeier, the P1 is fixed in 69925a7c0. - **One absolute path.** `shader_cache_dir` makes an Advanced `LEONIDA_CACHE_DIR` absolute from where the runtime starts: `d3d12` on Windows, where play-nvidia.ps1 pushes, and the checkout on Linux. The confirmation and the deletion use that same path. - **A deletion guard.** `cache_dir_problem` refuses a drive's root, a folder that holds the home folder or the data folder, and any folder that holds or sits in the saves, the game folder or Mandy's own folder. A relative value always resolves inside the checkout, so it is refused too. The default `<data>/cache-2` stays allowed. - **Tests:** `CacheDirGuardTests` covers both. 141 OK. Counter-test with the guard off and the removal stubbed: both tests fail. (oreofr-agent, AI-assisted)
Author
Owner

@⁠merzleckeier on GitHub · 2026-12-03 03:50 UTC · original · reviewed

Rechecked 69925a7c on 516c9eaa. The two launcher suites had 146 passes and seven skips with Linux PowerShell 7.7.0. An Advanced cache path relative to the checkout is resolved correctly: the in-checkout case is refused, and a dedicated sibling cache resolves to the same folder in PLAY and Tools.

  • [P1] Protect the effective Linux saves directory. cache_dir_problem always builds the protected Saves path from data_root(settings)/data. In a synthetic Linux run, play-linux.sh selected its platform-specific saves directory, and the validator accepted that effective path as a cache cleanup target. I tested the validator directly for this case. Please protect the effective saves location, including LEONIDA_DATA_DIR overrides, using the same defaults and resolution as PLAY.
  • [P2] Apply the same resolution to inherited and typed cache paths. An inherited relative LEONIDA_CACHE_DIR still skips normalization. With the GUI started outside its checkout, PLAY used the checkout-relative cache and Tools selected the working-directory-relative one. A typed tilde path also differed: PLAY used it literally while Tools expanded it. I intercepted the removal call in both fixtures. Please resolve the same absolute cache path for launch and cleanup.

AI-assisted with OpenAI Codex.

**@⁠merzleckeier** on GitHub · 2026-12-03 03:50 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#pullrequestreview-6163392827) · **reviewed** Rechecked `69925a7c` on `516c9eaa`. The two launcher suites had 146 passes and seven skips with Linux PowerShell 7.7.0. An Advanced cache path relative to the checkout is resolved correctly: the in-checkout case is refused, and a dedicated sibling cache resolves to the same folder in PLAY and Tools. - **[P1] Protect the effective Linux saves directory.** `cache_dir_problem` always builds the protected Saves path from `data_root(settings)/data`. In a synthetic Linux run, `play-linux.sh` selected its platform-specific saves directory, and the validator accepted that effective path as a cache cleanup target. I tested the validator directly for this case. Please protect the effective saves location, including `LEONIDA_DATA_DIR` overrides, using the same defaults and resolution as PLAY. - **[P2] Apply the same resolution to inherited and typed cache paths.** An inherited relative `LEONIDA_CACHE_DIR` still skips normalization. With the GUI started outside its checkout, PLAY used the checkout-relative cache and Tools selected the working-directory-relative one. A typed tilde path also differed: PLAY used it literally while Tools expanded it. I intercepted the removal call in both fixtures. Please resolve the same absolute cache path for launch and cleanup. AI-assisted with OpenAI Codex.
merzleckeier's review of 69925a7c0:
- [P1] cache_dir_problem protected <data_root>/data only; on Linux
  play-linux.sh puts the saves in ${XDG_DATA_HOME:-~/.local/share}/leonida/data
  (or an inherited LEONIDA_DATA_DIR), and an Advanced LEONIDA_DATA_DIR moves
  them on both systems. runtime_dir now gives the runtime's own folder for
  LEONIDA_CACHE_DIR and LEONIDA_DATA_DIR (Advanced first, Linux's inherited
  environment next, then each system's default; relative values from where
  the runtime starts: d3d12 on Windows, the checkout on Linux), and the guard
  protects those effective saves as well as <data_root>/data.
- [P2] An inherited relative LEONIDA_CACHE_DIR was not normalised, and a typed
  ~ was expanded while the runtime takes it as it is: both resolve the same
  way now (no ~ expansion, as leonida-core's config), so PLAY, the
  confirmation and the deletion name one folder.

Tests: RuntimeDirTests (inherited relative from the checkout; a typed ~ kept
on both systems; Windows ignores an inherited value; the Linux default saves
and their parent refused as a cache, an Advanced LEONIDA_DATA_DIR and a folder
in it refused on both systems, the Linux default cache allowed); the Linux
cache test made path-neutral. 143 OK. With the old saves guard the new test
fails.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Owner

@⁠OreoFR on GitHub · 2026-12-03 03:54 UTC · original

Thanks @⁠merzleckeier, both are fixed in 9fa65d1e7.

  • [P1] The effective saves are protected. The new runtime_dir gives the runtime's own folder for LEONIDA_DATA_DIR and LEONIDA_CACHE_DIR, in this order:

    1. Advanced's value;
    2. on Linux, the inherited environment;
    3. each system's default: <data>/cache-2 and <data>/data on Windows, ${XDG_DATA_HOME:-~/.local/share}/leonida/{cache,data} on Linux.

    cache_dir_problem now refuses anything that holds or sits in those effective saves, on top of <data_root>/data.

  • [P2] One resolution for inherited and typed paths. Relative values resolve from where the runtime starts: d3d12 on Windows, the checkout on Linux. ~ is no longer expanded, matching leonida-core's config, which takes the value as it is.

  • Tests: RuntimeDirTests. An inherited relative path, a typed ~, the Linux default saves and their parent, and an Advanced LEONIDA_DATA_DIR on both systems are covered. The Linux default cache stays allowed. 143 OK. With the old saves guard, the new test fails.

(oreofr-agent, AI-assisted)

**@⁠OreoFR** on GitHub · 2026-12-03 03:54 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#issuecomment-7367059016) Thanks @⁠merzleckeier, both are fixed in 9fa65d1e7. - **[P1] The effective saves are protected.** The new `runtime_dir` gives the runtime's own folder for `LEONIDA_DATA_DIR` and `LEONIDA_CACHE_DIR`, in this order: 1. Advanced's value; 2. on Linux, the inherited environment; 3. each system's default: `<data>/cache-2` and `<data>/data` on Windows, `${XDG_DATA_HOME:-~/.local/share}/leonida/{cache,data}` on Linux. `cache_dir_problem` now refuses anything that holds or sits in those effective saves, on top of `<data_root>/data`. - **[P2] One resolution for inherited and typed paths.** Relative values resolve from where the runtime starts: `d3d12` on Windows, the checkout on Linux. `~` is no longer expanded, matching leonida-core's config, which takes the value as it is. - **Tests:** `RuntimeDirTests`. An inherited relative path, a typed `~`, the Linux default saves and their parent, and an Advanced `LEONIDA_DATA_DIR` on both systems are covered. The Linux default cache stays allowed. 143 OK. With the old saves guard, the new test fails. (oreofr-agent, AI-assisted)
Author
Owner

@⁠merzleckeier on GitHub · 2026-12-03 03:58 UTC · original

Rechecked the two cache findings at 9fa65d1e. In a synthetic Linux launch through play-linux.sh, inherited relative and typed tilde paths now resolve from the checkout in both PLAY and Tools. The guard refuses the in-checkout targets, and a dedicated sibling cache still resolves to the same folder in both. The validator now rejects the effective Linux saves directory. The added default and Advanced saves tests passed, with removal intercepted in my separate alignment fixture.

I also checked the new update-card fix #3289 (26f7d4a1) together with this head. They merge cleanly and the real-Tk regression and four cache tests pass together. AI-assisted with OpenAI Codex.

**@⁠merzleckeier** on GitHub · 2026-12-03 03:58 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#issuecomment-7367130544) Rechecked the two cache findings at `9fa65d1e`. In a synthetic Linux launch through `play-linux.sh`, inherited relative and typed tilde paths now resolve from the checkout in both PLAY and Tools. The guard refuses the in-checkout targets, and a dedicated sibling cache still resolves to the same folder in both. The validator now rejects the effective Linux saves directory. The added default and Advanced saves tests passed, with removal intercepted in my separate alignment fixture. I also checked the new update-card fix #3289 (`26f7d4a1`) together with this head. They merge cleanly and the real-Tk regression and four cache tests pass together. AI-assisted with OpenAI Codex.
Author
Owner

@⁠OreoFR on GitHub · 2026-12-03 04:21 UTC · original

Merging (OreoFR's OK): head aec7489e3, CI green on all six checks against main, no conflict, all review rounds addressed (merzleckeier's last recheck at 03:58 found nothing new; #3273 and #3289 carried with authorship kept). Sent to the merge queue. (oreofr-agent, AI-assisted)

**@⁠OreoFR** on GitHub · 2026-12-03 04:21 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/3272#issuecomment-7367543729) Merging (OreoFR's OK): head `aec7489e3`, CI green on all six checks against main, no conflict, all review rounds addressed (merzleckeier's last recheck at 03:58 found nothing new; #3273 and #3289 carried with authorship kept). Sent to the merge queue. (oreofr-agent, AI-assisted)
github-bot changed target branch from main to gh-pr/3272/base 2026-12-03 04:43:44 +00:00
github manually merged commit aec7489e33 into gh-pr/3272/base 2026-12-03 04:44:20 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/ubiquitarianism--leonida!3272
No description provided.