Difference between revisions of "Myst scripts"

From A look inside The Link @ wiki
Jump to: navigation, search
(Basic outline of every command (phew!))
m (oops, clarification)
Line 1: Line 1:
 
{{Myst}}
 
{{Myst}}
This page contains, or will contain, a list of all known commands in Myst, as used in record types 5, 6, 7, 8, 10, 11, and 12. Specifics on the format itself can be found at [[Myst RLST resources]].
+
This page contains, or will contain, a list of all known commands in Myst, as used in record types 5, 6, 7, 8, 10, 11, and 12. Specifics on the format itself can be found at [[Myst RLST resources]]. The way scripts are stored, they each contain a command number, a variable number, and any number of arguments. When a variable number is not given, a "0" is used. So when the key below says that the variable is "optional", that means that it has been found both with and without a variable being passed in. In some cases, the syntax of the arguments depends on whether a variable was passed in. In this case, the variable/arguments header is repeated for each form of the command.
  
 
==Command 0==
 
==Command 0==
'''Variable:''' Optional
+
*'''Variable:''' Optional
'''Arguments:''' None
+
*'''Arguments:''' None
  
 
==Command 1==
 
==Command 1==
'''Variable:''' Optional
+
*'''Variable:''' Optional
'''Arguments:''' ''u0''
+
*'''Arguments:''' ''u0''
  
 
*''u0'' takes on any number between 0 and 7 (maybe a bit field?)
 
*''u0'' takes on any number between 0 and 7 (maybe a bit field?)
  
 
==Command 2: alternative destination==
 
==Command 2: alternative destination==
'''Variable:''' Yes
+
*'''Variable:''' Yes
'''Arguments:''' ''dest''
+
*'''Arguments:''' ''dest''
  
 
This command goes to ''dest'' instead of the regular destination if ''var'' is a certain (unknown) value. (Only used for SELEN 1240 and CHANNEL 3359)
 
This command goes to ''dest'' instead of the regular destination if ''var'' is a certain (unknown) value. (Only used for SELEN 1240 and CHANNEL 3359)
  
 
==Command 3==
 
==Command 3==
'''Variable:''' Yes
+
*'''Variable:''' Yes
'''Arguments:''' ''u0''
+
*'''Arguments:''' ''u0''
  
 
*''u0'' is always 800, 801, or 802. (Only 5 different cases)
 
*''u0'' is always 800, 801, or 802. (Only 5 different cases)
  
 
==Command 4==
 
==Command 4==
'''Variable:''' Optional
+
*'''Variable:''' Optional
'''Arguments:''' None
+
*'''Arguments:''' None
  
 
==Command 6==
 
==Command 6==
'''Variable:''' Optional
+
*'''Variable:''' Optional
'''Arguments:''' None
+
*'''Arguments:''' None
  
 
==Command 7==
 
==Command 7==
'''Variable:''' Optional
+
*'''Variable:''' Optional
'''Arguments:''' None
+
*'''Arguments:''' None
  
 
==Command 8==
 
==Command 8==
'''Variable:''' Optional
+
*'''Variable:''' Optional
'''Arguments:''' None
+
*'''Arguments:''' None
  
 
==Command 9==
 
==Command 9==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' [''u0'']
+
*'''Arguments:''' [''u0'']
  
 
*''u0'' is always either ''FFFF'' or omitted.
 
*''u0'' is always either ''FFFF'' or omitted.
  
 
==Command 12==
 
==Command 12==
'''Variable:''' Optional
+
*'''Variable:''' Optional
'''Arguments:''' ''u0''
+
*'''Arguments:''' ''u0''
  
 
''Related to [[#Command 13|command 13]]''.
 
''Related to [[#Command 13|command 13]]''.
Line 57: Line 57:
  
 
==Command 13==
 
==Command 13==
'''Variable:''' Optional
+
*'''Variable:''' Optional
'''Arguments:''' ''u0''
+
*'''Arguments:''' ''u0''
  
 
''Related to [[#Command 12|command 12]]''.
 
''Related to [[#Command 12|command 12]]''.
Line 67: Line 67:
  
 
==Command 14==
 
==Command 14==
'''Variable:''' Optional
+
*'''Variable:''' Optional
'''Arguments:''' ''u0''
+
*'''Arguments:''' ''u0''
  
 
*''u0'' is always 0, 1, or 2.
 
*''u0'' is always 0, 1, or 2.
  
 
==Command 15==
 
==Command 15==
'''Variable:''' Yes
+
*'''Variable:''' Yes
'''Arguments:''' [''u0'']
+
*'''Arguments:''' [''u0'']
  
 
*''u0'' is always 0 or omitted.
 
*''u0'' is always 0 or omitted.
  
 
==Command 16==
 
==Command 16==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''u0'' ''u1''
+
*'''Arguments:''' ''u0'' ''u1''
  
 
*''u0'' appears to be a nearby node.
 
*''u0'' appears to be a nearby node.
Line 86: Line 86:
  
 
==Command 17==
 
==Command 17==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''u0'' ''u1''
+
*'''Arguments:''' ''u0'' ''u1''
  
 
*''u0'' appears to be a nearby node.
 
*''u0'' appears to be a nearby node.
Line 93: Line 93:
  
 
==Command 18==
 
==Command 18==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''u0''
+
*'''Arguments:''' ''u0''
  
 
*''u0'' is always 4, 5, or 6.
 
*''u0'' is always 4, 5, or 6.
  
 
==Command 19==
 
==Command 19==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''count'' ''u0''[''count'']
+
*'''Arguments:''' ''count'' ''u0''[''count'']
  
 
*All of the ''u0'' numbers are small (0-13, 21).
 
*All of the ''u0'' numbers are small (0-13, 21).
  
 
==Command 20==
 
==Command 20==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''count'' ''u0''[''count'']
+
*'''Arguments:''' ''count'' ''u0''[''count'']
  
 
*All of the ''u0'' numbers are small (0-13, 21). These, unlike [[#Command 19|command 19]], can also be ''FFFF''.
 
*All of the ''u0'' numbers are small (0-13, 21). These, unlike [[#Command 19|command 19]], can also be ''FFFF''.
  
 
==Command 21==
 
==Command 21==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''u0'' ''u1'' ''u2'' ''u3'' ''u4'' ''u5''
+
*'''Arguments:''' ''u0'' ''u1'' ''u2'' ''u3'' ''u4'' ''u5''
  
 
There are this command is used 6 times.
 
There are this command is used 6 times.
Line 124: Line 124:
  
 
==Command 22==
 
==Command 22==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' None
+
*'''Arguments:''' None
  
 
==Command 23==
 
==Command 23==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''count'' ''u0''[''count'']
+
*'''Arguments:''' ''count'' ''u0''[''count'']
  
 
*The ''u0'' numbers are all 0, 4, or 5.
 
*The ''u0'' numbers are all 0, 4, or 5.
  
 
==Command 24==
 
==Command 24==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''u0''
+
*'''Arguments:''' ''u0''
  
 
*''u0'' appears to be a node number, but it sometimes has a different 1000's place digit (like the numbers in the VIEW resources).
 
*''u0'' appears to be a node number, but it sometimes has a different 1000's place digit (like the numbers in the VIEW resources).
  
 
==Command 26==
 
==Command 26==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' None
+
*'''Arguments:''' None
  
 
==Command 27==
 
==Command 27==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''u0''
+
*'''Arguments:''' ''u0''
  
 
*''u0'' appears to be a node number, but it sometimes has a different 1000's place digit (like the numbers in the VIEW resources).
 
*''u0'' appears to be a node number, but it sometimes has a different 1000's place digit (like the numbers in the VIEW resources).
  
 
==Command 28==
 
==Command 28==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' (<''l t r b''>|''FFFF'')
+
*'''Arguments:''' (<''l t r b''>|''FFFF'')
  
 
*<''l t r b''> often corresponds with the intended location of one of the sub-images in the VIEW resources.
 
*<''l t r b''> often corresponds with the intended location of one of the sub-images in the VIEW resources.
  
 
==Command 29==
 
==Command 29==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''node'' <''l t r b''> ''u0'' ''u1''
+
*'''Arguments:''' ''node'' <''l t r b''> ''u0'' ''u1''
  
 
*''node'' appears to be a node number.
 
*''node'' appears to be a node number.
 
*<''l t r b''> often corresponds with the intended location of one of the sub-images in the VIEW resources.
 
*<''l t r b''> often corresponds with the intended location of one of the sub-images in the VIEW resources.
 
*''u0'' appears to be a variable number (it is sometimes 0).
 
*''u0'' appears to be a variable number (it is sometimes 0).
*''u1'' may also be a variable number (it is sometimes 0, 1, or FFFF).
+
*''u1'' may also be a variable number (it is sometimes 0, 1, or ''FFFF'').
  
 
==Command 30==
 
==Command 30==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''node'' ''flags''
+
*'''Arguments:''' ''node'' ''flags''
  
 
*''node'' looks like a node number.
 
*''node'' looks like a node number.
Line 172: Line 172:
  
 
==Command 31==
 
==Command 31==
'''Variable:''' Yes (only ever 30)
+
*'''Variable:''' Yes (only ever 30)
'''Arguments:''' ''u0'' ''u1''
+
*'''Arguments:''' ''u0'' ''u1''
  
 
*''u0'' is always 0.
 
*''u0'' is always 0.
Line 179: Line 179:
  
 
==Command 32==
 
==Command 32==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' None
+
*'''Arguments:''' None
  
 
==Command 33==
 
==Command 33==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''node'' <''l t r b''> ''u0'' ''u1''
+
*'''Arguments:''' ''node'' <''l t r b''> ''u0'' ''u1''
  
 
*''node'' appears to be a node number.
 
*''node'' appears to be a node number.
Line 192: Line 192:
  
 
==Command 34==
 
==Command 34==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''u0'' ''u1''
+
*'''Arguments:''' ''u0'' ''u1''
  
 
*''u0'' looks like a node number.
 
*''u0'' looks like a node number.
Line 199: Line 199:
  
 
==Command 35==
 
==Command 35==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''u0'' ''u1'' ''u2''
+
*'''Arguments:''' ''u0'' ''u1'' ''u2''
  
 
*''u0'' looks like a node number.
 
*''u0'' looks like a node number.
Line 207: Line 207:
  
 
==Command 36==
 
==Command 36==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''u0''
+
*'''Arguments:''' ''u0''
  
 
This command is only used twice.
 
This command is only used twice.
Line 215: Line 215:
  
 
==Command 37==
 
==Command 37==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' None
+
*'''Arguments:''' None
  
 
==Command 38==
 
==Command 38==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' None
+
*'''Arguments:''' None
  
 
==Command 39==
 
==Command 39==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''u0''
+
*'''Arguments:''' ''u0''
  
 
*''u0'' is 100, 200, 400, 500, 1000, or 1100.
 
*''u0'' is 100, 200, 400, 500, 1000, or 1100.
  
 
==Command 40==
 
==Command 40==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''u0'' ''u1'' ''u2''
+
*'''Arguments:''' ''u0'' ''u1'' ''u2''
  
 
*''u0'' is always 0, 1, 2, 3, 4, or 6.
 
*''u0'' is always 0, 1, 2, 3, 4, or 6.
Line 237: Line 237:
  
 
==Command 41==
 
==Command 41==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''u0'' ''u1'' ''u2'' ''count'' ''u3''[''count'']
+
*'''Arguments:''' ''u0'' ''u1'' ''u2'' ''count'' ''u3''[''count'']
  
 
*''u0'' looks like a node number.
 
*''u0'' looks like a node number.
Line 247: Line 247:
  
 
==Command 42==
 
==Command 42==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''u0'' ''u1'' ''count'' ''u2''[''count'']
+
*'''Arguments:''' ''u0'' ''u1'' ''count'' ''u2''[''count'']
  
 
*''u0'' looks like a node number.
 
*''u0'' looks like a node number.
Line 256: Line 256:
  
 
==Command 43==
 
==Command 43==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' None
+
*'''Arguments:''' None
  
 
==Command 44==
 
==Command 44==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' None
+
*'''Arguments:''' None
  
 
==Command 46==
 
==Command 46==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' None
+
*'''Arguments:''' None
  
 
==Command 100==
 
==Command 100==
'''Variable:''' Optional
+
*'''Variable:''' Optional
'''Arguments:''' [''u0'']
+
*'''Arguments:''' [''u0'']
  
 
*''u0'' is always 4, 6, or omitted.
 
*''u0'' is always 4, 6, or omitted.
  
 
==Command 101==
 
==Command 101==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' [''u0''|''u1''[6]]
+
*'''Arguments:''' [''u0''|''u1''[6]]
  
 
*''u0'' is always 4225 or omitted.
 
*''u0'' is always 4225 or omitted.
Line 281: Line 281:
  
 
==Command 102==
 
==Command 102==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' [''u0'' ''u1'' [''u2'']]
+
*'''Arguments:''' [''u0'' ''u1'' [''u2'']]
  
 
*''u0'' looks like a node number (or 0).
 
*''u0'' looks like a node number (or 0).
Line 289: Line 289:
  
 
==Command 103==
 
==Command 103==
'''Variable:''' Yes
+
*'''Variable:''' Yes
'''Arguments:''' ''bit''
+
*'''Arguments:''' ''bit''
  
 
This form of the command most likely negates bit ''bit'' of ''var''.
 
This form of the command most likely negates bit ''bit'' of ''var''.
Line 296: Line 296:
 
*''bit'' is a power of 2 (bit mask).
 
*''bit'' is a power of 2 (bit mask).
  
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''u0'' [''u1'']
+
*'''Arguments:''' ''u0'' [''u1'']
  
 
This form of the command is unknown.
 
This form of the command is unknown.
Line 305: Line 305:
  
 
==Command 104==
 
==Command 104==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' [''u0'']
+
*'''Arguments:''' [''u0'']
  
 
*''u0'' can be 0, 1, omitted, or 13 to 20.
 
*''u0'' can be 0, 1, omitted, or 13 to 20.
  
 
==Command 105==
 
==Command 105==
'''Variable:''' Optional (set to 9 at one point, but usually not)
+
*'''Variable:''' Optional (set to 9 at one point, but usually not)
'''Arguments:''' [''u0'']
+
*'''Arguments:''' [''u0'']
  
 
*''u0'' looks like a node number.
 
*''u0'' looks like a node number.
  
 
==Command 106==
 
==Command 106==
'''Variable:''' 10
+
*'''Variable:''' 10
'''Arguments:''' 2287
+
*'''Arguments:''' 2287
  
 
This command is only used once.
 
This command is only used once.
  
 
==Command 107==
 
==Command 107==
'''Variable:''' 11
+
*'''Variable:''' 11
'''Arguments:''' 2287
+
*'''Arguments:''' 2287
  
 
This command is only used once.
 
This command is only used once.
  
 
==Command 108==
 
==Command 108==
'''Variable:''' 12
+
*'''Variable:''' 12
'''Arguments:''' 2287
+
*'''Arguments:''' 2287
  
 
This command is only used once.
 
This command is only used once.
  
 
==Command 109==
 
==Command 109==
'''Variable:''' Optional
+
*'''Variable:''' Optional
'''Arguments:''' [''u0'']
+
*'''Arguments:''' [''u0'']
  
*''u0'' is FFFF, 1, omitted, or 2287.
+
*''u0'' is ''FFFF'', 1, omitted, or 2287.
  
 
==Command 110==
 
==Command 110==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' 1180 1179 12 203 78 345 167 6 10 203 166 345 306 5 10
+
*'''Arguments:''' 1180 1179 12 203 78 345 167 6 10 203 166 345 306 5 10
  
 
This command is only used once.
 
This command is only used once.
  
 
==Command 111==
 
==Command 111==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' [''u0'']
+
*'''Arguments:''' [''u0'']
  
 
*''u0'' is 14 to 20 or omitted.
 
*''u0'' is 14 to 20 or omitted.
  
 
==Command 112==
 
==Command 112==
'''Variable:''' 29
+
*'''Variable:''' 29
'''Arguments:''' ''u0'' ''u1'' ''u2''
+
*'''Arguments:''' ''u0'' ''u1'' ''u2''
  
 
This command is only used twice.
 
This command is only used twice.
Line 363: Line 363:
  
 
==Command 113==
 
==Command 113==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' 5143 10 6 339 237 423 333 0 10
+
*'''Arguments:''' 5143 10 6 339 237 423 333 0 10
  
 
This command is only used once.
 
This command is only used once.
  
 
==Command 114==
 
==Command 114==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' 5143 10 6 339 237 423 333 1 10
+
*'''Arguments:''' 5143 10 6 339 237 423 333 1 10
  
 
This command is only used once.
 
This command is only used once.
  
 
==Command 115==
 
==Command 115==
'''Variable:''' Yes
+
*'''Variable:''' Yes
'''Arguments:''' ''u0''[3]
+
*'''Arguments:''' ''u0''[3]
  
 
*The ''u0'' look like node numbers.
 
*The ''u0'' look like node numbers.
  
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' 1139 1140 1140 10 6 204 64 343 279 6 50
+
*'''Arguments:''' 1139 1140 1140 10 6 204 64 343 279 6 50
  
 
This form of the command is only used once.
 
This form of the command is only used once.
  
 
==Command 116==
 
==Command 116==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''u0''
+
*'''Arguments:''' ''u0''
  
 
*''u0'' is 0, 1, or 6006.
 
*''u0'' is 0, 1, or 6006.
  
 
==Command 117==
 
==Command 117==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' [''u0''|''u1'' ''u2'']
+
*'''Arguments:''' [''u0''|''u1'' ''u2'']
  
 
*''u0'' is 0, 1, 2, 3, or omitted.
 
*''u0'' is 0, 1, 2, 3, or omitted.
Line 399: Line 399:
  
 
==Command 118==
 
==Command 118==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' [4707 5707 6707 7707 4705]
+
*'''Arguments:''' [4707 5707 6707 7707 4705]
  
 
This command is only used twice (once with values and once omitted).
 
This command is only used twice (once with values and once omitted).
  
 
==Command 119==
 
==Command 119==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' [''u0'']
+
*'''Arguments:''' [''u0'']
  
 
*''u0'' is 0, 1, or omitted.
 
*''u0'' is 0, 1, or omitted.
  
 
==Command 120==
 
==Command 120==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' [''u0'']
+
*'''Arguments:''' [''u0'']
  
 
*''u0'' is 0, 1, 2, 3, or omitted.
 
*''u0'' is 0, 1, 2, 3, or omitted.
  
 
==Command 121==
 
==Command 121==
'''Variable:''' Yes
+
*'''Variable:''' Yes
'''Arguments:''' None
+
*'''Arguments:''' None
  
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''u0'' ''u1''
+
*'''Arguments:''' ''u0'' ''u1''
  
 
*''u0'' is 0 or a node number.
 
*''u0'' is 0 or a node number.
Line 427: Line 427:
  
 
==Command 122==
 
==Command 122==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' None
+
*'''Arguments:''' None
  
 
==Command 123==
 
==Command 123==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''u0'' [''u1'']
+
*'''Arguments:''' ''u0'' [''u1'']
  
 
*''u0'' is 0, 1, or 960.
 
*''u0'' is 0, 1, or 960.
Line 438: Line 438:
  
 
==Command 124==
 
==Command 124==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' None
+
*'''Arguments:''' None
  
 
==Command 125==
 
==Command 125==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' None
+
*'''Arguments:''' None
  
'''Variable:''' 21
+
*'''Variable:''' 21
'''Arguments:''' ''u0''
+
*'''Arguments:''' ''u0''
  
 
*''u0'' is 13 or 14.
 
*''u0'' is 13 or 14.
  
 
==Command 126==
 
==Command 126==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' None
+
*'''Arguments:''' None
  
 
==Command 127==
 
==Command 127==
'''Variable:''' no
+
*'''Variable:''' no
'''Arguments:''' ''u0'' ''u1''
+
*'''Arguments:''' ''u0'' ''u1''
  
 
*''u0'' is 1, 2, or 3.
 
*''u0'' is 1, 2, or 3.
Line 462: Line 462:
  
 
==Command 129==
 
==Command 129==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' ''u0''
+
*'''Arguments:''' ''u0''
  
 
*''u0'' looks like a node number.
 
*''u0'' looks like a node number.
  
 
==Command 133==
 
==Command 133==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' 6500
+
*'''Arguments:''' 6500
  
 
This command is only used once.
 
This command is only used once.
  
 
==Command 164==
 
==Command 164==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' None
+
*'''Arguments:''' None
  
 
==Command 169==
 
==Command 169==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' None
+
*'''Arguments:''' None
  
 
==Command 198==
 
==Command 198==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' 5143 10 6 339 237 423 333 1 10
+
*'''Arguments:''' 5143 10 6 339 237 423 333 1 10
  
 
This command is only used once.
 
This command is only used once.
  
 
==Command 199==
 
==Command 199==
'''Variable:''' No
+
*'''Variable:''' No
'''Arguments:''' None
+
*'''Arguments:''' None

Revision as of 07:43, 10 September 2008

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

This page contains, or will contain, a list of all known commands in Myst, as used in record types 5, 6, 7, 8, 10, 11, and 12. Specifics on the format itself can be found at Myst RLST resources. The way scripts are stored, they each contain a command number, a variable number, and any number of arguments. When a variable number is not given, a "0" is used. So when the key below says that the variable is "optional", that means that it has been found both with and without a variable being passed in. In some cases, the syntax of the arguments depends on whether a variable was passed in. In this case, the variable/arguments header is repeated for each form of the command.

Command 0

  • Variable: Optional
  • Arguments: None

Command 1

  • Variable: Optional
  • Arguments: u0
  • u0 takes on any number between 0 and 7 (maybe a bit field?)

Command 2: alternative destination

  • Variable: Yes
  • Arguments: dest

This command goes to dest instead of the regular destination if var is a certain (unknown) value. (Only used for SELEN 1240 and CHANNEL 3359)

Command 3

  • Variable: Yes
  • Arguments: u0
  • u0 is always 800, 801, or 802. (Only 5 different cases)

Command 4

  • Variable: Optional
  • Arguments: None

Command 6

  • Variable: Optional
  • Arguments: None

Command 7

  • Variable: Optional
  • Arguments: None

Command 8

  • Variable: Optional
  • Arguments: None

Command 9

  • Variable: No
  • Arguments: [u0]
  • u0 is always either FFFF or omitted.

Command 12

  • Variable: Optional
  • Arguments: u0

Related to command 13.

  • u0 appears to be a nearby node.

This may have similar function to command 2.

Command 13

  • Variable: Optional
  • Arguments: u0

Related to command 12.

  • u0 appears to be a nearby node.

This may have similar function to command 2.

Command 14

  • Variable: Optional
  • Arguments: u0
  • u0 is always 0, 1, or 2.

Command 15

  • Variable: Yes
  • Arguments: [u0]
  • u0 is always 0 or omitted.

Command 16

  • Variable: No
  • Arguments: u0 u1
  • u0 appears to be a nearby node.
  • u1 is always 0.

Command 17

  • Variable: No
  • Arguments: u0 u1
  • u0 appears to be a nearby node.
  • u1 is always 4, 5, or 6.

Command 18

  • Variable: No
  • Arguments: u0
  • u0 is always 4, 5, or 6.

Command 19

  • Variable: No
  • Arguments: count u0[count]
  • All of the u0 numbers are small (0-13, 21).

Command 20

  • Variable: No
  • Arguments: count u0[count]
  • All of the u0 numbers are small (0-13, 21). These, unlike command 19, can also be FFFF.

Command 21

  • Variable: No
  • Arguments: u0 u1 u2 u3 u4 u5

There are this command is used 6 times.

  • u0 is always 0, 74, 76, 117, or 198.
  • u1 is always 0, 48, 213, or 226.
  • u2 is always 327, 406, 429, 459, or 544.
  • u3 is always 257, 332, or 333.
  • u4 is always 0, 1, 5, 6, or 11.
  • u5 is always 5 or 25.

Command 22

  • Variable: No
  • Arguments: None

Command 23

  • Variable: No
  • Arguments: count u0[count]
  • The u0 numbers are all 0, 4, or 5.

Command 24

  • Variable: No
  • Arguments: u0
  • u0 appears to be a node number, but it sometimes has a different 1000's place digit (like the numbers in the VIEW resources).

Command 26

  • Variable: No
  • Arguments: None

Command 27

  • Variable: No
  • Arguments: u0
  • u0 appears to be a node number, but it sometimes has a different 1000's place digit (like the numbers in the VIEW resources).

Command 28

  • Variable: No
  • Arguments: (<l t r b>|FFFF)
  • <l t r b> often corresponds with the intended location of one of the sub-images in the VIEW resources.

Command 29

  • Variable: No
  • Arguments: node <l t r b> u0 u1
  • node appears to be a node number.
  • <l t r b> often corresponds with the intended location of one of the sub-images in the VIEW resources.
  • u0 appears to be a variable number (it is sometimes 0).
  • u1 may also be a variable number (it is sometimes 0, 1, or FFFF).

Command 30

  • Variable: No
  • Arguments: node flags
  • node looks like a node number.
  • flags looks like a bit field.

Command 31

  • Variable: Yes (only ever 30)
  • Arguments: u0 u1
  • u0 is always 0.
  • u1 looks like a node number.

Command 32

  • Variable: No
  • Arguments: None

Command 33

  • Variable: No
  • Arguments: node <l t r b> u0 u1
  • node appears to be a node number.
  • <l t r b> often corresponds with the intended location of one of the sub-images in the VIEW resources.
  • u0 appears to be a variable number (it is sometimes 0).
  • u1 may also be a variable number (it is sometimes 0).

Command 34

  • Variable: No
  • Arguments: u0 u1
  • u0 looks like a node number.
  • u1 is always 0, 1, 4, 5, 6, 9, 10, or 11.

Command 35

  • Variable: No
  • Arguments: u0 u1 u2
  • u0 looks like a node number.
  • u1 looks like a node number.
  • u2 is always 0, 6, or 10.

Command 36

  • Variable: No
  • Arguments: u0

This command is only used twice.

  • u0 is 900 or 903.

Command 37

  • Variable: No
  • Arguments: None

Command 38

  • Variable: No
  • Arguments: None

Command 39

  • Variable: No
  • Arguments: u0
  • u0 is 100, 200, 400, 500, 1000, or 1100.

Command 40

  • Variable: No
  • Arguments: u0 u1 u2
  • u0 is always 0, 1, 2, 3, 4, or 6.
  • u1 looks like a node number.
  • u2 looks like a node number.

Command 41

  • Variable: No
  • Arguments: u0 u1 u2 count u3[count]
  • u0 looks like a node number.
  • u1 looks like a node number.
  • u2 is always 5 or 10.
  • count is only ever 6 or 12.
  • u3 may be divided into groups of sixes.

Command 42

  • Variable: No
  • Arguments: u0 u1 count u2[count]
  • u0 looks like a node number.
  • u1 is always 5, 10, 15, or 20.
  • count is only ever 6 or 12.
  • u3 may be divided into groups of sixes.

Command 43

  • Variable: No
  • Arguments: None

Command 44

  • Variable: No
  • Arguments: None

Command 46

  • Variable: No
  • Arguments: None

Command 100

  • Variable: Optional
  • Arguments: [u0]
  • u0 is always 4, 6, or omitted.

Command 101

  • Variable: No
  • Arguments: [u0|u1[6]]
  • u0 is always 4225 or omitted.
  • u1 is a series of 6 positive numbers.

Command 102

  • Variable: No
  • Arguments: [u0 u1 [u2]]
  • u0 looks like a node number (or 0).
  • u1 looks like a node number.
  • u2 looks like an (optional) bit field. (only 0x64 or 0)

Command 103

  • Variable: Yes
  • Arguments: bit

This form of the command most likely negates bit bit of var.

  • bit is a power of 2 (bit mask).
  • Variable: No
  • Arguments: u0 [u1]

This form of the command is unknown.

  • u0 is a number between 13 and 18.
  • u1 is either 1 or omitted.

Command 104

  • Variable: No
  • Arguments: [u0]
  • u0 can be 0, 1, omitted, or 13 to 20.

Command 105

  • Variable: Optional (set to 9 at one point, but usually not)
  • Arguments: [u0]
  • u0 looks like a node number.

Command 106

  • Variable: 10
  • Arguments: 2287

This command is only used once.

Command 107

  • Variable: 11
  • Arguments: 2287

This command is only used once.

Command 108

  • Variable: 12
  • Arguments: 2287

This command is only used once.

Command 109

  • Variable: Optional
  • Arguments: [u0]
  • u0 is FFFF, 1, omitted, or 2287.

Command 110

  • Variable: No
  • Arguments: 1180 1179 12 203 78 345 167 6 10 203 166 345 306 5 10

This command is only used once.

Command 111

  • Variable: No
  • Arguments: [u0]
  • u0 is 14 to 20 or omitted.

Command 112

  • Variable: 29
  • Arguments: u0 u1 u2

This command is only used twice.

  • u0 is 0 or 1800.
  • u1 is 400 or 2000.
  • u2 is 1.

Command 113

  • Variable: No
  • Arguments: 5143 10 6 339 237 423 333 0 10

This command is only used once.

Command 114

  • Variable: No
  • Arguments: 5143 10 6 339 237 423 333 1 10

This command is only used once.

Command 115

  • Variable: Yes
  • Arguments: u0[3]
  • The u0 look like node numbers.
  • Variable: No
  • Arguments: 1139 1140 1140 10 6 204 64 343 279 6 50

This form of the command is only used once.

Command 116

  • Variable: No
  • Arguments: u0
  • u0 is 0, 1, or 6006.

Command 117

  • Variable: No
  • Arguments: [u0|u1 u2]
  • u0 is 0, 1, 2, 3, or omitted.
  • u1 and u2 are 5698 and 6698 (only used once).

Command 118

  • Variable: No
  • Arguments: [4707 5707 6707 7707 4705]

This command is only used twice (once with values and once omitted).

Command 119

  • Variable: No
  • Arguments: [u0]
  • u0 is 0, 1, or omitted.

Command 120

  • Variable: No
  • Arguments: [u0]
  • u0 is 0, 1, 2, 3, or omitted.

Command 121

  • Variable: Yes
  • Arguments: None
  • Variable: No
  • Arguments: u0 u1
  • u0 is 0 or a node number.
  • u1 is a node number.

Command 122

  • Variable: No
  • Arguments: None

Command 123

  • Variable: No
  • Arguments: u0 [u1]
  • u0 is 0, 1, or 960.
  • u1 is 960, 1920, or omitted.

Command 124

  • Variable: No
  • Arguments: None

Command 125

  • Variable: No
  • Arguments: None
  • Variable: 21
  • Arguments: u0
  • u0 is 13 or 14.

Command 126

  • Variable: No
  • Arguments: None

Command 127

  • Variable: no
  • Arguments: u0 u1
  • u0 is 1, 2, or 3.
  • u1 is 0 or 1.

Command 129

  • Variable: No
  • Arguments: u0
  • u0 looks like a node number.

Command 133

  • Variable: No
  • Arguments: 6500

This command is only used once.

Command 164

  • Variable: No
  • Arguments: None

Command 169

  • Variable: No
  • Arguments: None

Command 198

  • Variable: No
  • Arguments: 5143 10 6 339 237 423 333 1 10

This command is only used once.

Command 199

  • Variable: No
  • Arguments: None