Jump to navigation Jump to search
747 bytes added ,  23:39, 3 May 2019
no edit summary
== Filesystem Header ==
Offsets listed in the table below are all related relative to the beginning of the header, while all "starting block index" are relative to the beginning of data region. This is especially important for title database, as the offsets doesn't count the pre header there.
{| class="wikitable" border="1"
! Offset
| Padding
* For savegames, the file/directory bucket count & maximum count are specified by the parameters of [[FS:FormatSaveData]] or [[FS:CreateSystemSaveData]].
* For extdata, the maximum file/directory count are specified by the parameters of [[FS:CreateExtSaveData]]. The bucket count is likely calculated by the system.
* Directory & file entry tables are allocated in the data region as if they are two normal files (except for savegame <code>duplicate data = false</code> layout). However, only continuous allocation has been observed, so directly reading block_count * block_size bytes from data_region + starting_block_index * block_size should be safe.
== Directory Entry Table ==
| 0x20
| 8
| Unique identifier. See [[Extdata]]
| 0x28


Navigation menu