Skip to content

Read Nintendo Control NCA metadata and Edition Acd_1 icon from extracted dumps - #1562

Open
ishtiaq156 wants to merge 4 commits into
seedds:mainfrom
ishtiaq156:fix/dump-official-control-nacp
Open

ishtiaq156 wants to merge 4 commits into
seedds:mainfrom
ishtiaq156:fix/dump-official-control-nacp

Conversation

@ishtiaq156

@ishtiaq156 ishtiaq156 commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

What and why

Apps built from extracted-folder dumps could show the dump directory name, an unknown display version and a missing icon even when original Control NCA metadata existed. For Switch 2 Editions, control/Acd_1 can contain a different, Edition-specific title and icon from the original game's control/ data.

Import existing extracted control/control.nacp and localized control/icon_*.dat into the packer's standard control.nacp and icon.jpg outputs. Prefer the Acd_1 Control identity for selected Ounce (0400) programs when available, then standard Control and existing loose metadata. Prefer the American English icon, fall back to another locale, and remove stale metadata when its source disappears. Both full packaging and the preliminary survey use the same selection.

This complements but does not duplicate #1253, which selects extracted program/<n> layouts; this PR chooses metadata after a program folder is selected. It is also separate from #1551's manual icon override. The general cause and fix are documented in the packing reference.

Checked

  • Tests: 73/73 focused dump, build-folder, NUP and docs tests passed on refreshed upstream main; 74/74 nearby Mac, alias and work-folder tests passed. Eight previous CI-failing environment-switch and Xcode-workflow tests also passed. Python compilation, regenerated symptoms index and Git whitespace checks passed.
  • Earlier packaging evidence: Wonder Switch 2 Edition Program 1 040015100B514001, update v327680 with Bellabel DLC v131072, used its official Acd_1 title and icon in a local Mac build. Gameplay validation for that build used a separate BFRES diagnostic overlay. This metadata-only refresh had no new game build or gameplay run.
  • Device: Apple Silicon Mac mini M6, macOS 27.0.1. No shader or host-runtime changes and no broad multi-game runtime regression run.

Docs

  • Recorded the general finding in docs/reference/packing.md and regenerated docs/agents/symptoms.md.
  • No game files, keys or proprietary extracted data included.

@github-actions github-actions Bot added packing Building an IPA or a Mac app: the NSP script, extraction, the shader split, the packers tools Tools and scripts (dm/tools, scripts) docs Documentation labels Nov 6, 2026
@ishtiaq156
ishtiaq156 marked this pull request as ready for review November 6, 2026 20:25
@ishtiaq156
ishtiaq156 marked this pull request as draft November 6, 2026 23:00
Retain official extracted Control NCA titles and icons, including the selected Ounce Program 1 Acd_1 identity, while incorporating upstream dump and documentation changes without conflicts.

Checked: 73 focused dump/NUP/docs, 74 Mac/alias/workdir, and 8 previously failing environment/Xcode tests, plus Python compilation and regenerated symptoms index. No new game build or gameplay run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation packing Building an IPA or a Mac app: the NSP script, extraction, the shader split, the packers tools Tools and scripts (dm/tools, scripts)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants