ARC: Difference between revisions

Elisherer (talk | contribs)
Created page with "Category:File formats This page documents the format of ARC. == Overview == ARC files are archives. Containers of files compressed with LZ-10 (more compression methods migh..."
 
Elisherer (talk | contribs)
No edit summary
Line 22: Line 22:
|  0x00C || 4 || uint32 || File's length
|  0x00C || 4 || uint32 || File's length
|-
|-
|  0x010 || 4 || uint32 || File table offset (from the beginning of the file)
|  0x010 || 4 || uint32 || [[ARC#File_table|File table]] offset (from the beginning of the file)
|-
|-
|  0x014 || 4 || uint32 || file table length
|  0x014 || 4 || uint32 || [[ARC#File_table|File table]] length
|-
|-
|  0x018 || 4 || uint32 || files data offset
|  0x018 || 4 || uint32 || [[ARC#Files_data|File table]] offset
|}
|}


Line 48: Line 48:
   * First two nodes in the file table are ‘null’ and ‘.’ both have compressed file length of 7.
   * First two nodes in the file table are ‘null’ and ‘.’ both have compressed file length of 7.


=== File Data ===
=== Files Data ===


   * Each file is compressed using LZ-10. (Starts with 0x10 and followed by uint24 of the uncompressed file size).
   * Each file is compressed using LZ-10. (Starts with 0x10 and followed by uint24 of the uncompressed file size).
   * Each file's end is padded to 0x10 besides the last one which ends with EOF.
   * Each file's end is padded to 0x10 besides the last one which ends with EOF.