AM:ReadTwlBackupInfo: Difference between revisions
Jump to navigation
Jump to search
Steveice10 (talk | contribs) Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x001E00C8] |- | 1 | Buffer 1 Size |- | 2 | Buffer 2 Size |- | 3 | Buffer 3 Siz..." |
TimmSkiller (talk | contribs) No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
|- | |- | ||
| 1 | | 1 | ||
| | | Output Info Size (usually 0x20) | ||
|- | |- | ||
| 2 | | 2 | ||
| | | Banner Size (usually 0x4000) | ||
|- | |- | ||
| 3 | | 3 | ||
| Buffer | | Working Buffer Size | ||
|- | |- | ||
| 4 | | 4 | ||
Line 21: | Line 21: | ||
|- | |- | ||
| 5 | | 5 | ||
| Handle | | [[Filesystem_services|FSFile]] Handle | ||
|- | |- | ||
| 6 | | 6 | ||
| ( | | (Output Info Size << 4) <nowiki>|</nowiki> 0xC | ||
|- | |- | ||
| 7 | | 7 | ||
| | | [[Application_Manager_Services#TwlBackupInfo|TwlBackupInfo]] Output Pointer. Processing is skipped for this when the pointer is NULL. | ||
|- | |- | ||
| 8 | | 8 | ||
| ( | | (Banner Size << 4) <nowiki>|</nowiki> 0xC | ||
|- | |- | ||
| 9 | | 9 | ||
| | | [[DSiWare_Exports|DSiWare]] Banner Output Pointer. Processing is skipped for this when the pointer is NULL. | ||
|- | |- | ||
| 10 | | 10 | ||
| (Buffer | | (Working Buffer Size << 4) <nowiki>|</nowiki> 0xC | ||
|- | |- | ||
| 11 | | 11 | ||
| Buffer | | Working Buffer Pointer | ||
|} | |} | ||
Line 54: | Line 54: | ||
| Result code | | Result code | ||
|} | |} | ||
=Description= | |||
The specified [[DSiWare_Exports|file]] size must be at least 0x4500. This reads the DSiWare header+banner from the file, and decrypts+verifies these sections. | |||
It should be noted that this command is meant for use with Exports that use 11 content sections. |
Revision as of 22:02, 1 August 2022
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.
It should be noted that this command is meant for use with Exports that use 11 content sections.