From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:WIA and RVZ" |
|---|
| claim | "The WIA/RVZ header 1 is 0x48 bytes, big endian: magic, version, version_compatible, header_2_size, SHA-1 of header 2, u64 iso_file_size, u64 wia_file_size, SHA-1 of header 1; header 2 (0xDC bytes) follows with disc_type, compression_type, compression_level, chunk_size and a 0x80-byte copy of the disc header." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:WIA and RVZ" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "WIAHeader1" |
|---|
| size | 72 |
|---|
| endianness | "big" |
|---|
| fields | | offset | "0x00" |
|---|
| name | "magic" |
|---|
| type | "u32" |
|---|
|
| offset | "0x04" |
|---|
| name | "version" |
|---|
| type | "u32" |
|---|
|
| offset | "0x08" |
|---|
| name | "version_compatible" |
|---|
| type | "u32" |
|---|
|
| offset | "0x0C" |
|---|
| name | "header_2_size" |
|---|
| type | "u32" |
|---|
|
| offset | "0x10" |
|---|
| name | "header_2_hash" |
|---|
| type | "u8[20]" |
|---|
|
| offset | "0x24" |
|---|
| name | "iso_file_size" |
|---|
| type | "u64" |
|---|
|
| offset | "0x2C" |
|---|
| name | "wia_file_size" |
|---|
| type | "u64" |
|---|
|
| offset | "0x34" |
|---|
| name | "header_1_hash" |
|---|
| type | "u8[20]" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "struct WIAHeader1 with static_assert sizeof == 0x48 and WIAHeader2 with sizeof == 0xdc" |
|---|
| repo | "https://github.com/dolphin-emu/dolphin" |
|---|
| commit | "41460454e9600f909950fddf0abd13a138430162" |
|---|
| path | "Source/Core/DiscIO/WIABlob.h" |
|---|
| lines | "81-120" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "WIAHeader1" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T00:24:23.205Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T08:16:55.682Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read struct WIAHeader1 in WIABlob.h at the cited commit: 4 u32, SHA-1, 2 u64, SHA-1 with static_assert size 0x48." |
|---|
|
|
|---|