From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:Adobe Director (RIFX)" |
|---|
| claim | "The KEY* chunk starts with u16 entry size (always 12), u16 second size, u32 entry count, u32 used count, followed by used-count entries of three u32: child resource index, parent resource index, child tag; the movie itself has the fixed parent id 1024, and CAS* children carry the cast library id as parent." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Adobe Director (RIFX)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "KeyTable" |
|---|
| size_min | "0xC" |
|---|
| endianness | "file byte order" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "entry_size" |
|---|
|
| offset | "0x2" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "entry_size2" |
|---|
|
| offset | "0x4" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "entry_count" |
|---|
|
| offset | "0x8" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "used_count" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "readKeyTable; entries (child, parent, tag) start at offset 0xC; the code comments that parent and child are sometimes reversed and that the movie id 1024 can collide with cast member ids." |
|---|
| repo | "https://github.com/scummvm/scummvm" |
|---|
| commit | "3f4203f8833f12615b0df5fa27f19d3c30d3e5d8" |
|---|
| path | "engines/director/archive.cpp" |
|---|
| lines | "1083-1130" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "KEY table" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T08:48:23.290Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:57:43.897Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read archive.cpp readKeyTable (1083-1130) at the cited commit: u16 entry size, u16 size2, u32 entry count, u32 used count, then used-count triples childIndex, parentIndex, childTag; parent 1024 = movie; CAS* children set libResourceId = parentIndex; comment on reversed parent/child present." |
|---|
|
|
|---|