Integrate custom Mandy launcher with upstream runtime #3205
Open
github-bot
wants to merge 1 commit from
github-bot/gh-3205 into main
AGit
pull from: github-bot/gh-3205
merge into: github:main
github:main
github:perf/darner-title-priority-ceiling
github:gh-readonly-queue/main/pr-3311-b5c45b663dbc5a9c3532bb3f307e5f81b32faefa
github:gh-readonly-queue/main/pr-3088-af22e7847ff5808f72d1a1881c24be2fafd20b54
github:gh-readonly-queue/main/pr-3123-7f3fa026a94c6646e89244f28e1ce22290361867
github:gh-readonly-queue/main/pr-3354-637baa0b77ba47222e7280b17c1a59c6a1781d57
github:gh-readonly-queue/main/pr-3365-d7a0e0196a43834813014b4bd3aa5502a8263b14
github:gh-readonly-queue/main/pr-3361-5dfe8bbd05ed12fb2f2e1718d9af77a7c5f46fd8
github:gh-readonly-queue/main/pr-3366-8da9148204e9d12c585efa9ac2b7cc1ab08c7682
github:fix/runtime-test-conservative-fixtures
github:ci/shard-semantic-linux
github:docs/fg-limit-fps-switch
github:fix/runtime-test-fixture-paths
github:fix/runtime-test-fixture-readers
github:fix/read-file-hard-link
github:fix/book-slot-heap-never-read
github:fix/depth-resolve-spv-path
github:fix/indirect-unused-batched
github:gh-pr/3358/base
github:fix/xmem-refusal-diagnostics
github:gh-pr/3357/base
github:ci/shorten-ci-time
github:fix/alias-later-queued-submissions
github:claude/gallant-sagan-aamatr
github:gh-pr/3342/base
github:gh-pr/3341/base
github:d3d12/agility-sdk-621
github:gh-pr/3293/base
github:gh-pr/3319/base
github:gh-pr/3318/base
github:gh-pr/3315/base
github:gh-pr/3313/base
github:gh-pr/3314/base
github:claude/fervent-curie-m19lnr
github:gh-pr/3216/base
github:gh-pr/3272/base
github:gh-pr/3276/base
github:gh-pr/3279/base
github:gh-pr/3257/base
github:gh-pr/3258/base
github:gh-pr/3271/base
github:codex/skip-no-hit-ray-passes
github:gh-pr/3230/base
github:gh-pr/3266/base
github:gh-pr/3247/base
github:gh-pr/3246/base
github:gh-pr/3244/base
github:claude/sharp-sagan-1jqnp3
github:t3/preserve-fsr-sdk-restart-path
github:t3/propagate-host-failure-hresult
github:t3/launcher-custom-parameters
github:t3/series-x-2160-startup
github:codex/d3d12-uncapped-simulation
github:ci/less-to-run
github:perf/native-compute-shader-forms
github:claude/blissful-franklin-ukp7ag
github:codex/full-precompile-default
github:gh-pr/3166/base
github:gh-pr/3148/base
github:gh-pr/3138/base
github:gh-pr/3106/base
github:gh-pr/3057/base
github:gh-pr/2756/base
github:gh-pr/2812/base
github:gh-pr/3032/base
github:gh-pr/2992/base
github:notes/card-time-and-plant-flicker
github:gh-pr/2986/base
github:gh-pr/3000/base
github:gh-pr/2966/base
github:gh-pr/2924/base
github:gh-pr/726/base
github:gh-pr/2761/base
github:gh-pr/2663/base
github:gh-pr/2861/base
github:gh-pr/2862/base
github:gh-pr/2820/base
github:gh-pr/2811/base
github:gh-pr/2803/base
github:rt-call-trace
github:gh-pr/2802/base
github:gh-pr/2766/base
github:perf/ahead-split
github:gh-pr/2589/base
github:gh-pr/2699/base
github:gh-pr/2696/base
github:docs/readme-runtime-proposal
github:gh-pr/1346/base
github:codex/coord-claim-check-20261124-7e48
No reviewers
Labels
Clear labels
accessibility
Barrier affecting people with disabilities
area: ci
.github/ workflows and settings
area: d3d12
The D3D12 runtime in d3d12/ (Rust: leonida.exe and its crates)
area: docs
Documentation
area: launcher
The launcher (launcher/)
area: runtime (legacy)
The earlier Vulkan runtime in runtime/
area: shader translator
The shader translator (leonida-shader, tools/rdna2spirv) and its tests
area: tools
tools/ and scripts/
area: viewer
The map viewer (viewer/)
bug
Something isn't working
dependencies
Pull requests that update a dependency file
documentation
Improvements or additions to documentation
duplicate
This issue or pull request already exists
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
invalid
This doesn't seem right
missing claim
Needs a claim in #14
needs in-game run
Changes the code a frame runs through: needs the 300 s in-game gate (docs/game_gate.md)
needs rebase
Conflicts with the base branch: rebase it on main
needs-triage
Needs maintainer evaluation before the next triage state
question
Further information is requested
ready-for-agent
Fully specified and ready for an AFK agent
submodules
Pull requests that update submodules code
wontfix
This will not be worked on
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
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
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!3205
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3205"
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?
@aldidigimap-pixel on GitHub · 2026-12-02 19:10 UTC · original
aldidigimap-pixel:main→main· +1784 −46 · 4 files · 1 commits · openClaimed 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.
Tested
python tests/test_play_nvidia_menu_choice.py— 16 passed.python tests/test_game_gate.py— 26 passed, 1 skipped.GPUs tested: RTX 5060 TI 16GB
AI-assisted: yes (Copilot SDK in VS Code; GPT6)
Checklist
mainand merges cleanly.@merzleckeier on GitHub · 2026-12-02 20:28 UTC · original · reviewed
a5751d87conflicts with currentmainb41763227ind3d12/scripts/play-nvidia.ps1; scope checked withgit merge-tree. The conflict includes the precompile parameters, F1 replay arguments and construction ofwarmarguments. When bringing in #3172, preserve its full-warm default and explicit-PrecompileUsedmode alongside the portable-RuntimeExe,-MenuFileand-Jobsarguments. The GUI currently emits-FullWarmwhen 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.@MoonEyes on GitHub · 2026-12-02 22:00 UTC · original
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:mainSHA it was merged onto;mainalone 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 on GitHub · 2026-12-02 22:02 UTC · original
VERIFY-3205 — Windows nativo: no fusiona, y el lanzador C# compila
(this PR)mainb41763227git merge --no-ffontomaind3d12/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
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.ps1and 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 constructiblefor 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, notProjectLeonida/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
MandyUpdateLauncher.play-nvidia.ps1from its resources and starts it (ProcessStartInfo, L1224/L1359); that path needs the title.-PortableOutput, which copiesleonida.exebeside the launcher): needsd3d12/target/diag/leonida.exe, which this worktree does not have.Written with an AI assistant.
@fiestorra on GitHub · 2026-12-03 02:53 UTC · original
VERIFY-3205 — compila aquí, y una dependencia que sólo existe por el
csc.rsppor defectoEl launcher C# (
MandyLauncher.cs, 1 672 líneas) compila en esta máquina con el compilador que el script nombra,C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe:Los dos recursos incrustados entran, y el
/define:MANDY_RUNTIME_DLSSque el script añade condicionalmente no es necesario para compilar.Y un hallazgo, del control que hice mal primero y bien después:
MandyLauncher.csusaHashSet(L1063), que vive enSystem.Core.dll— y el script no lo referencia.csc.exedel Framework aplicacsc.rsppor defecto, y ese fichero referenciaSystem.Core— así que hoy funciona. Pero el script escribe sus referencias una a una para no depender del entorno, y le falta la única que el código necesita y no declara. En una máquina con uncsc.rsprecortado (o si alguien añade/noconfigpara hacer el build reproducible) falla conCS0246: HashSeten la línea 1063.El arreglo es una línea:
System.Core.dllen el array$referencesdebuild-mandy-launcher.ps1, junto a las otras tres.Mi primer control dijo «compila sin WinForms» y era falso: sin
/noconfig,csc.rsphabía aportado también WinForms, y elusingno fallaba. Lo que lo delató fue que el fichero tieneusing System.Windows.Forms;y 24 erroresCS0246aparecieron en cuanto quité el response file. Es el tercer control esta noche que miente por el entorno en vez de por el código — y el primero que es de C#.Lo que no probé
.exe: eswinexey esta sesión no tiene escritorio, así que abrirlo no dice nada (es el mismo motivo del rojo deleonida-hle).play-nvidia.ps1modificado por esta PR: tiene su propio conflicto contramainy no lo resolví (está en mi clasificación:#3205necesita a su autor).Written with an AI assistant.
@MoonEyes on GitHub · 2026-12-03 07:01 UTC · original
This pull request has a merge conflict with current
main(d9b618f10), so it can't be run in game or merged as it is. Could you merge the latestmaininto it (or rebase onto it) and resolve the conflict? Once the head is updated, the in-game gate run can be done on the new head.AI-assisted (Claude Code).
@fiestorra on GitHub · 2026-12-03 09:33 UTC · original
Antes de fusionar: esta PR añadiría dos violaciones nuevas a la política del repositorio, y una de ellas no se puede arreglar con una línea
Corrí el binario de la política sobre la cabeza de la PR (
cargo run -p xtask -- policy, exit 1):Las tres primeras de las seis son las que
mainya tiene (dos ficheros.rsde más de 640 KiB y uno con 6 528 dígitos hex, que arregla#2815). Las otras tres son de esta PR, y son de dos clases:MandyLauncher.cs: «file type not on the allowlist» —.csno está enALLOWED_EXTENSIONS. Es texto escrito por vosotros, así que encaja en lo que la política quiere permitir; lo que falta es añadir"cs"a la lista. Es una línea enxtask/src/policy.rs, y es una decisión de política, no un arreglo técnico — por eso lo dejo escrito en vez de proponerlo como hecho.mandy-profile.png: «binary content (NUL bytes)» — y esto no se arregla con una lista de extensiones. La política diceNothing from the game may be committedy comprueba precisamente eso: un fichero binario. Un PNG de 147 KB generado por nosotros no es del juego, pero el instrumento no distingue — y quitar la comprobación de NUL abriría el hueco que#2815y la regla de los decimales están cerrando esta misma noche.Las tres salidas honestas, y ninguna es mía para decidir:
build-mandy-launcher.ps1, que es justo lo que ese script podría hacer);EXCEPTIONSen la política, y sería el sitio);Y el contexto que hace esto urgente y no pedante:
cargo test -p xtaskcorrerepository_passes_policyen CI, así que fusionar esta PR tal cual dejamaincon cinco violaciones en vez de tres — y cualquiera que abra una PR dextaskdespués hereda un rojo que no es suyo. Es exactamente lo que está pasando hoy con las tres.Lo que no he comprobado: si el launcher C# funciona — necesita Windows con el runtime y el juego, y no lo he ejecutado. Esto es sólo la puerta de la política, que es la que se abre sola en CI.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.