ARC (MT Framework): Difference between revisions
Jump to navigation
Jump to search
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Archives]] | [[Category:Archives]] | ||
This is a [[MT Framework]] format. | |||
Uses zlib compression per data entry. Uncompressed file size is not accurate and requires adjustment but appears the adjustment is a static value. | |||
Uses zlib compression per entry. Uncompressed file size is not accurate and requires adjustment but | |||
== Structure == | == Structure == | ||
Line 13: | Line 10: | ||
! Size !! Content !! Description | ! Size !! Content !! Description | ||
|- | |- | ||
| 4Bytes || Magic/ID || 'ARC' | | 4Bytes || Magic/ID || 'ARC' null terminated | ||
|- | |- | ||
| 2Bytes || Version? || Value is static | | 2Bytes || Version? || Value is static "07 00" | ||
|- | |||
| 2Bytes || File Count || Amount of files inside archive | |||
|- | |- | ||
!colspan="15"|Index Entry | !colspan="15"|Index Entry | ||
Line 21: | Line 20: | ||
! Size !! Content !! Description | ! Size !! Content !! Description | ||
|- | |- | ||
| 64Bytes || | | 64Bytes || Filename/path || | ||
|- | |- | ||
| 4Bytes || File Type || | | 4Bytes || File Type || Hash or number, depending on how you interpret it. | ||
|- | |- | ||
| 4Bytes || Packed Size || | | 4Bytes || Packed Size || Size of compressed data. | ||
|- | |- | ||
| 4Bytes || Unpacked Size || | | 4Bytes || Unpacked Size || Size of uncompressed data + 0x40000000. | ||
|- | |- | ||
| 4Bytes || Offset || | | 4Bytes || Offset || Location in archive | ||
|} | |} | ||
== Tools == | |||
-n/a- |
Latest revision as of 23:18, 5 October 2016
This is a MT Framework format.
Uses zlib compression per data entry. Uncompressed file size is not accurate and requires adjustment but appears the adjustment is a static value.
Structure
Header | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Size | Content | Description | ||||||||||||
4Bytes | Magic/ID | 'ARC' null terminated | ||||||||||||
2Bytes | Version? | Value is static "07 00" | ||||||||||||
2Bytes | File Count | Amount of files inside archive | ||||||||||||
Index Entry | ||||||||||||||
Size | Content | Description | ||||||||||||
64Bytes | Filename/path | |||||||||||||
4Bytes | File Type | Hash or number, depending on how you interpret it. | ||||||||||||
4Bytes | Packed Size | Size of compressed data. | ||||||||||||
4Bytes | Unpacked Size | Size of uncompressed data + 0x40000000. | ||||||||||||
4Bytes | Offset | Location in archive |
Tools
-n/a-