ARC (MT Framework): Difference between revisions
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
| 4Bytes || Magic/ID || 'ARC' null terminated | | 4Bytes || Magic/ID || 'ARC' null terminated | ||
|- | |- | ||
| 2Bytes || Version? || Value is static | | 2Bytes || Version? || Value is static "07 00" | ||
|- | |- | ||
| 2Bytes || File Count || | | 2Bytes || File Count || Amount of files inside archive | ||
|- | |- | ||
!colspan="15"|Index Entry | !colspan="15"|Index Entry | ||
Line 22: | Line 22: | ||
| 64Bytes || Filename/path || | | 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 || +0x40000000 | | 4Bytes || Unpacked Size || Size of uncompressed data + 0x40000000. | ||
|- | |- | ||
| 4Bytes || Offset || | | 4Bytes || Offset || Location in archive | ||
|} | |} | ||
== Tools == | == 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-