diff options
| author | OreoFR <29048345+OreoFR@users.noreply.github.com> | 2026-12-03 04:15:54 +0100 |
|---|---|---|
| committer | OreoFR <29048345+OreoFR@users.noreply.github.com> | 2026-12-03 04:15:54 +0100 |
| commit | f1e9718e95ed40920eb4bccbc1a03eeba2bd9ee4 (patch) | |
| tree | c59de95d97ed17bb11c6776f73d149e43a4322a7 /runtime/opus_decoder | |
| parent | f9b9f7c624a01333a88de870175cae5135ad65c1 (diff) | |
launcher, play scripts: review fixes of #3272 (card mask kept out of the F1 file, -Adapter for auto FG, Linux cache and binds, clear-cache race, unreadable binds kept)
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 <noreply@anthropic.com>
Diffstat (limited to 'runtime/opus_decoder')
0 files changed, 0 insertions, 0 deletions