Skip to content

Integrate custom Mandy launcher with upstream runtime - #3205

Open
aldidigimap-pixel wants to merge 1 commit into
ProjectLeonida:mainfrom
aldidigimap-pixel:main
Open

aldidigimap-pixel wants to merge 1 commit into
ProjectLeonida:mainfrom
aldidigimap-pixel:main

Conversation

@aldidigimap-pixel

Copy link
Copy Markdown

Claimed in the coordination issue as: <CLAIM-ID — replace after claiming>

What and why

Keep the custom portable Mandy launcher working with the updated upstream runtime.

  • Preserve portable runtime, F1 settings-file, worker-count, and full-precompile support.
  • Embed the launcher and its resources in the portable build.
  • Pass the selected runtime and F1 settings path through launches and F1 restarts.
  • Preserve saved F1 settings while applying upstream DLSS handling, including the Series S default-resolution path.

Tested

  • python tests/test_play_nvidia_menu_choice.py — 16 passed.
  • python tests/test_game_gate.py — 26 passed, 1 skipped.
  • Built the portable launcher and verified its embedded launch script matches the staged script.
  • PowerShell dry runs covered the saved F1 DLSS + FG settings and Series S DLSS normalization.

GPUs tested: RTX 5060 TI 16GB
AI-assisted: yes (Copilot SDK in VS Code; GPT6)

Checklist

  • Based on current main and merges cleanly.
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption included.

Keep the portable launcher features while updating the F1 and DLSS launch flow.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

@merzleckeier merzleckeier left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a5751d87 conflicts with current main b41763227 in d3d12/scripts/play-nvidia.ps1; scope checked with git merge-tree. The conflict includes the precompile parameters, F1 replay arguments and construction of warm arguments. When bringing in #3172, preserve its full-warm default and explicit -PrecompileUsed mode alongside the portable -RuntimeExe, -MenuFile and -Jobs arguments. The GUI currently emits -FullWarm when checked and no selector when unchecked. Under the current default the unchecked case needs an explicit used-only selector, or the two choices would both run full warm-up. Please cover both GUI choices and the restart, and replace the claim placeholder in the PR body with the coordination claim. Source and merge review only; I did not build the portable launcher. AI-assisted.

@github-actions github-actions Bot added the needs rebase Conflicts with the base branch: rebase it on main label Dec 2, 2026
@MoonEyes

MoonEyes commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

This pull request touches the render path, so it needs an in-game run before it can be merged: unit tests and CI do not catch rendering regressions (a device loss after an earlier merge is why this gate exists).

Could you, or anyone with a working setup, post a run report on the current head merged onto current main:

  • the head SHA and the main SHA it was merged onto;
  • GPU, driver and OS;
  • at least 300 s in the world after loading;
  • device lost / crashes (count), and rendered fps (median) if you have them;
  • the same run on main alone for comparison, if you can.

Please do not attach logs or screenshots that show game content. If a run on this exact head is already posted, a link to it in a reply is enough.

AI-assisted (Claude Code).

@fiestorra

Copy link
Copy Markdown
Contributor

VERIFY-3205 — Windows nativo: no fusiona, y el lanzador C# compila

Head (this PR)
Merge base older than main b41763227
git merge --no-ff onto main CONFLICT (content) in d3d12/scripts/play-nvidia.ps1 — main has moved (#3210, #3220, #3230, #3233, #3235 all touch it)

That is the first thing to know: it needs a rebase before anything else. For the compile below I took the PR's own files (d3d12/launcher/*, build-mandy-launcher.ps1) into a worktree and left the script conflict out of it.

Build

pwsh -File d3d12/scripts/build-mandy-launcher.ps1
Built: …\d3d12\target\launcher\MandyLauncher.exe        exit 0, 270 KB

It compiles clean on this machine with the repository's own script and the .NET Framework csc.exe (/target:winexe /platform:x64, WinForms references, play-nvidia.ps1 and the profile image embedded as resources). That is all the positive evidence available: 1,672 lines of new C# with no tests at all (zero [Test], zero Python cases), and this machine has no interactive desktop, so a WinForms window cannot be opened, walked, or seen here.

So: red not constructible for its own behaviour, and the compile is the only thing I can vouch for. For a new user-facing launcher that is the gap that matters — the same conclusion as #3182's Tk rewrite.

One factual nit I found reading it: the only URL in the C# is https://github.com/aldidigimap-pixel/mandy-nvidia (L370) — a personal repository, not ProjectLeonida/mandy. Tonight's #3228 exists precisely to point the documentation at the project's current name; a launcher others will run should link the same place.

What I could not test

  • The window: layout, the buttons, the profile image, the update path.
  • The embedded script run: the launcher extracts MandyUpdateLauncher.play-nvidia.ps1 from its resources and starts it (ProcessStartInfo, L1224/L1359); that path needs the title.
  • The portable pair (-PortableOutput, which copies leonida.exe beside the launcher): needs d3d12/target/diag/leonida.exe, which this worktree does not have.

Written with an AI assistant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs rebase Conflicts with the base branch: rebase it on main

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants