Difference between revisions of "Myst HINT resources"

From A look inside The Link @ wiki
Jump to: navigation, search
(restyle)
(some new hints)
Line 1: Line 1:
 
{{Myst}}
 
{{Myst}}
  
These are small resources and we strongly suspect they have a record structure.
+
These are small resources that look like lists of 4-byte records.
  
 
{| class="structure"
 
{| class="structure"
 
|short||record_count
 
|short||record_count
 +
|-
 +
|variable||records
 
|}
 
|}
However, ''record_count'' seems wrong in:
 
*CHANNEL 78 231
 
*MECHAN 109
 
*MYST 2 28 38 43 45 49 106 109 149 150 173 175 206 231
 
*SELEN 172
 
*STONE 10 12 18 59 89 91 106
 
  
 
The record structure is
 
The record structure is
Line 19: Line 15:
 
|short||u1||
 
|short||u1||
 
|}
 
|}
''record_index'' starts at zero and goes up, but there are exceptions.
+
''record_index'' starts at zero and goes up.
*CHANNEL 78 144 231
+
The ''u1'''s all appear to be one of 0, 2, 3, 200, 300, 400, 500, 600, 904, 905, 999, or 0xFFFF (-1).
*DUNNY all minus 1 5 7 18 19
+
 
*MECHAN 109
+
However, there are exceptions: sometimes there is sligthly more data than specified by ''record_count''. This seems to only happen when the resource contains a record with ''u1'' = -1, as if that record was a bit longer than 4 bytes. Probably ''u1'' = -1 gives a special meaning to the record and implicitly sets a new record size (which seems to be 12 or 14 bytes). Other records in the resource seem to be regular ones.
*Myst 2 28 43 45 49 78 111 171 173 175 184 206 229 235
+
*STONE 10 12 18 59 89 91 106
+
The ''u1'''s all appear to be one of 0, 2, 3, 200, 300, 400, 500, 600, 904, 905, 999, or FFFF (-1).
+

Revision as of 19:28, 3 September 2008

Myst
Mohawk Overview
CLRC EXIT HINT INIT
MJMP MSND PICT RLST
VIEW WDIB HELP RSFL
Scripts Variables

These are small resources that look like lists of 4-byte records.

short record_count
variable records

The record structure is

short record_index
short u1

record_index starts at zero and goes up. The u1's all appear to be one of 0, 2, 3, 200, 300, 400, 500, 600, 904, 905, 999, or 0xFFFF (-1).

However, there are exceptions: sometimes there is sligthly more data than specified by record_count. This seems to only happen when the resource contains a record with u1 = -1, as if that record was a bit longer than 4 bytes. Probably u1 = -1 gives a special meaning to the record and implicitly sets a new record size (which seems to be 12 or 14 bytes). Other records in the resource seem to be regular ones.