ARC (MT Framework): Difference between revisions

From Game Research Wiki
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-
-n/a-
Note: I have a tool made already but needs a rewrite to work better with drag and drop operations.

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-