DARC: Difference between revisions
might be worth mentioning |
|||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 14: | Line 14: | ||
| 0x000 || 4 || char[4] || Magic Number 'darc' | | 0x000 || 4 || char[4] || Magic Number 'darc' | ||
|- | |- | ||
| 0x004 || 2 || uint16 || Endianess (= | | 0x004 || 2 || uint16 || Endianess (=0xFEFF [FF FE]: Little) | ||
|- | |- | ||
| 0x006 || 2 || uint16 || Header's length | | 0x006 || 2 || uint16 || Header's length | ||
| Line 24: | Line 24: | ||
| 0x010 || 4 || uint32 || [[DARC#File_table|File table]] offset (from the beginning of the file) | | 0x010 || 4 || uint32 || [[DARC#File_table|File table]] offset (from the beginning of the file) | ||
|- | |- | ||
| 0x014 || 4 || uint32 || [[DARC#File_table|File table]] length | | 0x014 || 4 || uint32 || [[DARC#File_table|File table]] length (includes the names that come after the file structs) | ||
|- | |- | ||
| 0x018 || 4 || uint32 || [[DARC#Files_data|Files data]] offset | | 0x018 || 4 || uint32 || [[DARC#Files_data|Files data]] offset | ||
| Line 46: | Line 46: | ||
|} | |} | ||
* Folder's length is end-index of the folder in the table. | |||
=Tools= | |||
* [https://github.com/yellows8/darctool] | |||