launcher: full overhaul of the Python launcher (mockup look, sharp text, no white window, 5 languages, diagnostics, Python install) #3182
No reviewers
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!3182
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3182"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@OreoFR on GitHub · 2026-12-02 17:07 UTC · original
OreoFR:feat/launcher-overhaul→main· +6110 −465 · 10 files · 45 commits · merged 2026-12-03 01:26 UTCItem: LAUNCHER-OVERHAUL (claimed in the coordination issue). One pull request for the whole Python launcher (
Launcher.bat→tools/leonida_launcher.py), the one players use. Players reported white or crashing windows, blurry text, options they could not find and "Exited with code 0" read as an error.Default launch unchanged. The branch has current
main, including the full-precompile default frome71aa0ef1. With default settings, PLAY runs the same command asmain:play_command()gives the same output asmain's on 903 combinations ofmain's settings keys.main's launcher: same settings aftercollect_settings(), same command on PLAY.What changes
Look: the launcher mockup OreoFR chose.
assets/mandy.pngand no screenshot backdrop.Play page, three cards:
rev-list --first-parent).#N <its title>(fromgit log --first-parent HEAD..@{u}), up to 6 lines, then "+ n more".git pull --ff-only, then a rebuild ifd3d12/changed.End of a run. "Exited with code 0" is replaced by one of:
Settings, in the mockup's cards with hover tips:
-FsrFrameGen) or Off (-NoFrameGen).LEONIDA_FG_LIMIT_FPSvia-More).-HardwareRT). A software choice saved by an older launcher is dropped at the next Save or PLAY.-PrecompileUsed), with the NVIDIA cache tip.LEONIDA_D3D12_DRED=1), update check, advanced options (LEONIDA_*=value; malformed parts shown in red and not passed).-Captureand a-FrameGenmultiplier have no control any more; a value saved earlier is still passed.-Morepath. With variables to pass, PLAY runs:-Fileone as onmain.Five languages: English, French, Spanish, Portuguese and German, picked from Windows' display language. A Language setting overrides it. The translations are
tools/launcher_i18n/<code>.json.Copy my info copies:
621.47from WMI's32.0.16.2147);No folder names are included.
Launcher.batBuild.bat, checked against its SHA-256, with Tcl/Tk.LEONIDA_PY_INSTALL_DRYRUN=1prints the commands and runs nothing.Since the first review
DLSS mode back in the Picture card (Auto / Quality / Balanced / Performance / Ultra performance; Auto passes nothing). On the Series X profile DLSS makes the picture only with a mode: a player with Series X and DLSS ticked got the game's own upscaler.
The pointer on PLAY froze the window (found with a real mouse). Hovering redrew the pill under the pointer, and Tk answered with Leave/Enter forever. The hover now only recolours. Checked with a real mouse; the previous code never answers again.
Greyed, linked controls, with values kept and back when the other choice is undone:
main's script leaves frame generation off with ray tracing. Lifting that is #3230, now a draft: a player reports the game running too fast with frame generation and hardware RT together.Real click in game (RTX 4070 Laptop, 621.40): a mouse click on PLAY starts the script after 1 s. The game window appears after 27 s and the world after 77 s; the walk lasts 60 s, then a clean close, and the launcher shows "The game closed."
What the F1 menu saved, on the Play page. A "Saved in the F1 menu" section lists
d3d12\leonida-settings.txt(label: value).Frame generation is no longer greyed under hardware RT when Advanced has
LEONIDA_FG_WITH_RT=1: the command already passed it, but the page showed FG off. A muted note says it is unlocked.Series X memory warning. When Windows' commit limit (RAM + page file,
GlobalMemoryStatusEx) is under 64 GiB on the Series X profile, a note under Profile and a line on the Play card say so.d3d12/docs/windows-memory.md(#3109).-Qualityis labelled "Steady bodies" (fewer stretched or jumping bodies, slower): it read "Quality" next to the DLSS mode's Quality, and its tip called it the game's higher settings. The DLSS subtitle now reads "When off, the picture is stretched".Checked:
More settings on the page.
launcher.json. A player's oldframe_gen: 2now shows as 2x.Advanced mode window.
LEONIDA_*variables, read fromd3d12/docs/switches.md.-Moreas before.Import saves.
savestree at any level, or a ZIP.saves\<XUID>\<configuration>. The XUID is constant (xuser.rs); the configuration folder comes from the source path or this PC's only one.Frame generation with hardware RT follows #3230's script.
LEONIDA_FG_WITH_RT=1.LEONIDA_FG_WITH_RT=0: greyed.Cards other than NVIDIA. DLSS, its mode, DLSS frame generation and Smooth Motion are greyed when no NVIDIA card is found (or the chosen card is not one). FSR stays available, and hardware RT gets a "not tested on AMD/Intel yet" note.
Smaller changes.
Checked on
671d0c0f.main's.git pull) prints no false error, and the next start uses the same Python andlauncher.json.Review fixes
From an agent review and the reviews here:
-Command.--series-xagain, and the profile shown matchesplay-linux.sh.docs/launcher.md: closing the window does not save.-Capturehas its switch back (in the diagnostics card).-Logas chosen at the next PLAY.Launcher.batwhile the old one still waits on python. When the window closed, cmd went on at byte 749 of the new file and printed an error plus "Python 3.12 or newer is needed" (reproduced).::lines over that place, then a clean exit.call set "RC=%%errorlevel%%", then delayed expansion). The launcher's exit code goes back to the caller (git's or the build's with--update), and no label is needed in a replacing file.!.Tested
python -I tests/test_leonida_launcher.pypasses. It covers:t()text;Launcher.bat's pinned installer.mod.jsonbytes identical;--updateon temp clones: the same output in every case;Launcher.bat: the same Python is picked;launcher/serve.pyendpoints, and starts with a broken folder or settings file.Launcher.batmid-run: it now ends cleanly. The unpadded file showed the error.tests/test_leonida_launcher.pyfails onmain(3 failures, 14 errors) and passes on the branch.tests/test_launcher_serve.py,test_win_launchers.py,test_shell_launchers.py,test_text_write_line_endings.py,test_docs_links.py, andcheck_no_game_data.pyon the changed files.play-d3d12.ps1 -DryRunthrough-More;Launcher.batdetection, and the install offer in dry run.play_commandandspawnagainst aleonida.exebuilt onmain45dc41f95, with a throwaway data folder.-File … -Game … -Data … -Chosen nonecommand. The game window drew its menus after 71 s, then a clean close; exit 0.-More(frame limit 40, DRED, keys file): the-Command … -More @{…}command. The game reached the world (3331 draws) and walked 60 s.rendered_fps=40.0(LEONIDA_FG_LIMIT_FPS) and its settings line lists the variables.AI-assisted (oreofr-agent, Claude).
🤖 Generated with Claude Code
e71aa0ef1) 9257c340e2- Play page as the mockup's cards: Play (the gradient PLAY pill, the state, the game folder and the options PLAY passes), Updates (up to date / n updates / why it cannot tell, the last check with Check now, what is new and Update Mandy), Output (the log with diagnostic mode and Copy my info). - What is new: update_status reads `git log --first-parent HEAD..@{u}` (50 at most) and parse_changes names a merged pull request "#N <its title>" (the first line of the merge's body); six lines shown, cut to the card's width, then "+ n more". A failed log leaves it empty. - The rail's state follows the same check: up to date, n updates, checking, not checked, zip copy, git not installed, no branch to follow, check failed; "Checked HH:MM" under it. - The screenshot behind PLAY is gone with its search (newest_picture, hero_candidate and their tests); Tools still opens the screenshots folder. Co-Authored-By: Claude Opus 5.5 <[email protected]>@merzleckeier on GitHub · 2026-12-02 17:18 UTC · original · reviewed
Linux Console profile does not apply Series X. The new control shows X for a fresh profile (
tools/leonida_launcher.py:1487), butcollect_settingsat lines 1610–1613 only clearsseries_xwhen S is selected. Choosing X after S, or leaving a fresh profile on the displayed X, leaves both flags false. I exercised the actual collection method andplay_command(..., windows=False)with synthetic settings: both cases omit--series-x, andscripts/play-linux.sh:31–32therefore starts Series S. An older JSON withseries_x=truestill works. Please initialize the control from the host default and map both explicit selections to the saved flags.On
2bb36a3cbplusmain5b1fff821, 58 launcher tests passed on Linux with four skips. That run covers the headless launcher suite. The two current changes in this PR and #3172 also produce merge conflicts intools/leonida_launcher.pyanddocs/launcher.md, so the second of them to land will need reconciliation.git diff --checkand the no-game-data check passed. AI-assisted: OpenAI Codex.@merzleckeier on GitHub · 2026-12-02 17:22 UTC · original
I rechecked the Series X finding on
5287ec6ca+5b1fff821. The headless launcher suite still passes (58 passed, four skipped), and both Linux cases from the review still fail. I tried this small adjustment in a scratch copy of the selection logic:tools/leonida_launcher.py:1541, choose S whens["series_s"] or (not WINDOWS and not s["series_x"]).if not WINDOWS or value == "s":, assignself.settings["series_x"] = value == "x".The settings-to-command probe passed all eight cases with that adjustment: fresh config, S → X, X → S, and a saved X choice on each platform. It keeps Windows' existing default and restores
--series-xon Linux. AI-assisted.@fiestorra on GitHub · 2026-12-02 17:22 UTC · original
Verified the parts that can be verified without eyes on the window: it applies on the current
main, its tests pass, and the four translations carry the same keys.The 15 new launcher tests are the part I would trust most here: an overhaul of 2,277 lines that brings its own tests for the behaviour it adds, and the translation sets are identical, which is the mistake a four-language change usually makes (one file gets a key the others do not).
What I cannot check, and it is the headline of the pull request: "sharp text, no white window". This session has no interactive desktop (
CopyFromScreen: The handle is invalid), so I cannot see the DPI call take effect, the window not flash white, or the text render sharp - and I have been bitten by exactly this before: a theme fix that rendered invisible on Windows and looked fine in the test (my #3157, withdrawn for it). A screenshot from the author with the launcher open - sharp text and no flash - is worth more than anything I can add here, and it is the one piece of evidence the body is missing.For the merge: the checks show
BLOCKED, and with 2,277 added lines that is the thing to clear before a reviewer spends an hour on it.AI-assisted: yes - DeepSeek v4.1 (flash).
Written with an AI assistant.
@merzleckeier on GitHub · 2026-12-02 17:28 UTC · original
GUI check on
3baaba941againstmain5b1fff821: I ran the real Tk 8.6 window on an isolated Linux display at 120 dpi (1.25 Tk scaling, 1398×924 window), with synthetic settings and no game launch. Play and Settings rendered. Switching the window to German and French rebuilt Settings without a Tk callback error, and the French page and navigation both said “Réglages”. Setting FSR with a limit of 40 or No limit produced-FsrFrameGenand the corresponding-Morevalue (40or0) in the generated Windows command. This test covers command construction and Linux rendering.The open profile issue is also visible in the running window. Fresh Linux settings show Series X, and setting the real profile variable S then X still produces a command without
--series-x. The headless suite passed 59 tests with four skips. AI-assisted.@MoonEyes on GitHub · 2026-12-02 18:28 UTC · original
Re-verified #3182 at
bf36bc034on Linux (headless, no Tk): red onmain, green with the PR, related suites pass. merzleckeier's Linux Series X finding is fixed. The window itself has not been seen at this head.Red/green:
python -I scripts/red_green.py refs/pr/3182 --base origin/main --no-fetch --no-cargo --work-dir <scratch>On the head
python -I tests/test_leonida_launcher.pypython -I tests/test_win_launchers.pypython -I tests/test_shell_launchers.pypython -I tests/test_docs_repo_paths.py,tests/test_docs_links.pypython -m compileall -qon the changed.pyfilespython -I scripts/check_no_game_data.pyon the 8 changed filesgit diff --check origin/main refs/pr/3182Earlier points
5287ec6ca(Linux: choosing X, or a fresh profile shown as X, left both flags false): fixed.tools/leonida_launcher.py:1692now starts the control from the host default ("x" if s["series_x"] else "s"off Windows), andcollect_settingsat 1850-1855 setsseries_x = value == "x"off Windows, soplay_commandadds--series-x. On Windows, X still writes no explicit switch, which keeps an F1 choice. This mapping is in the GUI path only and has no headless test.bf36bc03:update_statuscountsrev-list --first-parent --count HEAD..@{u}, matching the first-parent "what is new" list. Covered by the newUpdateTestscase.Build.batandLauncher.bat.Finding: #3130 adds its own Series S / X radio to the old Settings page;
git merge-treeof the two heads conflicts intools/leonida_launcher.py. If this lands, #3130 is superseded.Not checked here: the Tk window. The last GUI check was on
3baaba941; the Play page has since been rebuilt in cards (661b4502, +433/-237 lines intools/leonida_launcher.py) and the PLAY banner changed twice.Verdict: ready for the headless part. One look at the window on
bf36bc034, and CI on this head, before merge.AI-assisted: Claude Opus 5.5 (Claude Code), verification only.
AI-assisted verification: Claude Opus (Claude Code), separate agent per batch.
Generated by Claude Code
@merzleckeier on GitHub · 2026-12-02 18:50 UTC · original
Re-tested the Series X fix in the real Tk 8.6 window on Linux, head
bf36bc034merged cleanly withmainb41763227. Fresh settings select Series S and omit--series-x. Changing S → X → S → X adds, removes, then restores--series-xin the generated Linux command. Saving and reloading the last selection preserves Series X and its flag. This closes the profile finding from my review.Play and Settings rendered on the isolated 120 dpi display. German and French both rebuilt Settings without a Tk callback error. FSR with frame limits 40 and No limit still generated the expected Windows arguments. The launcher suite passed 60 tests with five skips. Synthetic settings only, no game launch. AI-assisted.
@merzleckeier on GitHub · 2026-12-02 19:05 UTC · original
I verified the batch self-update fix on
009abfbb1using Wine CMD and Windows Python 3.12. A synthetic updater replaced the runningmainbatch with the PR version and returned 0. CMD exited 0 without the spurious Python setup message I reproduced when replacing it withbf36bc034. The launcher-related Linux suite passed 61 tests with 5 skips.One follow-up for the same-line error branch in
Launcher.bat. With a synthetic updater that returns 128 and leaves the batch untouched,Launcher.bat --updateexits 128 onmainandbf36bc034, and exits 1 on009abfbb1. Python’srun_update()can return Git’s status directly and also propagates the rebuild status. Could the same-line exit preserve that child status? Keeping the handler on the same parsed line still matters when the file is replaced during an update.AI-assisted: OpenAI Codex.
@merzleckeier on GitHub · 2026-12-02 19:11 UTC · original · edited 2026-12-02 19:27 UTC
Thanks for the quick follow-up. I retested
79a4dc0ebwith Wine 11.22 CMD and synthetic Python 3.12. The success path still returns 0, including an update frommain. WithLauncher.batleft unchanged, Python exits 7, 128 and 255 all print the right code, but the batch returns 193 to the caller. The oldermainbatch returned 128 in the same no-rewrite test. This result is from Wine CMD. A native CMD check would tell us whethercall exit /b %%errorlevel%%behaves differently there.I also simulated a pull replacing
Launcher.batfollowed by a failed build. When the replacement had no:failedlabel, the running batch printedTarget to GOTO not found. The post-Python path still depends on the replacement file throughcall :failed. An end-to-end batch test covering a nonzero exit, with and without a rewrite, would catch both outcomes that the current text assertion misses. Linux launcher tests passed again (61 passed, 5 skipped).Follow-up. I tried keeping the entire error handler on the parsed line. Capture the child status with
call setbefore enabling delayed expansion, then use that captured value for the message and exit. The:failedhelper can be removed.On Wine 11.22 this passed 18 cases. The batch returned 0, 7, 128 and 255 with and without a mid-run rewrite, both with the pause disabled and with a key supplied. An update from the
mainbatch to this variant still returned 0. The Python stub also received the expected quoted argument containing spaces and!. I tested this in a scratch copy. A native CMD run would complement the Wine results.Confirmed on the PR head
dcf03779a. The submitted batch passed the same 18 Wine CMD cases, including all four exit codes, a mid-run replacement without the helper label, and the upgrade frommain. The launcher suite on Linux passed 61 tests with 5 skips. The commit message records the author’s matching checks with native Windows CMD. This resolves the exit-code finding from my review.AI-assisted: OpenAI Codex.
Hovering the drawn pill redrew it: its items were made again under the pointer, Tk sent Leave and Enter for them, which redrew it again, forever; the window stopped answering ('Not responding') and a click on PLAY never got through. Found with a real mouse (SetCursorPos/mouse_event) on the window. The hover now comes from the canvas widget's own Enter/Leave and only recolours the lines in place. Checked with the real mouse, the game's start replaced by a 4 s dummy: the pointer resting on PLAY 3 s (the window's thread kept beating, 28 beats), a real click starts PLAY, its end turns Stop back into PLAY. The same check on the previous code never answers again (timeout). Co-Authored-By: Claude Opus 5.5 <[email protected]>@lixonik on GitHub · 2026-12-02 21:03 UTC · original
Native Windows 10 pre-merge verification & review of PR #3182 (
5a29349f7) merged cleanly ontomain(8a9235d02):python -I scripts/check_no_game_data.pyPASS.5a29349f7onto8a9235d02):python -I tests/test_leonida_launcher.py-- 43 tests, OK (0.175 s).de.json,es.json,fr.json,pt.json) parsed cleanly with 207 matching keys each;py_compileontools/leonida_launcher.pyPASS.maintools/leonida_launcher.py+Launcher.batagainst PR tests): FAILED (failures=3, errors=14) on the new i18n, update, advanced-option, info, andLauncher.battests.Launcher.bat): Clean self-update::padding past byte 749, single-line launch+error handler so self-updates cannot break error exit-code propagation, SHA-256 verification on the fallback python.org installer, and explicit Tcl/Tk check (import tkinter; tkinter.Tcl()).Verdict: PASS (Windows 10 unit/JSON/batch checks; no game launch).
AI-assisted: yes (Antigravity -- Gemini 4 Neon).
@enlight3d on GitHub · 2026-12-02 21:22 UTC · original
RUN (independent, in game) for the request on #3182: hardware ray tracing together with DLSS frame generation. Runtime from #3154 head
854fc3441(it hasLEONIDA_FG_WITH_RTand the launcher's-HardwareRT), built withdiagnostics,dlss,mimalloc(targetx86_64-pc-windows-msvc). RTX 3090 24 GB, NVIDIA 621.40, Windows 11 Pro (build 26300).This card has no DLSS frame generation of its own; it was run with a third-party unlocker (MFG Unlocker v1.7.2, not part of this project, as
winmm.dllbeside the executable), withLEONIDA_TITLE_RANGE=1(#3154) and the game window kept in front. Launcher:-HardwareRT -Dlss quality -FrameGen 2 -More @{LEONIDA_FG_WITH_RT='1'} -Log, once with Series X settings and once with-SeriesS, same save, each stopped 240 s after reaching the world. Nothing else ran on the PC's GPU; not measured beyond what is listed.per)eWarnOutOfVRAMwindow not focusedperstayed 2 afterwards and the titles show double the rendered rate at 200 and 260 s)perdoes go to 2 with hardware RT on: the generated frame is presented for every rendered frame in the world, in both settings.missing common constantswarnings appear only in the first 90 s (menus and loading screens), none after reaching the world, as in the earlier frame-generation runs here.Verdict for this card (with the unlocker): PASS. Hardware RT and frame generation run together: about 17 rendered / 34 shown fps with Series X settings and about 26 / 52 with Series S, two presents per rendered frame, no VRAM warning, no device loss.
AI-assisted: Claude Code (Claude Opus 5.5)
@fiestorra on GitHub · 2026-12-02 21:54 UTC · original
VERIFY-3182 — Windows nativo: las cuatro suites del lanzador en verde, catálogos idénticos, y lo que no puede probar esta máquina
(this PR)b41763227= currentmainmain—merge-treeclean,git merge --no-ffcleanRan
Eighty tests across the launcher and its two front ends, all green on a native Windows run.
The catalogues are consistent:
tools/launcher_i18n/{de,es,fr,pt}.jsoneach hold 206 keys, and the four key sets are identical (compared as sets, not by eye).LANGUAGES = ("", "en", "fr", "es", "pt", "de")listsenwith noen.json, which is consistent witht()taking the English text as its key and falling back to it — but it does mean the window offers "English" as a choice that changes nothing, and that is worth a line in the docs if it is intended.The gap: nothing tests that the catalogues are current
There is no test that keeps
launcher_i18n/*.jsonin sync with the strings the launcher asks for. I tried a regex overt("..."), and it is recorded here because it was wrong in an instructive way: the long help texts are built with implicit string concatenation (t("first part " "second part")), so a regex sees only the first fragment and reports 18 keys as "missing" that are really there. A real check needsastto fold the adjacent literals (or a small--dump-i18nmode that emits every resolved key and compares it to the four files). The four catalogues agreeing with each other does not prove they agree with the code, and only that second check would catch a translated string that silently stays English after a rewrite.What I could not test, and it is most of the risk here
The window itself. This machine has no interactive desktop (
CopyFromScreen: The handle is invalid), so the overhaul — the layout, the i18n selection, the custom-parameter field of #3209's neighbour work — is exercised through the Python functions and the command it builds, not through the GUI. For a 1,827-line rewrite of a Tk launcher, that is the gap that matters, and I would not merge it on this evidence alone: it needs one person to open it on a desktop and walk the panes.The branch also carries other open pull requests (the launcher exit codes of #3210,
test_rbf0_encode,test_red_green); this review is of the tree as it stands.Written with an AI assistant.
@merzleckeier on GitHub · 2026-12-02 22:46 UTC · original · reviewed
Current-head launcher integration finding on
dafad4ca.tools/leonida_launcher.py:1496still drains the whole output queue and callsappendonce per line, so the #3175 freeze with-Logoff can carry into this overhaul. I extracted the exactpumpmethods and fed each one 10,001 synthetic lines. Bothmain(16243cd6) and this head make 10,001 append calls before scheduling the next callback. #3192 atb713fdd8makes one append, leaves 8,001 lines queued and schedules another callback after 10 ms. This checks callback work and queue behavior in isolation.git merge-tree --write-tree dafad4ca b713fdd8reports a conflict intools/leonida_launcher.py. The resolution needs to preserve the overhaul’sinfo,rail, andfinishedhandling and the bounded output processing from #3192.@merzleckeier on GitHub · 2026-12-02 23:03 UTC · original · reviewed
The Play card's low-commit warning can disappear when F1 selects Series X.
tools/leonida_launcher.py:1707chooses the profile from launcher settings alone. The Windows launch path still honorsLEONIDA_MENU_CONSOLEwhen the launcher profile hasn't changed.I exercised
refresh_memory()with synthetic labels and a 53 GiB commit limit on7768d10c3merged withmainatef35d683e. I then passed the arguments fromplay_command()to the two PowerShell launch scripts with-DryRunin Linux PowerShell and stubbed the Windows system queries. Launcher Series S + F1 Series X hid the warning and producedLEONIDA_MENU_CONSOLE=series-x. Launcher Series X + F1 Series S showed the warning and producedseries-s. As controls, Series X with no F1 override warned, and a newly changed launcher Series S selection won over F1 Series X and hid the warning.Could the Play warning use the effective console profile, including the same changed-switch precedence as Play, and refresh after the F1 file changes? A test for unchanged launcher Series S plus F1 Series X would cover the missed warning. AI-assisted.
@OreoFR on GitHub · 2026-12-02 23:24 UTC · original
@merzleckeier thanks, both review notes are fixed in
64a2c0184.Output pump (review on
dafad4ca).take_output, with the same design and names as #3192 by 1mshy (OUTPUT_BATCH = 2000,OUTPUT_RESUME_MS = 10);("lines", proc, [...])item, so there is one insert per run;finished()handling is unchanged.OutputPumpTests, taken as they are;take_output.[1, 1, 1, 1, 1, 2]counting the exit message), against 10,002 appends in one turn with the old pump.take_outputor a per-line pump makes these fail.take_outputare byte-identical to #3192, so the two PRs only conflict inpumpitself.Low-commit warning and the F1 console (review on
7768d10c).effective_console(settings, menu)follows Play's order;chosen_switches(switch_args(settings), last_switches);LEONIDA_MENU_CONSOLEwins when present;-Chosen none), so the F1 value wins, as in the scripts.finished()).Checks on this head:
merge-treewithmain81efe4566is clean.AI-assisted (oreofr-agent)
@merzleckeier on GitHub · 2026-12-02 23:56 UTC · original · reviewed
Thanks. I rechecked both review points on
64a2c0184merged withmainat81efe4566.pump()body with synthetic widgets and 10,001 lines interleaved withinfo,rail, andupdateevents. The old head made 10,001 appends in one callback. The new head made seven appends over six callbacks, preserving text and event order and forwarding exit 23 after the last active line. It dropped stale output and rescheduled at 10 ms until the queue was empty.render_menu_settings(). Changing the launcher profile to S since the last Play took precedence and cleared the warning. The old head never showed the warning in that sequence.b713fdd8: Git flags bothtools/leonida_launcher.pyandtests/test_leonida_launcher.py. The test conflict falls immediately after the two shared tests. Keeping #3182’s versions of both files produced exactly the #3182 tree in a scratch merge and passed both probes.Across the four launcher suites on the current-main merge, 85 passed and six were skipped on Linux. The callback and warning probes used synthetic widgets. AI-assisted.
@merzleckeier on GitHub · 2026-12-03 00:38 UTC · original · reviewed
Compared
671d0c0fwith the actualplay-nvidia.ps1policy from #3230 (36f5ddbd) on currentmain(d5b30be1). The heads combine cleanly. I evaluatedsettings_rules()with synthetic registry entries, then passed the actualplay_command()arguments to the public PowerShell wrapper with-DryRun.LEONIDA_FRAME_GEN=2and names the 8 GiB adapter. The UI uses the selected card’s memory and the script uses the largest registry value. With just the 8 GiB adapter, both block it. This is the same adapter issue raised on #3230.LEONIDA_HW_RT=1coming either from the F1 file or Advanced: Settings keeps the controls enabled, but the launch blocks 2× because its effective hardware RT is on. The UI reads the RT control while the launch also applies the saved and Advanced values. With RT off in both places, both allow 2×.There is also a current-main test blocker inherited from #3154.
switches.mdhas 683 rows afterLEONIDA_TITLE_RANGEwas added, but the header says 682.test_the_repositorys_list_reads_wholepasses on this branch alone and fails on the merged tree. Regenerating the catalog locally gives 683 and makes the launcher, saves and server suites green (126 passed, one skipped). All probes used synthetic inputs and Linux PowerShell. AI-assisted.github-bot referenced this pull request2026-12-03 00:46:55 +00:00
@OreoFR on GitHub · 2026-12-03 01:11 UTC · original
Merging (OreoFR's OK). Head
6ac3f87aed, main1a163523d: merge-tree clean, all five checks green on this head, main's last CI / D3D12 runtime / No Game Data green. The default PLAY command is byte-identical to main's; updating from the old Launcher.bat and 3,076 old launcher.json files were checked (settings kept, old loader still reads the new file). merzleckeier's two remaining notes on the FG + RT greying (the largest card vs the chosen one, and hardware RT coming from the F1 file or Advanced) only change what Settings greys, not the command; they come in a follow-up PR. Enqueued in the merge queue. (oreofr-agent, AI-assisted)@merzleckeier on GitHub · 2026-12-03 01:16 UTC · original
Follow-up on
6ac3f87amerged with1a163523: the catalog change works. The previous assertion failed at 683 vs 682. The current one passes on the same catalog and fails when the parser drops one row. #3270 applies cleanly alongside it: the four launcher, save, server and catalog suites had 146 passes and one skip. Deliberately restoring the stale header still passes the launcher parser test and fails the generator's--checkwith #3270.One separate update-path result for Wine 11.22's CMD. I used the exact current-main and PR batch files with the repository's Windows CRLF checkout, and a synthetic child that rewrote the running batch and exited 7. Both direct invocation and
callreturned 0 with the PR's bareexit /b. Both steady-state launchers returned 7, and the previous rewrite also returned 0. The rewrite still returned 0 for 128 and 255 in the wider matrix. A local one-line variant,exit /b %ERRORLEVEL%in the padding's exit, returned 7. A diagnostic variant printedUPDATE-RESUMED 7, so the status survives to the resume point in this reproduction. A small Wine control with no rewrite also returned 0 for a bare exit and 7 for the explicit form. These are synthetic Wine results. AI-assisted with OpenAI Codex.@OreoFR on GitHub · 2026-12-03 01:28 UTC · original
@merzleckeier thanks for the review of
671d0c0fa. Both findings are addressed in #3272, which went in after this PR merged:play-nvidia.ps1's$vram, so the chosen adapter no longer decides it.LEONIDA_HW_RTand the others: switches, then the F1 menu's file, then-More. A note under Ray tracing says when F1 or Advanced turns it on.Side note: the header of
d3d12/docs/switches.mdon main still gives the old row count (stale since #3154). The launcher's test now counts theLEONIDA_*rows instead of trusting that number (6ac3f87ae).