Changes

Jump to navigation Jump to search
119 bytes added ,  22:11, 11 December 2018
Corrected information about the file offset. Added missing fileds for the secondary header
Line 22: Line 22:  
|Magic || 4 || 0x0 || always 0x46535400 ("FST" and a null byte)
 
|Magic || 4 || 0x0 || always 0x46535400 ("FST" and a null byte)
 
|-
 
|-
|Secondary header size || 4 || 0x4 || (not sure)
+
|File offset factor || 4 || 0x4 || The offset of the files needs to be multipied by this. Usually 0x20, but for some titles it's 0x01.
 
|-
 
|-
 
|Secondary header count || 4 || 0x8 || Number of secondary headers in the FST
 
|Secondary header count || 4 || 0x8 || Number of secondary headers in the FST
Line 40: Line 40:  
! Field !! Size !! Offset !! Description
 
! Field !! Size !! Offset !! Description
 
|-
 
|-
|Unknown || 4 || 0 || -
+
|Offset || 4 || 0 || Offset in sectors on the current partition
 
|-
 
|-
|Unknown || 4 || 4 || -
+
|Size || 4 || 4 || Size in sectors
 
|-
 
|-
|Title ID || 8 || 8 || Not in all entries, some are zeros.
+
|Owner Title ID || 8 || 8 || Not in all entries, some are zeros.
 
|-
 
|-
 
|Group ID || 4 || 16 || Not in all entries, some are zeros.
 
|Group ID || 4 || 16 || Not in all entries, some are zeros.
Line 67: Line 67:  
|Name Offset || 3 || 1 || Offset in bytes of the name of the file from the start of the nametable
 
|Name Offset || 3 || 1 || Offset in bytes of the name of the file from the start of the nametable
 
|-
 
|-
|Offset || 4 || 4 || Offset of the file in its storage cluster: usually in sectors (multiply by 32 for byte offset); may be in bytes if the 0x4 bit in flags is set
+
|Offset || 4 || 4 || Offset of the file in its storage cluster: usually in sectors. Multiply by the file offset factor from the FST header.
 
|-
 
|-
 
|Size || 4 || 8 || Size of the file in bytes
 
|Size || 4 || 8 || Size of the file in bytes
24

edits

Navigation menu