24
edits
(More information about V3/4 Index with examples) |
(Filled in information for V5) |
||
Line 170: | Line 170: | ||
= Scumm 5 = | = Scumm 5 = | ||
* The files are xor'ed with 0x69 | |||
== RNAM - Room Names == | |||
Block Name (4 bytes) | |||
Block Size (4 bytes BE) | |||
#Room No (1 byte) | |||
#Room Name (9 bytes) XOR'ed with FF | |||
Blank (00) byte (1 byte) Marks end of chunk | |||
== MAXS == | |||
Block Name (4 bytes) | |||
Block Size (4 bytes BE) | |||
Variables (2 bytes) | |||
Unknown (2 bytes) | |||
Bit Variables (2 bytes) | |||
Local Objects (2 bytes) | |||
Unknown (2 bytes) | |||
Character Sets (2 bytes) | |||
Unknown (2 bytes) | |||
Unknown (2 bytes) | |||
Inventory Objects (2 bytes) | |||
== DROO - Directory of Rooms == | |||
Block Name (4 bytes) | |||
Block Size (4 bytes BE) | |||
No of items (2 bytes) | |||
*Room Number (1 byte) | |||
*Offset (4 bytes) | |||
The flow how to read in this kind of information has changed slightly from V3/4. | |||
Read "No of items" | |||
FROM 1 TO "No of items" DO | |||
Read "Room Number" | |||
END | |||
FROM 1 TO "No of items" DO | |||
Read "Offset" | |||
END | |||
First read in all room numbers, then read in all room offsets. | |||
== DSCR - Directory of Scripts == | |||
Block Name (4 bytes) | |||
Block Size (4 bytes BE) | |||
No of items (2 bytes) | |||
*Room Number (1 byte) | |||
*Offset (4 bytes) | |||
Indexes for global scripts, see pseudo code above on how to read in the data. | |||
== DSOU - Directory of Sound == | |||
Block Name (4 bytes) | |||
Block Size (4 bytes BE) | |||
No of items (2 bytes) | |||
*Room Number (1 byte) | |||
*Offset (4 bytes) | |||
Indexes for sound objects. | |||
== DCOS - Directory of Costumes == | |||
Block Name (4 bytes) | |||
Block Size (4 bytes BE) | |||
No of items (2 bytes) | |||
*Room Number (1 byte) | |||
*Offset (4 bytes) | |||
Indexes for costumes | |||
== DCHR - Director of Charsets == | |||
Block Name (4 bytes) | |||
Block Size (4 bytes BE) | |||
No of items (2 bytes) | |||
*Room Number (1 byte) | |||
*Offset (4 bytes) | |||
Indexes for charsets. | |||
== DOBJ - Directory of Objects == | |||
Block Name (4 bytes) | |||
Block Size (4 bytes BE) | |||
No of items (2 bytes) | |||
*Owner+state (1 byte) | |||
Information about objects. See remarks in V3/4 section how the value should be interpreted. | |||
= Scumm 6 = | = Scumm 6 = |
edits