AM:ReadTwlBackupInfo
Revision as of 20:58, 1 August 2022 by TimmSkiller (talk | contribs) (Fix wrong argument order, add more info)
Request
Index Word | Description |
---|---|
0 | Header code [0x001E00C8] |
1 | Output Info Size (usually 0x20) |
2 | Banner Size (usually 0x4000) |
3 | Working Buffer Size |
4 | 0x10 |
5 | FSFile Handle |
6 | (Output Info Size << 4) | 0xC |
7 | TwlBackupInfo Output Pointer. Processing is skipped for this when the pointer is NULL. |
8 | (Banner Size << 4) | 0xC |
9 | DSiWare Banner Output Pointer. Processing is skipped for this when the pointer is NULL. |
10 | (Working Buffer Size << 4) | 0xC |
11 | Working Buffer Pointer |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
Description
The specified file size must be at least 0x4500. This reads the DSiWare header+banner from the file, and decrypts+verifies these sections..