FS:Obsoleted 2 0 FormatThisUserSaveData: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Guiand (talk | contribs)
Wwylele (talk | contribs)
No edit summary
 
(4 intermediate revisions by one other user not shown)
Line 9: Line 9:
|-
|-
| 1
| 1
| u32 "sizeBlock" (size of savedata in blocks?)
| Size of a block. Only 0x200 and 0x1000 are accepted it seems.
|-
|-
| 2
| 2
| u32 "countDirectoryEntry"
| Number of Directories
|-
|-
| 3
| 3
| u32 "countFileEntry"
| Number of Files
|-
|-
| 4
| 4
| u32 "countDirectoryEntryBucket"
| Directory Bucket Count
|-
|-
| 5
| 5
| u32 "countFileEntryBucket"
| File Bucket Count
|-
|-
| 6
| 6
| bool "isDuplicateAll"
| u8, 0 = don't duplicate data, 1 = duplicate data
|}
 
=Response=
{| class="wikitable" border="1"
|-
!  Index Word
!  Description
|-
| 0
| Header code
|-
| 1
| Result code
|}
|}


=Description=
=Description=
This clears the SaveData archive for the current game, it probably calls [[FS:FormatSaveData]] with an empty path.
This has been obsoleted. Prefer [[FS:FormatSaveData]].

Latest revision as of 01:19, 31 May 2019

Request

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

Index Word Description
0 Header code
1 Result code

Description

This has been obsoleted. Prefer FS:FormatSaveData.