Line 19:
Line 19:
=== CIA Header ===
=== CIA Header ===
−
−
This is a 32 bytes long header (8 x uint32).
{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 30:
Line 28:
| 0x00
| 0x00
| 0x04
| 0x04
−
| Archive Header Size (=0x2020 bytes) (Starts with 0x80 @ offset 0x0020)
+
| Archive Header Size (Usually = 0x2020 bytes)
|-
|-
| 0x04
| 0x04
Line 57:
Line 55:
|-
|-
| 0x18
| 0x18
−
| 0x04
+
| 0x08
| APP file size
| APP file size
|-
|-
−
| 0x1C
+
| 0x20
−
| 0x04
+
| 0x01
−
| 0x80000000
+
| Magic? Must be = 0x80
+
|-
+
| 0x21
+
| 0x1FFF
+
| Magic? Must be Zero Filled
|}
|}