Line 632:
Line 632:
u32 first_sub_file_index; // 0 if has no sub file(?)
u32 first_sub_file_index; // 0 if has no sub file(?)
u32 unk1; // flags? always 0?
u32 unk1; // flags? always 0?
−
u32 unk2; // often 0?
+
u32 unk2; // the index of the next folder with the same path hash? 0 if the end?
}
}
struct dummy_folder_entry {
struct dummy_folder_entry {
Line 652:
Line 652:
u64 file_size;
u64 file_size;
u32 unk2; // flags?
u32 unk2; // flags?
−
u32 zero; // ?
+
u32 unk3; // the index of the next file with the same path hash? 0 if the end?
}
}
struct dummy_file_entry {
struct dummy_file_entry {
Line 798:
Line 798:
|}
|}
−
* The FolderMap and FileMap still unknown. They are tables of uint32.
+
* The FolderMap and FileMap still unknown. They are tables of uint32. (These are probably folder/file path name hash tables for quick lookup? Similar as those in [[RomFS]] --[[User:Wwylele|Wwylele]] ([[User talk:Wwylele|talk]]) 11:35, 29 September 2016 (CEST))
* The BlockMap is a map of the blocks in the filestore. An entry in the BlockMap is 2 uint32: {uint32 start_block; uint32 end_block; }. This is still being researched. (You can use [[3DSExplorer]] to see those maps.
* The BlockMap is a map of the blocks in the filestore. An entry in the BlockMap is 2 uint32: {uint32 start_block; uint32 end_block; }. This is still being researched. (You can use [[3DSExplorer]] to see those maps.