Line 37:
Line 37:
It seems the file entries are stored somewhere in the third block.
It seems the file entries are stored somewhere in the third block.
−
An fs_entry that has nodes > 1, is probably a directory.
+
The first entry is the root directory, stored with a filename of '!'.
<pre>
<pre>
Line 43:
Line 43:
u32 nodes;
u32 nodes;
u8 filename[0x10];
u8 filename[0x10];
−
u32 file_id;
+
u32 index;
−
u32 unk1;
+
u32 unk1; // magic?
u32 block_offset;
u32 block_offset;
u32 file_size;
u32 file_size;
u32 unk2;
u32 unk2;
−
u32 unk3;
+
u32 unk3; // flags and/or date?
u32 unk4;
u32 unk4;
}
}