Difference between revisions of "FS:FormatSaveData"
Jump to navigation
Jump to search
Steveice10 (talk | contribs) m (→Request) |
Steveice10 (talk | contribs) m (Clarity.) |
||
Line 18: | Line 18: | ||
|- | |- | ||
| 4 | | 4 | ||
− | | | + | | Size in Blocks (1 block = 512 bytes) |
|- | |- | ||
| 5 | | 5 | ||
− | | | + | | Number of Directories |
|- | |- | ||
| 6 | | 6 | ||
− | | | + | | Number of Files |
|- | |- | ||
| 7 | | 7 | ||
− | | | + | | Directory Bucket Count |
|- | |- | ||
| 8 | | 8 | ||
− | | | + | | File Bucket Count |
|- | |- | ||
| 9 | | 9 | ||
− | | | + | | u8, 0 = don't duplicate data, 1 = duplicate data |
|- | |- | ||
| 10 | | 10 |
Revision as of 20:32, 18 October 2015
Request
Index Word | Description |
---|---|
0 | Header code [0x084C0242] |
1 | Archive ID (Only 4 (SaveData) has been observed) |
2 | Path Type |
3 | Path Size |
4 | Size in Blocks (1 block = 512 bytes) |
5 | Number of Directories |
6 | Number of Files |
7 | Directory Bucket Count |
8 | File Bucket Count |
9 | u8, 0 = don't duplicate data, 1 = duplicate data |
10 | (PathSize << 14) | 2 |
11 | Path Data Pointer |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
Description
This clears the SaveData archive for the specified game, if the LowPath.Type is Empty then this will clear the SaveData for the current game. The target SaveData to format is determined by a Binary path, a game needs an exheader permission set in order to format the SaveData of another program.