From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:GCM disc image (GameCube and Wii)" |
|---|
| claim | "Wii disc partition table and partition header offsets: partition groups at 0x40000, then within a partition TMD size/offset at +0x2A4/+0x2A8, certificate chain size/offset at +0x2AC/+0x2B0, H3 table offset at +0x2B4, data offset at +0x2B8 (offsets stored >> 2); data clusters are 0x8000 bytes (0x400 hash + 0x7C00 data)." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:GCM disc image (GameCube and Wii)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "WiiPartitionHeader" |
|---|
| size_min | 700 |
|---|
| fields | | offset | "0x2A4" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "tmd_size" |
|---|
|
| offset | "0x2A8" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "tmd_offset" |
|---|
| notes | ">>2 encoded" |
|---|
|
| offset | "0x2AC" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "cert_chain_size" |
|---|
|
| offset | "0x2B0" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "cert_chain_offset" |
|---|
| notes | ">>2 encoded" |
|---|
|
| offset | "0x2B4" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "h3_offset" |
|---|
| notes | ">>2 encoded" |
|---|
|
| offset | "0x2B8" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "data_offset" |
|---|
| notes | ">>2 encoded" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "WII_PARTITION_*_ADDRESS constants; data offset read at partition.offset + 0x2b8 in VolumeWii.cpp" |
|---|
| repo | "https://github.com/dolphin-emu/dolphin" |
|---|
| commit | "41460454e9600f909950fddf0abd13a138430162" |
|---|
| path | "Source/Core/DiscIO/DiscUtils.h" |
|---|
| lines | "39-45" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Wii partition header" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T13:54:50.623Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T01:30:48.235Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read dolphin DiscUtils.h at 4146045 (TMD size 0x2a4, TMD off 0x2a8, cert size 0x2ac, cert off 0x2b0, H3 off 0x2b4) and VolumeWii.cpp (data offset at partition+0x2b8, ReadSwappedAndShifted). Not re-checked: 0x40000 partition table position." |
|---|
|
|
|---|