Skip to content

Build on nxnative main: native Switch 2 shaders, Link Play and pointer look as the host patch - #1

Closed
SaranSundar wants to merge 1 commit into
mainfrom
nxnative-main
Closed

SaranSundar wants to merge 1 commit into
mainfrom
nxnative-main

Conversation

@SaranSundar

Copy link
Copy Markdown
Owner

pokopia-native builds Pokopia on nxnative main (94a09447) instead of the pinned c1df4dd:

Tested on the Mac mini: full build, played from the language screen to the starting cave at 60 fps with no red lines.

🤖 Generated with Claude Code

…shaders itself; Link Play and the pointer look as the host patch

nxnative main now carries Switch 2 support of its own, so the host patch shrinks to what main lacks (host/nxnative-switch2.patch, 4,762 lines:
pointer look, Link Play, the profile's shader_key_skip on NVN2 key bytes, whole NVN2 shader dumps, launcher text settings; the earlier
patch against c1df4dd is kept as host/nxnative-switch2.c1df4dd.patch). nxnative PR: seedds/nxnative#2782

- nxs2.py: no lowering step; tools/s2_pkg_nvn2.py packages the raw NVN2 records (0xe0 control block + the code area as uploaded) for
  nxnative's chain, keyed as its host keys them; the prebuilt translator is not installed over main's; a library may be the b-<chain>.img;
  a symlinked package folder is emptied in place
- tools/s2_ctl_scan.py, s2_dumps.py: nxnative's NVN2 key rule (first 0x48 control bytes, +0x30..+0x33 and the profile's 0x20+0x8 as zero), and
  <hostkey>.code beside <hostkey>.ctl
- profile: shader_key_skip 0x20+0x8 (the driver rewrites +0x20..+0x27 at run time: 8 title-screen shaders missed the map without it),
  bonjour_service for Link Play's Info.plist entries, runtime_keys.tsv re-keyed from the dumps (127 rows)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@SaranSundar

Copy link
Copy Markdown
Owner Author

Superseded: Pokopia support lives in nxnative itself; see seedds/nxnative#2782.

@SaranSundar
SaranSundar deleted the nxnative-main branch November 15, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants