From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:GCM disc image (GameCube and Wii)" |
|---|
| claim | "GameCube/Wii disc header fields that locate the system files: Wii magic 0x5D1C9EA3 at 0x18, GameCube magic 0xC2339F3D at 0x1C, DOL offset at 0x420, FST offset at 0x424, FST size at 0x428 (all shifted left by 2 on Wii), bi2.bin at 0x440, apploader at 0x2440." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:GCM disc image (GameCube and Wii)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "DiscHeaderPointers" |
|---|
| size_min | 1088 |
|---|
| fields | | offset | "0x00" |
|---|
| size | 4 |
|---|
| type | "char[4]" |
|---|
| name | "game_id" |
|---|
|
| offset | "0x18" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "wii_magic" |
|---|
| notes | "0x5D1C9EA3 on Wii discs" |
|---|
|
| offset | "0x1C" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "gc_magic" |
|---|
| notes | "0xC2339F3D on GameCube discs" |
|---|
|
| offset | "0x420" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "dol_offset" |
|---|
| notes | "<<2 on Wii" |
|---|
|
| offset | "0x424" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "fst_offset" |
|---|
| notes | "<<2 on Wii" |
|---|
|
| offset | "0x428" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "fst_size" |
|---|
| notes | "<<2 on Wii" |
|---|
|
|
|---|
| endianness | "big" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "ReadSwappedAndShifted at 0x420, 0x424, 0x428; GAMECUBE_DISC_MAGIC and WII_DISC_MAGIC in DiscUtils.h" |
|---|
| repo | "https://github.com/dolphin-emu/dolphin" |
|---|
| commit | "41460454e9600f909950fddf0abd13a138430162" |
|---|
| path | "Source/Core/DiscIO/DiscUtils.cpp" |
|---|
| lines | "50-52, 105-125" |
|---|
|
| type | "source" |
|---|
| detail | "ReadSwapped<u32>/ReadSwappedAndShifted for apploader size, DOL offset and FST offset" |
|---|
| repo | "https://github.com/dolphin-emu/dolphin" |
|---|
| commit | "41460454e9600f909950fddf0abd13a138430162" |
|---|
| path | "Source/Core/DiscIO/DiscUtils.cpp" |
|---|
| lines | "55-114" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Disc header pointers" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T13:54:50.536Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T01:30:49.932Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read dolphin DiscUtils.h/.cpp at 4146045: GAMECUBE_DISC_MAGIC 0xC2339F3D, WII_DISC_MAGIC 0x5D1C9EA3, APPLOADER_ADDRESS 0x2440, FST offset 0x424 and size 0x428 via ReadSwappedAndShifted. DOL at 0x420 and 0x18/0x1C positions not re-read." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T12:39:39.970Z" |
|---|
| summary | "Set byte order big: Dolphin reads the pointers with volume.ReadSwapped<u32> (swapped from the big-endian disc)." |
|---|
| changed | |
|---|
|
|
|---|