AMNet:CommitImportTitlesAndUpdateFirmwareAuto

From 3dbrew
Revision as of 19:55, 17 April 2016 by Steveice10 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x081B00C2]
1 Media Type
2 Title Count
3 u8, Database (0 = title.db, 1 = tmp*.db)
4 ((Title Count * 8) << 4) | 0xA
5 Title IDs Input Pointer

Response

Index Word Description
0 Header code
1 Result code

Description

See this for how the system finalizes title installation. When AM module handles this command, AM module will use AMPXI command 0x00420142 if a NATIVE_FIRM install is needed, regardless of whether the NATIVE_FIRM titleID was specified in the input buffer. If the NATIVE_FIRM titleID was specified in the input titleID list and the title-version from AMPXI:GetTitleList is the latest version, then if the version from AMPXI:GetTitleTemporaryInfo is newer than the current version AMPXI command 0x00420142 is used. Otherwise when a NATIVE_FIRM install is not needed, AMPXI command 0x002A00C2 is used instead.