From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Format:WIA and RVZ" |
|---|
| claim | "In an RVZ group entry the top bit of data_size selects the header's compression method (set) or no compression (clear), the low 31 bits are the stored size, and a size of 0 means every byte of the group is zero; WIA group entries have no flag (data_size is the whole value, and 0 also means zeros). The data offset is data_off4 << 2." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "RVZ and WIA group entries, Dolphin reader and docs/WiaAndRvz.md at this commit" |
|---|
| observed_in | |
|---|
|
|---|
| data | | trigger | "reading a group of a .rvz or .wia file" |
|---|
| effect | "if RVZ and bit 31 clear: compression None; size &= 0x7FFFFFFF; size 0 -> output zeros; else read at data_off4 * 4" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "ReadFromGroups handling of data_size, rvz_packed_size and the zero case" |
|---|
| repo | "https://github.com/dolphin-emu/dolphin" |
|---|
| commit | "41460454e9600f909950fddf0abd13a138430162" |
|---|
| path | "Source/Core/DiscIO/WIABlob.cpp" |
|---|
| lines | "521-545" |
|---|
|
| type | "source" |
|---|
| detail | "rvz_group_t description" |
|---|
| repo | "https://github.com/dolphin-emu/dolphin" |
|---|
| commit | "41460454e9600f909950fddf0abd13a138430162" |
|---|
| path | "docs/WiaAndRvz.md" |
|---|
| lines | "184-194" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "RVZ group data_size flag" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T11:41:49.318Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T12:27:02.908Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read ReadFromGroups in WIABlob.cpp 505-560 at 4146045: for RVZ, (data_size & 0x80000000)==0 selects compression None, then data_size &= 0x7FFFFFFF; data_size 0 memsets zeros; else offset = data_offset << 2. WIA keeps the full value. docs/WiaAndRvz.md 184-194 agrees (size also covers exception lists)." |
|---|
|
|
|---|