Repository navigation
Engine pin: seedds/nxnative 641d1480021a (52 commits ahead) - #598
Merged
Merged
Conversation
Drops three patches that landed upstream: Duo layout (0061, seedds/nxnative#683), picture fit (0063, #1083) and the Home button quit (0064, #1084). Refreshes the rest for the new pin. Adds the launch.set.DM_UPSCALER texts in all six languages.
Patches 0065 to 0067 (touch controls) are ported to the new pin: upstream's DmGamepad.m now has the in-game menu button, so the layout button hooks of the patches are gone.
…g Home (#421) 0068 ends the gear's in-game menu with Quit <game> and opens a quit prompt over the game, the Mac's in look, from it or from a 2 s Home hold. Quitting flushes the cloud saves and ends the app as on SIGTERM. One game runs per process, so the player opens the app again. Forwarded as seedds/nxnative#1115. 0069 makes the shell compile GameMenu.swift, which the gear needs. At the 641d148 pin the shell does not link without it.
Every game gets DM_HOME_QUIT_TEXT in the player's language, as the Mac launcher passes it for its Home button prompt. The engine shows the prompt for Quit in the in-game menu and for a held Home button. Texts in all six languages, the note in it, sv, de and fr machine-translated.
This was referenced Nov 3, 2026
iOS: quit a game from the in-game menu or by holding Home
5 of 6 tasks
Merged
5 of 6 tasks
This was referenced Nov 6, 2026
Closed
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
The engine bump for release candidate v1.1.0-rc1 (RELEASING.md, "Cutting a candidate", step 1). It moves
.upstream-reffrom 65501fb to 641d1480021a (seedds/nxnative main on 2026-11-03, 52 commits ahead). Another change needs the newest engine for Switch 2 support, so this is time-critical. A pin bump touches onlypatches/, so it does not wait 48 hours if @LNPANDY and I agree here.What and why
Fixes #550
Fixes #551
Both issues come from the nightly job.
bumpstopped at0001-runtime-profile.patch(conflict indm/host/tests/Makefile, upstream added thet_ue_heap_spanrule next to ourt_fpslockline). The daily check also saw0053-runtime-profile-every-site.patchfail, most likely only because it builds on 0001. The host build error in #551 (depthContentOffsetXofMTL4FXTemporalScaler) comes from the Xcode on the runner and not from the pin. I did not look into it further.What I did
python3 tools/engine.py bump --to 641d1480021a57840b7acc15f92cbd86ecfae611, resolved the conflicts in its worktree withgit am --continue, thentools/engine.py refresh <worktree> --to .... Six patches needed a hand merge, all by keeping both sides:0001-runtime-profile:dm/host/tests/Makefile, kept upstream'st_ue_heap_spanrule and our../hle_profile.con thet_fpslocklink line.0003-ios-game-data-folder:front_ios.mandDmIOS-Bridging-Header.h, kepthasLauncherandDataBookmark.hnext to upstream'sfill,partiallyOpenandDmGameMenu.h.0031-front-mac-dm-screen:docs/development.md, upstream's rewritten Input row plus ourDM_SCREENsentence.0049-dm-framework-env-switch-row:docs/env_switches.tsv, both rows (DM_HOME_QUIT*andDM_HUD_PER_LAYER).0061,0063,0064conflicted because upstream has them, see below.All other patches applied cleanly. 41 patches before, 38 after the bump, 41 with 0065 to 0067 on main. Every patch file was rewritten by
refresh(new context and index lines), no header changed.Dropped, landed upstream
I read each upstream commit and compared it with the patch. All three were taken by seedds in a reworked form (the upstream PRs are closed, not merged, which is how seedds takes a PR).
0061-ios-adapt-gameplay-to-duo-portrait-and-tabletopdm/ios/tests/duo/...) apply as identical added files.DuoHarnessTests.m,DmLayout.h,front_ios.mdiffer, because upstream merged it with #1083 and added the in-game menu.0063-ios-picture-fit-or-fill-for-screens-that-are-notDM_PICTURE_FIT(settings row, env row,dm_layout_picture) is in the commit.0064-mac-host-quit-a-game-by-holding-the-controller-shome_quit.h,home_quit_mac.h,t_home_quit*,DM_HOME_QUIT*. Only comment wording differs.Patches 0065 to 0067 (touch controls) landed on main after I branched. I merged main in (no rebase) and ported them to the new pin by hand, because upstream's
DmGamepad.mnow has the in-game menu button (DmMenuButton,menuCenter) where the patches hooked the old layout button. The geometry (DmPadGeometry.h) now serves the menu button's position and radius.test_pad_geometry.pypasses andDmGamepad.mpassesclang -fsyntax-onlyfor the iOS simulator SDK, but nothing was run on a device. Their basepending (on seedds/nxnative#683)is now upstream (e2fadf2), whoever sends them on must change the header to say the base is in the pin. Series is now 41 patches.Statuses I checked
gh pr viewon seedds/nxnative: #386, #670, #793, #797, #991, #886, #888, #955, #485 and #460 are still open, so theirforwardedandpendingheaders stay. #492, #755, #839, #488 and #490 are closed, sofork-only (declined ...)stays. No header needed a change.Other changes
launch.set.DM_UPSCALER,launch.opt.DM_UPSCALER.gameandlaunch.opt.DM_UPSCALER.metalfxin all sixfrontend/l10nfiles (upstream's new "Game's upscaler" row,85468b6). zh is mine. sv, de, fr and it are machine-translated and need a native look. The row is shown only for games whose shader map has agl's NDSR network (Donkey Kong Bananza, Splatoon Raiders). The French and German tests listDM_UPSCALER.metalfxas an untranslated name, likeDM_PRESENT_UPSCALE.metalfx.tools/l10n_shell_catalogs.pyandtest_launcher_texts.py --write: the ShellUI catalog andlauncher_texts.txt.README*.md,GAMES*.md,frontend/README.md: the links follow the pin (relink, and the gallery ofsync).Switch 2
Short version: Switch 2 games already ran on the old pin. There is no Switch 2 switch, profile key or setting. A Switch 2 game is an ordinary profile. Read from the commits only, nothing here was run.
040074A01BF12000, Splatoon Raiders0400380020056000, Fire Emblem Fortune's Weave04007EF01F8AE000. Their profiles say "A Switch 2 game, SDK built for the Switch 2 (Ounce), NVN2". The host sees it from the sdk module (loader.clooks forspec: Ounce), and NVN2 reports another API version (hle_nvn.c nvn_api, optional profile keydevice_api)..nup(423a674, Switch 2 controllers on the Mac: connect upstream's Bluetooth support in controllers_mac.m #1048, review fixaa9fa76,8c80f39, READMEcfcef15). Spec: https://github.com/a55uka/nup (SPEC v1). One file with base, updates by version and DLC by title ID, each asexefs/andromfs/, files raw or one zstd frame each, a SHA-256 per file. No encryption, noprod.keys. May carry a NACP and an icon.scripts/pack_nup.py <game.nup> [--version N] [--work-dir DIR], exit 1 on error. Needs the Python zstd module (compression.zstdon Python 3.14 and later, elsebackports.zstd).scripts/build_ipa_from_nsp.pytakes a.nupfile, or a folder that holds one, callspack_nup.py, and goes on. Only for a game that already has a profile.<folder of the .nup>/<title ID>_build(or--work-dir):extract/v<version>/ExeFS/,extract/v<version>/RomFS.img(one image fromdm/tools/romfs_image.py, never unpacked),control.nacpandicon.jpgwhen present,aoc/<index>.imgper DLC (the host'sDM_AOC_DIR). Without a NACP the app name comes from the profile.scripts/pack_nup.py,scripts/build_ipa_from_nsp.py,dm/tools/romfs_image.py,dm/tools/tests/test_nsp_nup.py,docs/development.md,README.md.0400A3A01EE4C000(03d92a9, update v655360 only, the base may be an empty placeholder), Hyrule Warriors: Age of Imprisonment04003F40232DE000(d70ee90,3ace3df,b2bdcbc,641d148, update v196608, built from a NUP, SDK 20.5.15). Its profile says it reaches the first field on a Mac with a 16.6 ms median frame and "No IPA has been built". Pokopia also says no IPA.mem_reserve 0x270000000,app_pool 0x240000000(the 9 GB layout),pad_layout full,romfs_marker,zip_store. Fire Emblem getsfps_target 60(0a05fb1,df60f63). Donkey Kong Bananza getsgpu_timestamps segment(12915a3, Nintendo Welcome Tour #1003) so its dynamic resolution holds 30 fps in heavy areas.DM_UPSCALER choice game=Game's own,metalfx=MetalFX game DM_GAME_UPSCALER_N!=0(85468b6, Controller mapping: draw the connected controller (per-model diagrams, PlayStation light bar and touchpad, later a 3D model that follows the gyro) #1086). Shown for games whose shader map holds agl's NDSR network. MetalFX replaces the game's NDSR dispatch with MetalFX's spatial scaler (nvn_mtl.m up_mfx_encode). The same commit makes NVN2's DLSS call work on the encoding thread (t_dlss_mfx.m). Env rowDM_UPSCALER(player).d70ee90):nn::chat::Initialize,IsChatting,SetScreenSharingMode(GameChat ready, no chat),oe::IsLanguageSelectionLimited(no limit),oe::SetGraphicsTargetFrameRate(hooked atgs::sdk::SetGraphicsFrameLengthMode). Filesdm/host/hle_misc.c,dm/host/hle_oe.c,docs/reference/services.md..nupof a game without a profile is refused.What players will notice
From upstream's commit titles only. I did not play any of it.
New games and profiles (README says "plays on the Mac" for each, no iPhone build is claimed for the Switch 2 ones):
03d92a9), also a partial Mac shader library from a playtest (869b942), builds in about 20 minutes instead of the whole map.d70ee90,3ace3df).b1dee89, profile01002DA013484000).8c10c01, profile01007A3009184000).0a05fb1) and no crash at the hand-over to the opening demo (1440a73, Windows: compile run-time GLSLC shaders offline via sdk NSO emulation #1046).12915a3), faster depth prepass (84ec307), correct upscaler matrices (3fe755a), MetalFX instead of the game's own upscaler as an option (85468b6).16a90a7), a lit pass 70 to 16 ms on an M1 (1b9fbea).f5d5327, Add per-controller stick deadzones with profiles and live preview #1025).c3e6624).db8acc5, iPhone/iPad: Super Mario Odyssey (base v1.0.0) dies before the first frame — SVC 0x15 (CreateTransferMemory) is a placeholder, then SIGSEGV at 0 #1024). Pokopia builds run their workers in parallel again (e70fd69, Send game data in the background: devicectl in parts on a Mac, AFC over the cable as the second way and on Windows #1036).Engine and launcher:
48888df, frontend-qt: complete Windows Python onboarding when Python is already installed #1084, was our patch 0064).e2fadf2, Add Light and Follow system appearances to the Mac launcher #683, patches: fix Joy-Con 1 IMU axes, gyro rest bias, L+R merge and non-zero six-axis guard #1083, were our patches 0061 and 0063).50675d5, Library: eliminate 1px bright seam at the bottom edge of the hero banner #1001).7ef2aaf, Hero seam test fails on macOS 27.2: one row at 21 against a limit of 20 #1030).8c80f39).3104c0a, exit code 6, a new[RED]message). No failure row of the launcher matches that text yet. That is a follow-up, not part of this PR.7db7ff0).samplewithout a shell (fa681f9, Support for homebrew ported games? #829).The shader chain moved (
DMSH_CHAINe047be1b6829to95ba69b5403e, 11 commits). Every game built with the old chain gets its shaders rebuilt on the next build (#449). Worth a line in the release notes.Game profiles changed: new
01002DA013484000,01007A3009184000,0400A3A01EE4C000,04003F40232DE000.game.tsvchanged for Donkey Kong Bananza (gpu_timestamps segment), Fire Emblem Fortune's Weave (fps_target 60), Taiko Risshiden V DX and Balatro (comment only). README changed for about a dozen more. Nogame.tsvrow of an existing game was removed.The candidates table of
tools/engine.py candidateslists 9 rows and 17 commits (chain moves, the[RED]text, the NUP script, the Home button doc). I did not fill aHandledcolumn, the rows above say what each one is.Checked
python3 tools/engine.py check(ok, 41 patches apply cleanly to 641d1480021a),python3 tools/engine.py sync(ok),python3 -m unittest discover -s tools/tests(202 tests, OK),.github/scripts/tests(158, OK),frontend-qt/tests(238, OK, 14 skipped),cd frontend && swift test(711 tests, 23 skipped, 0 failures).test_env_switches.pypasses at this pin, theDM_FONT_CACHEandDM_SHARED_FONT_SMALLrows are not missing any more, so I added none.test_launcher_texts(two cases) and the French and German localization tests, all for the newDM_UPSCALERtexts. They pass now.makeinengine/dm/host), build an IPA, or start a game. The 0003 hand merge offront_ios.mand the 0001 hand merge of the host test Makefile were not compiled. Upstream's own tests and the iOS Duo harness were not run. The host build error in Daily health check failed 2026-11-03 #551 may still show on CI.Screenshots
None, no visible change except one new setting row for two games, not captured.
Scope
dm/,scripts/,docs/,ref/) is added to the repository: the change ispatches/and.upstream-ref,tools/engine.py checkpasses