DARC: Difference between revisions

Elisherer (talk | contribs)
File table: not true
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 18: Line 18:
|  0x006 || 2 || uint16 || Header's length
|  0x006 || 2 || uint16 || Header's length
|-
|-
|  0x008 || 4 || uint32 || Unknown (= 0x01000000 ?)
|  0x008 || 4 || uint32 || Version
|-
|-
|  0x00C || 4 || uint32 || File's length
|  0x00C || 4 || uint32 || File's length
Line 37: Line 37:
!  Offset !!  Size !! Type !!  Description
!  Offset !!  Size !! Type !!  Description
|-
|-
0x00C || 4 || uint32 || File name offset (from the end of the table)  
0x000 || 4 || uint32 || File name offset (from the end of the table)  


if (offset & 0x01000000) then this is a folder (i.e. first two nodes 'null' & '.')
if (offset & 0x01000000) then this is a folder (i.e. first two nodes 'null' & '.')
Line 46: Line 46:
|}
|}


  * Folder's length is the file count.
* Folder's length is end-index of the folder in the table.
 
=Tools=
* [https://github.com/yellows8/darctool]