AMPXI:BeginInstallDSiWareExport

Revision as of 20:08, 16 April 2022 by TimmSkiller (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x004E00C0] |- | 1-2 | u64, Title ID |- | 3 | u8, DSiWare_Exports|DSiWare Exp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

RequestEdit

Index Word Description
0 Header code [0x004E00C0]
1-2 u64, Title ID
3 u8, DSiWare Export Type

ResponseEdit

Index Word Description
0 Header code [0x004E0040]
1 Result code

DescriptionEdit

This is used by AM:ImportTwlBackup, before any content sections are installed.

First, this checks the export type. If it isn't 5 or 11, this returns 0xE0C08028.

Then, this checks whether or not any ticket is installed for the DSiWare title to be imported. If none are found, this returns 0xD8A083FA.

After that, if the title being imported is already installed, it is deleted by using AMPXI:DeleteTitle.

Eventually, this ends up calling the internal equivalent of AMPXI:InstallTitleBegin.