AMPXI:UpdateImportContentContexts: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
TimmSkiller (talk | contribs)
mNo edit summary
TimmSkiller (talk | contribs)
No edit summary
 
Line 30: Line 30:
| Result code
| Result code
|}
|}
=Description=
This is similar to [[AMPXI:CreateImportContentContexts]], with a key difference: this must be called after finishing the TMD installation but not while a content import is active. Furthermore, this will replace the existing entry for the title in import.db with a fresh entry - as if [[AMPXI:InstallTitleBegin]] was called. After that, this follows the same flow as [[AMPXI:CreateImportContentContexts]], by creating new import content contexts for the given content indices.

Latest revision as of 00:36, 9 June 2025

Request

Index Word Description
0 Header code [0x00630042]
1 Import Content Context Count
2 ((Import Content Context Count * 2) << 8) | 0x6
3 Import Content Context Indices Input Pointer

Response

Index Word Description
0 Header code
1 Result code

Description

This is similar to AMPXI:CreateImportContentContexts, with a key difference: this must be called after finishing the TMD installation but not while a content import is active. Furthermore, this will replace the existing entry for the title in import.db with a fresh entry - as if AMPXI:InstallTitleBegin was called. After that, this follows the same flow as AMPXI:CreateImportContentContexts, by creating new import content contexts for the given content indices.