FS:CreateExtSaveData: Difference between revisions
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x08510242] |- | 1 | Media type (NAND / SDMC) |- | 2 | Low word of the saveid |- |..." |
Steveice10 (talk | contribs) m nit |
||
(5 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
| Header code [0x08510242] | | Header code [0x08510242] | ||
|- | |- | ||
| 1 | | 1-4 | ||
| [[Filesystem_services#ExtSaveDataInfo|ExtSaveDataInfo]] | |||
| | |||
| | |||
|- | |- | ||
| 5 | | 5 | ||
| | | Number of Directories | ||
|- | |- | ||
| 6 | | 6 | ||
| | | Number of Files | ||
|- | |- | ||
| 7 | | 7-8 | ||
| u64, Size Limit (default = -1) | |||
| | |||
|- | |- | ||
| 9 | | 9 | ||
| Size | | [[SMDH]] Size | ||
|- | |- | ||
| 10 | | 10 | ||
| (SMDH Size << 4) <nowiki>|</nowiki> | | ([[SMDH]] Size << 4) <nowiki>|</nowiki> 0xA | ||
|- | |- | ||
| 11 | | 11 | ||
| Pointer | | [[SMDH]] Data Pointer | ||
|} | |||
=Response= | |||
{| class="wikitable" border="1" | |||
|- | |||
! Index Word | |||
! Description | |||
|- | |||
| 0 | |||
| Header code | |||
|- | |||
| 1 | |||
| Result code | |||
|} | |} | ||
=Description= | =Description= | ||
This creates the ExtSaveData with the specified saveid in the specified media type. It stores the SMDH as "icon" in the root of the created directory. For more information see [[Extdata#VSXE_Filesystem_structure]] | This creates the ExtSaveData with the specified saveid in the specified media type. It stores the SMDH as "icon" in the root of the created directory. For more information see [[Extdata#VSXE_Filesystem_structure]] |