Difference between revisions of "FS:FormatSaveData"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x080F0180] |- | 1 | Archive ID (Only 4 (SaveData) has been observed) |- | 2 | Low...")
 
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| Archive ID (Only 4 (SaveData) has been observed)
+
| u32 "sizeBlock" (size of savedata in blocks?)
 
|-
 
|-
 
| 2
 
| 2
| LowPath.Type
+
| u32 "countDirectoryEntry"
 
|-
 
|-
 
| 3
 
| 3
| LowPath.Size
+
| u32 "countFileEntry"
 
|-
 
|-
 
| 4
 
| 4
| Unknown
+
| u32 "countDirectoryEntryBucket"
 
|-
 
|-
 
| 5
 
| 5
| Unknown
+
| u32 "countFileEntryBucket"
 
|-
 
|-
 
| 6
 
| 6
| Unknown
+
| bool "isDuplicateAll"
|-
 
| 7
 
| Unknown
 
|-
 
| 8
 
| Unknown
 
|-
 
| 9
 
| Unknown
 
|-
 
| 10
 
| (LowPath.Size << 14) <nowiki>|</nowiki> 2
 
|-
 
| 11
 
| LowPath.Data ptr
 
 
|}
 
|}
  
 
=Description=
 
=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.
 
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.

Revision as of 21:25, 6 June 2015

Request

Index Word Description
0 Header code [0x080F0180]
1 u32 "sizeBlock" (size of savedata in blocks?)
2 u32 "countDirectoryEntry"
3 u32 "countFileEntry"
4 u32 "countDirectoryEntryBucket"
5 u32 "countFileEntryBucket"
6 bool "isDuplicateAll"

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.