Skip to content

(LLM-generated content removed) - #464

Closed
malik05051 wants to merge 3 commits into
devkitPro:masterfrom
malik05051:nn-nim
Closed

malik05051 wants to merge 3 commits into
devkitPro:masterfrom
malik05051:nn-nim

Conversation

@malik05051

@malik05051 malik05051 commented Oct 30, 2026 •

Copy link
Copy Markdown

(LLM-generated content removed)

Claude Opus 5.5 added 3 commits October 30, 2026 10:47
nn_nim is the downloader the eShop handed its purchases to. A title
package task registered with it is downloaded and installed by the
system in the background, listed in the Download Management, and kept
going in standby. The exports are already in nn_nim.def, but there was
no header for them.

This adds Initialize, Finalize, RegisterTitlePackageTask,
UnregisterTitlePackageTask, GetNumTitlePackages,
ListTitlePackagesStatically and GetTitlePackageInfos, with
TitlePackageTaskConfig and TitlePackageInfo.

The layouts follow Cemu, corrected where a 5.5.5E console disagreed:
the word Cemu calls region or language related is the title version
(0 there makes the system request tmd.0), ListTitlePackagesStatically
returns package IDs rather than title IDs (the title ID is refused with
105-0259), and a package info starts with the config it was registered
with. Fields that were neither observed nor named by Cemu stay unknown
bytes, and the ones only Cemu names say so.

ResultError is left out: Cemu emulates it as 8 bytes, but its real
size is unconfirmed and a wrong size here would corrupt the stack of
every caller.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KUHQm9dhEc1v1icAZBZA4f
The doc of titleType named 1 and 2 from what a 5.5.5E console showed:
an update package the system registered on its own, and a demo that was
installed as additional content. Both are tried now. An update
registered with 1 and a DLC registered with 2 downloaded and installed
through the Download Management on the same console.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KUHQm9dhEc1v1icAZBZA4f
The doc of applicationBoxDevice1 named 2 only from an update package a
5.5.5E console registered on its own for a game on a USB drive. A title
registered with 2 has since been installed to the USB drive of that
console, so the doc says what 2 does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KUHQm9dhEc1v1icAZBZA4f
@fincs fincs closed this Oct 30, 2026
@fincs fincs changed the title nn_nim: Add the title package task API (LLM-generated content removed) Oct 30, 2026
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.

3 participants