Skip to content

Port Super Mario Bros. Wonder Nintendo Switch 2 Edition Program 1 - #1563

Open
ishtiaq156 wants to merge 14 commits into
seedds:mainfrom
ishtiaq156:feat/wonder-switch2-edition
Open

ishtiaq156 wants to merge 14 commits into
seedds:mainfrom
ishtiaq156:feat/wonder-switch2-edition

Conversation

@ishtiaq156

@ishtiaq156 ishtiaq156 commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Scope — Wonder Nintendo Switch 2 Edition Program 1

This ready-for-review PR adds Super Mario Bros. Wonder: Nintendo Switch 2 Edition + Meetup in Bellabel Park as its own Ounce / NVN2 Program 1 profile: selected title ID 040015100B514001, update v327680, version 1.2.1. The Switch 1 application remains 010015100B514000, with its original save/profile; the Bellabel DLC remains 010015100B515001. Selected Program 1, original application, and DLC identities are not interchangeable.

The profile registers the verified Program 1 main/subsdk0/sdk build IDs, memory layout, 30,630 verified shader keys, stage/PSO tables and BAHS splitter correction. It keeps render_cond on, required to prevent an unwanted shadow-mask clear that darkens the fountain/ground. It includes no proprietary files, diagnostic RESTBL overlay or title-specific heap patch.

November 10 correction: Upstream main now contains the default-on general NVN recorder fix f02d0474. The previous four-byte-ticket #1609 was closed as superseded. I removed the now-obsolete nvn_draw_ctl on profile key. The Edition no longer needs a profile-specific NVN scratch workaround; the original RESTBL is enough. Optional #1564, #1565 and #1606 were also closed as no longer required for this port, with the independent unmerged functionality noted on each PR.

Dependencies and ownership

Recommended merge order — these capabilities need to land before this profile can be merged:

PR What it provides
1. #1253 Update-only dumps and correct Program 1 selection. Preserve capibawa's authorship.
2. #1561 SDK21 virtual audio properties and movie output.
3. #1562 Official Edition title/icon from Control NCA Acd_1.
4. #1586 Separate Program 1 Mac saves/cache from Switch 1.
5. #1639 (relevant parts) Indexed Program 0 RomFS mounts and original-image sidecar, or the BrentRosen-credited safe adaptation. Exclude the obsolete +16 KiB heap workaround.

Then merge #1563 (this profile). The steps above are a recommended integration sequence, not necessarily strict dependencies between all the listed PRs.

Already in main: the generic NVN allocation fix f02d0474 and base SDK21 OutputStream support 67f1d005 (formerly #1254). Neither is a pending dependency. CI hygiene #1675 / #1682 can proceed independently and should not block this port solely because of unrelated baseline failures.

Contributor and data safeguards: keep capibawa's work in #1253 and credit BrentRosen for #1639's general indexed RomFS work. The safe adaptation checks source/output aliases. The update-only dump contains Program 0 NPDM but no Program 0 RomFS; an explicitly supplied original-title-checked DMROMFS1 image is needed, rather than silently substituting Program 1. That check does not prove native hardware content/version parity. iOS indexed-sidecar packaging is outside this PR.

Original-RESTBL validation

On November 10, manually tested New Game and Peach Continue in a signed macOS build with upstream NVN fix f02d0474, the unmodified RESTBL, and no nvn_draw_ctl or heap workaround. Both sessions exited normally without the previous BFRES crash or reported NVN command-memory overflows. The build still included local, unmerged Program 1/audio/packaging integration.

Both formerly failing BFRES model scratch allocations now fit their original budgets. Full measurements, logs and attribution caveats: #1580 retest results.

Checks

  • This PR update: only the Edition's game.tsv and README.md changed; shader tables and runtime code are untouched. git diff --check and 11/11 documentation tests passed.
  • Earlier integration validation: 116/116 Mac/NSP tests and 399/399 broader headless checks passed on their recorded source revisions, not a newly merged upstream main. No new app build was required for the profile/documentation correction.

@github-actions github-actions Bot added docs Documentation game: 040015100B514001 A game profile new game Adds a game profile that main does not have yet labels Nov 6, 2026
@ishtiaq156 ishtiaq156 changed the title Port Super Mario Bros. Wonder Nintendo Switch 2 Edition Program 1 (draft) Port Super Mario Bros. Wonder Nintendo Switch 2 Edition Program 1 Nov 6, 2026
seedds and others added 8 commits November 7, 2026 09:41
Replace older 395-check source summary with the tested 399-check baseline and the later fork-only 11cfc06 integrated review. State the original signed-app output/cleanup fail-closed guard and its 110 Mac/NSP +11 docs validations without claiming new gameplay or chain-compatible signed packaging. Retain BrentRosen attribution, original-versus-selected ID semantics and no title-specific heap patch.
Record credited b93706e safe external image symlink-in-output semantics and fail-closed staging/cache symlink and hardlink protections, plus exact 003626c 114 Mac/NSP and 11 docs validations. Keep original/selected title identities, signing precedence, real NVN capture limits and shader-chain app rebuild gate unchanged.
…tests

Use stable code-test ancestry instead of self-referential integration HEAD. Credit BrentRosen generic indexed Program0 original-image code 2d7b6a4 and its safe external leaf-source link, rejected direct output .app alias and preserved symlinked parent volumes. Record newly passing 116 synthetic Mac/NSP checks; retain original/selected title ID and shader-chain mismatch limits, without runtime edits.
@ishtiaq156
ishtiaq156 marked this pull request as ready for review November 8, 2026 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation game: 040015100B514001 A game profile new game Adds a game profile that main does not have yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants