Difference between revisions of "Myst INIT resources"

From A look inside The Link @ wiki
Jump to: navigation, search
m (Protected "Myst INIT resources" [edit=autoconfirmed:move=autoconfirmed])
(corrections)
 
Line 1: Line 1:
 
{{Myst}}
 
{{Myst}}
  
Each INIT resource contains a [[Myst scripts|script]] used when entering a card.
+
Each INIT resource contains an "extended" version of a [[Myst scripts|script]] that's probably executed when entering the associated card.
  
== Format ==
+
The script structure is modified with an unknown field attached before each command opcode. The unknown field is usually in the range 0-9.
{|class="structure"
+
|unsigned short||u0
+
|-
+
|[[Myst scripts|Myst Script]]||script
+
|}
+
  
*''u0'' is usually 0-9.
+
Observed scripts are usually very short and just set a variable or call command opcodes in the range 200-217.
*''script'' is the script ran when entering the card.
+

Latest revision as of 10:52, 19 September 2008

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

Each INIT resource contains an "extended" version of a script that's probably executed when entering the associated card.

The script structure is modified with an unknown field attached before each command opcode. The unknown field is usually in the range 0-9.

Observed scripts are usually very short and just set a variable or call command opcodes in the range 200-217.