Repository navigation
Switch 2 (5/8): a failure row for keys older than the game - #607
Merged
Merged
Conversation
The engine at 641d148 stops a build at once when prod.keys lacks the master key the game needs (nx_extract exit code 6, a new [RED] line that names the key and the firmware). The launcher showed that line raw. The Mac and the Qt launcher now say the keys are older than the game and offer Choose keys file.
5 of 6 tasks
ThisIszas
pushed a commit
to ThisIszas/NX2Apple
that referenced
this pull request
Nov 4, 2026
Carries today's upstream fixes, including the Mac pipeline archive stamped for this Mac's major system version (8e0916b, issue LNPANDY#673) — a Metal 4 pipeline archive only opens on the major version it was made for, so an app packed here compiled every base on its first start — the sampler border colours Metal lacks (6670f32, LNPANDY#607), same-pass feedback snapshots without per-game lists (c692ba0, which drops Wonder's feedback_snap key), NVN logic operations through a chain-built library (a68bfd9, LNPANDY#643), NSP title IDs from the package's own meta NCA (LNPANDY#666), and the removal of stale shader library folders (LNPANDY#682). Two fork patches landed upstream and are dropped: nsp-title-id-from-package (LNPANDY#666) and nsp-script-remove-the-shader-libraries-of-older (LNPANDY#682). Resolved in the queue: - 0005-nsp-dotnet-home: keep upstream's new contextlib import beside the patch's pwd import. - 0009-mac-keymap: upstream rewrote the same header comment (labels from pad_apple.h); the code hunks applied cleanly, the comment was merged by hand. - 0018-nsp-dotnet-root-verify, 0028-cheats-engine, 0031-front-mac-dm-screen: applied by hand (upstream moved the surrounding lines); cheats keeps both dm_rec_finish and dm_cheats_exit in the shutdown path. - 0008-bc-cpu-decode: tex_bc_cpu classified in docs_patches.py SWITCH_BINDING, which the doc generator now requires for every profile key. - GAMES.md: gallery regenerated (two new upstream gallery rows). patches.py check: 21 patches apply to ee6648c and give the vendored tree.
4 of 6 tasks
v0lumehi
pushed a commit
that referenced
this pull request
Nov 4, 2026
The seven texts of the Switch 2 games (#603-#607) came in as a machine translation with "motore". The rest of it.json says "engine" (l'engine, masculine), as chosen in #528, so the app used two words for one thing. Now "engine" is the word in all 36 texts that name it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix or feature
Follow-up of the engine bump #598, which lists it as open. Stack PR 5 of 8, on #606. Not Switch 2 itself, but the same new pin brings it.
What and why
At
641d148(seedds/nxnative3104c0a) a build stops at once whenprod.keyslacks the master key the game needs. nx_extract exits with code 6 and prints a new[RED]line that names the key and the firmware it came with ("the keys are older than the game"). No failure row matched it, so the launcher showed the raw line.Now the Mac and the Qt launcher show "Your prod.keys file is older than the game.", say to take the keys again from an updated console, point at the log for the key and the version, and offer Choose keys file, the same as the missing-keys row. The fixture holds the script's real line, and the existing test checks the fragment is still in
dm/tools/nx_extract/Program.cs.The launcher's own key check (
KeyCheck) already warns about old keys before a build for the files it can read. This row covers what it cannot read.New strings in zh, en, sv, de, fr and it. The sv, de, fr and it texts are machine-translated.
Checked
cd frontend && swift testpasses,frontend-qtunittest passes (the two tables are compared). New: thekeys.oldfixture row, the new kind in the failure captures.testRenderBuildFailureStatesForScreenshots, English and Chinese.Screenshots
The new row (new, no before: the card showed the script's last line):
Scope
dm/,scripts/,docs/,ref/) is added to the repository: a change there is a patch inpatches/(a commit inengine/, thentools/engine.py export, andtools/engine.py checkpasses), with itsUpstream-Statusforwarded seedds/nxnative#..., orpendinguntil that PR is open