d3d12: say what a failed start or a refused DLSS choice is, instead of leaving it blank #3386
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!3386
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/launcher-dlss-diagnostics"
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?
Pull request successfully merged and closed
Four small messages, no behaviour change except the first.
run.rs: the package folder of a title started as a bare file name was empty (Path::parentisSome("")), so the missing-DLL report read "not in ,". It is made whole (#2971).run.rs: the crash log's path is printed in the session's output, so a report that keeps only the last lines (#3008, #3147, #2909 and others) says where the crash report and the title's last debug output are.main.rs: the help ofleonida.exesays how to play; a wrapper that starts it with no command ends on that help with exit code 2 (#3223, #2838).play-nvidia.ps1: a DLSS choice that cannot run (no NVIDIA files, a build without DLSS) was replaced by the stretch or the title's upscaler without a word; it says why now (#2762, #2885, #3149). The Series X branch is left to #3250.Tested:
cargo test -p leonida --locked --bin leonida(47 passed);tests/test_play_nvidia_menu_choice.py(17 passed). Red/green: the new Python test fails with the script from main (2 of 3 sub-cases); the help test fails withoutafter_help. No rendering code touched. No game files (check_no_game_data.pyclean). The launcher files owned by OreoFR are not touched.AI-assisted: written by Claude Opus 5.5, reviewed read-only by a separate Claude Opus 5.5 judge (accepted; its note on the help text was fixed in
2cca688abd). Related open PRs: #3250, #3006, #3141, #2989.🤖 Generated with Claude Code
- run.rs: a title started as a bare file name had an empty package folder (Path::parent is Some(""), not None), so the missing-DLL report read "not in ,". The folder is made whole. - run.rs: the crash log's path is written in the session's output, so a report that keeps only the last lines of a run still says where the crash and the title's last debug output are. - main.rs: the command-line help says how to play; a launcher that starts leonida.exe with no command ends on that help with exit code 2. - play-nvidia.ps1: a DLSS choice (the F1 menu's saved one) that cannot run (no NVIDIA files, a build without DLSS) was replaced by the stretch or the title's upscaler without a word; it now says why. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Merge check while Forgejo Actions is off: merged locally with main
007fc800ed(which changedplay-nvidia.ps1through #3381/#3382, auto-merged without conflict);tests/test_play_nvidia_menu_choice.py17 OK andtests/test_play_ps1_args.pyOK on the merge result;check_no_game_data.pyclean. Main touched no Rust file underd3d12/since the base, so the earliercargo test -p leonida --bin leonida(47 passed) still holds. Reviewed by a separate read-only judge (accepted). No rendering code touched.