Filesystem services: Difference between revisions

TimmSkiller (talk | contribs)
rework SEEDDB into "SEEDDB and TITLETAG" section
m this doesnt match observations nor the header in the page for the command
 
(4 intermediate revisions by one other user not shown)
Line 436: Line 436:
| 0x10100D (this doesn't apply in certain cases, however)
| 0x10100D (this doesn't apply in certain cases, however)
|-
|-
| 0x085400C0
| 0x08540010
| [[3.0.0-5]]
| [[3.0.0-5]]
| [[FS:GetExtDataBlockSize|GetExtDataBlockSize]]
| [[FS:GetExtDataBlockSize|GetExtDataBlockSize]]
Line 1,099: Line 1,099:


= Filenames and Paths =
= Filenames and Paths =
{{Anchor|PathType}} PathType:
{{Anchor|PathType}}
==PathType==
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 1,321: Line 1,322:
| 0x0 || 0x8 || Program ID (Title ID)
| 0x0 || 0x8 || Program ID (Title ID)
|-
|-
| 0xB || 0x1 || [[Mediatypes|Media Type]]
| 0x9 || 0x1 || [[Mediatypes|Media Type]]
|-
|-
| 0xC || 0x4 || padding
| 0xA || 0x7 || padding
|}
|}


Line 1,523: Line 1,524:
==Anti Savegame Restore Save Data==
==Anti Savegame Restore Save Data==
The save data used for this feature is stored in [[System_SaveData|System Save Data]] ID 0x00010011 and contains only one file, named <code>DB</code>:
The save data used for this feature is stored in [[System_SaveData|System Save Data]] ID 0x00010011 and contains only one file, named <code>DB</code>:
===SecureValueKey===
Depending on which command is used, secure value keys can be interpreted as:
{| class="wikitable" border="1"
|-
! Offset !! Size !! Description
|-
| 0x0 || 0x8 || u64, Title ID
|}
or:
{| class="wikitable" border="1"
|-
! Offset !! Size !! Description
|-
| 0x0 || 0x4 || u32, [[Filesystem_services#SecureValueSlot|Secure Value Slot]]
|-
| 0x4 || 0x4 || u32, Unique ID
|}


===Main Structure===
===Main Structure===
Line 1,564: Line 1,547:
|-
|-
| 0x1D000 || 0x1C000 (8 * 14336) || u64s, Secure values
| 0x1D000 || 0x1C000 (8 * 14336) || u64s, Secure values
|}
===SecureValueKey===
Depending on which command is used, secure value keys can be interpreted as:
{| class="wikitable" border="1"
|-
! Offset !! Size !! Description
|-
| 0x0 || 0x8 || u64, Title ID
|}
or:
{| class="wikitable" border="1"
|-
! Offset !! Size !! Description
|-
| 0x0 || 0x4 || u32, [[Filesystem_services#SecureValueSlot|Secure Value Slot]]
|-
| 0x4 || 0x4 || u32, Unique ID
|}
|}


Line 1,613: Line 1,614:
|}
|}


==TITLETAG==
==TITLETAG Database==


Stored in the system savedata archive 0x0001000F as a file named <code>TITLETAG</code>, it contains information used by the [[Home_Menu|HOME Menu]] to handle cases when a to-be-released title has been purchased already, that is, to properly install the seed required for [[NCCH]] keyY generation added with FIRM [[9.6.0-24|9.6.0-X]].
Stored in the system savedata archive 0x0001000F as a file named <code>TITLETAG</code>, it contains information used by the [[Home_Menu|HOME Menu]] to handle cases when a to-be-released title has been purchased already, that is, to properly install the seed required for [[NCCH]] keyY generation added with FIRM [[9.6.0-24|9.6.0-X]].