Difference between revisions of "FS:Obsoleted 2 0 FormatThisUserSaveData"

From 3dbrew
Jump to navigation Jump to search
 
(9 intermediate revisions by 3 users not shown)
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| Archive ID (Only 4 (SaveData) has been observed)
+
| Size of a block. Only 0x200 and 0x1000 are accepted it seems.
 
|-
 
|-
 
| 2
 
| 2
| LowPath.Type
+
| Number of Directories
 
|-
 
|-
 
| 3
 
| 3
| LowPath.Size
+
| Number of Files
 
|-
 
|-
 
| 4
 
| 4
| Unknown
+
| Directory Bucket Count
 
|-
 
|-
 
| 5
 
| 5
| Unknown
+
| File Bucket Count
 
|-
 
|-
 
| 6
 
| 6
| Unknown
+
| u8, 0 = don't duplicate data, 1 = duplicate data
|-
+
|}
| 7
+
 
| Unknown
+
=Response=
|-
+
{| class="wikitable" border="1"
| 8
 
| Unknown
 
 
|-
 
|-
| 9
+
!  Index Word
| Unknown
+
!  Description
 
|-
 
|-
| 10
+
| 0
| (LowPath.Size << 14) | 2
+
| Header code
 
|-
 
|-
| 11
+
| 1
| LowPath.Data ptr
+
| Result code
 
|}
 
|}
  
 
=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 has been obsoleted. Prefer [[FS:FormatSaveData]].

Latest revision as of 01:19, 31 May 2019

Request[edit]

Index Word Description
0 Header code [0x080F0180]
1 Size of a block. Only 0x200 and 0x1000 are accepted it seems.
2 Number of Directories
3 Number of Files
4 Directory Bucket Count
5 File Bucket Count
6 u8, 0 = don't duplicate data, 1 = duplicate data

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This has been obsoleted. Prefer FS:FormatSaveData.