ARC (MT Framework): Difference between revisions
Jump to navigation
Jump to search
| 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 | ||
|} | |} | ||
Revision as of 05:07, 27 December 2014
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 | ||||||||||||
| 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- Note: I have a tool made already but needs a rewrite to work better with drag and drop operations.