<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://insidethelink.ortiche.net/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://insidethelink.ortiche.net/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Di+gama</id>
		<title>A look inside The Link @ wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://insidethelink.ortiche.net/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Di+gama"/>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Special:Contributions/Di_gama"/>
		<updated>2026-05-15T20:53:00Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.15</generator>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Myst_scripts</id>
		<title>Myst scripts</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Myst_scripts"/>
				<updated>2008-09-22T23:07:34Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: More coming (the 3xx are incorrect)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Myst}}&lt;br /&gt;
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. The script format always starts with an unsigned short representing the command count, and then per command has this structure:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||opcode&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||var&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||num_values&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||values[num_values]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;0&amp;quot; is used. So when the key below says that the variable is &amp;quot;optional&amp;quot;, 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.&lt;br /&gt;
&lt;br /&gt;
==Commands 0-99==&lt;br /&gt;
These are suspected to be general-purpose commands.&lt;br /&gt;
===Command 0===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
Seems to toggle a variable between 0 and 1. For example, see the marker switches on MYST island.&lt;br /&gt;
&lt;br /&gt;
===Command 1===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
Could mean &amp;quot;set variable to ''u0''&amp;quot;. ''u0'' takes on any number between 0 and 7 (maybe a bit field?)&lt;br /&gt;
&lt;br /&gt;
===Command 2: alternative destination===&lt;br /&gt;
*'''Variable:''' Yes&lt;br /&gt;
*'''Arguments:''' ''dest''&lt;br /&gt;
&lt;br /&gt;
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)&lt;br /&gt;
&lt;br /&gt;
===Command 3: change cursor===&lt;br /&gt;
*'''Variable:''' Yes&lt;br /&gt;
*'''Arguments:''' ''clrc_id''&lt;br /&gt;
&lt;br /&gt;
*''clrc_id'' is always 800, 801, or 802. (Only 5 different cases). These are the &amp;quot;animated&amp;quot; cursors of dropping the white, red, and blue pages, respectively.&lt;br /&gt;
&lt;br /&gt;
This command seems to change cursor to ''clrc_id'' if var is a certain (unknown) value.&lt;br /&gt;
&lt;br /&gt;
===Command 4===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 6===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 7===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 8===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 9===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always either ''FFFF'' or omitted.&lt;br /&gt;
&lt;br /&gt;
===Command 12===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
''Related to [[#Command 13|command 13]]''.&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a nearby card.&lt;br /&gt;
&lt;br /&gt;
This may have similar function to [[#Command 2|command 2]].&lt;br /&gt;
&lt;br /&gt;
===Command 13===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
''Related to [[#Command 12|command 12]]''.&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a nearby card.&lt;br /&gt;
&lt;br /&gt;
This may have similar function to [[#Command 2|command 2]].&lt;br /&gt;
&lt;br /&gt;
===Command 14===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 0, 1, or 2.&lt;br /&gt;
&lt;br /&gt;
===Command 15===&lt;br /&gt;
*'''Variable:''' Yes&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 0 or omitted.&lt;br /&gt;
&lt;br /&gt;
===Command 16===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a nearby card.&lt;br /&gt;
*''u1'' is always 0.&lt;br /&gt;
&lt;br /&gt;
===Command 17===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a nearby card.&lt;br /&gt;
*''u1'' is always 4, 5, or 6.&lt;br /&gt;
&lt;br /&gt;
===Command 18===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 4, 5, or 6.&lt;br /&gt;
&lt;br /&gt;
===Command 19: enable hotspots===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''count'' ''u0''[''count'']&lt;br /&gt;
&lt;br /&gt;
This seems to enable a list of hotspots. All of the ''u0'' numbers are small (0-13, 21).&lt;br /&gt;
&lt;br /&gt;
===Command 20: disable hotspots===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''count'' ''u0''[''count'']&lt;br /&gt;
&lt;br /&gt;
This seems to disable a list of hotspots. All of the ''u0'' numbers are small (0-13, 21). These, unlike [[#Command 19|command 19]], can also be -1, which seems to disable the invoking hotspot.&lt;br /&gt;
&lt;br /&gt;
===Command 21===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1'' ''u2'' ''u3'' ''u4'' ''u5''&lt;br /&gt;
&lt;br /&gt;
There are this command is used 6 times.&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 0, 74, 76, 117, or 198.&lt;br /&gt;
*''u1'' is always 0, 48, 213, or 226.&lt;br /&gt;
*''u2'' is always 327, 406, 429, 459, or 544.&lt;br /&gt;
*''u3'' is always 257, 332, or 333.&lt;br /&gt;
*''u4'' is always 0, 1, 5, 6, or 11.&lt;br /&gt;
*''u5'' is always 5 or 25.&lt;br /&gt;
&lt;br /&gt;
===Command 22===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 23===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''count'' ''u0''[''count'']&lt;br /&gt;
&lt;br /&gt;
*The ''u0'' numbers are all 0, 4, or 5.&lt;br /&gt;
&lt;br /&gt;
===Command 24===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a sound ID.&lt;br /&gt;
&lt;br /&gt;
===Command 26===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 27===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a sound ID.&lt;br /&gt;
&lt;br /&gt;
===Command 28===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' (&amp;lt;''l t r b''&amp;gt;|''FFFF'')&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;''l t r b''&amp;gt; often corresponds with the intended location of one of the sub-images in the VIEW resources.&lt;br /&gt;
&lt;br /&gt;
===Command 29===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''pict_id'' &amp;lt;''l t r b''&amp;gt; ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''pict_id'' appears to be a picture ID.&lt;br /&gt;
*&amp;lt;''l t r b''&amp;gt; often corresponds with the intended location of one of the sub-images in the VIEW resources.&lt;br /&gt;
*''u0'' appears to be a variable number (it is sometimes 0).&lt;br /&gt;
*''u1'' may also be a variable number (it is sometimes 0, 1, or -1).&lt;br /&gt;
&lt;br /&gt;
This command seems to copy picture ''pict_id'' over the hotspot, using &amp;lt;''l'' ''t'' ''r'' ''b''&amp;gt; as the source rect. Additional data is unknown.&lt;br /&gt;
&lt;br /&gt;
===Command 30===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' &amp;lt;''msnd_id'' ''flags''&amp;gt; [...]&lt;br /&gt;
&lt;br /&gt;
*''msnd_id'' looks like background sound ID to play.&lt;br /&gt;
*''flags'' looks like a bit field.&lt;br /&gt;
&lt;br /&gt;
Normally there is only one pair of above values, with a single exception: CHANNEL.3225 has 4 pairs.&lt;br /&gt;
&lt;br /&gt;
===Command 31===&lt;br /&gt;
*'''Variable:''' Yes (only ever 30)&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 0.&lt;br /&gt;
*''u1'' looks like a card ID.&lt;br /&gt;
&lt;br /&gt;
===Command 32===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 33===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''card'' &amp;lt;''l t r b''&amp;gt; ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''card'' appears to be a card ID.&lt;br /&gt;
*&amp;lt;''l t r b''&amp;gt; often corresponds with the intended location of one of the sub-images in the VIEW resources.&lt;br /&gt;
*''u0'' appears to be a variable number (it is sometimes 0).&lt;br /&gt;
*''u1'' may also be a variable number (it is sometimes 0).&lt;br /&gt;
&lt;br /&gt;
===Command 34===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a card ID.&lt;br /&gt;
*''u1'' is always 0, 1, 4, 5, 6, 9, 10, or 11.&lt;br /&gt;
&lt;br /&gt;
===Command 35===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1'' ''u2''&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a card ID.&lt;br /&gt;
*''u1'' looks like a card ID.&lt;br /&gt;
*''u2'' is always 0, 6, or 10.&lt;br /&gt;
&lt;br /&gt;
===Command 36===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
This command is only used twice.&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 900 or 903.&lt;br /&gt;
&lt;br /&gt;
===Command 37===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 38===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 39===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 100, 200, 400, 500, 1000, or 1100.&lt;br /&gt;
&lt;br /&gt;
===Command 40: travel to destination age===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''dst_age_id'' ''src_msnd_id'' ''dst_msnd_id''&lt;br /&gt;
&lt;br /&gt;
*''dst_age_id'' is one of 0 (selen), 1 (stone), 2 (myst), 3 (mechan), 4 (channel) or 6 (dunny).&lt;br /&gt;
*''src_msnd_id'' is a sound ID to play in source age.&lt;br /&gt;
*''dst_msnd_id'' is a sound ID to play in destination age.&lt;br /&gt;
&lt;br /&gt;
===Command 41===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1'' ''u2'' ''count'' ''u3''[''count'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a card ID.&lt;br /&gt;
*''u1'' looks like a sound ID.&lt;br /&gt;
*''u2'' is always 5 or 10.&lt;br /&gt;
*''count'' is only ever 6 or 12.&lt;br /&gt;
*''u3'' may be divided into groups of sixes.&lt;br /&gt;
&lt;br /&gt;
===Command 42===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1'' ''count'' ''u2''[''count'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a sound ID.&lt;br /&gt;
*''u1'' is always 5, 10, 15, or 20.&lt;br /&gt;
*''count'' is only ever 6 or 12.&lt;br /&gt;
*''u2'' may be divided into groups of sixes.&lt;br /&gt;
&lt;br /&gt;
===Command 43===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 44===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 46===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Commands 100-199==&lt;br /&gt;
These are suspected to be age-specific, as their syntax changes depending on the age.&lt;br /&gt;
===Command 100===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 4, 6, or omitted.&lt;br /&gt;
&lt;br /&gt;
===Command 101===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0''|''u1''[6]]&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 4225 or omitted.&lt;br /&gt;
*''u1'' is a series of 6 positive numbers.&lt;br /&gt;
&lt;br /&gt;
===Command 102===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0'' ''u1'' [''u2'']]&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a card ID (or 0).&lt;br /&gt;
*''u1'' looks like a card ID.&lt;br /&gt;
*''u2'' looks like an (optional) bit field. (only 0x64 or 0)&lt;br /&gt;
&lt;br /&gt;
===Command 103===&lt;br /&gt;
*'''Variable:''' Yes&lt;br /&gt;
*'''Arguments:''' ''bit''&lt;br /&gt;
&lt;br /&gt;
This form of the command most likely negates bit ''bit'' of ''var''.&lt;br /&gt;
&lt;br /&gt;
*''bit'' is a power of 2 (bit mask).&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' [''u1'']&lt;br /&gt;
&lt;br /&gt;
This form of the command likely makes specified hotspot drawable.&lt;br /&gt;
&lt;br /&gt;
*''u0'' is a number between 13 and 18. It seems to refer to a hotspot index (see stone 2197).&lt;br /&gt;
*''u1'' is either 1 or omitted.&lt;br /&gt;
&lt;br /&gt;
===Command 104===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
This command likely makes specified hotspot not drawable.&lt;br /&gt;
&lt;br /&gt;
*''u0'' can be 0, 1, omitted, or 13 to 20. It seems to refer to a hotspot index (see stone 2004 and 2197).&lt;br /&gt;
&lt;br /&gt;
===Command 105===&lt;br /&gt;
*'''Variable:''' Optional (set to 9 at one point, but usually not)&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a sound ID.&lt;br /&gt;
&lt;br /&gt;
===Command 106===&lt;br /&gt;
*'''Variable:''' 10&lt;br /&gt;
*'''Arguments:''' 2287 (looks like sound ID)&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
===Command 107===&lt;br /&gt;
*'''Variable:''' 11&lt;br /&gt;
*'''Arguments:''' 2287 (looks like sound ID)&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
===Command 108===&lt;br /&gt;
*'''Variable:''' 12&lt;br /&gt;
*'''Arguments:''' 2287 (looks like sound ID)&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
===Command 109===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is ''FFFF'', 1, omitted, or 2287 (looks like sound ID).&lt;br /&gt;
&lt;br /&gt;
===Command 110===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' 1180 1179 12 203 78 345 167 6 10 203 166 345 306 5 10&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
===Command 111===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
This command likely makes specified hotspot not drawable.&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 14 to 20 or omitted. It seems to refer to a hotspot index (see stone 2004).&lt;br /&gt;
&lt;br /&gt;
===Command 112===&lt;br /&gt;
*'''Variable:''' 29&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1'' ''u2''&lt;br /&gt;
&lt;br /&gt;
This command is only used twice.&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0 or 1800.&lt;br /&gt;
*''u1'' is 400 or 2000.&lt;br /&gt;
*''u2'' is 1.&lt;br /&gt;
&lt;br /&gt;
===Command 113===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' 5143 10 6 339 237 423 333 0 10&lt;br /&gt;
&lt;br /&gt;
This command is only used once. 5143 is likely sound ID.&lt;br /&gt;
&lt;br /&gt;
===Command 114===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' 5143 10 6 339 237 423 333 1 10&lt;br /&gt;
&lt;br /&gt;
This command is only used once. 5143 is likely sound ID.&lt;br /&gt;
&lt;br /&gt;
===Command 115===&lt;br /&gt;
*'''Variable:''' Yes&lt;br /&gt;
*'''Arguments:''' ''u0''[3]&lt;br /&gt;
&lt;br /&gt;
*The ''u0'' look like card ID's.&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' 1139 1140 1140 10 6 204 64 343 279 6 50&lt;br /&gt;
&lt;br /&gt;
This form of the command is only used once.&lt;br /&gt;
&lt;br /&gt;
===Command 116===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0, 1, or 6006.&lt;br /&gt;
&lt;br /&gt;
===Command 117===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0''|''u1'' ''u2'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0, 1, 2, 3, or omitted.&lt;br /&gt;
*''u1'' and ''u2'' are 5698 and 6698 (only used once).&lt;br /&gt;
&lt;br /&gt;
===Command 118===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [4707 5707 6707 7707 4705]&lt;br /&gt;
&lt;br /&gt;
This command is only used 3 times (once with values and twice omitted). Values are likely sound IDs.&lt;br /&gt;
&lt;br /&gt;
===Command 119===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0, 1, or omitted.&lt;br /&gt;
&lt;br /&gt;
===Command 120===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0, 1, 2, 3, or omitted.&lt;br /&gt;
&lt;br /&gt;
===Command 121===&lt;br /&gt;
*'''Variable:''' Yes&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0 or a card ID.&lt;br /&gt;
*''u1'' is a card ID.&lt;br /&gt;
&lt;br /&gt;
===Command 122===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 123===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' [''u1'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0, 1, or 960.&lt;br /&gt;
*''u1'' is 960, 1920, or omitted.&lt;br /&gt;
&lt;br /&gt;
===Command 124===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 125===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' 21&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 13 or 14.&lt;br /&gt;
&lt;br /&gt;
===Command 126===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 127===&lt;br /&gt;
*'''Variable:''' no&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 1, 2, or 3.&lt;br /&gt;
*''u1'' is 0 or 1.&lt;br /&gt;
&lt;br /&gt;
===Command 129===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a sound ID.&lt;br /&gt;
&lt;br /&gt;
===Command 133===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' 6500&lt;br /&gt;
&lt;br /&gt;
This command is only used once. Value is a sound ID.&lt;br /&gt;
&lt;br /&gt;
===Command 164===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 169===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 198===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' 5143 10 6 339 237 423 333 1 10&lt;br /&gt;
&lt;br /&gt;
This command is only used once. 5143 is likely a sound ID.&lt;br /&gt;
&lt;br /&gt;
===Command 199===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Commands 200-299==&lt;br /&gt;
These are only seen in the [[Myst INIT resources|INIT]] scripts.&lt;br /&gt;
===Command 200===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' DUNNY, INTRO, MECHAN, SELEN, STONE&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0 u1''[3]&lt;br /&gt;
*'''Seen:''' MYST&lt;br /&gt;
&lt;br /&gt;
*''u1'' appears to be three sound IDs.&lt;br /&gt;
&lt;br /&gt;
===Command 201===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' CHANNEL, INTRO, SELEN, STONE&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
*'''Seen:''' MYST&lt;br /&gt;
*''u0'' looks like a sound ID.&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' 0 4 5&lt;br /&gt;
*'''Seen:''' MECHAN&lt;br /&gt;
&lt;br /&gt;
===Command 202===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' MECHAN, SELEN, STONE&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' Yes&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' CHANNEL&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' 13&lt;br /&gt;
*'''Seen:''' MYST&lt;br /&gt;
&lt;br /&gt;
===Command 203===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' CHANNEL, MECHAN, MYST, SELEN&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''count'' ''u0''[''count''] ''u1''&lt;br /&gt;
*'''Seen:''' STONE&lt;br /&gt;
&lt;br /&gt;
*''u0'' look like node IDs.&lt;br /&gt;
*''u1'' looks like a sound ID.&lt;br /&gt;
&lt;br /&gt;
===Command 204===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' MYST, SELEN, STONE&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
*'''Seen:''' MECHAN&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a sound ID.&lt;br /&gt;
&lt;br /&gt;
===Command 205===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' MYST, SELEN&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''count'' ''u0''[''count''] ''u1''&lt;br /&gt;
*'''Seen:''' STONE&lt;br /&gt;
&lt;br /&gt;
*''u0'' look like node IDs.&lt;br /&gt;
*''u1'' looks like a sound ID.&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''[4]&lt;br /&gt;
*'''Seen:''' MECHAN&lt;br /&gt;
&lt;br /&gt;
*''u0'' look like sound IDs.&lt;br /&gt;
&lt;br /&gt;
===Command 206===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' MYST, SELEN, STONE&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''[6]&lt;br /&gt;
*'''Seen:''' MECHAN&lt;br /&gt;
&lt;br /&gt;
*''u0'' look like sound IDs.&lt;br /&gt;
&lt;br /&gt;
===Command 207===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' STONE&lt;br /&gt;
&lt;br /&gt;
===Command 208===&lt;br /&gt;
*'''Variable:''' Yes&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' MYST&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''[3]&lt;br /&gt;
*'''Seen:''' STONE&lt;br /&gt;
&lt;br /&gt;
===Command 209===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' &lt;br /&gt;
&lt;br /&gt;
===Command 210===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' &lt;br /&gt;
&lt;br /&gt;
===Command 211===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' &lt;br /&gt;
&lt;br /&gt;
===Command 212===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 213===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 214===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' &lt;br /&gt;
&lt;br /&gt;
===Command 215===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' &lt;br /&gt;
&lt;br /&gt;
===Command 216===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' &lt;br /&gt;
&lt;br /&gt;
===Command 217===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 218===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' &lt;br /&gt;
&lt;br /&gt;
===Command 219===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' &lt;br /&gt;
&lt;br /&gt;
===Command 220===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' &lt;br /&gt;
&lt;br /&gt;
===Command 221===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' &lt;br /&gt;
&lt;br /&gt;
===Command 222===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' &lt;br /&gt;
&lt;br /&gt;
==Commands 300-399&lt;br /&gt;
These are only seen in the [[Myst INIT resources|INIT]] scripts.&lt;br /&gt;
===Command 300===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' &lt;br /&gt;
&lt;br /&gt;
===Command 301===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' &lt;br /&gt;
&lt;br /&gt;
===Command 302===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' &lt;br /&gt;
&lt;br /&gt;
===Command 303===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' &lt;br /&gt;
&lt;br /&gt;
===Command 304===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 305===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' &lt;br /&gt;
&lt;br /&gt;
===Command 306===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' &lt;br /&gt;
&lt;br /&gt;
===Command 307===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' &lt;br /&gt;
&lt;br /&gt;
===Command 308===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' &lt;br /&gt;
&lt;br /&gt;
===Command 309===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:''' &lt;br /&gt;
&lt;br /&gt;
===Command 312===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
*'''Seen:'''&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Myst_scripts</id>
		<title>Myst scripts</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Myst_scripts"/>
				<updated>2008-09-22T20:41:09Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: command groupings&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Myst}}&lt;br /&gt;
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. The script format always starts with an unsigned short representing the command count, and then per command has this structure:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||opcode&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||var&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||num_values&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||values[num_values]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;0&amp;quot; is used. So when the key below says that the variable is &amp;quot;optional&amp;quot;, 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.&lt;br /&gt;
&lt;br /&gt;
==Commands 0-99==&lt;br /&gt;
These are suspected to be general-purpose commands.&lt;br /&gt;
===Command 0===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
Seems to toggle a variable between 0 and 1. For example, see the marker switches on MYST island.&lt;br /&gt;
&lt;br /&gt;
===Command 1===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
Could mean &amp;quot;set variable to ''u0''&amp;quot;. ''u0'' takes on any number between 0 and 7 (maybe a bit field?)&lt;br /&gt;
&lt;br /&gt;
===Command 2: alternative destination===&lt;br /&gt;
*'''Variable:''' Yes&lt;br /&gt;
*'''Arguments:''' ''dest''&lt;br /&gt;
&lt;br /&gt;
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)&lt;br /&gt;
&lt;br /&gt;
===Command 3: change cursor===&lt;br /&gt;
*'''Variable:''' Yes&lt;br /&gt;
*'''Arguments:''' ''clrc_id''&lt;br /&gt;
&lt;br /&gt;
*''clrc_id'' is always 800, 801, or 802. (Only 5 different cases). These are the &amp;quot;animated&amp;quot; cursors of dropping the white, red, and blue pages, respectively.&lt;br /&gt;
&lt;br /&gt;
This command seems to change cursor to ''clrc_id'' if var is a certain (unknown) value.&lt;br /&gt;
&lt;br /&gt;
===Command 4===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 6===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 7===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 8===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 9===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always either ''FFFF'' or omitted.&lt;br /&gt;
&lt;br /&gt;
===Command 12===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
''Related to [[#Command 13|command 13]]''.&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a nearby card.&lt;br /&gt;
&lt;br /&gt;
This may have similar function to [[#Command 2|command 2]].&lt;br /&gt;
&lt;br /&gt;
===Command 13===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
''Related to [[#Command 12|command 12]]''.&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a nearby card.&lt;br /&gt;
&lt;br /&gt;
This may have similar function to [[#Command 2|command 2]].&lt;br /&gt;
&lt;br /&gt;
===Command 14===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 0, 1, or 2.&lt;br /&gt;
&lt;br /&gt;
===Command 15===&lt;br /&gt;
*'''Variable:''' Yes&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 0 or omitted.&lt;br /&gt;
&lt;br /&gt;
===Command 16===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a nearby card.&lt;br /&gt;
*''u1'' is always 0.&lt;br /&gt;
&lt;br /&gt;
===Command 17===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a nearby card.&lt;br /&gt;
*''u1'' is always 4, 5, or 6.&lt;br /&gt;
&lt;br /&gt;
===Command 18===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 4, 5, or 6.&lt;br /&gt;
&lt;br /&gt;
===Command 19: enable hotspots===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''count'' ''u0''[''count'']&lt;br /&gt;
&lt;br /&gt;
This seems to enable a list of hotspots. All of the ''u0'' numbers are small (0-13, 21).&lt;br /&gt;
&lt;br /&gt;
===Command 20: disable hotspots===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''count'' ''u0''[''count'']&lt;br /&gt;
&lt;br /&gt;
This seems to disable a list of hotspots. All of the ''u0'' numbers are small (0-13, 21). These, unlike [[#Command 19|command 19]], can also be -1, which seems to disable the invoking hotspot.&lt;br /&gt;
&lt;br /&gt;
===Command 21===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1'' ''u2'' ''u3'' ''u4'' ''u5''&lt;br /&gt;
&lt;br /&gt;
There are this command is used 6 times.&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 0, 74, 76, 117, or 198.&lt;br /&gt;
*''u1'' is always 0, 48, 213, or 226.&lt;br /&gt;
*''u2'' is always 327, 406, 429, 459, or 544.&lt;br /&gt;
*''u3'' is always 257, 332, or 333.&lt;br /&gt;
*''u4'' is always 0, 1, 5, 6, or 11.&lt;br /&gt;
*''u5'' is always 5 or 25.&lt;br /&gt;
&lt;br /&gt;
===Command 22===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 23===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''count'' ''u0''[''count'']&lt;br /&gt;
&lt;br /&gt;
*The ''u0'' numbers are all 0, 4, or 5.&lt;br /&gt;
&lt;br /&gt;
===Command 24===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a sound ID.&lt;br /&gt;
&lt;br /&gt;
===Command 26===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 27===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a sound ID.&lt;br /&gt;
&lt;br /&gt;
===Command 28===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' (&amp;lt;''l t r b''&amp;gt;|''FFFF'')&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;''l t r b''&amp;gt; often corresponds with the intended location of one of the sub-images in the VIEW resources.&lt;br /&gt;
&lt;br /&gt;
===Command 29===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''pict_id'' &amp;lt;''l t r b''&amp;gt; ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''pict_id'' appears to be a picture ID.&lt;br /&gt;
*&amp;lt;''l t r b''&amp;gt; often corresponds with the intended location of one of the sub-images in the VIEW resources.&lt;br /&gt;
*''u0'' appears to be a variable number (it is sometimes 0).&lt;br /&gt;
*''u1'' may also be a variable number (it is sometimes 0, 1, or -1).&lt;br /&gt;
&lt;br /&gt;
This command seems to copy picture ''pict_id'' over the hotspot, using &amp;lt;''l'' ''t'' ''r'' ''b''&amp;gt; as the source rect. Additional data is unknown.&lt;br /&gt;
&lt;br /&gt;
===Command 30===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' &amp;lt;''msnd_id'' ''flags''&amp;gt; [...]&lt;br /&gt;
&lt;br /&gt;
*''msnd_id'' looks like background sound ID to play.&lt;br /&gt;
*''flags'' looks like a bit field.&lt;br /&gt;
&lt;br /&gt;
Normally there is only one pair of above values, with a single exception: CHANNEL.3225 has 4 pairs.&lt;br /&gt;
&lt;br /&gt;
===Command 31===&lt;br /&gt;
*'''Variable:''' Yes (only ever 30)&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 0.&lt;br /&gt;
*''u1'' looks like a card ID.&lt;br /&gt;
&lt;br /&gt;
===Command 32===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 33===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''card'' &amp;lt;''l t r b''&amp;gt; ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''card'' appears to be a card ID.&lt;br /&gt;
*&amp;lt;''l t r b''&amp;gt; often corresponds with the intended location of one of the sub-images in the VIEW resources.&lt;br /&gt;
*''u0'' appears to be a variable number (it is sometimes 0).&lt;br /&gt;
*''u1'' may also be a variable number (it is sometimes 0).&lt;br /&gt;
&lt;br /&gt;
===Command 34===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a card ID.&lt;br /&gt;
*''u1'' is always 0, 1, 4, 5, 6, 9, 10, or 11.&lt;br /&gt;
&lt;br /&gt;
===Command 35===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1'' ''u2''&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a card ID.&lt;br /&gt;
*''u1'' looks like a card ID.&lt;br /&gt;
*''u2'' is always 0, 6, or 10.&lt;br /&gt;
&lt;br /&gt;
===Command 36===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
This command is only used twice.&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 900 or 903.&lt;br /&gt;
&lt;br /&gt;
===Command 37===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 38===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 39===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 100, 200, 400, 500, 1000, or 1100.&lt;br /&gt;
&lt;br /&gt;
===Command 40: travel to destination age===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''dst_age_id'' ''src_msnd_id'' ''dst_msnd_id''&lt;br /&gt;
&lt;br /&gt;
*''dst_age_id'' is one of 0 (selen), 1 (stone), 2 (myst), 3 (mechan), 4 (channel) or 6 (dunny).&lt;br /&gt;
*''src_msnd_id'' is a sound ID to play in source age.&lt;br /&gt;
*''dst_msnd_id'' is a sound ID to play in destination age.&lt;br /&gt;
&lt;br /&gt;
===Command 41===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1'' ''u2'' ''count'' ''u3''[''count'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a card ID.&lt;br /&gt;
*''u1'' looks like a sound ID.&lt;br /&gt;
*''u2'' is always 5 or 10.&lt;br /&gt;
*''count'' is only ever 6 or 12.&lt;br /&gt;
*''u3'' may be divided into groups of sixes.&lt;br /&gt;
&lt;br /&gt;
===Command 42===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1'' ''count'' ''u2''[''count'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a sound ID.&lt;br /&gt;
*''u1'' is always 5, 10, 15, or 20.&lt;br /&gt;
*''count'' is only ever 6 or 12.&lt;br /&gt;
*''u2'' may be divided into groups of sixes.&lt;br /&gt;
&lt;br /&gt;
===Command 43===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 44===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 46===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Commands 100-199==&lt;br /&gt;
These are suspected to be age-specific, as their syntax changes depending on the age.&lt;br /&gt;
===Command 100===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 4, 6, or omitted.&lt;br /&gt;
&lt;br /&gt;
===Command 101===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0''|''u1''[6]]&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 4225 or omitted.&lt;br /&gt;
*''u1'' is a series of 6 positive numbers.&lt;br /&gt;
&lt;br /&gt;
===Command 102===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0'' ''u1'' [''u2'']]&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a card ID (or 0).&lt;br /&gt;
*''u1'' looks like a card ID.&lt;br /&gt;
*''u2'' looks like an (optional) bit field. (only 0x64 or 0)&lt;br /&gt;
&lt;br /&gt;
===Command 103===&lt;br /&gt;
*'''Variable:''' Yes&lt;br /&gt;
*'''Arguments:''' ''bit''&lt;br /&gt;
&lt;br /&gt;
This form of the command most likely negates bit ''bit'' of ''var''.&lt;br /&gt;
&lt;br /&gt;
*''bit'' is a power of 2 (bit mask).&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' [''u1'']&lt;br /&gt;
&lt;br /&gt;
This form of the command likely makes specified hotspot drawable.&lt;br /&gt;
&lt;br /&gt;
*''u0'' is a number between 13 and 18. It seems to refer to a hotspot index (see stone 2197).&lt;br /&gt;
*''u1'' is either 1 or omitted.&lt;br /&gt;
&lt;br /&gt;
===Command 104===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
This command likely makes specified hotspot not drawable.&lt;br /&gt;
&lt;br /&gt;
*''u0'' can be 0, 1, omitted, or 13 to 20. It seems to refer to a hotspot index (see stone 2004 and 2197).&lt;br /&gt;
&lt;br /&gt;
===Command 105===&lt;br /&gt;
*'''Variable:''' Optional (set to 9 at one point, but usually not)&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a sound ID.&lt;br /&gt;
&lt;br /&gt;
===Command 106===&lt;br /&gt;
*'''Variable:''' 10&lt;br /&gt;
*'''Arguments:''' 2287 (looks like sound ID)&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
===Command 107===&lt;br /&gt;
*'''Variable:''' 11&lt;br /&gt;
*'''Arguments:''' 2287 (looks like sound ID)&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
===Command 108===&lt;br /&gt;
*'''Variable:''' 12&lt;br /&gt;
*'''Arguments:''' 2287 (looks like sound ID)&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
===Command 109===&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is ''FFFF'', 1, omitted, or 2287 (looks like sound ID).&lt;br /&gt;
&lt;br /&gt;
===Command 110===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' 1180 1179 12 203 78 345 167 6 10 203 166 345 306 5 10&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
===Command 111===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
This command likely makes specified hotspot not drawable.&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 14 to 20 or omitted. It seems to refer to a hotspot index (see stone 2004).&lt;br /&gt;
&lt;br /&gt;
===Command 112===&lt;br /&gt;
*'''Variable:''' 29&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1'' ''u2''&lt;br /&gt;
&lt;br /&gt;
This command is only used twice.&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0 or 1800.&lt;br /&gt;
*''u1'' is 400 or 2000.&lt;br /&gt;
*''u2'' is 1.&lt;br /&gt;
&lt;br /&gt;
===Command 113===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' 5143 10 6 339 237 423 333 0 10&lt;br /&gt;
&lt;br /&gt;
This command is only used once. 5143 is likely sound ID.&lt;br /&gt;
&lt;br /&gt;
===Command 114===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' 5143 10 6 339 237 423 333 1 10&lt;br /&gt;
&lt;br /&gt;
This command is only used once. 5143 is likely sound ID.&lt;br /&gt;
&lt;br /&gt;
===Command 115===&lt;br /&gt;
*'''Variable:''' Yes&lt;br /&gt;
*'''Arguments:''' ''u0''[3]&lt;br /&gt;
&lt;br /&gt;
*The ''u0'' look like card ID's.&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' 1139 1140 1140 10 6 204 64 343 279 6 50&lt;br /&gt;
&lt;br /&gt;
This form of the command is only used once.&lt;br /&gt;
&lt;br /&gt;
===Command 116===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0, 1, or 6006.&lt;br /&gt;
&lt;br /&gt;
===Command 117===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0''|''u1'' ''u2'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0, 1, 2, 3, or omitted.&lt;br /&gt;
*''u1'' and ''u2'' are 5698 and 6698 (only used once).&lt;br /&gt;
&lt;br /&gt;
===Command 118===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [4707 5707 6707 7707 4705]&lt;br /&gt;
&lt;br /&gt;
This command is only used 3 times (once with values and twice omitted). Values are likely sound IDs.&lt;br /&gt;
&lt;br /&gt;
===Command 119===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0, 1, or omitted.&lt;br /&gt;
&lt;br /&gt;
===Command 120===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0, 1, 2, 3, or omitted.&lt;br /&gt;
&lt;br /&gt;
===Command 121===&lt;br /&gt;
*'''Variable:''' Yes&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0 or a card ID.&lt;br /&gt;
*''u1'' is a card ID.&lt;br /&gt;
&lt;br /&gt;
===Command 122===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 123===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' [''u1'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0, 1, or 960.&lt;br /&gt;
*''u1'' is 960, 1920, or omitted.&lt;br /&gt;
&lt;br /&gt;
===Command 124===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 125===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' 21&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 13 or 14.&lt;br /&gt;
&lt;br /&gt;
===Command 126===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 127===&lt;br /&gt;
*'''Variable:''' no&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 1, 2, or 3.&lt;br /&gt;
*''u1'' is 0 or 1.&lt;br /&gt;
&lt;br /&gt;
===Command 129===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a sound ID.&lt;br /&gt;
&lt;br /&gt;
===Command 133===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' 6500&lt;br /&gt;
&lt;br /&gt;
This command is only used once. Value is a sound ID.&lt;br /&gt;
&lt;br /&gt;
===Command 164===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 169===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
===Command 198===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' 5143 10 6 339 237 423 333 1 10&lt;br /&gt;
&lt;br /&gt;
This command is only used once. 5143 is likely a sound ID.&lt;br /&gt;
&lt;br /&gt;
===Command 199===&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Myst_scripts</id>
		<title>Myst scripts</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Myst_scripts"/>
				<updated>2008-09-10T06:43:26Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: oops, clarification&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Myst}}&lt;br /&gt;
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 &amp;quot;0&amp;quot; is used. So when the key below says that the variable is &amp;quot;optional&amp;quot;, 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.&lt;br /&gt;
&lt;br /&gt;
==Command 0==&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 1==&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' takes on any number between 0 and 7 (maybe a bit field?)&lt;br /&gt;
&lt;br /&gt;
==Command 2: alternative destination==&lt;br /&gt;
*'''Variable:''' Yes&lt;br /&gt;
*'''Arguments:''' ''dest''&lt;br /&gt;
&lt;br /&gt;
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)&lt;br /&gt;
&lt;br /&gt;
==Command 3==&lt;br /&gt;
*'''Variable:''' Yes&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 800, 801, or 802. (Only 5 different cases)&lt;br /&gt;
&lt;br /&gt;
==Command 4==&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 6==&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 7==&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 8==&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 9==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always either ''FFFF'' or omitted.&lt;br /&gt;
&lt;br /&gt;
==Command 12==&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
''Related to [[#Command 13|command 13]]''.&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a nearby node.&lt;br /&gt;
&lt;br /&gt;
This may have similar function to [[#Command 2|command 2]].&lt;br /&gt;
&lt;br /&gt;
==Command 13==&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
''Related to [[#Command 12|command 12]]''.&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a nearby node.&lt;br /&gt;
&lt;br /&gt;
This may have similar function to [[#Command 2|command 2]].&lt;br /&gt;
&lt;br /&gt;
==Command 14==&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 0, 1, or 2.&lt;br /&gt;
&lt;br /&gt;
==Command 15==&lt;br /&gt;
*'''Variable:''' Yes&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 0 or omitted.&lt;br /&gt;
&lt;br /&gt;
==Command 16==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a nearby node.&lt;br /&gt;
*''u1'' is always 0.&lt;br /&gt;
&lt;br /&gt;
==Command 17==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a nearby node.&lt;br /&gt;
*''u1'' is always 4, 5, or 6.&lt;br /&gt;
&lt;br /&gt;
==Command 18==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 4, 5, or 6.&lt;br /&gt;
&lt;br /&gt;
==Command 19==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''count'' ''u0''[''count'']&lt;br /&gt;
&lt;br /&gt;
*All of the ''u0'' numbers are small (0-13, 21).&lt;br /&gt;
&lt;br /&gt;
==Command 20==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''count'' ''u0''[''count'']&lt;br /&gt;
&lt;br /&gt;
*All of the ''u0'' numbers are small (0-13, 21). These, unlike [[#Command 19|command 19]], can also be ''FFFF''.&lt;br /&gt;
&lt;br /&gt;
==Command 21==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1'' ''u2'' ''u3'' ''u4'' ''u5''&lt;br /&gt;
&lt;br /&gt;
There are this command is used 6 times.&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 0, 74, 76, 117, or 198.&lt;br /&gt;
*''u1'' is always 0, 48, 213, or 226.&lt;br /&gt;
*''u2'' is always 327, 406, 429, 459, or 544.&lt;br /&gt;
*''u3'' is always 257, 332, or 333.&lt;br /&gt;
*''u4'' is always 0, 1, 5, 6, or 11.&lt;br /&gt;
*''u5'' is always 5 or 25.&lt;br /&gt;
&lt;br /&gt;
==Command 22==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 23==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''count'' ''u0''[''count'']&lt;br /&gt;
&lt;br /&gt;
*The ''u0'' numbers are all 0, 4, or 5.&lt;br /&gt;
&lt;br /&gt;
==Command 24==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a node number, but it sometimes has a different 1000's place digit (like the numbers in the VIEW resources).&lt;br /&gt;
&lt;br /&gt;
==Command 26==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 27==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a node number, but it sometimes has a different 1000's place digit (like the numbers in the VIEW resources).&lt;br /&gt;
&lt;br /&gt;
==Command 28==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' (&amp;lt;''l t r b''&amp;gt;|''FFFF'')&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;''l t r b''&amp;gt; often corresponds with the intended location of one of the sub-images in the VIEW resources.&lt;br /&gt;
&lt;br /&gt;
==Command 29==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''node'' &amp;lt;''l t r b''&amp;gt; ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''node'' appears to be a node number.&lt;br /&gt;
*&amp;lt;''l t r b''&amp;gt; often corresponds with the intended location of one of the sub-images in the VIEW resources.&lt;br /&gt;
*''u0'' appears to be a variable number (it is sometimes 0).&lt;br /&gt;
*''u1'' may also be a variable number (it is sometimes 0, 1, or ''FFFF'').&lt;br /&gt;
&lt;br /&gt;
==Command 30==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''node'' ''flags''&lt;br /&gt;
&lt;br /&gt;
*''node'' looks like a node number.&lt;br /&gt;
*''flags'' looks like a bit field.&lt;br /&gt;
&lt;br /&gt;
==Command 31==&lt;br /&gt;
*'''Variable:''' Yes (only ever 30)&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 0.&lt;br /&gt;
*''u1'' looks like a node number.&lt;br /&gt;
&lt;br /&gt;
==Command 32==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 33==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''node'' &amp;lt;''l t r b''&amp;gt; ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''node'' appears to be a node number.&lt;br /&gt;
*&amp;lt;''l t r b''&amp;gt; often corresponds with the intended location of one of the sub-images in the VIEW resources.&lt;br /&gt;
*''u0'' appears to be a variable number (it is sometimes 0).&lt;br /&gt;
*''u1'' may also be a variable number (it is sometimes 0).&lt;br /&gt;
&lt;br /&gt;
==Command 34==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a node number.&lt;br /&gt;
*''u1'' is always 0, 1, 4, 5, 6, 9, 10, or 11.&lt;br /&gt;
&lt;br /&gt;
==Command 35==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1'' ''u2''&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a node number.&lt;br /&gt;
*''u1'' looks like a node number.&lt;br /&gt;
*''u2'' is always 0, 6, or 10.&lt;br /&gt;
&lt;br /&gt;
==Command 36==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
This command is only used twice.&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 900 or 903.&lt;br /&gt;
&lt;br /&gt;
==Command 37==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 38==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 39==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 100, 200, 400, 500, 1000, or 1100.&lt;br /&gt;
&lt;br /&gt;
==Command 40==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1'' ''u2''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 0, 1, 2, 3, 4, or 6.&lt;br /&gt;
*''u1'' looks like a node number.&lt;br /&gt;
*''u2'' looks like a node number.&lt;br /&gt;
&lt;br /&gt;
==Command 41==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1'' ''u2'' ''count'' ''u3''[''count'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a node number.&lt;br /&gt;
*''u1'' looks like a node number.&lt;br /&gt;
*''u2'' is always 5 or 10.&lt;br /&gt;
*''count'' is only ever 6 or 12.&lt;br /&gt;
*''u3'' may be divided into groups of sixes.&lt;br /&gt;
&lt;br /&gt;
==Command 42==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1'' ''count'' ''u2''[''count'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a node number.&lt;br /&gt;
*''u1'' is always 5, 10, 15, or 20.&lt;br /&gt;
*''count'' is only ever 6 or 12.&lt;br /&gt;
*''u3'' may be divided into groups of sixes.&lt;br /&gt;
&lt;br /&gt;
==Command 43==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 44==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 46==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 100==&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 4, 6, or omitted.&lt;br /&gt;
&lt;br /&gt;
==Command 101==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0''|''u1''[6]]&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 4225 or omitted.&lt;br /&gt;
*''u1'' is a series of 6 positive numbers.&lt;br /&gt;
&lt;br /&gt;
==Command 102==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0'' ''u1'' [''u2'']]&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a node number (or 0).&lt;br /&gt;
*''u1'' looks like a node number.&lt;br /&gt;
*''u2'' looks like an (optional) bit field. (only 0x64 or 0)&lt;br /&gt;
&lt;br /&gt;
==Command 103==&lt;br /&gt;
*'''Variable:''' Yes&lt;br /&gt;
*'''Arguments:''' ''bit''&lt;br /&gt;
&lt;br /&gt;
This form of the command most likely negates bit ''bit'' of ''var''.&lt;br /&gt;
&lt;br /&gt;
*''bit'' is a power of 2 (bit mask).&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' [''u1'']&lt;br /&gt;
&lt;br /&gt;
This form of the command is unknown.&lt;br /&gt;
&lt;br /&gt;
*''u0'' is a number between 13 and 18.&lt;br /&gt;
*''u1'' is either 1 or omitted.&lt;br /&gt;
&lt;br /&gt;
==Command 104==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' can be 0, 1, omitted, or 13 to 20.&lt;br /&gt;
&lt;br /&gt;
==Command 105==&lt;br /&gt;
*'''Variable:''' Optional (set to 9 at one point, but usually not)&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a node number.&lt;br /&gt;
&lt;br /&gt;
==Command 106==&lt;br /&gt;
*'''Variable:''' 10&lt;br /&gt;
*'''Arguments:''' 2287&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
==Command 107==&lt;br /&gt;
*'''Variable:''' 11&lt;br /&gt;
*'''Arguments:''' 2287&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
==Command 108==&lt;br /&gt;
*'''Variable:''' 12&lt;br /&gt;
*'''Arguments:''' 2287&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
==Command 109==&lt;br /&gt;
*'''Variable:''' Optional&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is ''FFFF'', 1, omitted, or 2287.&lt;br /&gt;
&lt;br /&gt;
==Command 110==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' 1180 1179 12 203 78 345 167 6 10 203 166 345 306 5 10&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
==Command 111==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 14 to 20 or omitted.&lt;br /&gt;
&lt;br /&gt;
==Command 112==&lt;br /&gt;
*'''Variable:''' 29&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1'' ''u2''&lt;br /&gt;
&lt;br /&gt;
This command is only used twice.&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0 or 1800.&lt;br /&gt;
*''u1'' is 400 or 2000.&lt;br /&gt;
*''u2'' is 1.&lt;br /&gt;
&lt;br /&gt;
==Command 113==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' 5143 10 6 339 237 423 333 0 10&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
==Command 114==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' 5143 10 6 339 237 423 333 1 10&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
==Command 115==&lt;br /&gt;
*'''Variable:''' Yes&lt;br /&gt;
*'''Arguments:''' ''u0''[3]&lt;br /&gt;
&lt;br /&gt;
*The ''u0'' look like node numbers.&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' 1139 1140 1140 10 6 204 64 343 279 6 50&lt;br /&gt;
&lt;br /&gt;
This form of the command is only used once.&lt;br /&gt;
&lt;br /&gt;
==Command 116==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0, 1, or 6006.&lt;br /&gt;
&lt;br /&gt;
==Command 117==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0''|''u1'' ''u2'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0, 1, 2, 3, or omitted.&lt;br /&gt;
*''u1'' and ''u2'' are 5698 and 6698 (only used once).&lt;br /&gt;
&lt;br /&gt;
==Command 118==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [4707 5707 6707 7707 4705]&lt;br /&gt;
&lt;br /&gt;
This command is only used twice (once with values and once omitted).&lt;br /&gt;
&lt;br /&gt;
==Command 119==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0, 1, or omitted.&lt;br /&gt;
&lt;br /&gt;
==Command 120==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0, 1, 2, 3, or omitted.&lt;br /&gt;
&lt;br /&gt;
==Command 121==&lt;br /&gt;
*'''Variable:''' Yes&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0 or a node number.&lt;br /&gt;
*''u1'' is a node number.&lt;br /&gt;
&lt;br /&gt;
==Command 122==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 123==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0'' [''u1'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0, 1, or 960.&lt;br /&gt;
*''u1'' is 960, 1920, or omitted.&lt;br /&gt;
&lt;br /&gt;
==Command 124==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 125==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
*'''Variable:''' 21&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 13 or 14.&lt;br /&gt;
&lt;br /&gt;
==Command 126==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 127==&lt;br /&gt;
*'''Variable:''' no&lt;br /&gt;
*'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 1, 2, or 3.&lt;br /&gt;
*''u1'' is 0 or 1.&lt;br /&gt;
&lt;br /&gt;
==Command 129==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a node number.&lt;br /&gt;
&lt;br /&gt;
==Command 133==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' 6500&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
==Command 164==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 169==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 198==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' 5143 10 6 339 237 423 333 1 10&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
==Command 199==&lt;br /&gt;
*'''Variable:''' No&lt;br /&gt;
*'''Arguments:''' None&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Myst_scripts</id>
		<title>Myst scripts</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Myst_scripts"/>
				<updated>2008-09-10T06:27:12Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: Basic outline of every command (phew!)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Myst}}&lt;br /&gt;
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]].&lt;br /&gt;
&lt;br /&gt;
==Command 0==&lt;br /&gt;
'''Variable:''' Optional&lt;br /&gt;
'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 1==&lt;br /&gt;
'''Variable:''' Optional&lt;br /&gt;
'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' takes on any number between 0 and 7 (maybe a bit field?)&lt;br /&gt;
&lt;br /&gt;
==Command 2: alternative destination==&lt;br /&gt;
'''Variable:''' Yes&lt;br /&gt;
'''Arguments:''' ''dest''&lt;br /&gt;
&lt;br /&gt;
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)&lt;br /&gt;
&lt;br /&gt;
==Command 3==&lt;br /&gt;
'''Variable:''' Yes&lt;br /&gt;
'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 800, 801, or 802. (Only 5 different cases)&lt;br /&gt;
&lt;br /&gt;
==Command 4==&lt;br /&gt;
'''Variable:''' Optional&lt;br /&gt;
'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 6==&lt;br /&gt;
'''Variable:''' Optional&lt;br /&gt;
'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 7==&lt;br /&gt;
'''Variable:''' Optional&lt;br /&gt;
'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 8==&lt;br /&gt;
'''Variable:''' Optional&lt;br /&gt;
'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 9==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always either ''FFFF'' or omitted.&lt;br /&gt;
&lt;br /&gt;
==Command 12==&lt;br /&gt;
'''Variable:''' Optional&lt;br /&gt;
'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
''Related to [[#Command 13|command 13]]''.&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a nearby node.&lt;br /&gt;
&lt;br /&gt;
This may have similar function to [[#Command 2|command 2]].&lt;br /&gt;
&lt;br /&gt;
==Command 13==&lt;br /&gt;
'''Variable:''' Optional&lt;br /&gt;
'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
''Related to [[#Command 12|command 12]]''.&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a nearby node.&lt;br /&gt;
&lt;br /&gt;
This may have similar function to [[#Command 2|command 2]].&lt;br /&gt;
&lt;br /&gt;
==Command 14==&lt;br /&gt;
'''Variable:''' Optional&lt;br /&gt;
'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 0, 1, or 2.&lt;br /&gt;
&lt;br /&gt;
==Command 15==&lt;br /&gt;
'''Variable:''' Yes&lt;br /&gt;
'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 0 or omitted.&lt;br /&gt;
&lt;br /&gt;
==Command 16==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a nearby node.&lt;br /&gt;
*''u1'' is always 0.&lt;br /&gt;
&lt;br /&gt;
==Command 17==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a nearby node.&lt;br /&gt;
*''u1'' is always 4, 5, or 6.&lt;br /&gt;
&lt;br /&gt;
==Command 18==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 4, 5, or 6.&lt;br /&gt;
&lt;br /&gt;
==Command 19==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''count'' ''u0''[''count'']&lt;br /&gt;
&lt;br /&gt;
*All of the ''u0'' numbers are small (0-13, 21).&lt;br /&gt;
&lt;br /&gt;
==Command 20==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''count'' ''u0''[''count'']&lt;br /&gt;
&lt;br /&gt;
*All of the ''u0'' numbers are small (0-13, 21). These, unlike [[#Command 19|command 19]], can also be ''FFFF''.&lt;br /&gt;
&lt;br /&gt;
==Command 21==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''u0'' ''u1'' ''u2'' ''u3'' ''u4'' ''u5''&lt;br /&gt;
&lt;br /&gt;
There are this command is used 6 times.&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 0, 74, 76, 117, or 198.&lt;br /&gt;
*''u1'' is always 0, 48, 213, or 226.&lt;br /&gt;
*''u2'' is always 327, 406, 429, 459, or 544.&lt;br /&gt;
*''u3'' is always 257, 332, or 333.&lt;br /&gt;
*''u4'' is always 0, 1, 5, 6, or 11.&lt;br /&gt;
*''u5'' is always 5 or 25.&lt;br /&gt;
&lt;br /&gt;
==Command 22==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 23==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''count'' ''u0''[''count'']&lt;br /&gt;
&lt;br /&gt;
*The ''u0'' numbers are all 0, 4, or 5.&lt;br /&gt;
&lt;br /&gt;
==Command 24==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a node number, but it sometimes has a different 1000's place digit (like the numbers in the VIEW resources).&lt;br /&gt;
&lt;br /&gt;
==Command 26==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 27==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' appears to be a node number, but it sometimes has a different 1000's place digit (like the numbers in the VIEW resources).&lt;br /&gt;
&lt;br /&gt;
==Command 28==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' (&amp;lt;''l t r b''&amp;gt;|''FFFF'')&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;''l t r b''&amp;gt; often corresponds with the intended location of one of the sub-images in the VIEW resources.&lt;br /&gt;
&lt;br /&gt;
==Command 29==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''node'' &amp;lt;''l t r b''&amp;gt; ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''node'' appears to be a node number.&lt;br /&gt;
*&amp;lt;''l t r b''&amp;gt; often corresponds with the intended location of one of the sub-images in the VIEW resources.&lt;br /&gt;
*''u0'' appears to be a variable number (it is sometimes 0).&lt;br /&gt;
*''u1'' may also be a variable number (it is sometimes 0, 1, or FFFF).&lt;br /&gt;
&lt;br /&gt;
==Command 30==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''node'' ''flags''&lt;br /&gt;
&lt;br /&gt;
*''node'' looks like a node number.&lt;br /&gt;
*''flags'' looks like a bit field.&lt;br /&gt;
&lt;br /&gt;
==Command 31==&lt;br /&gt;
'''Variable:''' Yes (only ever 30)&lt;br /&gt;
'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 0.&lt;br /&gt;
*''u1'' looks like a node number.&lt;br /&gt;
&lt;br /&gt;
==Command 32==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 33==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''node'' &amp;lt;''l t r b''&amp;gt; ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''node'' appears to be a node number.&lt;br /&gt;
*&amp;lt;''l t r b''&amp;gt; often corresponds with the intended location of one of the sub-images in the VIEW resources.&lt;br /&gt;
*''u0'' appears to be a variable number (it is sometimes 0).&lt;br /&gt;
*''u1'' may also be a variable number (it is sometimes 0).&lt;br /&gt;
&lt;br /&gt;
==Command 34==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a node number.&lt;br /&gt;
*''u1'' is always 0, 1, 4, 5, 6, 9, 10, or 11.&lt;br /&gt;
&lt;br /&gt;
==Command 35==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''u0'' ''u1'' ''u2''&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a node number.&lt;br /&gt;
*''u1'' looks like a node number.&lt;br /&gt;
*''u2'' is always 0, 6, or 10.&lt;br /&gt;
&lt;br /&gt;
==Command 36==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
This command is only used twice.&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 900 or 903.&lt;br /&gt;
&lt;br /&gt;
==Command 37==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 38==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 39==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 100, 200, 400, 500, 1000, or 1100.&lt;br /&gt;
&lt;br /&gt;
==Command 40==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''u0'' ''u1'' ''u2''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 0, 1, 2, 3, 4, or 6.&lt;br /&gt;
*''u1'' looks like a node number.&lt;br /&gt;
*''u2'' looks like a node number.&lt;br /&gt;
&lt;br /&gt;
==Command 41==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''u0'' ''u1'' ''u2'' ''count'' ''u3''[''count'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a node number.&lt;br /&gt;
*''u1'' looks like a node number.&lt;br /&gt;
*''u2'' is always 5 or 10.&lt;br /&gt;
*''count'' is only ever 6 or 12.&lt;br /&gt;
*''u3'' may be divided into groups of sixes.&lt;br /&gt;
&lt;br /&gt;
==Command 42==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''u0'' ''u1'' ''count'' ''u2''[''count'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a node number.&lt;br /&gt;
*''u1'' is always 5, 10, 15, or 20.&lt;br /&gt;
*''count'' is only ever 6 or 12.&lt;br /&gt;
*''u3'' may be divided into groups of sixes.&lt;br /&gt;
&lt;br /&gt;
==Command 43==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 44==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 46==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 100==&lt;br /&gt;
'''Variable:''' Optional&lt;br /&gt;
'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 4, 6, or omitted.&lt;br /&gt;
&lt;br /&gt;
==Command 101==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' [''u0''|''u1''[6]]&lt;br /&gt;
&lt;br /&gt;
*''u0'' is always 4225 or omitted.&lt;br /&gt;
*''u1'' is a series of 6 positive numbers.&lt;br /&gt;
&lt;br /&gt;
==Command 102==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' [''u0'' ''u1'' [''u2'']]&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a node number (or 0).&lt;br /&gt;
*''u1'' looks like a node number.&lt;br /&gt;
*''u2'' looks like an (optional) bit field. (only 0x64 or 0)&lt;br /&gt;
&lt;br /&gt;
==Command 103==&lt;br /&gt;
'''Variable:''' Yes&lt;br /&gt;
'''Arguments:''' ''bit''&lt;br /&gt;
&lt;br /&gt;
This form of the command most likely negates bit ''bit'' of ''var''.&lt;br /&gt;
&lt;br /&gt;
*''bit'' is a power of 2 (bit mask).&lt;br /&gt;
&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''u0'' [''u1'']&lt;br /&gt;
&lt;br /&gt;
This form of the command is unknown.&lt;br /&gt;
&lt;br /&gt;
*''u0'' is a number between 13 and 18.&lt;br /&gt;
*''u1'' is either 1 or omitted.&lt;br /&gt;
&lt;br /&gt;
==Command 104==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' can be 0, 1, omitted, or 13 to 20.&lt;br /&gt;
&lt;br /&gt;
==Command 105==&lt;br /&gt;
'''Variable:''' Optional (set to 9 at one point, but usually not)&lt;br /&gt;
'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a node number.&lt;br /&gt;
&lt;br /&gt;
==Command 106==&lt;br /&gt;
'''Variable:''' 10&lt;br /&gt;
'''Arguments:''' 2287&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
==Command 107==&lt;br /&gt;
'''Variable:''' 11&lt;br /&gt;
'''Arguments:''' 2287&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
==Command 108==&lt;br /&gt;
'''Variable:''' 12&lt;br /&gt;
'''Arguments:''' 2287&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
==Command 109==&lt;br /&gt;
'''Variable:''' Optional&lt;br /&gt;
'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is FFFF, 1, omitted, or 2287.&lt;br /&gt;
&lt;br /&gt;
==Command 110==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' 1180 1179 12 203 78 345 167 6 10 203 166 345 306 5 10&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
==Command 111==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 14 to 20 or omitted.&lt;br /&gt;
&lt;br /&gt;
==Command 112==&lt;br /&gt;
'''Variable:''' 29&lt;br /&gt;
'''Arguments:''' ''u0'' ''u1'' ''u2''&lt;br /&gt;
&lt;br /&gt;
This command is only used twice.&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0 or 1800.&lt;br /&gt;
*''u1'' is 400 or 2000.&lt;br /&gt;
*''u2'' is 1.&lt;br /&gt;
&lt;br /&gt;
==Command 113==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' 5143 10 6 339 237 423 333 0 10&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
==Command 114==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' 5143 10 6 339 237 423 333 1 10&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
==Command 115==&lt;br /&gt;
'''Variable:''' Yes&lt;br /&gt;
'''Arguments:''' ''u0''[3]&lt;br /&gt;
&lt;br /&gt;
*The ''u0'' look like node numbers.&lt;br /&gt;
&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' 1139 1140 1140 10 6 204 64 343 279 6 50&lt;br /&gt;
&lt;br /&gt;
This form of the command is only used once.&lt;br /&gt;
&lt;br /&gt;
==Command 116==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0, 1, or 6006.&lt;br /&gt;
&lt;br /&gt;
==Command 117==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' [''u0''|''u1'' ''u2'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0, 1, 2, 3, or omitted.&lt;br /&gt;
*''u1'' and ''u2'' are 5698 and 6698 (only used once).&lt;br /&gt;
&lt;br /&gt;
==Command 118==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' [4707 5707 6707 7707 4705]&lt;br /&gt;
&lt;br /&gt;
This command is only used twice (once with values and once omitted).&lt;br /&gt;
&lt;br /&gt;
==Command 119==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0, 1, or omitted.&lt;br /&gt;
&lt;br /&gt;
==Command 120==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' [''u0'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0, 1, 2, 3, or omitted.&lt;br /&gt;
&lt;br /&gt;
==Command 121==&lt;br /&gt;
'''Variable:''' Yes&lt;br /&gt;
'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0 or a node number.&lt;br /&gt;
*''u1'' is a node number.&lt;br /&gt;
&lt;br /&gt;
==Command 122==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 123==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''u0'' [''u1'']&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 0, 1, or 960.&lt;br /&gt;
*''u1'' is 960, 1920, or omitted.&lt;br /&gt;
&lt;br /&gt;
==Command 124==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 125==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
'''Variable:''' 21&lt;br /&gt;
'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 13 or 14.&lt;br /&gt;
&lt;br /&gt;
==Command 126==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 127==&lt;br /&gt;
'''Variable:''' no&lt;br /&gt;
'''Arguments:''' ''u0'' ''u1''&lt;br /&gt;
&lt;br /&gt;
*''u0'' is 1, 2, or 3.&lt;br /&gt;
*''u1'' is 0 or 1.&lt;br /&gt;
&lt;br /&gt;
==Command 129==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
*''u0'' looks like a node number.&lt;br /&gt;
&lt;br /&gt;
==Command 133==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' 6500&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
==Command 164==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 169==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' None&lt;br /&gt;
&lt;br /&gt;
==Command 198==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' 5143 10 6 339 237 423 333 1 10&lt;br /&gt;
&lt;br /&gt;
This command is only used once.&lt;br /&gt;
&lt;br /&gt;
==Command 199==&lt;br /&gt;
'''Variable:''' No&lt;br /&gt;
'''Arguments:''' None&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Myst_scripts</id>
		<title>Myst scripts</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Myst_scripts"/>
				<updated>2008-09-09T18:35:51Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: stub (the commands are correct though)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Myst}}&lt;br /&gt;
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]].&lt;br /&gt;
&lt;br /&gt;
==Command 0==&lt;br /&gt;
&lt;br /&gt;
==Command 1==&lt;br /&gt;
&lt;br /&gt;
==Command 2==&lt;br /&gt;
&lt;br /&gt;
==Command 3==&lt;br /&gt;
&lt;br /&gt;
==Command 4==&lt;br /&gt;
&lt;br /&gt;
==Command 6==&lt;br /&gt;
&lt;br /&gt;
==Command 7==&lt;br /&gt;
&lt;br /&gt;
==Command 8==&lt;br /&gt;
&lt;br /&gt;
==Command 9==&lt;br /&gt;
&lt;br /&gt;
==Command 12==&lt;br /&gt;
&lt;br /&gt;
==Command 13==&lt;br /&gt;
&lt;br /&gt;
==Command 14==&lt;br /&gt;
&lt;br /&gt;
==Command 15==&lt;br /&gt;
&lt;br /&gt;
==Command 16==&lt;br /&gt;
&lt;br /&gt;
==Command 17==&lt;br /&gt;
&lt;br /&gt;
==Command 18==&lt;br /&gt;
&lt;br /&gt;
==Command 19==&lt;br /&gt;
&lt;br /&gt;
==Command 20==&lt;br /&gt;
&lt;br /&gt;
==Command 21==&lt;br /&gt;
&lt;br /&gt;
==Command 22==&lt;br /&gt;
&lt;br /&gt;
==Command 23==&lt;br /&gt;
&lt;br /&gt;
==Command 24==&lt;br /&gt;
&lt;br /&gt;
==Command 26==&lt;br /&gt;
&lt;br /&gt;
==Command 27==&lt;br /&gt;
&lt;br /&gt;
==Command 28==&lt;br /&gt;
&lt;br /&gt;
==Command 29==&lt;br /&gt;
&lt;br /&gt;
==Command 30==&lt;br /&gt;
&lt;br /&gt;
==Command 31==&lt;br /&gt;
&lt;br /&gt;
==Command 32==&lt;br /&gt;
&lt;br /&gt;
==Command 33==&lt;br /&gt;
&lt;br /&gt;
==Command 34==&lt;br /&gt;
&lt;br /&gt;
==Command 35==&lt;br /&gt;
&lt;br /&gt;
==Command 36==&lt;br /&gt;
&lt;br /&gt;
==Command 37==&lt;br /&gt;
&lt;br /&gt;
==Command 38==&lt;br /&gt;
&lt;br /&gt;
==Command 39==&lt;br /&gt;
&lt;br /&gt;
==Command 40==&lt;br /&gt;
&lt;br /&gt;
==Command 41==&lt;br /&gt;
&lt;br /&gt;
==Command 42==&lt;br /&gt;
&lt;br /&gt;
==Command 43==&lt;br /&gt;
&lt;br /&gt;
==Command 44==&lt;br /&gt;
&lt;br /&gt;
==Command 46==&lt;br /&gt;
&lt;br /&gt;
==Command 100==&lt;br /&gt;
&lt;br /&gt;
==Command 101==&lt;br /&gt;
&lt;br /&gt;
==Command 102==&lt;br /&gt;
&lt;br /&gt;
==Command 103==&lt;br /&gt;
&lt;br /&gt;
==Command 104==&lt;br /&gt;
&lt;br /&gt;
==Command 105==&lt;br /&gt;
&lt;br /&gt;
==Command 106==&lt;br /&gt;
&lt;br /&gt;
==Command 107==&lt;br /&gt;
&lt;br /&gt;
==Command 108==&lt;br /&gt;
&lt;br /&gt;
==Command 109==&lt;br /&gt;
&lt;br /&gt;
==Command 110==&lt;br /&gt;
&lt;br /&gt;
==Command 111==&lt;br /&gt;
&lt;br /&gt;
==Command 112==&lt;br /&gt;
&lt;br /&gt;
==Command 113==&lt;br /&gt;
&lt;br /&gt;
==Command 114==&lt;br /&gt;
&lt;br /&gt;
==Command 115==&lt;br /&gt;
&lt;br /&gt;
==Command 116==&lt;br /&gt;
&lt;br /&gt;
==Command 117==&lt;br /&gt;
&lt;br /&gt;
==Command 118==&lt;br /&gt;
&lt;br /&gt;
==Command 119==&lt;br /&gt;
&lt;br /&gt;
==Command 120==&lt;br /&gt;
&lt;br /&gt;
==Command 121==&lt;br /&gt;
&lt;br /&gt;
==Command 122==&lt;br /&gt;
&lt;br /&gt;
==Command 123==&lt;br /&gt;
&lt;br /&gt;
==Command 124==&lt;br /&gt;
&lt;br /&gt;
==Command 125==&lt;br /&gt;
&lt;br /&gt;
==Command 126==&lt;br /&gt;
&lt;br /&gt;
==Command 127==&lt;br /&gt;
&lt;br /&gt;
==Command 129==&lt;br /&gt;
&lt;br /&gt;
==Command 133==&lt;br /&gt;
&lt;br /&gt;
==Command 164==&lt;br /&gt;
&lt;br /&gt;
==Command 169==&lt;br /&gt;
&lt;br /&gt;
==Command 198==&lt;br /&gt;
&lt;br /&gt;
==Command 199==&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Template:Myst</id>
		<title>Template:Myst</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Template:Myst"/>
				<updated>2008-09-09T17:54:44Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: scripts&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;toc&amp;quot; align=&amp;quot;right&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|colspan=4|'''&amp;lt;big&amp;gt;Myst&amp;lt;/big&amp;gt;'''&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2|[[Mohawk archive format|Mohawk]]&lt;br /&gt;
|colspan=2|[[Myst engine overview|Overview]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Myst CLRC resources|CLRC]]&lt;br /&gt;
|[[Myst EXIT resources|EXIT]]&lt;br /&gt;
|[[Myst HINT resources|HINT]]&lt;br /&gt;
|[[Myst INIT resources|INIT]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Myst MJMP resources|MJMP]]&lt;br /&gt;
|[[Myst MSND resources|MSND]]&lt;br /&gt;
|[[Myst PICT resources|PICT]]&lt;br /&gt;
|[[Myst RLST resources|RLST]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Myst VIEW resources|VIEW]]&lt;br /&gt;
|[[Myst WDIB resources|WDIB]]&lt;br /&gt;
|[[Myst HELP resources|HELP]]&lt;br /&gt;
|[[Myst RSFL resources|RSFL]]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2|[[Myst scripts|Scripts]]&lt;br /&gt;
|colspan=2|[[Myst variables|Variables]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Myst_RLST_resources</id>
		<title>Myst RLST resources</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Myst_RLST_resources"/>
				<updated>2008-09-09T16:20:55Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: /* Intro Case Study */ cleaned up with new info&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Myst}}&lt;br /&gt;
&lt;br /&gt;
These seem to contain Myst's hotspot data.&lt;br /&gt;
&lt;br /&gt;
There are the same number of RLST and [[Myst_VIEW_resources|VIEW]] resources in all Myst packages and we suspect RLST resources are associated with their cards by sharing the ID with the corresponding VIEW, similarly to what happens in Riven with CARDs and HSPTs.&lt;br /&gt;
&lt;br /&gt;
The data represents a list of records, each record describing one of the hotspots:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||record_count&lt;br /&gt;
|-&lt;br /&gt;
|variable||records&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The record content and length seems to depend on the leading fields of the record. However, there seems to be a common structure:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||action&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||flags&lt;br /&gt;
|-&lt;br /&gt;
|short||left&lt;br /&gt;
|-&lt;br /&gt;
|short||top&lt;br /&gt;
|-&lt;br /&gt;
|short||right&lt;br /&gt;
|-&lt;br /&gt;
|short||bottom&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||destination&lt;br /&gt;
|-&lt;br /&gt;
|variable||additional data&lt;br /&gt;
|}&lt;br /&gt;
*''action'' seems to specify the hotspot action in a wide sense. Every value between 0 and 14 except for 9 has been observed. Low values (under 5) seem associated with &amp;quot;simple&amp;quot; hotspots that usually just change card. Higher values indicate complex actions (movies, picking up pages etc.)&lt;br /&gt;
*''flags'' seems to be a bit field. Observed values are 0, 1, 2, 3, 5, 6 and 8. Bit 3 is suspected to flag Zip Mode hotspots.&lt;br /&gt;
*The following 4 fields define the hotspot rectangle. Note that &amp;quot;weird&amp;quot; rectangles are found, like (-32000, -32000, 32000, 32000).&lt;br /&gt;
*''destination'' contains a destination card ID for hotspots that change card, or zero.&lt;br /&gt;
*Additional data follows when ''action'' &amp;gt; 3 (complex hotspots), clearly representing lists of actions to perform. We have yet to figure out how to calculate the length of those complex records.&lt;br /&gt;
&lt;br /&gt;
====Case studies====&lt;br /&gt;
Note: these are simply the data in little-endian shorts and line-broken where patterns are found. &amp;lt;l t b r&amp;gt; is the hotspot rect. count [entry]... are guesses at when there are lists of entries. The number in parentheses before the data is the card number (not the resource number).&lt;br /&gt;
&lt;br /&gt;
The following hotspots replace part of the image (in this case &amp;lt;417 260 544 333&amp;gt;) with part of another image (in this case 3004 &amp;lt;0 0 127 73&amp;gt;) based on a variable (103 2 plays in here somewhere):&lt;br /&gt;
 8 1 &amp;lt; 31 276 163 333&amp;gt; 0 FFFF 0 103 2 3006 &amp;lt;0 0 132 57&amp;gt; 3005 FFFF&lt;br /&gt;
 8 1 &amp;lt;417 260 544 333&amp;gt; 0 FFFF 0 103 2 3004 &amp;lt;0 0 127 73&amp;gt; 3003 FFFF&lt;br /&gt;
&lt;br /&gt;
Case studies from Channelwood:&lt;br /&gt;
 (CHANNEL 3001) 2&lt;br /&gt;
 1 2   &amp;lt;1 0 110 332&amp;gt; 3002&lt;br /&gt;
 2 2 &amp;lt;455 2 544 332&amp;gt; 3003&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3002) 2&lt;br /&gt;
 1 2   &amp;lt;0 1 100 332&amp;gt; 3005&lt;br /&gt;
 2 2 &amp;lt;431 0 544 332&amp;gt; 3001&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3003) 4&lt;br /&gt;
 5 2 &amp;lt;213 90 343 290&amp;gt; 3494 2 [6 0 0] [24 0 1 {3494}] (the door)&lt;br /&gt;
 1 2 &amp;lt;0 0 81 332&amp;gt; 3001 (left)&lt;br /&gt;
 2 2 &amp;lt;463 0 544 332&amp;gt; 3005 (right)&lt;br /&gt;
 8 1 &amp;lt;417 260 544 333&amp;gt; 0 FFFF 0 103 2 [3004 &amp;lt;0 0 127 73&amp;gt;] [3003 &amp;lt;FFFF&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3005) 4&lt;br /&gt;
 0 2 &amp;lt;76 152 196 330&amp;gt; 3012&lt;br /&gt;
 1 2  &amp;lt;0   0 106 332&amp;gt; 3003&lt;br /&gt;
 2 2 &amp;lt;438  0 544 332&amp;gt; 3002&lt;br /&gt;
 8 1 &amp;lt;31 276 163 333&amp;gt; 0 FFFF 0 103 2 [3006 &amp;lt;0 0 132 57&amp;gt;] [3005 &amp;lt;FFFF&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3012) 8&lt;br /&gt;
 8 3 &amp;lt;101 243 214 343&amp;gt; 0 FFFF 1 5 (1 [3 103 1 {802}]) 103 2 [3013 &amp;lt;0 0 113 100&amp;gt;] [3012 &amp;lt;FFFF&amp;gt;]&lt;br /&gt;
 5 2 &amp;lt;255 193 269 208&amp;gt; 0 1 [117 0 1 {0}]&lt;br /&gt;
 5 2 &amp;lt;268 193 282 208&amp;gt; 0 1 [117 0 1 {1}]&lt;br /&gt;
 5 2 &amp;lt;281 193 295 208&amp;gt; 0 1 [117 0 1 {2}]&lt;br /&gt;
 5 2 &amp;lt;294 193 308 208&amp;gt; 0 1 [117 0 1 {3}]&lt;br /&gt;
 8 1 &amp;lt;252 190 310 210&amp;gt; 0 FFFF 0 17 4 [3008 &amp;lt;0 0 58 20&amp;gt;] [3009 &amp;lt;0 0 58 20&amp;gt;] [3010 &amp;lt;0 0 58 20&amp;gt;] [3011 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
 0 4 &amp;lt;180 31 379 305&amp;gt; 0&lt;br /&gt;
 5 2 &amp;lt;0 0 544 332&amp;gt; 0 1 [34 0 2 {3005 0}]&lt;br /&gt;
&lt;br /&gt;
 (MYST 4368) 3&lt;br /&gt;
 8 3 &amp;lt;305 148 375 238&amp;gt; 0 FFFF 1 5 (1 [3 103 1 {802}]) 103 2 [FFFF &amp;lt;FFFF&amp;gt;] [4369 &amp;lt;0 0 70 90&amp;gt;]&lt;br /&gt;
 7 2 &amp;lt;216 110 304 235&amp;gt; 0 106 5&lt;br /&gt;
   5 (1 [115 101 3 {4741 4370 4368}])&lt;br /&gt;
   5 (1 [115 101 3 {4741 4370 4368}])&lt;br /&gt;
   5 (1 [115 101 3 {4741 4370 4368}])&lt;br /&gt;
   5 (1 [115 101 3 {4741 4370 4368}])&lt;br /&gt;
   5 (0)&lt;br /&gt;
 0 2 &amp;lt;0 0 544 332&amp;gt; 4345&lt;br /&gt;
&lt;br /&gt;
==== Intro Case Study ====&lt;br /&gt;
See a bit below for where the game starts, INTRO 0. Here's INTRO 1, because it's more deciphered than that.&lt;br /&gt;
&lt;br /&gt;
 (INTRO 1) 1&lt;br /&gt;
 5 2 &amp;lt;245 202 304 253&amp;gt; 4 2 [37 0 0] [34 0 2 {3 11}]&lt;br /&gt;
&lt;br /&gt;
INTRO 1 is the first interactive part of the game, the part where you can pick up the Myst book. The rect correctly corresponds to where the book is on screen. But, look at the &amp;quot;destination&amp;quot; -- 4. There is no VIEW/RLST 4! However, there is a WDIB 4 and it is the open book with the water. Where this ''should'' go is to card 3 and show the Myst book cover before showing image 4 and then playing the video. And, there is a 3 in this chunk, but I'm not sure if that's the purpose. I have no idea what commands 37/34 could be. There is a WDIB 11, but it's of D'ni, so I doubt it's that. ;)&lt;br /&gt;
&lt;br /&gt;
 (INTRO 2) 2&lt;br /&gt;
 0 2 &amp;lt;-32000 -32000 32000 32000&amp;gt; 5&lt;br /&gt;
 6 0 &amp;lt;312 70 441 159&amp;gt; 0 0 &amp;quot;\qtw\intro\intro2&amp;quot; 0x2848 0x2756 0 1 0 0 0&lt;br /&gt;
&lt;br /&gt;
Note that this one has a string for the video (null-terminated). This obviously calls that video which is the Myst fly-by for the linking book. And, that rect perfectly matches where the video should be displayed on screen. However, this also clearly breaks the format specified above for &amp;quot;type 2 hotspots&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
WDIB 3 is the cover of the Myst linking book. But, this doesn't match up with the video mentioned here which should be for WDIB 4 (or 10, they are identical)(the open linking book with the water image) and eventually ending at WDIB 12 (the open linking book with the dock image). The 5 after the very large numbers is the target card for the open linking book which seems correct. 0x2848 is 10,312 and 0x2756 is 10,070. The rate of the audio is 11,025. Not sure if this has any correlation.&lt;br /&gt;
&lt;br /&gt;
 (INTRO 0) 1&lt;br /&gt;
 0 2 &amp;lt;-32000 -32000 32000 32000&amp;gt; 5&lt;br /&gt;
&lt;br /&gt;
This is the same as the first record of INTRO 2. My guess is that this is some sort of call to an external command. INTRO 0 is supposed to be the card which shows the opening movies and then switches to card 2.&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Myst_RLST_resources</id>
		<title>Myst RLST resources</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Myst_RLST_resources"/>
				<updated>2008-09-09T16:17:52Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: /* Case studies */ cleaned up using new information&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Myst}}&lt;br /&gt;
&lt;br /&gt;
These seem to contain Myst's hotspot data.&lt;br /&gt;
&lt;br /&gt;
There are the same number of RLST and [[Myst_VIEW_resources|VIEW]] resources in all Myst packages and we suspect RLST resources are associated with their cards by sharing the ID with the corresponding VIEW, similarly to what happens in Riven with CARDs and HSPTs.&lt;br /&gt;
&lt;br /&gt;
The data represents a list of records, each record describing one of the hotspots:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||record_count&lt;br /&gt;
|-&lt;br /&gt;
|variable||records&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The record content and length seems to depend on the leading fields of the record. However, there seems to be a common structure:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||action&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||flags&lt;br /&gt;
|-&lt;br /&gt;
|short||left&lt;br /&gt;
|-&lt;br /&gt;
|short||top&lt;br /&gt;
|-&lt;br /&gt;
|short||right&lt;br /&gt;
|-&lt;br /&gt;
|short||bottom&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||destination&lt;br /&gt;
|-&lt;br /&gt;
|variable||additional data&lt;br /&gt;
|}&lt;br /&gt;
*''action'' seems to specify the hotspot action in a wide sense. Every value between 0 and 14 except for 9 has been observed. Low values (under 5) seem associated with &amp;quot;simple&amp;quot; hotspots that usually just change card. Higher values indicate complex actions (movies, picking up pages etc.)&lt;br /&gt;
*''flags'' seems to be a bit field. Observed values are 0, 1, 2, 3, 5, 6 and 8. Bit 3 is suspected to flag Zip Mode hotspots.&lt;br /&gt;
*The following 4 fields define the hotspot rectangle. Note that &amp;quot;weird&amp;quot; rectangles are found, like (-32000, -32000, 32000, 32000).&lt;br /&gt;
*''destination'' contains a destination card ID for hotspots that change card, or zero.&lt;br /&gt;
*Additional data follows when ''action'' &amp;gt; 3 (complex hotspots), clearly representing lists of actions to perform. We have yet to figure out how to calculate the length of those complex records.&lt;br /&gt;
&lt;br /&gt;
====Case studies====&lt;br /&gt;
Note: these are simply the data in little-endian shorts and line-broken where patterns are found. &amp;lt;l t b r&amp;gt; is the hotspot rect. count [entry]... are guesses at when there are lists of entries. The number in parentheses before the data is the card number (not the resource number).&lt;br /&gt;
&lt;br /&gt;
The following hotspots replace part of the image (in this case &amp;lt;417 260 544 333&amp;gt;) with part of another image (in this case 3004 &amp;lt;0 0 127 73&amp;gt;) based on a variable (103 2 plays in here somewhere):&lt;br /&gt;
 8 1 &amp;lt; 31 276 163 333&amp;gt; 0 FFFF 0 103 2 3006 &amp;lt;0 0 132 57&amp;gt; 3005 FFFF&lt;br /&gt;
 8 1 &amp;lt;417 260 544 333&amp;gt; 0 FFFF 0 103 2 3004 &amp;lt;0 0 127 73&amp;gt; 3003 FFFF&lt;br /&gt;
&lt;br /&gt;
Case studies from Channelwood:&lt;br /&gt;
 (CHANNEL 3001) 2&lt;br /&gt;
 1 2   &amp;lt;1 0 110 332&amp;gt; 3002&lt;br /&gt;
 2 2 &amp;lt;455 2 544 332&amp;gt; 3003&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3002) 2&lt;br /&gt;
 1 2   &amp;lt;0 1 100 332&amp;gt; 3005&lt;br /&gt;
 2 2 &amp;lt;431 0 544 332&amp;gt; 3001&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3003) 4&lt;br /&gt;
 5 2 &amp;lt;213 90 343 290&amp;gt; 3494 2 [6 0 0] [24 0 1 {3494}] (the door)&lt;br /&gt;
 1 2 &amp;lt;0 0 81 332&amp;gt; 3001 (left)&lt;br /&gt;
 2 2 &amp;lt;463 0 544 332&amp;gt; 3005 (right)&lt;br /&gt;
 8 1 &amp;lt;417 260 544 333&amp;gt; 0 FFFF 0 103 2 [3004 &amp;lt;0 0 127 73&amp;gt;] [3003 &amp;lt;FFFF&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3005) 4&lt;br /&gt;
 0 2 &amp;lt;76 152 196 330&amp;gt; 3012&lt;br /&gt;
 1 2  &amp;lt;0   0 106 332&amp;gt; 3003&lt;br /&gt;
 2 2 &amp;lt;438  0 544 332&amp;gt; 3002&lt;br /&gt;
 8 1 &amp;lt;31 276 163 333&amp;gt; 0 FFFF 0 103 2 [3006 &amp;lt;0 0 132 57&amp;gt;] [3005 &amp;lt;FFFF&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3012) 8&lt;br /&gt;
 8 3 &amp;lt;101 243 214 343&amp;gt; 0 FFFF 1 5 (1 [3 103 1 {802}]) 103 2 [3013 &amp;lt;0 0 113 100&amp;gt;] [3012 &amp;lt;FFFF&amp;gt;]&lt;br /&gt;
 5 2 &amp;lt;255 193 269 208&amp;gt; 0 1 [117 0 1 {0}]&lt;br /&gt;
 5 2 &amp;lt;268 193 282 208&amp;gt; 0 1 [117 0 1 {1}]&lt;br /&gt;
 5 2 &amp;lt;281 193 295 208&amp;gt; 0 1 [117 0 1 {2}]&lt;br /&gt;
 5 2 &amp;lt;294 193 308 208&amp;gt; 0 1 [117 0 1 {3}]&lt;br /&gt;
 8 1 &amp;lt;252 190 310 210&amp;gt; 0 FFFF 0 17 4 [3008 &amp;lt;0 0 58 20&amp;gt;] [3009 &amp;lt;0 0 58 20&amp;gt;] [3010 &amp;lt;0 0 58 20&amp;gt;] [3011 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
 0 4 &amp;lt;180 31 379 305&amp;gt; 0&lt;br /&gt;
 5 2 &amp;lt;0 0 544 332&amp;gt; 0 1 [34 0 2 {3005 0}]&lt;br /&gt;
&lt;br /&gt;
 (MYST 4368) 3&lt;br /&gt;
 8 3 &amp;lt;305 148 375 238&amp;gt; 0 FFFF 1 5 (1 [3 103 1 {802}]) 103 2 [FFFF &amp;lt;FFFF&amp;gt;] [4369 &amp;lt;0 0 70 90&amp;gt;]&lt;br /&gt;
 7 2 &amp;lt;216 110 304 235&amp;gt; 0 106 5&lt;br /&gt;
   5 (1 [115 101 3 {4741 4370 4368}])&lt;br /&gt;
   5 (1 [115 101 3 {4741 4370 4368}])&lt;br /&gt;
   5 (1 [115 101 3 {4741 4370 4368}])&lt;br /&gt;
   5 (1 [115 101 3 {4741 4370 4368}])&lt;br /&gt;
   5 (0)&lt;br /&gt;
 0 2 &amp;lt;0 0 544 332&amp;gt; 4345&lt;br /&gt;
&lt;br /&gt;
==== Intro Case Study ====&lt;br /&gt;
See a bit below for where the game starts, INTRO 0. Here's INTRO 1, because it's more deciphered than that.&lt;br /&gt;
&lt;br /&gt;
 (INTRO 1) 1&lt;br /&gt;
 5 2 &amp;lt;245 202 304 253&amp;gt; 4 2 37 0 0 34 0 2 3 11&lt;br /&gt;
&lt;br /&gt;
INTRO 1 is the first interactive part of the game, the part where you can pick up the Myst book. The rect correctly corresponds to where the book is on screen. But, look at the &amp;quot;destination&amp;quot; -- 4. There is no VIEW/RLST 4! However, there is a WDIB 4 and it is the open book with the water. Where this ''should'' go is to card 3 and show the Myst book cover before showing image 4 and then playing the video. And, there is a 3 in this chunk, but I'm not sure if that's the purpose. I have no idea what the 37/34 could mean. There is a WDIB 11, but it's of D'ni, so I doubt it's that. ;)&lt;br /&gt;
&lt;br /&gt;
 (INTRO 2) 2&lt;br /&gt;
 0 2 -32000 -32000 32000 32000 5&lt;br /&gt;
 6 0 &amp;lt;312 70 441 159&amp;gt; 0 0 &amp;quot;\qtw\intro\intro2&amp;quot; 0x2848 0x2756 0 1 0 0 0&lt;br /&gt;
&lt;br /&gt;
Note that this one has a string for the video (null-terminated). This obviously calls that video which is the Myst fly-by for the linking book. And, that rect perfectly matches where the video should be displayed on screen. However, this also clearly breaks the format specified above for &amp;quot;type 2 hotspots&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
WDIB 3 is the cover of the Myst linking book. But, this doesn't match up with the video mentioned here which should be for WDIB 4 (or 10, they are identical)(the open linking book with the water image) and eventually ending at WDIB 12 (the open linking book with the dock image). The 5 after the very large numbers is the target card for the open linking book which seems correct. 0x2848 is 10,312 and 0x2756 is 10,070. The rate of the audio is 11,025. Not sure if this has any correlation.&lt;br /&gt;
&lt;br /&gt;
 (INTRO 0) 1&lt;br /&gt;
 0 2 -32000 -32000 32000 32000 5&lt;br /&gt;
&lt;br /&gt;
This is the same as the first record of INTRO 2. My guess is that this is some sort of call to an external command. INTRO 0 is supposed to be the card which shows the opening movies and then switches to card 2.&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Myst_RLST_resources</id>
		<title>Myst RLST resources</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Myst_RLST_resources"/>
				<updated>2008-09-09T13:45:58Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: confusion!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Myst}}&lt;br /&gt;
&lt;br /&gt;
These seem to contain Myst's hotspot data.&lt;br /&gt;
&lt;br /&gt;
There are the same number of RLST and [[Myst_VIEW_resources|VIEW]] resources in all Myst packages and we suspect RLST resources are associated with their cards by sharing the ID with the corresponding VIEW, similarly to what happens in Riven with CARDs and HSPTs.&lt;br /&gt;
&lt;br /&gt;
The data represents a list of records, each record describing one of the hotspots:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||record_count&lt;br /&gt;
|-&lt;br /&gt;
|variable||records&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The record content and length seems to depend on the leading fields of the record. However, there seems to be a common structure:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||action&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||flags&lt;br /&gt;
|-&lt;br /&gt;
|short||left&lt;br /&gt;
|-&lt;br /&gt;
|short||top&lt;br /&gt;
|-&lt;br /&gt;
|short||right&lt;br /&gt;
|-&lt;br /&gt;
|short||bottom&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||destination&lt;br /&gt;
|-&lt;br /&gt;
|variable||additional data&lt;br /&gt;
|}&lt;br /&gt;
*''action'' seems to specify the hotspot action in a wide sense. Every value between 0 and 14 except for 9 has been observed. Low values (under 5) seem associated with &amp;quot;simple&amp;quot; hotspots that usually just change card. Higher values indicate complex actions (movies, picking up pages etc.)&lt;br /&gt;
*''flags'' seems to be a bit field. Observed values are 0, 1, 2, 3, 5, 6 and 8. Bit 3 is suspected to flag Zip Mode hotspots.&lt;br /&gt;
*The following 4 fields define the hotspot rectangle. Note that &amp;quot;weird&amp;quot; rectangles are found, like (-32000, -32000, 32000, 32000).&lt;br /&gt;
*''destination'' contains a destination card ID for hotspots that change card, or zero.&lt;br /&gt;
*Additional data follows when ''action'' &amp;gt; 3 (complex hotspots), clearly representing lists of actions to perform. We have yet to figure out how to calculate the length of those complex records.&lt;br /&gt;
&lt;br /&gt;
====Case studies====&lt;br /&gt;
Note: these are simply the data in little-endian shorts and line-broken where patterns are found. &amp;lt;l t b r&amp;gt; is the hotspot rect. count [entry]... are guesses at when there are lists of entries. The number in parentheses before the data is the card number (not the resource number).&lt;br /&gt;
&lt;br /&gt;
The following hotspots replace part of the image (in this case &amp;lt;417 260 544 333&amp;gt;) with part of another image (in this case 3004 &amp;lt;0 0 127 73&amp;gt;) based on a variable (103 2 plays in here somewhere):&lt;br /&gt;
 8 1 &amp;lt; 31 276 163 333&amp;gt; 0 FFFF 0 103 2 3006 &amp;lt;0 0 132 57&amp;gt; 3005 FFFF&lt;br /&gt;
 8 1 &amp;lt;417 260 544 333&amp;gt; 0 FFFF 0 103 2 3004 &amp;lt;0 0 127 73&amp;gt; 3003 FFFF&lt;br /&gt;
&lt;br /&gt;
Case studies from Channelwood:&lt;br /&gt;
 (CHANNEL 3001) 2&lt;br /&gt;
 1 2   &amp;lt;1 0 110 332&amp;gt; 3002&lt;br /&gt;
 2 2 &amp;lt;455 2 544 332&amp;gt; 3003&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3002) 2&lt;br /&gt;
 1 2   &amp;lt;0 1 100 332&amp;gt; 3005&lt;br /&gt;
 2 2 &amp;lt;431 0 544 332&amp;gt; 3001&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3003) 4&lt;br /&gt;
 5 2 &amp;lt;213 90 343 290&amp;gt; 3494 2 6 0 0 24 0 1 3494 (the door)&lt;br /&gt;
 1 2 &amp;lt;0 0 81 332&amp;gt; 3001 (left)&lt;br /&gt;
 2 2 &amp;lt;463 0 544 332&amp;gt; 3005 (right)&lt;br /&gt;
 8 1 &amp;lt;417 260 544 333&amp;gt; 0 FFFF 0 103 2 3004 &amp;lt;0 0 127 73&amp;gt; 3003 FFFF&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3005) 4&lt;br /&gt;
 0 2 &amp;lt;76 152 196 330&amp;gt; 3012&lt;br /&gt;
 1 2  &amp;lt;0   0 106 332&amp;gt; 3003&lt;br /&gt;
 2 2 &amp;lt;438  0 544 332&amp;gt; 3002&lt;br /&gt;
 8 1 &amp;lt;31 276 163 333&amp;gt; 0 FFFF 0 103 2 3006 &amp;lt;0 0 132 57&amp;gt; 3005 FFFF&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3012) 8&lt;br /&gt;
 8 3 &amp;lt;101 243 214 343&amp;gt; 0 FFFF 1 5&lt;br /&gt;
 1 3 &amp;lt;103   1 802 103&amp;gt; 2 3013 &amp;lt;0 0 113 100&amp;gt; 3012 FFFF&lt;br /&gt;
 5 2 &amp;lt;255 193 269 208&amp;gt; 0 1 117 0 1 0&lt;br /&gt;
 5 2 &amp;lt;268 193 282 208&amp;gt; 0 1 117 0 1 1&lt;br /&gt;
 5 2 &amp;lt;281 193 295 208&amp;gt; 0 1 117 0 1 2&lt;br /&gt;
 5 2 &amp;lt;294 193 308 208&amp;gt; 0 1 117 0 1 3&lt;br /&gt;
 8 1 &amp;lt;252 190 310 210&amp;gt; 0 FFFF 0 17 4&lt;br /&gt;
   [3008 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
   [3009 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
   [3010 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
   [3011 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
 0 4&lt;br /&gt;
 &amp;lt;180 31 379 305&amp;gt; 0 5 2&lt;br /&gt;
 &amp;lt;0 0 544 332&amp;gt; 0 1 34&lt;br /&gt;
 0 2 3005 0&lt;br /&gt;
&lt;br /&gt;
(The following is probably broken the wrong way, there should be 3 hotspots only)&lt;br /&gt;
 (MYST 4368) 3&lt;br /&gt;
 8 3 &amp;lt;305 148 375 238&amp;gt; 0 FFFF 1 [5 1 3 103 1 802] 103 2 FFFF FFFF 4369 &amp;lt;0 0 70 90&amp;gt;&lt;br /&gt;
 7 2 &amp;lt;216 110 304 235&amp;gt; 0 106 5 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5 0&lt;br /&gt;
 0 2 &amp;lt;0 0 544 332&amp;gt; 4345&lt;br /&gt;
&lt;br /&gt;
==== Intro Case Study ====&lt;br /&gt;
See a bit below for where the game starts, INTRO 0. Here's INTRO 1, because it's more deciphered than that.&lt;br /&gt;
&lt;br /&gt;
 (INTRO 1) 1&lt;br /&gt;
 5 2 &amp;lt;245 202 304 253&amp;gt; 4 2 37 0 0 34 0 2 3 11&lt;br /&gt;
&lt;br /&gt;
INTRO 1 is the first interactive part of the game, the part where you can pick up the Myst book. The rect correctly corresponds to where the book is on screen. But, look at the &amp;quot;destination&amp;quot; -- 4. There is no VIEW/RLST 4! However, there is a WDIB 4 and it is the open book with the water. Where this ''should'' go is to card 3 and show the Myst book cover before showing image 4 and then playing the video. And, there is a 3 in this chunk, but I'm not sure if that's the purpose. I have no idea what the 37/34 could mean. There is a WDIB 11, but it's of D'ni, so I doubt it's that. ;)&lt;br /&gt;
&lt;br /&gt;
 (INTRO 2) 2&lt;br /&gt;
 0 2 -32000 -32000 32000 32000 5&lt;br /&gt;
 6 0 &amp;lt;312 70 441 159&amp;gt; 0 0 &amp;quot;\qtw\intro\intro2&amp;quot; 0x2848 0x2756 0 1 0 0 0&lt;br /&gt;
&lt;br /&gt;
Note that this one has a string for the video (null-terminated). This obviously calls that video which is the Myst fly-by for the linking book. And, that rect perfectly matches where the video should be displayed on screen. However, this also clearly breaks the format specified above for &amp;quot;type 2 hotspots&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
WDIB 3 is the cover of the Myst linking book. But, this doesn't match up with the video mentioned here which should be for WDIB 4 (or 10, they are identical)(the open linking book with the water image) and eventually ending at WDIB 12 (the open linking book with the dock image). The 5 after the very large numbers is the target card for the open linking book which seems correct. 0x2848 is 10,312 and 0x2756 is 10,070. The rate of the audio is 11,025. Not sure if this has any correlation.&lt;br /&gt;
&lt;br /&gt;
 (INTRO 0) 1&lt;br /&gt;
 0 2 -32000 -32000 32000 32000 5&lt;br /&gt;
&lt;br /&gt;
This is the same as the first record of INTRO 2. My guess is that this is some sort of call to an external command. INTRO 0 is supposed to be the card which shows the opening movies and then switches to card 2.&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Myst_RLST_resources</id>
		<title>Myst RLST resources</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Myst_RLST_resources"/>
				<updated>2008-09-09T12:45:40Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: added flag info; flags and action are switched&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Myst}}&lt;br /&gt;
&lt;br /&gt;
These seem to contain Myst's hotspot data.&lt;br /&gt;
&lt;br /&gt;
There are the same number of RLST and [[Myst_VIEW_resources|VIEW]] resources in all Myst packages and we suspect RLST resources are associated with their cards by sharing the ID with the corresponding VIEW, similarly to what happens in Riven with CARDs and HSPTs.&lt;br /&gt;
&lt;br /&gt;
The data represents a list of records, each record describing one of the hotspots:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||record_count&lt;br /&gt;
|-&lt;br /&gt;
|variable||records&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The record content and length seems to depend on the leading fields of the record. However, there seems to be a common structure:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||flags&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||action&lt;br /&gt;
|-&lt;br /&gt;
|short||left&lt;br /&gt;
|-&lt;br /&gt;
|short||top&lt;br /&gt;
|-&lt;br /&gt;
|short||right&lt;br /&gt;
|-&lt;br /&gt;
|short||bottom&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||destination&lt;br /&gt;
|-&lt;br /&gt;
|variable||additional data&lt;br /&gt;
|}&lt;br /&gt;
*''flags'' seems to be a bit field. Every value between 0 and 14 except for 9 has been observed, so only 4 bits are in play. Bit 3 is suspected to flag Zip Mode hotspots.&lt;br /&gt;
*''action'' seems to specify the hotspot action in a wide sense. Observed values are 0, 1, 2, 3, 5, 6 and 8. Low values (under 5) seem associated with &amp;quot;simple&amp;quot; hotspots that usually just change card. Higher values indicate complex actions (movies, picking up pages etc.)&lt;br /&gt;
*The following 4 fields define the hotspot rectangle. Note that &amp;quot;weird&amp;quot; rectangles are found, like (-32000, -32000, 32000, 32000).&lt;br /&gt;
*''destination'' contains a destination card ID for hotspots that change card, or zero.&lt;br /&gt;
*Additional data follows when ''action'' &amp;gt; 3 (complex hotspots), clearly representing lists of actions to perform. We have yet to figure out how to calculare the length of those complex records.&lt;br /&gt;
&lt;br /&gt;
====Case studies====&lt;br /&gt;
Note: these are simply the data in little-endian shorts and line-broken where patterns are found. &amp;lt;l t b r&amp;gt; is the hotspot rect. count [entry]... are guesses at when there are lists of entries. The number in parentheses before the data is the card number (not the resource number).&lt;br /&gt;
&lt;br /&gt;
The following hotspots replacee part of the image (in this case &amp;lt;417 260 544 333&amp;gt;) with part of another image (in this case 3004 &amp;lt;0 0 127 73&amp;gt;) based on a variable (103 2 plays in here somewhere):&lt;br /&gt;
 8 1 &amp;lt; 31 276 163 333&amp;gt; 0 FFFF 0 103 2 3006 &amp;lt;0 0 132 57&amp;gt; 3005 FFFF&lt;br /&gt;
 8 1 &amp;lt;417 260 544 333&amp;gt; 0 FFFF 0 103 2 3004 &amp;lt;0 0 127 73&amp;gt; 3003 FFFF&lt;br /&gt;
&lt;br /&gt;
Case studies from Channelwood:&lt;br /&gt;
 (CHANNEL 3001) 2&lt;br /&gt;
 1 2   &amp;lt;1 0 110 332&amp;gt; 3002&lt;br /&gt;
 2 2 &amp;lt;455 2 544 332&amp;gt; 3003&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3002) 2&lt;br /&gt;
 1 2   &amp;lt;0 1 100 332&amp;gt; 3005&lt;br /&gt;
 2 2 &amp;lt;431 0 544 332&amp;gt; 3001&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3003) 4&lt;br /&gt;
 5 2 &amp;lt;213 90 343 290&amp;gt; 3494 2 6 0 0 24 0 1 3494 (the door)&lt;br /&gt;
 1 2 &amp;lt;0 0 81 332&amp;gt; 3001 (left)&lt;br /&gt;
 2 2 &amp;lt;463 0 544 332&amp;gt; 3005 (right)&lt;br /&gt;
 8 1 &amp;lt;417 260 544 333&amp;gt; 0 FFFF 0 103 2 3004 &amp;lt;0 0 127 73&amp;gt; 3003 FFFF&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3005) 4&lt;br /&gt;
 0 2 &amp;lt;76 152 196 330&amp;gt; 3012&lt;br /&gt;
 1 2  &amp;lt;0   0 106 332&amp;gt; 3003&lt;br /&gt;
 2 2 &amp;lt;438  0 544 332&amp;gt; 3002&lt;br /&gt;
 8 1 &amp;lt;31 276 163 333&amp;gt; 0 FFFF 0 103 2 3006 &amp;lt;0 0 132 57&amp;gt; 3005 FFFF&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3012) 8&lt;br /&gt;
 8 3 &amp;lt;101 243 214 343&amp;gt; 0 FFFF 1 5&lt;br /&gt;
 1 3 &amp;lt;103   1 802 103&amp;gt; 2 3013 &amp;lt;0 0 113 100&amp;gt; 3012 FFFF&lt;br /&gt;
 5 2 &amp;lt;255 193 269 208&amp;gt; 0 1 117 0 1 0&lt;br /&gt;
 5 2 &amp;lt;268 193 282 208&amp;gt; 0 1 117 0 1 1&lt;br /&gt;
 5 2 &amp;lt;281 193 295 208&amp;gt; 0 1 117 0 1 2&lt;br /&gt;
 5 2 &amp;lt;294 193 308 208&amp;gt; 0 1 117 0 1 3&lt;br /&gt;
 8 1 &amp;lt;252 190 310 210&amp;gt; 0 FFFF 0 17 4&lt;br /&gt;
   [3008 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
   [3009 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
   [3010 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
   [3011 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
 0 4&lt;br /&gt;
 &amp;lt;180 31 379 305&amp;gt; 0 5 2&lt;br /&gt;
 &amp;lt;0 0 544 332&amp;gt; 0 1 34&lt;br /&gt;
 0 2 3005 0&lt;br /&gt;
&lt;br /&gt;
(The following is probably broken the wrong way, there should be 3 hotspots only)&lt;br /&gt;
 (MYST 4368) 3&lt;br /&gt;
 8 3 &amp;lt;305 148 375 238&amp;gt; 0 FFFF 1 [5 1 3 103 1 802] 103 2 FFFF FFFF 4369 &amp;lt;0 0 70 90&amp;gt;&lt;br /&gt;
 7 2 &amp;lt;216 110 304 235&amp;gt; 0 106 5 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5 0&lt;br /&gt;
 0 2 &amp;lt;0 0 544 332&amp;gt; 4345&lt;br /&gt;
&lt;br /&gt;
==== Intro Case Study ====&lt;br /&gt;
See a bit below for where the game starts, INTRO 0. Here's INTRO 1, because it's more deciphered than that.&lt;br /&gt;
&lt;br /&gt;
 (INTRO 1) 1&lt;br /&gt;
 5 2 &amp;lt;245 202 304 253&amp;gt; 4 2 37 0 0 34 0 2 3 11&lt;br /&gt;
&lt;br /&gt;
INTRO 1 is the first interactive part of the game, the part where you can pick up the Myst book. The rect correctly corresponds to where the book is on screen. But, look at the &amp;quot;destination&amp;quot; -- 4. There is no VIEW/RLST 4! However, there is a WDIB 4 and it is the open book with the water. Where this ''should'' go is to card 3 and show the Myst book cover before showing image 4 and then playing the video. And, there is a 3 in this chunk, but I'm not sure if that's the purpose. I have no idea what the 37/34 could mean. There is a WDIB 11, but it's of D'ni, so I doubt it's that. ;)&lt;br /&gt;
&lt;br /&gt;
 (INTRO 2) 2&lt;br /&gt;
 0 2 -32000 -32000 32000 32000 5&lt;br /&gt;
 6 0 &amp;lt;312 70 441 159&amp;gt; 0 0 &amp;quot;\qtw\intro\intro2&amp;quot; 0x2848 0x2756 0 1 0 0 0&lt;br /&gt;
&lt;br /&gt;
Note that this one has a string for the video (null-terminated). This obviously calls that video which is the Myst fly-by for the linking book. And, that rect perfectly matches where the video should be displayed on screen. However, this also clearly breaks the format specified above for &amp;quot;type 2 hotspots&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
WDIB 3 is the cover of the Myst linking book. But, this doesn't match up with the video mentioned here which should be for WDIB 4 (or 10, they are identical)(the open linking book with the water image) and eventually ending at WDIB 12 (the open linking book with the dock image). The 5 after the very large numbers is the target card for the open linking book which seems correct. 0x2848 is 10,312 and 0x2756 is 10,070. The rate of the audio is 11,025. Not sure if this has any correlation.&lt;br /&gt;
&lt;br /&gt;
 (INTRO 0) 1&lt;br /&gt;
 0 2 -32000 -32000 32000 32000 5&lt;br /&gt;
&lt;br /&gt;
This is the same as the first record of INTRO 2. My guess is that this is some sort of call to an external command. INTRO 0 is supposed to be the card which shows the opening movies and then switches to card 2.&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Myst_VIEW_resources</id>
		<title>Myst VIEW resources</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Myst_VIEW_resources"/>
				<updated>2008-09-08T15:08:53Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: /* More Unknown */ card ID&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Myst}}&lt;br /&gt;
&lt;br /&gt;
VIEW resources are the candidate Myst card representations, as they seem to glue other resources together like WDIB and MSND. In particular they seem to describe what to show on screen and what sound to play.&lt;br /&gt;
&lt;br /&gt;
Original hints by Petroff Heroj.&lt;br /&gt;
&lt;br /&gt;
= Basic Format =&lt;br /&gt;
The data seems split into four sections with different meanings: conditional images, main section and two unknown sections.&lt;br /&gt;
&lt;br /&gt;
== Conditional Images ==&lt;br /&gt;
The first section seems to provide lists of pictures, and the value of specified variables should define which pictures to show.&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||u0&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||image_count&lt;br /&gt;
|-&lt;br /&gt;
|variable||conditional_images&lt;br /&gt;
|}&lt;br /&gt;
*''u0'' is unknown (always either ''0'' or ''1'').&lt;br /&gt;
*''image_count'' is the number of conditional image blocks (always either ''0'' or ''1''). &lt;br /&gt;
*''conditional_images'' are the conditional image blocks.&lt;br /&gt;
The image blocks have the following structure:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||variable&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||num_states&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||image_ids[num_states]&lt;br /&gt;
|}&lt;br /&gt;
*''variable'' is the variable to check against.&lt;br /&gt;
*''image_ids'' is an array of ''num_states'' unsigned shorts representing WDIB (or PICT) IDs.&lt;br /&gt;
The variable value is the index of what image to use in the ''image_ids'' array.&lt;br /&gt;
&lt;br /&gt;
== Main Segment ==&lt;br /&gt;
The main section seems to provide basic info about the card:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||main_image&lt;br /&gt;
|-&lt;br /&gt;
|signed short||sound&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||flags&lt;br /&gt;
|}&lt;br /&gt;
*''main_image'' is the main image to show on the screen. (Kind of like the default case).&lt;br /&gt;
*''sound'' is the sound id to play. If it is less than 0, it acts like a flag to pause, continue sound (-1?), or stop the current sound (what means what still needs to be checked).&lt;br /&gt;
*''flags'' appears to be flags.&lt;br /&gt;
&lt;br /&gt;
== Unknown Segment ==&lt;br /&gt;
TODO: I haven't completely figured this out. Petroff's guess was that it preloaded resources. However, it doesn't make sense that it is like that. It starts with an unsigned short representing the count. Then, following that is an unsigned short (which he believed to be the resource type to load). If it was 3 then there would be an array of WDIB's (an array of unsigned shorts, starting with a count and an unknown -- each unsigned shorts). A 1 would mean a single WDIB, a 2 would mean a single MSND (each represented by an unsigned short).&lt;br /&gt;
&lt;br /&gt;
== More Unknown ==&lt;br /&gt;
Following that is four unsigned shorts. Petroff's guess was that they represented RLST, HINT, EXIT, and INIT respectively. But, that doesn't line up with the resources that exist in the files. More likely, those resources are dependent upon the card ID. Every short here is either ''0'' or the card ID. In addition, the first short in this section is always the card ID (never ''0'').&lt;br /&gt;
&lt;br /&gt;
= Old Case Studies =&lt;br /&gt;
image name and sub-images (akin to Riven PLSTs)&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;text-align:center;&amp;quot;&lt;br /&gt;
|0||0||3001||-1||0/0||3001||3001||0||0&lt;br /&gt;
|-&lt;br /&gt;
| || ||name||neg.||bytes||colspan=4|(name name 0 0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;text-align:center;&amp;quot;&lt;br /&gt;
|0||0||3002||-2||0/144||0|| ||3002||3002||0||0&lt;br /&gt;
|-&lt;br /&gt;
|0||0||3003||-2||0/144||1||[1 3004]||3003||3003||0||0&lt;br /&gt;
|-&lt;br /&gt;
| || ||name||?|| ||count||entry||colspan=4|(name name 0 0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*I think ''3004'' is the name of a sub-image (small image to be placed in another) of ''3003'' here.&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;text-align:center;&amp;quot;&lt;br /&gt;
|0||0||3005||3005||0/144||1||[1 3006]||3005||3005||0||0&lt;br /&gt;
|-&lt;br /&gt;
| || ||colspan=2|name twice|| || ||colspan=4|(name name 0 0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;text-align:center;&amp;quot;&lt;br /&gt;
|0||0||3012||-2||0/50||5||[1 3013]||[1 3008]||[1 3009]||[1 3010]||[1 3011]||3012||0||0||3012&lt;br /&gt;
|-&lt;br /&gt;
| || ||name||?|| ||count||colspan=5|entries||colspan=4|(name 0 0 name)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;text-align:center;&amp;quot;&lt;br /&gt;
!14&lt;br /&gt;
|1||1||5||2||3030||3031||FFFC 3 2 3031 00_A0||4031||x00A0||2||2 4030||1 3030|| || ||3031||3031||0||0&lt;br /&gt;
|-&lt;br /&gt;
!44&lt;br /&gt;
|1||1||2||2||3095||3096||FFFC 15 2 3095 00_A0||4095||x00A0||4||2 4095||1 3562||1 3097||2 5095||3095||3095||3095||0&lt;br /&gt;
|-&lt;br /&gt;
!348&lt;br /&gt;
|1||1||16||2||3536||3535|| ||3535||x0060||0|| || || || ||3535||3535||0||0&lt;br /&gt;
|-&lt;br /&gt;
!359&lt;br /&gt;
|1||1||5||2||3550||3552||FFFC 3 2 6552 00_80||3552||x0080||4||4 3550||4 3552||2 4552||2 5552||3552||3552||0||0&lt;br /&gt;
|-&lt;br /&gt;
!47&lt;br /&gt;
|1||1||10||2||4140||4141|| ||5141||x0090||1||2 4141|| || || ||4141||4141||4141||4141&lt;br /&gt;
|-&lt;br /&gt;
!50&lt;br /&gt;
|1||1||10||2||4148||4149|| ||4149||x0090||0|| || || || ||4149||4149||4149||0&lt;br /&gt;
|-&lt;br /&gt;
!51&lt;br /&gt;
|1||1||10||2||4150||4151|| ||FFFE||x0070||0|| || || || ||4150||4150||0||0&lt;br /&gt;
|-&lt;br /&gt;
!94&lt;br /&gt;
|1||1||10||2||4243||4244|| ||4244||x0050||0|| || || || ||4244||4244||0||0&lt;br /&gt;
|-&lt;br /&gt;
!116&lt;br /&gt;
|1||1||40||2||4292||4294||FFFC 40 2 4292 00_50||4292||x0060||2||1 4293||2 5292|| || ||4292||4292||0||0&lt;br /&gt;
|-&lt;br /&gt;
!145&lt;br /&gt;
|1||1||0||2||4358||4357|| ||FFFE||x0030||0|| || || || ||4357||4357||0||0&lt;br /&gt;
|-&lt;br /&gt;
!287&lt;br /&gt;
|1||1||34||3||4698||4701|| ||4702||xFFFD||4||1 4699||2 4698||2 5698||2 6698||4698||4698||4698||4698&lt;br /&gt;
|-&lt;br /&gt;
!295&lt;br /&gt;
|1||1||10||2||4717||4719|| ||4717||x0040||1||1 4718|| || || ||4717||4717||0||0&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Myst_VIEW_resources</id>
		<title>Myst VIEW resources</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Myst_VIEW_resources"/>
				<updated>2008-09-08T14:19:22Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: /* More Unknown */ another observation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Myst}}&lt;br /&gt;
&lt;br /&gt;
VIEW resources are the candidate Myst card representations, as they seem to glue other resources together like WDIB and MSND. In particular they seem to describe what to show on screen and what sound to play.&lt;br /&gt;
&lt;br /&gt;
Original hints by Petroff Heroj.&lt;br /&gt;
&lt;br /&gt;
= Basic Format =&lt;br /&gt;
The data seems split into four sections with different meanings: conditional images, main section and two unknown sections.&lt;br /&gt;
&lt;br /&gt;
== Conditional Images ==&lt;br /&gt;
The first section seems to provide lists of pictures, and the value of specified variables should define which pictures to show.&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||u0&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||image_count&lt;br /&gt;
|-&lt;br /&gt;
|variable||conditional_images&lt;br /&gt;
|}&lt;br /&gt;
*''u0'' is unknown (always either ''0'' or ''1'').&lt;br /&gt;
*''image_count'' is the number of conditional image blocks (always either ''0'' or ''1''). &lt;br /&gt;
*''conditional_images'' are the conditional image blocks.&lt;br /&gt;
The image blocks have the following structure:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||variable&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||num_states&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||image_ids[num_states]&lt;br /&gt;
|}&lt;br /&gt;
*''variable'' is the variable to check against.&lt;br /&gt;
*''image_ids'' is an array of ''num_states'' unsigned shorts representing WDIB (or PICT) IDs.&lt;br /&gt;
The variable value is the index of what image to use in the ''image_ids'' array.&lt;br /&gt;
&lt;br /&gt;
== Main Segment ==&lt;br /&gt;
The main section seems to provide basic info about the card:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||main_image&lt;br /&gt;
|-&lt;br /&gt;
|signed short||sound&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||flags&lt;br /&gt;
|}&lt;br /&gt;
*''main_image'' is the main image to show on the screen. (Kind of like the default case).&lt;br /&gt;
*''sound'' is the sound id to play. If it is less than 0, it acts like a flag to pause, continue sound (-1?), or stop the current sound (what means what still needs to be checked).&lt;br /&gt;
*''flags'' appears to be flags.&lt;br /&gt;
&lt;br /&gt;
== Unknown Segment ==&lt;br /&gt;
TODO: I haven't completely figured this out. Petroff's guess was that it preloaded resources. However, it doesn't make sense that it is like that. It starts with an unsigned short representing the count. Then, following that is an unsigned short (which he believed to be the resource type to load). If it was 3 then there would be an array of WDIB's (an array of unsigned shorts, starting with a count and an unknown -- each unsigned shorts). A 1 would mean a single WDIB, a 2 would mean a single MSND (each represented by an unsigned short).&lt;br /&gt;
&lt;br /&gt;
== More Unknown ==&lt;br /&gt;
Following that is four unsigned shorts. Petroff's guess was that they represented RLST, HINT, EXIT, and INIT respectively. But, that doesn't line up with the resources that exist in the files. More likely, those resources are dependent upon the card IC. Every short here is either ''0'' or the card ID.&lt;br /&gt;
&lt;br /&gt;
= Old Case Studies =&lt;br /&gt;
image name and sub-images (akin to Riven PLSTs)&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;text-align:center;&amp;quot;&lt;br /&gt;
|0||0||3001||-1||0/0||3001||3001||0||0&lt;br /&gt;
|-&lt;br /&gt;
| || ||name||neg.||bytes||colspan=4|(name name 0 0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;text-align:center;&amp;quot;&lt;br /&gt;
|0||0||3002||-2||0/144||0|| ||3002||3002||0||0&lt;br /&gt;
|-&lt;br /&gt;
|0||0||3003||-2||0/144||1||[1 3004]||3003||3003||0||0&lt;br /&gt;
|-&lt;br /&gt;
| || ||name||?|| ||count||entry||colspan=4|(name name 0 0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*I think ''3004'' is the name of a sub-image (small image to be placed in another) of ''3003'' here.&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;text-align:center;&amp;quot;&lt;br /&gt;
|0||0||3005||3005||0/144||1||[1 3006]||3005||3005||0||0&lt;br /&gt;
|-&lt;br /&gt;
| || ||colspan=2|name twice|| || ||colspan=4|(name name 0 0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;text-align:center;&amp;quot;&lt;br /&gt;
|0||0||3012||-2||0/50||5||[1 3013]||[1 3008]||[1 3009]||[1 3010]||[1 3011]||3012||0||0||3012&lt;br /&gt;
|-&lt;br /&gt;
| || ||name||?|| ||count||colspan=5|entries||colspan=4|(name 0 0 name)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;text-align:center;&amp;quot;&lt;br /&gt;
!14&lt;br /&gt;
|1||1||5||2||3030||3031||FFFC 3 2 3031 00_A0||4031||x00A0||2||2 4030||1 3030|| || ||3031||3031||0||0&lt;br /&gt;
|-&lt;br /&gt;
!44&lt;br /&gt;
|1||1||2||2||3095||3096||FFFC 15 2 3095 00_A0||4095||x00A0||4||2 4095||1 3562||1 3097||2 5095||3095||3095||3095||0&lt;br /&gt;
|-&lt;br /&gt;
!348&lt;br /&gt;
|1||1||16||2||3536||3535|| ||3535||x0060||0|| || || || ||3535||3535||0||0&lt;br /&gt;
|-&lt;br /&gt;
!359&lt;br /&gt;
|1||1||5||2||3550||3552||FFFC 3 2 6552 00_80||3552||x0080||4||4 3550||4 3552||2 4552||2 5552||3552||3552||0||0&lt;br /&gt;
|-&lt;br /&gt;
!47&lt;br /&gt;
|1||1||10||2||4140||4141|| ||5141||x0090||1||2 4141|| || || ||4141||4141||4141||4141&lt;br /&gt;
|-&lt;br /&gt;
!50&lt;br /&gt;
|1||1||10||2||4148||4149|| ||4149||x0090||0|| || || || ||4149||4149||4149||0&lt;br /&gt;
|-&lt;br /&gt;
!51&lt;br /&gt;
|1||1||10||2||4150||4151|| ||FFFE||x0070||0|| || || || ||4150||4150||0||0&lt;br /&gt;
|-&lt;br /&gt;
!94&lt;br /&gt;
|1||1||10||2||4243||4244|| ||4244||x0050||0|| || || || ||4244||4244||0||0&lt;br /&gt;
|-&lt;br /&gt;
!116&lt;br /&gt;
|1||1||40||2||4292||4294||FFFC 40 2 4292 00_50||4292||x0060||2||1 4293||2 5292|| || ||4292||4292||0||0&lt;br /&gt;
|-&lt;br /&gt;
!145&lt;br /&gt;
|1||1||0||2||4358||4357|| ||FFFE||x0030||0|| || || || ||4357||4357||0||0&lt;br /&gt;
|-&lt;br /&gt;
!287&lt;br /&gt;
|1||1||34||3||4698||4701|| ||4702||xFFFD||4||1 4699||2 4698||2 5698||2 6698||4698||4698||4698||4698&lt;br /&gt;
|-&lt;br /&gt;
!295&lt;br /&gt;
|1||1||10||2||4717||4719|| ||4717||x0040||1||1 4718|| || || ||4717||4717||0||0&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Myst_VIEW_resources</id>
		<title>Myst VIEW resources</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Myst_VIEW_resources"/>
				<updated>2008-09-08T14:17:24Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: /* Conditional Images */ observation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Myst}}&lt;br /&gt;
&lt;br /&gt;
VIEW resources are the candidate Myst card representations, as they seem to glue other resources together like WDIB and MSND. In particular they seem to describe what to show on screen and what sound to play.&lt;br /&gt;
&lt;br /&gt;
Original hints by Petroff Heroj.&lt;br /&gt;
&lt;br /&gt;
= Basic Format =&lt;br /&gt;
The data seems split into four sections with different meanings: conditional images, main section and two unknown sections.&lt;br /&gt;
&lt;br /&gt;
== Conditional Images ==&lt;br /&gt;
The first section seems to provide lists of pictures, and the value of specified variables should define which pictures to show.&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||u0&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||image_count&lt;br /&gt;
|-&lt;br /&gt;
|variable||conditional_images&lt;br /&gt;
|}&lt;br /&gt;
*''u0'' is unknown (always either ''0'' or ''1'').&lt;br /&gt;
*''image_count'' is the number of conditional image blocks (always either ''0'' or ''1''). &lt;br /&gt;
*''conditional_images'' are the conditional image blocks.&lt;br /&gt;
The image blocks have the following structure:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||variable&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||num_states&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||image_ids[num_states]&lt;br /&gt;
|}&lt;br /&gt;
*''variable'' is the variable to check against.&lt;br /&gt;
*''image_ids'' is an array of ''num_states'' unsigned shorts representing WDIB (or PICT) IDs.&lt;br /&gt;
The variable value is the index of what image to use in the ''image_ids'' array.&lt;br /&gt;
&lt;br /&gt;
== Main Segment ==&lt;br /&gt;
The main section seems to provide basic info about the card:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||main_image&lt;br /&gt;
|-&lt;br /&gt;
|signed short||sound&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||flags&lt;br /&gt;
|}&lt;br /&gt;
*''main_image'' is the main image to show on the screen. (Kind of like the default case).&lt;br /&gt;
*''sound'' is the sound id to play. If it is less than 0, it acts like a flag to pause, continue sound (-1?), or stop the current sound (what means what still needs to be checked).&lt;br /&gt;
*''flags'' appears to be flags.&lt;br /&gt;
&lt;br /&gt;
== Unknown Segment ==&lt;br /&gt;
TODO: I haven't completely figured this out. Petroff's guess was that it preloaded resources. However, it doesn't make sense that it is like that. It starts with an unsigned short representing the count. Then, following that is an unsigned short (which he believed to be the resource type to load). If it was 3 then there would be an array of WDIB's (an array of unsigned shorts, starting with a count and an unknown -- each unsigned shorts). A 1 would mean a single WDIB, a 2 would mean a single MSND (each represented by an unsigned short).&lt;br /&gt;
&lt;br /&gt;
== More Unknown ==&lt;br /&gt;
Following that is four unsigned shorts. Petroff's guess was that they represented RLST, HINT, EXIT, and INIT respectively. But, that doesn't line up with the resources that exist in the files. More likely, those resources are dependent upon the card id.&lt;br /&gt;
&lt;br /&gt;
= Old Case Studies =&lt;br /&gt;
image name and sub-images (akin to Riven PLSTs)&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;text-align:center;&amp;quot;&lt;br /&gt;
|0||0||3001||-1||0/0||3001||3001||0||0&lt;br /&gt;
|-&lt;br /&gt;
| || ||name||neg.||bytes||colspan=4|(name name 0 0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;text-align:center;&amp;quot;&lt;br /&gt;
|0||0||3002||-2||0/144||0|| ||3002||3002||0||0&lt;br /&gt;
|-&lt;br /&gt;
|0||0||3003||-2||0/144||1||[1 3004]||3003||3003||0||0&lt;br /&gt;
|-&lt;br /&gt;
| || ||name||?|| ||count||entry||colspan=4|(name name 0 0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*I think ''3004'' is the name of a sub-image (small image to be placed in another) of ''3003'' here.&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;text-align:center;&amp;quot;&lt;br /&gt;
|0||0||3005||3005||0/144||1||[1 3006]||3005||3005||0||0&lt;br /&gt;
|-&lt;br /&gt;
| || ||colspan=2|name twice|| || ||colspan=4|(name name 0 0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;text-align:center;&amp;quot;&lt;br /&gt;
|0||0||3012||-2||0/50||5||[1 3013]||[1 3008]||[1 3009]||[1 3010]||[1 3011]||3012||0||0||3012&lt;br /&gt;
|-&lt;br /&gt;
| || ||name||?|| ||count||colspan=5|entries||colspan=4|(name 0 0 name)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;text-align:center;&amp;quot;&lt;br /&gt;
!14&lt;br /&gt;
|1||1||5||2||3030||3031||FFFC 3 2 3031 00_A0||4031||x00A0||2||2 4030||1 3030|| || ||3031||3031||0||0&lt;br /&gt;
|-&lt;br /&gt;
!44&lt;br /&gt;
|1||1||2||2||3095||3096||FFFC 15 2 3095 00_A0||4095||x00A0||4||2 4095||1 3562||1 3097||2 5095||3095||3095||3095||0&lt;br /&gt;
|-&lt;br /&gt;
!348&lt;br /&gt;
|1||1||16||2||3536||3535|| ||3535||x0060||0|| || || || ||3535||3535||0||0&lt;br /&gt;
|-&lt;br /&gt;
!359&lt;br /&gt;
|1||1||5||2||3550||3552||FFFC 3 2 6552 00_80||3552||x0080||4||4 3550||4 3552||2 4552||2 5552||3552||3552||0||0&lt;br /&gt;
|-&lt;br /&gt;
!47&lt;br /&gt;
|1||1||10||2||4140||4141|| ||5141||x0090||1||2 4141|| || || ||4141||4141||4141||4141&lt;br /&gt;
|-&lt;br /&gt;
!50&lt;br /&gt;
|1||1||10||2||4148||4149|| ||4149||x0090||0|| || || || ||4149||4149||4149||0&lt;br /&gt;
|-&lt;br /&gt;
!51&lt;br /&gt;
|1||1||10||2||4150||4151|| ||FFFE||x0070||0|| || || || ||4150||4150||0||0&lt;br /&gt;
|-&lt;br /&gt;
!94&lt;br /&gt;
|1||1||10||2||4243||4244|| ||4244||x0050||0|| || || || ||4244||4244||0||0&lt;br /&gt;
|-&lt;br /&gt;
!116&lt;br /&gt;
|1||1||40||2||4292||4294||FFFC 40 2 4292 00_50||4292||x0060||2||1 4293||2 5292|| || ||4292||4292||0||0&lt;br /&gt;
|-&lt;br /&gt;
!145&lt;br /&gt;
|1||1||0||2||4358||4357|| ||FFFE||x0030||0|| || || || ||4357||4357||0||0&lt;br /&gt;
|-&lt;br /&gt;
!287&lt;br /&gt;
|1||1||34||3||4698||4701|| ||4702||xFFFD||4||1 4699||2 4698||2 5698||2 6698||4698||4698||4698||4698&lt;br /&gt;
|-&lt;br /&gt;
!295&lt;br /&gt;
|1||1||10||2||4717||4719|| ||4717||x0040||1||1 4718|| || || ||4717||4717||0||0&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Myst_RLST_resources</id>
		<title>Myst RLST resources</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Myst_RLST_resources"/>
				<updated>2008-09-04T03:53:21Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: /* Intro Case Study */ Be careful about the indeces. They are zero-based, not one-based (for simplicity when reading the data)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Myst}}&lt;br /&gt;
&lt;br /&gt;
These seem to contain Myst's hotspot data.&lt;br /&gt;
&lt;br /&gt;
There are the same number of RLST and VIEW resources in all Myst packages: thus they may be locked together by index like HSPT and CARD resources in Riven. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||count_of_records&lt;br /&gt;
|}&lt;br /&gt;
====record type 1====&lt;br /&gt;
 8 1 &amp;lt; 31 276 163 333&amp;gt; 0 FFFF 0 103 2 3006 &amp;lt;0 0 132 57&amp;gt; 3005 FFFF&lt;br /&gt;
 8 1 &amp;lt;417 260 544 333&amp;gt; 0 FFFF 0 103 2 3004 &amp;lt;0 0 127 73&amp;gt; 3003 FFFF&lt;br /&gt;
*this replaces part of the image (in this case &amp;lt;417 260 544 333&amp;gt;) with part of another image (in this case 3004 &amp;lt;0 0 127 73&amp;gt;) based on a variable (103 2 plays in here somewhere)&lt;br /&gt;
====record type 2: (simple hotspot)====&lt;br /&gt;
''clone2727 says: This does not seem to match everything. I don't think the second short represents type.''&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||dir 1=left, 2=right, 5=forward&lt;br /&gt;
|-&lt;br /&gt;
|short||type=2&lt;br /&gt;
|-&lt;br /&gt;
|short||left&lt;br /&gt;
|-&lt;br /&gt;
|short||top&lt;br /&gt;
|-&lt;br /&gt;
|short||right&lt;br /&gt;
|-&lt;br /&gt;
|short||bottom&lt;br /&gt;
|-&lt;br /&gt;
|short||destination&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Case studies====&lt;br /&gt;
(Note: these are simply the data in (little-endian) shorts and line-broken where I saw patterns. &amp;lt;l t b r&amp;gt; are (I think) areas on-screen. count [entry]... are guesses at when there are lists of entries. The number in parentheses before the data is the card number (not the resource number).)&lt;br /&gt;
 (CHANNEL 3001) 2&lt;br /&gt;
 1 2   &amp;lt;1 0 110 332&amp;gt; 3002&lt;br /&gt;
 2 2 &amp;lt;455 2 544 332&amp;gt; 3003&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3002) 2&lt;br /&gt;
 1 2   &amp;lt;0 1 100 332&amp;gt; 3005&lt;br /&gt;
 2 2 &amp;lt;431 0 544 332&amp;gt; 3001&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3003) 4&lt;br /&gt;
 5 2 &amp;lt;213 90 343 290&amp;gt; 3494 (the door)&lt;br /&gt;
 2 6 0 0 24 0 1 3494&lt;br /&gt;
 1 2 &amp;lt;0 0 81 332&amp;gt; 3001 (left)&lt;br /&gt;
 2 2 &amp;lt;463 0 544 332&amp;gt; 3005 (right)&lt;br /&gt;
 8 1 &amp;lt;417 260 544 333&amp;gt; 0 FFFF 0 103 2 3004 &amp;lt;0 0 127 73&amp;gt; 3003 FFFF&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3005) 4&lt;br /&gt;
 0 2 &amp;lt;76 152 196 330&amp;gt; 3012&lt;br /&gt;
 1 2  &amp;lt;0   0 106 332&amp;gt; 3003&lt;br /&gt;
 2 2 &amp;lt;438  0 544 332&amp;gt; 3002&lt;br /&gt;
 8 1 &amp;lt;31 276 163 333&amp;gt; 0 FFFF 0 103 2 3006 &amp;lt;0 0 132 57&amp;gt; 3005 FFFF&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3012) 8&lt;br /&gt;
 8 3 &amp;lt;101 243 214 343&amp;gt; 0 FFFF 1 5&lt;br /&gt;
 1 3 &amp;lt;103   1 802 103&amp;gt; 2 3013 &amp;lt;0 0 113 100&amp;gt; 3012 FFFF&lt;br /&gt;
 5 2 &amp;lt;255 193 269 208&amp;gt; 0 1 117 0 1 0&lt;br /&gt;
 5 2 &amp;lt;268 193 282 208&amp;gt; 0 1 117 0 1 1&lt;br /&gt;
 5 2 &amp;lt;281 193 295 208&amp;gt; 0 1 117 0 1 2&lt;br /&gt;
 5 2 &amp;lt;294 193 308 208&amp;gt; 0 1 117 0 1 3&lt;br /&gt;
 8 1 &amp;lt;252 190 310 210&amp;gt; 0 FFFF 0 17 4&lt;br /&gt;
   [3008 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
   [3009 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
   [3010 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
   [3011 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
 0 4&lt;br /&gt;
 &amp;lt;180 31 379 305&amp;gt; 0 5 2&lt;br /&gt;
 &amp;lt;0 0 544 332&amp;gt; 0 1 34&lt;br /&gt;
 0 2 3005 0&lt;br /&gt;
&lt;br /&gt;
 (MYST 4368) 3&lt;br /&gt;
 8 3 &amp;lt;305 148 375 238&amp;gt; 0 FFFF 1 [5 1 3 103 1 802] 103 2 FFFF FFFF 4369 &amp;lt;0 0 70 90&amp;gt;&lt;br /&gt;
 7 2 &amp;lt;216 110 304 235&amp;gt; 0 106 5 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5 0&lt;br /&gt;
 0 2 &amp;lt;0 0 544 332&amp;gt; 4345&lt;br /&gt;
&lt;br /&gt;
==== Intro Case Study ====&lt;br /&gt;
See a bit below for where the game starts, INTRO 0. Here's INTRO 1, because it's more deciphered than that.&lt;br /&gt;
&lt;br /&gt;
 (INTRO 1) 1&lt;br /&gt;
 5 2 &amp;lt;245 202 304 253&amp;gt; 4 2 37 0 0 34 0 2 3 11&lt;br /&gt;
&lt;br /&gt;
INTRO 1 is the first interactive part of the game, the part where you can pick up the Myst book. The rect correctly corresponds to where the book is on screen. But, look at the &amp;quot;destination&amp;quot; -- 4. There is no VIEW/RLST 4! However, there is a WDIB 4 and it is the open book with the water. Where this ''should'' go is to card 3 and show the Myst book cover before showing image 4 and then playing the video. And, there is a 3 in this chunk, but I'm not sure if that's the purpose. I have no idea what the 37/34 could mean. There is a WDIB 11, but it's of D'ni, so I doubt it's that. ;)&lt;br /&gt;
&lt;br /&gt;
 (INTRO 2) 2&lt;br /&gt;
 0 2 -32000 -32000 32000 32000 5&lt;br /&gt;
 6 0 &amp;lt;312 70 441 159&amp;gt; &amp;quot;\qtw\intro\intro2&amp;quot; 0x2848 0x2756 0 1 0 0 0&lt;br /&gt;
&lt;br /&gt;
Note that this one has a string for the video (null-terminated). This obviously calls that video which is the Myst fly-by for the linking book. And, that rect perfectly matches where the video should be displayed on screen. However, this also clearly breaks the format specified above for &amp;quot;type 2 hotspots&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
WDIB 3 is the cover of the Myst linking book. But, this doesn't match up with the video mentioned here which should be for WDIB 4 (or 10, they are identical)(the open linking book with the water image) and eventually ending at WDIB 12 (the open linking book with the dock image). The 5 after the very large numbers is the target card for the open linking book which seems correct. 0x2848 is 10,312 and 0x2756 is 10,070. The rate of the audio is 11,025. Not sure if this has any correlation.&lt;br /&gt;
&lt;br /&gt;
 (INTRO 0) 1&lt;br /&gt;
 0 2 -32000 -32000 32000 32000 5&lt;br /&gt;
&lt;br /&gt;
This is the same as the first record of INTRO 2. My guess is that this is some sort of call to an external command. INTRO 0 is supposed to be the card which shows the opening movies and then switches to card 2.&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Myst_resources</id>
		<title>Myst resources</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Myst_resources"/>
				<updated>2008-02-18T15:42:01Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: /* VIEW */ fixes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Myst}}&lt;br /&gt;
This page contains or will contain a comprehensive analysis of the 8 resources in Myst (and the two added in Myst ME).&lt;br /&gt;
&lt;br /&gt;
Both Myst and Myst ME use little-endian byte order in the files (by contrast to the big-endian byte order used in Riven and the Mohawk format), although the data itself is stored in properly formatted Mohawk format (don't let the .dni or .dat file extension fool you). The packages in Myst ME are:&lt;br /&gt;
*CHANNEL&lt;br /&gt;
*CREDITS&lt;br /&gt;
*DUNNY&lt;br /&gt;
*INTRO&lt;br /&gt;
*MECHAN&lt;br /&gt;
*MYST&lt;br /&gt;
*SELEN&lt;br /&gt;
*STONE&lt;br /&gt;
*SYSTEM&lt;br /&gt;
The resources are on the left (MJMP and PICT are new in ME). None of the resources are named except for the MSND/MJMP resources.&lt;br /&gt;
&lt;br /&gt;
==CLRC==&lt;br /&gt;
All CLRC resources follow the pattern:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||u1&lt;br /&gt;
|-&lt;br /&gt;
|short||u2&lt;br /&gt;
|}&lt;br /&gt;
*''u1'' and ''u2'' are both 1, 6, 7, 8, 9, or 14 for all files&lt;br /&gt;
&lt;br /&gt;
==EXIT==&lt;br /&gt;
I think these are variables, although that seems unlikely because SELEN has no EXIT resources.&lt;br /&gt;
&amp;lt;noinclude&amp;gt;===Case studies (all of them)===&lt;br /&gt;
Note: these are presented as ''resource_index''.''length short...'' where the data is broken into shorts and displayed in decimal.&lt;br /&gt;
====CHANNEL====&lt;br /&gt;
*0.12 1 0 300 0 0 1&lt;br /&gt;
====DUNNY====&lt;br /&gt;
*0.22 2 0 300 0 0 1 0 100 0 0 1&lt;br /&gt;
====INTRO====&lt;br /&gt;
*0.22 2 0 300 0 0 1 0 38 0 0 1&lt;br /&gt;
*1.12 1 0 38 0 0 1&lt;br /&gt;
====MECHAN====&lt;br /&gt;
*0.24 2 0 27 0 1 7044 1 0 4 0 0 1&lt;br /&gt;
*1.12 1 0 300 0 0 1&lt;br /&gt;
*2.12 1 0 32 0 0 1&lt;br /&gt;
====MYST====&lt;br /&gt;
*0.12 1 0 301 0 0 1&lt;br /&gt;
*1.12 1 0 301 0 0 1&lt;br /&gt;
*2.12 1 0 301 0 0 1&lt;br /&gt;
*3.12 1 0 301 0 0 1&lt;br /&gt;
*4.12 1 0 301 0 0 1&lt;br /&gt;
*5.12 1 1 306 0 0 1&lt;br /&gt;
*6.12 1 1 306 0 0 1&lt;br /&gt;
*7.12 1 0 302 0 0 1&lt;br /&gt;
*8.12 1 0 303 0 0 1&lt;br /&gt;
*9.12 1 0 303 0 0 1&lt;br /&gt;
*10.36 3 [0 1 302 1 1 1] [0 309 0 0 1 0] [1 309 1 0 1]&lt;br /&gt;
*11.12 1 0 307 0 0 1&lt;br /&gt;
*12.24 2 [0 300 100 0 2 0] [1 309 1 0 1]&lt;br /&gt;
*13.24 2 [0 300 101 0 2 0] [1 309 1 0 1]&lt;br /&gt;
*14.12 1 [0 303 0 0 1]&lt;br /&gt;
*15.14 1 0 308 0 0 1 0&lt;br /&gt;
*16.12 1 [0 304 0 0 1]&lt;br /&gt;
*17.12 1 [0 304 0 0 1]&lt;br /&gt;
*18.22 2 [0 304 0 0 1] [0 305 0 0 1]&lt;br /&gt;
*19.12 1 [1 304 0 0 1]&lt;br /&gt;
*20.22 2 [0 304 0 0 1] [0 305 0 0 1]&lt;br /&gt;
*21.12 1 [0 304 0 0 1]&lt;br /&gt;
*22.22 2 [0 304 0 0 1] [0 305 0 0 1]&lt;br /&gt;
*23.12 1 [0 304 0 0 1]&lt;br /&gt;
*24.12 1 [0 312 0 0 1]&lt;br /&gt;
*25.66&lt;br /&gt;
 3 0 29 0 7 8708 0 0 152 165 198 107&lt;br /&gt;
 1 0 42 0 9 8707 10 6 216 129 368 294&lt;br /&gt;
 5 50 1 0 24 0 1 9707 1&lt;br /&gt;
====STONE====&lt;br /&gt;
*0.14 1 0 125 21 1 14 1&lt;br /&gt;
*1.14 1 0 125 21 1 13 1&lt;br /&gt;
*2.12 1 0 300 0 0 1&lt;br /&gt;
&lt;br /&gt;
==INIT==&lt;br /&gt;
These are more likely variables. They do not have names like in Riven.&lt;br /&gt;
===Case studies===&lt;br /&gt;
====CHANNEL====&lt;br /&gt;
*0.12 1 0 1 30 1 0&lt;br /&gt;
*1.10 1 6 201 0 0&lt;br /&gt;
====DUNNY====&lt;br /&gt;
*1.18 2 0 26 0 0 0 200 0 0&lt;br /&gt;
====MYST====&lt;br /&gt;
*2.30 2 1 209 0 0 0 206 0 6 6044 7044 8044 9044 10044 11044&lt;br /&gt;
*4.18 1 0 205 0 4 6156 7156 8156 9156&lt;br /&gt;
*5.16 1 0 201 0 3 0 4 5&lt;br /&gt;
*6.12 1 0 204 0 1 6180&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==HINT==&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||rc||class=&amp;quot;comment|record count&lt;br /&gt;
|}&lt;br /&gt;
*rc is wrong in:&lt;br /&gt;
**CHANNEL 78 231&lt;br /&gt;
**MECHAN 109&lt;br /&gt;
**MYST 2 28 38 43 45 49 106 109 149 150 173 175 206 231&lt;br /&gt;
**SELEN 172&lt;br /&gt;
**STONE 10 12 18 59 89 91 106&lt;br /&gt;
records are&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||rid||class=&amp;quot;comment|record index&lt;br /&gt;
|-&lt;br /&gt;
|short||u1||&lt;br /&gt;
|}&lt;br /&gt;
*the ''rid'''s start at zero and go up, but there are exceptions.&lt;br /&gt;
**CHANNEL 78 144 231&lt;br /&gt;
**DUNNY all minus 1 5 7 18 19&lt;br /&gt;
**MECHAN 109&lt;br /&gt;
**Myst 2 28 43 45 49 78 111 171 173 175 184 206 229 235&lt;br /&gt;
**STONE 10 12 18 59 89 91 106&lt;br /&gt;
*the ''u1'''s all appear to be one of 0, 2, 3, 200, 300, 400, 500, 600, 904, 905, 999, or FFFF (-1)&lt;br /&gt;
&lt;br /&gt;
==MSND==&lt;br /&gt;
It is interesting to note that all MSND resources in the whole game are named except for INTRO 1 (the linking sound). In all the other packages, this sound is labeled &amp;quot;transprt7&amp;quot; (in MYST) or &amp;quot;transprt1&amp;quot; and &amp;quot;transprt2&amp;quot; (which all appear to be the same, although transprt1 and transprt2 are separate resources in the package).&lt;br /&gt;
&lt;br /&gt;
==RLST and VIEW==&lt;br /&gt;
There are the same number of RLST and VIEW resources in all packages, which leads me to believe that they are locked together by index like HSPT and CARD resources in Riven.&lt;br /&gt;
&lt;br /&gt;
===RLST===&lt;br /&gt;
I think these contain hotspot data (i.e. HSPT).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||count_of_records&lt;br /&gt;
|}&lt;br /&gt;
====record type 1====&lt;br /&gt;
 8 1 &amp;lt; 31 276 163 333&amp;gt; 0 FFFF 0 103 2 3006 &amp;lt;0 0 132 57&amp;gt; 3005 FFFF&lt;br /&gt;
 8 1 &amp;lt;417 260 544 333&amp;gt; 0 FFFF 0 103 2 3004 &amp;lt;0 0 127 73&amp;gt; 3003 FFFF&lt;br /&gt;
*this replaces part of the image (in this case &amp;lt;417 260 544 333&amp;gt;) with part of another image (in this case 3004 &amp;lt;0 0 127 73&amp;gt;) based on a variable (103 2 plays in here somewhere)&lt;br /&gt;
====record type 2: (simple hotspot)====&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||dir 1=left, 2=right, 5=forward&lt;br /&gt;
|-&lt;br /&gt;
|short||type=2&lt;br /&gt;
|-&lt;br /&gt;
|short||left&lt;br /&gt;
|-&lt;br /&gt;
|short||top&lt;br /&gt;
|-&lt;br /&gt;
|short||right&lt;br /&gt;
|-&lt;br /&gt;
|short||bottom&lt;br /&gt;
|-&lt;br /&gt;
|short||destination&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Case studies====&lt;br /&gt;
(Note: these are simply the data in (little-endian) shorts and line-broken where I saw patterns. &amp;lt;l t b r&amp;gt; are (I think) areas on-screen. count [entry]... are guesses at when there are lists of entries. The number in parentheses before the data is the card number (not the resource number).)&lt;br /&gt;
 (CHANNEL 3001) 2&lt;br /&gt;
 1 2   &amp;lt;1 0 110 332&amp;gt; 3002&lt;br /&gt;
 2 2 &amp;lt;455 2 544 332&amp;gt; 3003&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3002) 2&lt;br /&gt;
 1 2   &amp;lt;0 1 100 332&amp;gt; 3005&lt;br /&gt;
 2 2 &amp;lt;431 0 544 332&amp;gt; 3001&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3003) 4&lt;br /&gt;
 5 2 &amp;lt;213 90 343 290&amp;gt; 3494 (the door)&lt;br /&gt;
 2 6 0 0 24 0 1 3494&lt;br /&gt;
 1 2 &amp;lt;0 0 81 332&amp;gt; 3001 (left)&lt;br /&gt;
 2 2 &amp;lt;463 0 544 332&amp;gt; 3005 (right)&lt;br /&gt;
 8 1 &amp;lt;417 260 544 333&amp;gt; 0 FFFF 0 103 2 3004 &amp;lt;0 0 127 73&amp;gt; 3003 FFFF&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3005) 4&lt;br /&gt;
 0 2 &amp;lt;76 152 196 330&amp;gt; 3012&lt;br /&gt;
 1 2  &amp;lt;0   0 106 332&amp;gt; 3003&lt;br /&gt;
 2 2 &amp;lt;438  0 544 332&amp;gt; 3002&lt;br /&gt;
 8 1 &amp;lt;31 276 163 333&amp;gt; 0 FFFF 0 103 2 3006 &amp;lt;0 0 132 57&amp;gt; 3005 FFFF&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3012) 8&lt;br /&gt;
 8 3 &amp;lt;101 243 214 343&amp;gt; 0 FFFF 1 5&lt;br /&gt;
 1 3 &amp;lt;103   1 802 103&amp;gt; 2 3013 &amp;lt;0 0 113 100&amp;gt; 3012 FFFF&lt;br /&gt;
 5 2 &amp;lt;255 193 269 208&amp;gt; 0 1 117 0 1 0&lt;br /&gt;
 5 2 &amp;lt;268 193 282 208&amp;gt; 0 1 117 0 1 1&lt;br /&gt;
 5 2 &amp;lt;281 193 295 208&amp;gt; 0 1 117 0 1 2&lt;br /&gt;
 5 2 &amp;lt;294 193 308 208&amp;gt; 0 1 117 0 1 3&lt;br /&gt;
 8 1 &amp;lt;252 190 310 210&amp;gt; 0 FFFF 0 17 4&lt;br /&gt;
   [3008 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
   [3009 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
   [3010 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
   [3011 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
 0 4&lt;br /&gt;
 &amp;lt;180 31 379 305&amp;gt; 0 5 2&lt;br /&gt;
 &amp;lt;0 0 544 332&amp;gt; 0 1 34&lt;br /&gt;
 0 2 3005 0&lt;br /&gt;
&lt;br /&gt;
 (MYST 4368) 3&lt;br /&gt;
 8 3 &amp;lt;305 148 375 238&amp;gt; 0 FFFF 1 [5 1 3 103 1 802] 103 2 FFFF FFFF 4369 &amp;lt;0 0 70 90&amp;gt;&lt;br /&gt;
 7 2 &amp;lt;216 110 304 235&amp;gt; 0 106 5 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 0 0 2 0 0 544 332 4345&lt;br /&gt;
&lt;br /&gt;
===VIEW===&lt;br /&gt;
image name and sub-images (akin to Riven PLSTs)&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;text-align:center;&amp;quot;&lt;br /&gt;
|0||0||3001||-1||0/0||3001||3001||0||0&lt;br /&gt;
|-&lt;br /&gt;
| || ||name||neg.||bytes||colspan=4|(name name 0 0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;text-align:center;&amp;quot;&lt;br /&gt;
|0||0||3002||-2||0/144||0|| ||3002||3002||0||0&lt;br /&gt;
|-&lt;br /&gt;
|0||0||3003||-2||0/144||1||[1 3004]||3003||3003||0||0&lt;br /&gt;
|-&lt;br /&gt;
| || ||name||?|| ||count||entry||colspan=4|(name name 0 0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*I think ''3004'' is the name of a sub-image (small image to be placed in another) of ''3003'' here.&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;text-align:center;&amp;quot;&lt;br /&gt;
|0||0||3005||3005||0/144||1||[1 3006]||3005||3005||0||0&lt;br /&gt;
|-&lt;br /&gt;
| || ||colspan=2|name twice|| || ||colspan=4|(name name 0 0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;text-align:center;&amp;quot;&lt;br /&gt;
|0||0||3012||-2||0/50||5||[1 3013]||[1 3008]||[1 3009]||[1 3010]||[1 3011]||3012||0||0||3012&lt;br /&gt;
|-&lt;br /&gt;
| || ||name||?|| ||count||colspan=5|entries||colspan=4|(name 0 0 name)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;text-align:center;&amp;quot;&lt;br /&gt;
!14&lt;br /&gt;
|1||1||5||2||3030||3031||FFFC 3 2 3031 00_A0||4031||x00A0||2||2 4030||1 3030|| || ||3031||3031||0||0&lt;br /&gt;
|-&lt;br /&gt;
!44&lt;br /&gt;
|1||1||2||2||3095||3096||FFFC 15 2 3095 00_A0||4095||x00A0||4||2 4095||1 3562||1 3097||2 5095||3095||3095||3095||0&lt;br /&gt;
|-&lt;br /&gt;
!348&lt;br /&gt;
|1||1||16||2||3536||3535|| ||3535||x0060||0|| || || || ||3535||3535||0||0&lt;br /&gt;
|-&lt;br /&gt;
!359&lt;br /&gt;
|1||1||5||2||3550||3552||FFFC 3 2 6552 00_80||3552||x0080||4||4 3550||4 3552||2 4552||2 5552||3552||3552||0||0&lt;br /&gt;
|-&lt;br /&gt;
!47&lt;br /&gt;
|1||1||10||2||4140||4141|| ||5141||x0090||1||2 4141|| || || ||4141||4141||4141||4141&lt;br /&gt;
|-&lt;br /&gt;
!50&lt;br /&gt;
|1||1||10||2||4148||4149|| ||4149||x0090||0|| || || || ||4149||4149||4149||0&lt;br /&gt;
|-&lt;br /&gt;
!51&lt;br /&gt;
|1||1||10||2||4150||4151|| ||FFFE||x0070||0|| || || || ||4150||4150||0||0&lt;br /&gt;
|-&lt;br /&gt;
!94&lt;br /&gt;
|1||1||10||2||4243||4244|| ||4244||x0050||0|| || || || ||4244||4244||0||0&lt;br /&gt;
|-&lt;br /&gt;
!116&lt;br /&gt;
|1||1||40||2||4292||4294||FFFC 40 2 4292 00_50||4292||x0060||2||1 4293||2 5292|| || ||4292||4292||0||0&lt;br /&gt;
|-&lt;br /&gt;
!145&lt;br /&gt;
|1||1||0||2||4358||4357|| ||FFFE||x0030||0|| || || || ||4357||4357||0||0&lt;br /&gt;
|-&lt;br /&gt;
!287&lt;br /&gt;
|1||1||34||3||4698||4701|| ||4702||xFFFD||4||1 4699||2 4698||2 5698||2 6698||4698||4698||4698||4698&lt;br /&gt;
|-&lt;br /&gt;
!295&lt;br /&gt;
|1||1||10||2||4717||4719|| ||4717||x0040||1||1 4718|| || || ||4717||4717||0||0&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Riven_scripts</id>
		<title>Riven scripts</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Riven_scripts"/>
				<updated>2008-02-18T15:12:45Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: a bunch of little things&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Riven}}&lt;br /&gt;
This document talks about the Riven scripting protocol.&lt;br /&gt;
&lt;br /&gt;
==Overview and main data structures==&lt;br /&gt;
The Riven engine is programmed using ''scripts'' attached to objects. The architecture resembles the HyperCard philosophy. A script is subdivided in ''handlers''; each handler is associated to an event which may happen to the script's object and it contains the actions to be executed when that event happens. The actions are described by a list of ''commands''. Cards and hotspots are the only entities with attached scripts.&lt;br /&gt;
&lt;br /&gt;
A script is represented by this data block:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||handler_count&lt;br /&gt;
|-&lt;br /&gt;
|variable size||handler list&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Each handler is made of this block:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||event_type&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||cmd_count&lt;br /&gt;
|-&lt;br /&gt;
|variable size||command list&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The following table gives event types identified until now. Types 0 ... 5 are reserved to hotspots, 6 ... 10 are reserved to cards.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Handlers&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
{| border=1 cellpadding=4 cellspacing=0 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#CCC&amp;quot;&lt;br /&gt;
! event_type !! What happened&lt;br /&gt;
|-&lt;br /&gt;
|0||Mouse button pressed inside the hotspot rect&lt;br /&gt;
|-&lt;br /&gt;
|1||Mouse button pressed inside the hotspot rect (never seen in the game)&lt;br /&gt;
|-&lt;br /&gt;
|2||Mouse button released inside the hotspot rect&lt;br /&gt;
|-&lt;br /&gt;
|3||Mouse moved, pressed or released inside the hotspot rect (never seen in the game)&lt;br /&gt;
|-&lt;br /&gt;
|4||Mouse held inside the hotspot rect (the event is sent repeatedly)&lt;br /&gt;
|-&lt;br /&gt;
|5||Mouse moved inside the hotspot rect (not sure)&lt;br /&gt;
|-&lt;br /&gt;
|6||Card &amp;quot;loaded&amp;quot;. This is the first event sent to a card. Usually cards enable things here. Screen updates are disabled during the execution of this handler, and the display is updated at the end.&lt;br /&gt;
|-&lt;br /&gt;
|7||Leaving card.&lt;br /&gt;
|-&lt;br /&gt;
|9||Card opened. This is sent at the end, when the card has been loaded and the display has been updated. Usually cards start movies and ambient sounds here.&lt;br /&gt;
|-&lt;br /&gt;
|10||Display being updated; for example this event is triggered when the handler for event 6 completes, or by [[#Command 21: enable screen update|command 21]]. The handler is executed before actually updating the display.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In general, each command is an opcode followed by a number of arguments. The same command can be passed a variable number of arguments, though only a few commands actually behave like that. The general structure is:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||cmd&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||arg_count&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||args[arg_count]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The following subsections explain what has been discovered about each command. Unlisted opcodes have never been observed in Riven.&lt;br /&gt;
==Command 1: draw tBMP resource==&lt;br /&gt;
*'''Argument count:''' 9&lt;br /&gt;
*'''Arguments:''' ''tbmp_id left top right bottom u0 u1 u2 u3''&lt;br /&gt;
&lt;br /&gt;
Draw bitmap from tBMP resource ''tbmp_id'' inside the rectangle described by ''left'', ''top'', ''right'', ''bottom''. If the rectangle dimensions do not match the bitmap size, the bitmap will be attached to the top-left corner and clipped to the rectangle. Other arguments are always zero and seem ignored by the engine.&lt;br /&gt;
&lt;br /&gt;
The command will automatically update the display unless [[#Command 20: disable screen update|command 20]] was used before.&lt;br /&gt;
&lt;br /&gt;
==Command 2: go to card==&lt;br /&gt;
*'''Argument count:''' 1&lt;br /&gt;
*'''Arguments:''' ''id''&lt;br /&gt;
&lt;br /&gt;
Go to card ''id''. In most cases this command is used in very short hotspot scripts containing just a transition command followed by the &amp;quot;go to card&amp;quot; one. In these cases, the following event chain takes place:&lt;br /&gt;
*the old card receives [[#Handlers|event 7]];&lt;br /&gt;
*the new card receives event 6;&lt;br /&gt;
*the new card receives event 10 (because the display is begin updated);&lt;br /&gt;
*the transition effect is played and the new card image is displayed;&lt;br /&gt;
*the new card receives event 9.&lt;br /&gt;
&lt;br /&gt;
However, it is also used in card event handlers, like 9 or 10. Sometimes it appears multiple times in the same script. The event sequence for these complicated cases is not yet fully understood.&lt;br /&gt;
&lt;br /&gt;
==Command 3: play tWAV resource mix==&lt;br /&gt;
*'''Argument count:''' variable&lt;br /&gt;
*'''Arguments:''' ''N ids[N] fade_flags loop volume u0 u1 volumes[N] balances[N] u2[N]''&lt;br /&gt;
&lt;br /&gt;
Play a mix of ''N'' tWAV sounds from the associated sounds Mohawk archive. The argument list is structured like an [[Riven SLST resources|SLST]] resource record. This command stops previously active ambient sounds.&lt;br /&gt;
&lt;br /&gt;
==Command 4: play local tWAV resource==&lt;br /&gt;
*'''Argument count:''' 3&lt;br /&gt;
*'''Arguments:''' ''id volume u1''&lt;br /&gt;
&lt;br /&gt;
Play tWAV resource ''id'' from the Mohawk archive containing the script. ''volume'' seems always 256, ''u1'' always 0. Ambient sounds are not touched; the sound is mixed over them.&lt;br /&gt;
&lt;br /&gt;
==Command 7: set variable value==&lt;br /&gt;
*'''Argument count:''' 2&lt;br /&gt;
*'''Arguments:''' ''var value''&lt;br /&gt;
&lt;br /&gt;
Set variable ''var'' to value ''value''.&lt;br /&gt;
&lt;br /&gt;
==Command 8: conditional branch==&lt;br /&gt;
This doesn't follow the ''command arg_count'' args scheme. It's similar to a C &amp;quot;switch&amp;quot; statement: given a variable, there is a list of possible variable values and a corresponding command list to be executed. The structure of command 8 is:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||8&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||2&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||var&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||value_count&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Then ''value_count'' blocks follow, each with this structure:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||value&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||command_count&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot; style=&amp;quot;color:#000&amp;quot;|commands to execute if var contains value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If ''value'' is 0xffff, the block is the &amp;quot;default&amp;quot; block exactly like in the C statement. As an example, let's compare the script syntax with a C-like switch statement:&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; valign=&amp;quot;center&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
 0008 0002 beef 3&lt;br /&gt;
   0001 0001&lt;br /&gt;
     a&lt;br /&gt;
   0002 0001&lt;br /&gt;
     b&lt;br /&gt;
   ffff 0002&lt;br /&gt;
     c&lt;br /&gt;
     d&lt;br /&gt;
|&lt;br /&gt;
 switch (variable 0xbeef) {&lt;br /&gt;
   case 1:&lt;br /&gt;
     a;&lt;br /&gt;
     break;&lt;br /&gt;
   case 2:&lt;br /&gt;
     b;&lt;br /&gt;
     break;&lt;br /&gt;
   default:&lt;br /&gt;
     c;&lt;br /&gt;
     d;&lt;br /&gt;
     break;&lt;br /&gt;
 }&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conditional branch command is used on levers, switches and every place where a variable value makes the difference. It's often used as a simple if-then-else mechanism.&lt;br /&gt;
&lt;br /&gt;
==Command 9: enable hotspot==&lt;br /&gt;
*'''Argument count:''' 1&lt;br /&gt;
*'''Arguments:''' ''hotspot_id''&lt;br /&gt;
&lt;br /&gt;
Enable card hotspot with the specified ''hotspot_id''.&lt;br /&gt;
&lt;br /&gt;
==Command 10: disable hotspot==&lt;br /&gt;
*'''Argument count:''' 1&lt;br /&gt;
*'''Arguments:''' ''hotspot_id''&lt;br /&gt;
&lt;br /&gt;
Disable card hotspot with the specified ''hotspot_id''. A disabled hotspot will not respond to events.&lt;br /&gt;
&lt;br /&gt;
==Command 12==&lt;br /&gt;
*'''Argument count:''' 1&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
Unknown. ''u0'' is 0, 1 or 2. This command is used only a few times, for example near &amp;quot;go to stack&amp;quot; commands like in the &amp;quot;play riven&amp;quot; button. It doesn't seem related to anything special (e.g. movies or sounds). Setting ''u0'' to some other value or replacing the command with others doesn't produce readily observable effects. I suspect it has something to do with variables, but I have yet to realize how to check this.&lt;br /&gt;
==Command 13: set mouse cursor==&lt;br /&gt;
[[Image:Cursors.png|right|frame|Riven cursor icons and their IDs]]&lt;br /&gt;
*'''Argument count:''' 1&lt;br /&gt;
*'''Arguments:''' ''cursor''&lt;br /&gt;
&lt;br /&gt;
Set mouse cursor icon to ''cursor'', whose meaning is given on the right.&lt;br /&gt;
&lt;br /&gt;
==Command 14: pause script execution==&lt;br /&gt;
*'''Argument count:''' 2&lt;br /&gt;
*'''Arguments:''' ms ''u0''&lt;br /&gt;
&lt;br /&gt;
Pause script execution for ''ms'' milliseconds. ''ms'' is signed and the pause is effective only if ''ms'' &amp;gt; 0. ''u0'' is always 0 and its value seems ignored by the engine.&lt;br /&gt;
&lt;br /&gt;
==Command 17: call external command==&lt;br /&gt;
*'''Argument count:''' variable, at least 2&lt;br /&gt;
*'''Arguments:''' ''cmd count arg1 arg2 ...''&lt;br /&gt;
&lt;br /&gt;
Call an external piece of custom code (&amp;quot;external command&amp;quot;), which is probably hardcoded inside the Riven executable. ''cmd'' tells which external command to call, and ''count'' tells how many arguments to pass to it. Then ''count'' arguments follow. [[Riven NAME resources|NAME]] resource 3 contains the name of each external command: ''cmd'' is the corresponding NAME record index. See the [[Riven external commands|external command list]] for more info on external commands.&lt;br /&gt;
&lt;br /&gt;
==Command 18: transition==&lt;br /&gt;
*'''Argument count:''' 1 or 5&lt;br /&gt;
*'''Arguments:''' ''code [left top right bottom]''&lt;br /&gt;
&lt;br /&gt;
Schedule a transition effect described by ''code'' (see below for what code means). The transition will actually play when a display update occurs, for example with [[#Command 21: enable screen update|command 21]], [[#Command 39: activate PLST record|39]] or after going to another card (it doesn't seem to work for [[#Command 1: draw tBMP resource|command 1]], however). The optional 4 args ''left'', ''top'', ''right'', and ''bottom'' specify a clip rectangle in pixels, but are never really used in the game.&lt;br /&gt;
&lt;br /&gt;
{| border=1 cellpadding=4 cellspacing=0 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#CCC&amp;quot;&lt;br /&gt;
! code !! Effect&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;font-family:monospace&amp;quot;|0...15&lt;br /&gt;
|Scroll. Bits 0 and 1 control the direction (0=left, 1=right, 2=top, 3=bottom); bit 2 tells if the new image should move (1) or stay fixed (0); bit 3 tells if the old image should move or stay fixed.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;font-family:monospace&amp;quot;|16||Dissolve.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;font-family:monospace&amp;quot;|17||Seems to behave like 16, rare (t_Data, CARD 155).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Note that Riven uses only transitions from 12 to 17; other effects were discovered by hacking scripts. Maybe there are more.&lt;br /&gt;
&lt;br /&gt;
==Command 19: reload card==&lt;br /&gt;
*'''Argument count:''' 0&lt;br /&gt;
&lt;br /&gt;
It's something like &amp;quot;refresh card&amp;quot;: it acts like a &amp;quot;go to this card&amp;quot; command. Often used to update the card display after an hotspot script has altered a variable.&lt;br /&gt;
&lt;br /&gt;
==Command 20: disable screen update==&lt;br /&gt;
*'''Argument count:''' 0&lt;br /&gt;
&lt;br /&gt;
This seems to disable the automatic display update for commands [[#Command 1: draw tBMP resource|1]] and [[#Command 39: activate PLST record|39]]. It doesn't work like a &amp;quot;toggle&amp;quot; command: using it multiple times won't re-enable the automatic update (it is re-enabled by command 21 instead). Its effect persists even after the script ends (extending to any successive script, e.g. hotspot ones) but is reset on card switches. Command 20 often precedes [[#Command 18: transition|command 18]].&lt;br /&gt;
&lt;br /&gt;
==Command 21: enable screen update==&lt;br /&gt;
*'''Argument count:''' 0&lt;br /&gt;
&lt;br /&gt;
This seems the opposite of [[#Command 20: disable screen update|command 20]]: it re-enables the automatic display update for commands [[#Command 1: draw tBMP resource|1]] and [[#Command 39: activate PLST record|39]], triggers [[#Handlers|event 10]], updates the display and plays the transition effect if one was scheduled before.&lt;br /&gt;
&lt;br /&gt;
Command 21 shows inconsistent behavior if used alone (sometimes it updates the display, sometimes it doesn't, sometimes it skips the transition, etc.); the correct way of using commands 20 and 21 seems to be the following construct, which is also what is usually found in scripts:&lt;br /&gt;
#disable screen update&lt;br /&gt;
#schedule transition&lt;br /&gt;
#activate [[PLST]] records / draw [[tBMP]] resources&lt;br /&gt;
#enable screen update&lt;br /&gt;
&lt;br /&gt;
This construct will compose a final picture (by overlaying the specified PLST records and tBMP bitmaps, in the same order as they appear in the script) and then play the specified transition effect from the previously displayed picture to the new one. Note that such a complex effect wouldn't be possible without commands 20/21.&lt;br /&gt;
&lt;br /&gt;
==Command 24: increment variable==&lt;br /&gt;
*'''Argument count:''' 2&lt;br /&gt;
*'''Arguments:''' ''var value''&lt;br /&gt;
&lt;br /&gt;
Add ''value'' to variable ''var''.&lt;br /&gt;
&lt;br /&gt;
==Command 27: go to stack==&lt;br /&gt;
*'''Argument count:''' 3&lt;br /&gt;
*'''Arguments:''' ''stack_name code_hi code_lo''&lt;br /&gt;
&lt;br /&gt;
Go to another stack. The destination stack is specified by ''stack_name''; you get the actual stack name string by looking up record ''stack_name'' in [[Riven NAME resources|NAME]] resource 5. The destination card is specified through ''code_hi'' (higher 16 bytes) and ''code_lo'' (lower 16 bytes) which together form an unsigned long [[Riven RMAP resources|RMAP]] card code.&lt;br /&gt;
&lt;br /&gt;
==Command 28==&lt;br /&gt;
*'''Argument count:''' 1&lt;br /&gt;
*'''Arguments:''' ''code''&lt;br /&gt;
&lt;br /&gt;
Unknown. It should have something to do with movies: it comes almost always after [[#Command 32: play foreground movie|command 32]] with the same argument. However, changing code or even removing the command itself seem to have no effect neither on the movie nor on anything else. Maybe it purges the memory used by the movie or something like that.&lt;br /&gt;
&lt;br /&gt;
==Command 29==&lt;br /&gt;
*'''Argument count:''' 0&lt;br /&gt;
&lt;br /&gt;
Unknown. Seems related to movies since in most cases it comes after [[#Command 32: play foreground movie|command 32]]. Used quite rarely.&lt;br /&gt;
==Command 31==&lt;br /&gt;
*'''Argument count:''' 1&lt;br /&gt;
*'''Arguments:''' ''code''&lt;br /&gt;
&lt;br /&gt;
Unknown. Should have something to do with movies, it comes often before [[#Command 33: play background movie|command 33]] with the same argument. Changing code seems to have no effect.&lt;br /&gt;
&lt;br /&gt;
==Command 32: play foreground movie==&lt;br /&gt;
*'''Argument count:''' 1&lt;br /&gt;
*'''Arguments:''' ''code''&lt;br /&gt;
&lt;br /&gt;
Play a movie listed in the [[Riven MLST resources|MLST]] resource, blocking the script execution until movie ends. code matches the code field of the MLST record that should be played. The MLST record must be first enabled with [[#Command 46: activate MLST record|command 46]], otherwise some other random movie will play instead (or nothing will happen at all). If multiple records have that code value, one will be chosen randomly, I guess. Sometimes this command follows [[#Command 33: play background movie|command 33]] with the same parameter: probably it just means &amp;quot;wait until the movie ends&amp;quot; in that case.&lt;br /&gt;
&lt;br /&gt;
==Command 33: play background movie==&lt;br /&gt;
*'''Argument count:''' 1&lt;br /&gt;
*'''Arguments:''' ''code''&lt;br /&gt;
&lt;br /&gt;
Start a &amp;quot;background&amp;quot; movie from [[Riven MLST resources|MLST]] record with specified code. Script execution will go on (and eventually terminate) while the movie is playing. Often this command follows [[#Command 31|command 31]]. The MLST record must be first enabled with [[#Command 46: activate MLST record|command 46]], otherwise some other random movie will play instead.&lt;br /&gt;
&lt;br /&gt;
==Command 34==&lt;br /&gt;
*'''Argument count:''' 1&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
Unknown. ''u0'' is always 1.&lt;br /&gt;
&lt;br /&gt;
==Command 36==&lt;br /&gt;
*'''Argument count:''' 0&lt;br /&gt;
&lt;br /&gt;
Unknown.&lt;br /&gt;
&lt;br /&gt;
==Command 37==&lt;br /&gt;
*'''Argument count:''' 0&lt;br /&gt;
&lt;br /&gt;
Unknown.&lt;br /&gt;
&lt;br /&gt;
==Command 38==&lt;br /&gt;
*'''Argument count:''' 5&lt;br /&gt;
*'''Arguments:''' ''u1 u2 u3 u4 u5''&lt;br /&gt;
&lt;br /&gt;
Unknown, but should have something to do with movies. ''u1'' seems to refer to a [[Riven MLST resources|MLST]] record code, ''u5'' seems to be a [[Riven SLST resources|SLST]] record index and ''u4'' seems always 40. ''u2'' and ''u3'' seem to form a 32-bit value set to large numbers (4000, 9000...), which I suspect are milliseconds.&lt;br /&gt;
&lt;br /&gt;
This command seems to perform complex actions: if ''u4'' is changed to 0, ''u5'' is interpreted instead as a [[Riven tBMP resources|tBMP]] resource ID and that bitmap is drawn right after the movie.&lt;br /&gt;
&lt;br /&gt;
==Command 39: activate PLST record==&lt;br /&gt;
*'''Argument count:''' 1&lt;br /&gt;
*'''Arguments:''' ''record''&lt;br /&gt;
&lt;br /&gt;
Activate the specified record in the [[Riven PLST resources|PLST]] resource, making one of the card bitmaps visible. The actual screen update takes place immediately (with a transition effect, if one was scheduled before) unless [[#Command 20: disable screen update|command 20]] was used before or the command is called from [[#Handlers|handlers 6 or 10]].&lt;br /&gt;
&lt;br /&gt;
==Command 40: activate SLST record==&lt;br /&gt;
*'''Argument count:''' 1&lt;br /&gt;
*'''Arguments:''' ''record''&lt;br /&gt;
&lt;br /&gt;
Activate the specified [[Riven SLST resources|SLST]] record, so start ambient sounds. This command seems to have effect just once: it won't restart the same sound if it is already playing (even if the SLST tells not to repeat it). Activating another SLST record works always: the current sound is then stopped and replaced with the new one.&lt;br /&gt;
&lt;br /&gt;
==Command 41==&lt;br /&gt;
*'''Argument count:''' 1&lt;br /&gt;
*'''Arguments:''' ''u0''&lt;br /&gt;
&lt;br /&gt;
Unknown. Should have something to do with movies because it comes often before [[#Command 32: play foreground movie|command 32]] with the same argument. A hypothesis is that it activates a [[Riven MLST resources|MLST]] record like [[#Command 46: activate MLST record|46]], but using its code field rather than the MLST record index.&lt;br /&gt;
==Command 43: activate BLST record==&lt;br /&gt;
*'''Argument count:''' 1&lt;br /&gt;
*'''Arguments:''' ''record''&lt;br /&gt;
&lt;br /&gt;
Activate the specified record in the [[Riven BLST resources|BLST]] resource, so enable or disable one of the card hotspots (depending on the record info).&lt;br /&gt;
&lt;br /&gt;
==Command 44: activate FLST record==&lt;br /&gt;
*'''Argument count:''' 1&lt;br /&gt;
*'''Arguments:''' ''record''&lt;br /&gt;
&lt;br /&gt;
Activate the specified record in the [[Riven FLST resources|FLST]] resource, so enable a realtime [[Riven SFXE resources|SFXE]] effect.&lt;br /&gt;
&lt;br /&gt;
==Command 45: do zip mode==&lt;br /&gt;
*'''Argument count:''' 0&lt;br /&gt;
&lt;br /&gt;
Find the correct [[Riven ZIPS resources|ZIPS]] record using the hotspot name, get the destination card from the found record and go to that card. Though likely, this behavior has not been confirmed yet.&lt;br /&gt;
&lt;br /&gt;
==Command 46: activate MLST record==&lt;br /&gt;
*'''Argument count:''' 2&lt;br /&gt;
*'''Arguments:''' ''record u0''&lt;br /&gt;
&lt;br /&gt;
Activate the specified record in the [[Riven MLST resources|MLST]] resource. This command won't actually start the movie; it will only &amp;quot;enable&amp;quot; it for later playing. ''u0'' seems 0 or 1 if the movie is to be played once or looped forever, respectively. This is redundant, since the same info can be found in the MLST record; moreover, ''u0'' seems to be ignored by the engine.&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Riven_HSPT_resources</id>
		<title>Riven HSPT resources</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Riven_HSPT_resources"/>
				<updated>2008-02-18T01:36:33Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: adjustments&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{Riven}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
These contain hotspots, sort of invisible buttons within cards that respond to mouse clicks (and other events) by performing actions described by attached scripts.&lt;br /&gt;
&lt;br /&gt;
Each HSPT resource is a list of records and starts with an unsigned short equal to the number of records. Due to the attached scripts, HSPT records can have different size and there is no way to know it without fully decoding the record. Each record has the following structure:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||blst_id||class=&amp;quot;comment&amp;quot;|Links the hotspot to a BLST resource record&lt;br /&gt;
|-&lt;br /&gt;
|short||name_rec||class=&amp;quot;comment&amp;quot;|If ≥ 0, record index in [[Riven NAME resources|NAME]] resource 2 to provide a name for the hotspot&lt;br /&gt;
|-&lt;br /&gt;
|short||left||class=&amp;quot;comment&amp;quot; rowspan=4|Hotspot rectangle within the game window, in pixels&lt;br /&gt;
|-&lt;br /&gt;
|short||top&lt;br /&gt;
|-&lt;br /&gt;
|short||right&lt;br /&gt;
|-&lt;br /&gt;
|short||bottom&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||u0||&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||mouse_cursor||class=&amp;quot;comment&amp;quot;|Cursor icon to set when the mouse rolls over this hotspot&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||index||class=&amp;quot;comment&amp;quot;|Record index starting from 1&lt;br /&gt;
|-&lt;br /&gt;
|short||u1||&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||u2||&lt;br /&gt;
|-&lt;br /&gt;
|variable size||script||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Image:Cursors.png|right|frame|Riven cursor icons and their IDs]]&lt;br /&gt;
&lt;br /&gt;
Hotspot rectangles can fall outside the game window (in any direction) and often two or more hotspots overlap. There are even cases with ''left'' &amp;gt; ''right'' (card 371, t_Data). When more hotspots overlap, the hotspot &amp;quot;on top&amp;quot; is the one with the largest ''index'' value.&lt;br /&gt;
&lt;br /&gt;
Cursor icon values are listed on the right.&lt;br /&gt;
&lt;br /&gt;
''u0'' seems always zero and changing it seems to leave Riven indifferent. ''u1'' is very very often -1 but not always. ''u2'' is 0 for ordinary hotspots, 1 for Zip Mode ones: the engine disables all Zip Mode hotspots when Zip Mode is off.&lt;br /&gt;
&lt;br /&gt;
For info on the attached script see the [[Riven scripts|scripts section]].&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Template:Myst</id>
		<title>Template:Myst</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Template:Myst"/>
				<updated>2008-02-12T23:04:29Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: same here&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;toc&amp;quot; align=&amp;quot;right&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|colspan=4|'''&amp;lt;big&amp;gt;Myst&amp;lt;/big&amp;gt;'''&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2|[[Mohawk archive format|Mohawk]]&lt;br /&gt;
|colspan=2|[[Myst resources|Other]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Myst CLRC resources|CLRC]]&lt;br /&gt;
|[[Myst EXIT resources|EXIT]]&lt;br /&gt;
|[[Myst HINT resources|HINT]]&lt;br /&gt;
|[[Myst INIT resources|INIT]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Myst MJMP resources|MJMP]]&lt;br /&gt;
|[[Myst MSND resources|MSND]]&lt;br /&gt;
|[[Myst PICT resources|PICT]]&lt;br /&gt;
|[[Myst RLST resources|RLST]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Myst VIEW resources|VIEW]]&lt;br /&gt;
|[[Myst WDIB resources|WDIB]]&lt;br /&gt;
|colspan=2|[[Myst variables|Variables]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Template:Riven</id>
		<title>Template:Riven</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Template:Riven"/>
				<updated>2008-02-12T23:03:54Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: turns out the reason the tocToggle was broken was there was another element with id=&amp;quot;toc&amp;quot;. fixing.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;toc&amp;quot; align=&amp;quot;right&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|colspan=4|'''&amp;lt;big&amp;gt;Riven&amp;lt;/big&amp;gt;'''&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2|[[Mohawk archive format|Mohawk]]&lt;br /&gt;
|colspan=2|[[Riven engine overview|Overview]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Riven BLST resources|BLST]]&lt;br /&gt;
|[[Riven CARD resources|CARD]]&lt;br /&gt;
|[[Riven FLST resources|FLST]]&lt;br /&gt;
|[[Riven HSPT resources|HSPT]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Riven MLST resources|MLST]]&lt;br /&gt;
|[[Riven NAME resources|NAME]]&lt;br /&gt;
|[[Riven PLST resources|PLST]]&lt;br /&gt;
|[[Riven RMAP resources|RMAP]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Riven SFXE resources|SFXE]]&lt;br /&gt;
|[[Riven SLST resources|SLST]]&lt;br /&gt;
|[[Riven tBMP resources|tBMP]]&lt;br /&gt;
|[[Riven tMOV resources|tMOV]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Riven tWAV resources|tWAV]]&lt;br /&gt;
|[[Riven VARS resources|VARS]]&lt;br /&gt;
|[[Riven VERS resources|VERS]]&lt;br /&gt;
|[[Riven ZIPS resources|ZIPS]]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2|[[Riven scripts|Scripts]]&lt;br /&gt;
|colspan=2|[[Riven variables|Variables]]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=4|[[Riven external commands|External commands]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/MediaWiki:Sidebar</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/MediaWiki:Sidebar"/>
				<updated>2008-02-12T22:25:39Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: customized sidebar (Note: I have removed the comm. portal; we may need it in the future, but not at the moment)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* navigation&lt;br /&gt;
** mainpage|mainpage&lt;br /&gt;
** recentchanges-url|recentchanges&lt;br /&gt;
** randompage-url|randompage&lt;br /&gt;
** helppage|help&lt;br /&gt;
* riven&lt;br /&gt;
** Riven engine overview|Overview&lt;br /&gt;
** Riven resources|Resources&lt;br /&gt;
** Riven scripts|Scripts&lt;br /&gt;
** Riven variables|Variables&lt;br /&gt;
** Riven external commands|External commands&lt;br /&gt;
* myst&lt;br /&gt;
** Myst resources|Resources&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Riven_engine_overview</id>
		<title>Riven engine overview</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Riven_engine_overview"/>
				<updated>2008-02-12T22:06:21Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: the stack switching notes have to go somewhere, if not the 'other' page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A Riven scenario is made of virtual objects called ''stacks'' and each stack is a list of virtual objects called ''cards''. This may remember HyperCard: it's the same approach. Each card has an associated ''script'', a sequence of commands to be executed in response of events happening to the card (for example, card creation). The player interacts with the game by means of invisible buttons, placed within cards and called ''hotspots''. Hotspots have associated scripts too, responding to events different than cards (for example, mouse clicks). Within cards can also be placed bitmaps and movies. Finally, sounds can be played.&lt;br /&gt;
&lt;br /&gt;
Riven stacks are named&lt;br /&gt;
*aspit (main menu, books, setup screens)&lt;br /&gt;
**a_Data.mhk&lt;br /&gt;
**a_Sounds.mhk&lt;br /&gt;
*ospit (Gehn's office)&lt;br /&gt;
**o_Data.mhk&lt;br /&gt;
**o_Sounds.mhk&lt;br /&gt;
*pspit (prison island)&lt;br /&gt;
**p_Data.mhk&lt;br /&gt;
**p_Sounds.mhk&lt;br /&gt;
*gspit (garden island)&lt;br /&gt;
**g_Data.mhk&lt;br /&gt;
**g_Sounds.mhk&lt;br /&gt;
*rspit (rebel age)&lt;br /&gt;
**r_Data.mhk&lt;br /&gt;
**r_Sounds.mhk&lt;br /&gt;
*tspit (temple island).&lt;br /&gt;
**t_Data.mhk (Riven 5CD)&lt;br /&gt;
**t_Data1.mhk, t_Data2.mhk (Riven DVD)&lt;br /&gt;
**t_Sounds.mhk&lt;br /&gt;
*jspit (jungle island)&lt;br /&gt;
**j_Data1.mhk&lt;br /&gt;
**j_Data2.mhk&lt;br /&gt;
**j_Sounds.mhk&lt;br /&gt;
*bspit (boiler island)&lt;br /&gt;
**b_Data.mhk&lt;br /&gt;
**b_Sounds.mhk&lt;br /&gt;
&lt;br /&gt;
Physically, a stack is described by a set of data blocks called ''resources''. Resources are identified by a 4-char ''type'' and an integer ''ID''. Optionally they can also have a name, but it seems completely ignored by the engine. The resource type tells what kind of data is stored in the resource; see the [[Riven_resources|resource type list]] for types used in Riven.&lt;br /&gt;
&lt;br /&gt;
Resources belonging to a certain stack are archived inside an arbitrary number of [[Mohawk_archive_format|Mohawk files]] (listed above under their respective stacks). The file &amp;quot;riven.cfg&amp;quot; tells which files compose each stack by associating stack and file names.&lt;br /&gt;
&lt;br /&gt;
Saved games are Mohawk archives too, and they contain additional resource types as described in the [[Riven_resources|resource type list]].&lt;br /&gt;
&lt;br /&gt;
==Notes on stack switching==&lt;br /&gt;
The current stack can be changed from scripts using [[Riven scripts#Command 27: go to stack|script command 27]]. For example, when the player activates a MagLev, first the car movie is played, and then command 27 is called to change the current stack to the new island. This command is also used in the &amp;quot;Play Riven&amp;quot; button. However, most linking books actually change stack simply by moving to another card which has no buttons and no scripts. Apparently, there is some hardcoded mechanism inside the engine which triggers the stack change when one of these &amp;quot;special&amp;quot; cards is entered. These cards are listed here.&lt;br /&gt;
{| border=1 cellpadding=4 cellspacing=0 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#CCC&amp;quot;&lt;br /&gt;
! Stack !! Card ID !! Target stack !! Target card&lt;br /&gt;
|-&lt;br /&gt;
|bspit||447||ospit||1&lt;br /&gt;
|-&lt;br /&gt;
|gspit||178||ospit||1&lt;br /&gt;
|-&lt;br /&gt;
|jspit||228||rspit||3&lt;br /&gt;
|-&lt;br /&gt;
|jspit||344||ospit||1&lt;br /&gt;
|-&lt;br /&gt;
|ospit||58||pspit||43&lt;br /&gt;
|-&lt;br /&gt;
|ospit||62||jspit||341&lt;br /&gt;
|-&lt;br /&gt;
|ospit||67||gspit||175&lt;br /&gt;
|-&lt;br /&gt;
|ospit||72||bspit||444&lt;br /&gt;
|-&lt;br /&gt;
|ospit||76||tspit||387&lt;br /&gt;
|-&lt;br /&gt;
|pspit||46||ospit||1&lt;br /&gt;
|-&lt;br /&gt;
|rspit||13||jspit||215&lt;br /&gt;
|-&lt;br /&gt;
|tspit||392||ospit||1&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/A_look_inside_The_Link_@_wiki:About</id>
		<title>A look inside The Link @ wiki:About</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/A_look_inside_The_Link_@_wiki:About"/>
				<updated>2008-02-12T21:44:08Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: /* Who contributed? */ we can't have unattributed work! :-)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Some info is needed about the project itself. This page reports a bit of history and lists people who contributed to make the project possible.&lt;br /&gt;
&lt;br /&gt;
== Why such an effort? ==&lt;br /&gt;
''For fun''. The so-called ''reverse engineering'' can turn huge amounts of brain work into huge amounts of satisfaction (in a way similar to science, if you like). You start with just a big file, knowing almost nothing about it, and eventually you have an almost complete description of its structure, coming just from observation and reasoning. Like science, it's a challenge: a way of proving the power of our mind. When I completely decoded SFXE resources, which were originally unknown in both ''format'' and ''purpose'', people thought I had gone mad. I was running everywhere and telling everyone &amp;quot;Hey, I've decoded SFXEs!&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Another reason is allowing people to extend the Riven experience to other platforms and operating systems. At the beginning I was far from seeing this as a serious reason, it was more like a dream; but as fields and structures were decoded, I started wondering if someone had noticed my efforts and exploited them for porting Riven to other platforms. Eventually, it happened with two projects: Fissure and Riven X.&lt;br /&gt;
&lt;br /&gt;
== How was it performed? ==&lt;br /&gt;
Hmm, quite a difficult question. First of all, you have to be extremely ''calm'' and ''relaxed''...&lt;br /&gt;
&lt;br /&gt;
Seriously, I first made some guesses and hypoteses based on the type of game and what I already knew about Myst: the data files were probably some sort of archives containing game pieces, so the goal was un-archiving them. I first directed my efforts toward understanding [[Mohawk archive format|Mohawk archives]]. I did hex dumps of the smaller data files, printed pages and pages and carefully searched the numbers for any possible pattern. I finally managed to write a small program to &amp;quot;unroll&amp;quot; Mohawk archives and reveal their content, which was a bunch of &amp;quot;resources&amp;quot;. Each resource was identified by a 4-char type, an integer ID and optionally a name. An approach very similar to old MacOS resources. These resources were the pieces of the game: pictures, movies, sounds, unknown data. They were mostly encoded in proprietary formats, so I had to start again with the research: make hex dumps, print, analyze and search for patterns, for every resource type. For example, in pictures I first looked for values matching the bitmap dimensions, while in sounds I looked for common sample rate values like 44100. Decoding resources like SFXE and RMAP also involved understanding what the resource contained; I guessed this by observing the context in which these resources were invoked. With new info constantly coming in and so many resource types to handle, at some point I decided to make some order in my head, pause the research and write a big Mohawk archive browser, a program with a nice graphical interface to explore Mohawk files &amp;quot;by click&amp;quot; and, more important, test whether hypotetic data structures really matched all of the available data. It was a good idea and greatly speeded up further research.&lt;br /&gt;
&lt;br /&gt;
More or less, the decoding process can always be viewed as an initial observation of the numbers, formulation of hypotetic data structures and creation of test programs to match the data structures to all available data. If even a single mismatch is found, the data structure has to be reviewed. Clearly, some of the steps can be skipped when you already have enough information. Another useful approach is brutally altering the data and then running the original game engine to see what happens. However this is like bruteforcing and is only useful to provide hints when you are really desperate about a single unknown field. If you alter something you know nothing about, you'll mostly get a hard, spectacular crash filling the screen with random pixels.&lt;br /&gt;
&lt;br /&gt;
As for the tools, the whole thing has been performed on Linux, using mainly hexdump, hexedit and the good compiler gcc. I used MPlayer to watch tMOV resources and Baudline to check decoded tWAV audio signals.&lt;br /&gt;
&lt;br /&gt;
== Who contributed? ==&lt;br /&gt;
I didn't decode everything [[User:TitoDalCanton|myself]], and I want to thank people who contributed. Gabriel Bauman figured out most of the Mohawk archive format when I was still enjoying the game, and then founded the Fissure port; his work was my initial inspiration. Arthur Muller provided an immense help by understanding tBMP compression after my vain efforts. Ron Hayter provided details on the DVD version of tWAV resources. [[User:BahamutZERO|Jean-Francois Roy]], author of Riven X, constantly keeps my interest active and provides reasons to go on. [[User:Di_gama|Mario Carneiro]] was the one that definitely convinced me to port the original documentation to this wiki, and he is contributing to the Myst research. Many thanks to all!&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Riven_ZIPS_resources</id>
		<title>Riven ZIPS resources</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Riven_ZIPS_resources"/>
				<updated>2008-02-12T21:40:01Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: it is helpful to put at least one link to the CARD resource here&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Found only in saved games, this resource contains a list of visited locations to support the &amp;quot;Zip Mode&amp;quot;. It starts with an unsigned short telling how many records will follow. Then, each record contains the following data:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||name_len&lt;br /&gt;
|-&lt;br /&gt;
|char||name[name_len]&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||card_id&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Each record is linked to a [[CARD|card]]: ''card_id'' tells its ID, and ''name'' is equal to the card name. Zip Mode hotspots share the same name, so when they are clicked the target card ID can be known by looking up in the ZIPS. If the user already visited that card, the record will be there and the hotspot will be able to go to that card.&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Riven_FLST_resources</id>
		<title>Riven FLST resources</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Riven_FLST_resources"/>
				<updated>2008-02-12T20:18:11Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: confirmed behavior&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{Riven}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
They seem to specify which [[SFXE]] resource each card must use.&lt;br /&gt;
&lt;br /&gt;
Each FLST resource is a list of records; it starts with an unsigned short record count, followed by that many records. The record size is 6 bytes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||index||class=&amp;quot;comment&amp;quot;|Record index, starting from 1&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||sfxe_id||class=&amp;quot;comment&amp;quot;|Resource ID of the corresponding [[SFXE]]&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||u0||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
''u0'' is always zero. Changing it seems to have no effect.&lt;br /&gt;
&lt;br /&gt;
FLST resources are very often empty (meaning no SFXE for that card) or with just one record.&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/ZIPS</id>
		<title>ZIPS</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/ZIPS"/>
				<updated>2008-02-11T20:14:56Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: redir&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Riven ZIPS resources]]&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/VERS</id>
		<title>VERS</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/VERS"/>
				<updated>2008-02-11T20:14:34Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: redir&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Riven VERS resources]]&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/VARS</id>
		<title>VARS</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/VARS"/>
				<updated>2008-02-11T20:14:08Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: redir&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Riven VARS resources]]&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/TWAV</id>
		<title>TWAV</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/TWAV"/>
				<updated>2008-02-11T20:13:41Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: redir&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Riven tWAV resources]]&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/TMOV</id>
		<title>TMOV</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/TMOV"/>
				<updated>2008-02-11T20:13:15Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: redir&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Riven tMOV resources]]&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/TBMP</id>
		<title>TBMP</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/TBMP"/>
				<updated>2008-02-11T20:12:44Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: redir&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Riven tBMP resources]]&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/SLST</id>
		<title>SLST</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/SLST"/>
				<updated>2008-02-11T20:12:18Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: redir&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Riven SLST resources]]&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/SFXE</id>
		<title>SFXE</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/SFXE"/>
				<updated>2008-02-11T20:11:56Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: redir&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Riven SFXE resources]]&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/RMAP</id>
		<title>RMAP</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/RMAP"/>
				<updated>2008-02-11T20:11:38Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: redir&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Riven RMAP resources]]&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/PLST</id>
		<title>PLST</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/PLST"/>
				<updated>2008-02-11T20:11:10Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: redir&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Riven PLST resources]]&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/NAME</id>
		<title>NAME</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/NAME"/>
				<updated>2008-02-11T20:10:48Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: redir&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Riven NAME resources]]&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/MLST</id>
		<title>MLST</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/MLST"/>
				<updated>2008-02-11T20:10:26Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: redir&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Riven MLST resources]]&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/HSPT</id>
		<title>HSPT</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/HSPT"/>
				<updated>2008-02-11T20:10:01Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: redir&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Riven HSPT resources]]&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/FLST</id>
		<title>FLST</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/FLST"/>
				<updated>2008-02-11T20:09:29Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: redir&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Riven FLST resources]]&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/CARD</id>
		<title>CARD</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/CARD"/>
				<updated>2008-02-11T20:07:37Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: redir&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Riven CARD resources]]&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/BLST</id>
		<title>BLST</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/BLST"/>
				<updated>2008-02-11T20:07:11Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: redir&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Riven BLST resources]]&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Riven_tMOV_resources</id>
		<title>Riven tMOV resources</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Riven_tMOV_resources"/>
				<updated>2008-02-11T20:06:18Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: stubbed&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{Riven}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
This resource seems to be just an Apple QuickTime MOV format movie, so it is in their proprietary format.&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Myst_resources</id>
		<title>Myst resources</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Myst_resources"/>
				<updated>2008-02-06T12:45:09Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: /* VIEW */ I'LL FIX IT LATER&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Myst}}&lt;br /&gt;
This page contains or will contain a comprehensive analysis of the 8 resources in Myst (and the two added in Myst ME).&lt;br /&gt;
&lt;br /&gt;
Both Myst and Myst ME use little-endian byte order in the files (by contrast to the big-endian byte order used in Riven and the Mohawk format), although the data itself is stored in properly formatted Mohawk format (don't let the .dni or .dat file extension fool you). The packages in Myst ME are:&lt;br /&gt;
*CHANNEL&lt;br /&gt;
*CREDITS&lt;br /&gt;
*DUNNY&lt;br /&gt;
*INTRO&lt;br /&gt;
*MECHAN&lt;br /&gt;
*MYST&lt;br /&gt;
*SELEN&lt;br /&gt;
*STONE&lt;br /&gt;
*SYSTEM&lt;br /&gt;
The resources are on the left (MJMP and PICT are new in ME). None of the resources are named except for the MSND/MJMP resources.&lt;br /&gt;
&lt;br /&gt;
==CLRC==&lt;br /&gt;
All CLRC resources follow the pattern:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||u1&lt;br /&gt;
|-&lt;br /&gt;
|short||u2&lt;br /&gt;
|}&lt;br /&gt;
*''u1'' and ''u2'' are both 1, 6, 7, 8, 9, or 14 for all files&lt;br /&gt;
&lt;br /&gt;
==EXIT==&lt;br /&gt;
I think these are variables, although that seems unlikely because SELEN has no EXIT resources.&lt;br /&gt;
&amp;lt;noinclude&amp;gt;===Case studies (all of them)===&lt;br /&gt;
Note: these are presented as ''resource_index''.''length short...'' where the data is broken into shorts and displayed in decimal.&lt;br /&gt;
====CHANNEL====&lt;br /&gt;
*0.12 1 0 300 0 0 1&lt;br /&gt;
====DUNNY====&lt;br /&gt;
*0.22 2 0 300 0 0 1 0 100 0 0 1&lt;br /&gt;
====INTRO====&lt;br /&gt;
*0.22 2 0 300 0 0 1 0 38 0 0 1&lt;br /&gt;
*1.12 1 0 38 0 0 1&lt;br /&gt;
====MECHAN====&lt;br /&gt;
*0.24 2 0 27 0 1 7044 1 0 4 0 0 1&lt;br /&gt;
*1.12 1 0 300 0 0 1&lt;br /&gt;
*2.12 1 0 32 0 0 1&lt;br /&gt;
====MYST====&lt;br /&gt;
*0.12 1 0 301 0 0 1&lt;br /&gt;
*1.12 1 0 301 0 0 1&lt;br /&gt;
*2.12 1 0 301 0 0 1&lt;br /&gt;
*3.12 1 0 301 0 0 1&lt;br /&gt;
*4.12 1 0 301 0 0 1&lt;br /&gt;
*5.12 1 1 306 0 0 1&lt;br /&gt;
*6.12 1 1 306 0 0 1&lt;br /&gt;
*7.12 1 0 302 0 0 1&lt;br /&gt;
*8.12 1 0 303 0 0 1&lt;br /&gt;
*9.12 1 0 303 0 0 1&lt;br /&gt;
*10.36 3 [0 1 302 1 1 1] [0 309 0 0 1 0] [1 309 1 0 1]&lt;br /&gt;
*11.12 1 0 307 0 0 1&lt;br /&gt;
*12.24 2 [0 300 100 0 2 0] [1 309 1 0 1]&lt;br /&gt;
*13.24 2 [0 300 101 0 2 0] [1 309 1 0 1]&lt;br /&gt;
*14.12 1 [0 303 0 0 1]&lt;br /&gt;
*15.14 1 0 308 0 0 1 0&lt;br /&gt;
*16.12 1 [0 304 0 0 1]&lt;br /&gt;
*17.12 1 [0 304 0 0 1]&lt;br /&gt;
*18.22 2 [0 304 0 0 1] [0 305 0 0 1]&lt;br /&gt;
*19.12 1 [1 304 0 0 1]&lt;br /&gt;
*20.22 2 [0 304 0 0 1] [0 305 0 0 1]&lt;br /&gt;
*21.12 1 [0 304 0 0 1]&lt;br /&gt;
*22.22 2 [0 304 0 0 1] [0 305 0 0 1]&lt;br /&gt;
*23.12 1 [0 304 0 0 1]&lt;br /&gt;
*24.12 1 [0 312 0 0 1]&lt;br /&gt;
*25.66&lt;br /&gt;
 3 0 29 0 7 8708 0 0 152 165 198 107&lt;br /&gt;
 1 0 42 0 9 8707 10 6 216 129 368 294&lt;br /&gt;
 5 50 1 0 24 0 1 9707 1&lt;br /&gt;
====STONE====&lt;br /&gt;
*0.14 1 0 125 21 1 14 1&lt;br /&gt;
*1.14 1 0 125 21 1 13 1&lt;br /&gt;
*2.12 1 0 300 0 0 1&lt;br /&gt;
&lt;br /&gt;
==INIT==&lt;br /&gt;
These are more likely variables. They do not have names like in Riven.&lt;br /&gt;
===Case studies===&lt;br /&gt;
====CHANNEL====&lt;br /&gt;
*0.12 1 0 1 30 1 0&lt;br /&gt;
*1.10 1 6 201 0 0&lt;br /&gt;
====DUNNY====&lt;br /&gt;
*1.18 2 0 26 0 0 0 200 0 0&lt;br /&gt;
====MYST====&lt;br /&gt;
*2.30 2 1 209 0 0 0 206 0 6 6044 7044 8044 9044 10044 11044&lt;br /&gt;
*4.18 1 0 205 0 4 6156 7156 8156 9156&lt;br /&gt;
*5.16 1 0 201 0 3 0 4 5&lt;br /&gt;
*6.12 1 0 204 0 1 6180&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==HINT==&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||rc||class=&amp;quot;comment|record count&lt;br /&gt;
|}&lt;br /&gt;
*rc is wrong in:&lt;br /&gt;
**CHANNEL 78 231&lt;br /&gt;
**MECHAN 109&lt;br /&gt;
**MYST 2 28 38 43 45 49 106 109 149 150 173 175 206 231&lt;br /&gt;
**SELEN 172&lt;br /&gt;
**STONE 10 12 18 59 89 91 106&lt;br /&gt;
records are&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||rid||class=&amp;quot;comment|record index&lt;br /&gt;
|-&lt;br /&gt;
|short||u1||&lt;br /&gt;
|}&lt;br /&gt;
*the ''rid'''s start at zero and go up, but there are exceptions.&lt;br /&gt;
**CHANNEL 78 144 231&lt;br /&gt;
**DUNNY all minus 1 5 7 18 19&lt;br /&gt;
**MECHAN 109&lt;br /&gt;
**Myst 2 28 43 45 49 78 111 171 173 175 184 206 229 235&lt;br /&gt;
**STONE 10 12 18 59 89 91 106&lt;br /&gt;
*the ''u1'''s all appear to be one of 0, 2, 3, 200, 300, 400, 500, 600, 904, 905, 999, or FFFF (-1)&lt;br /&gt;
&lt;br /&gt;
==MSND==&lt;br /&gt;
It is interesting to note that all MSND resources in the whole game are named except for INTRO 1 (the linking sound). In all the other packages, this sound is labeled &amp;quot;transprt7&amp;quot; (in MYST) or &amp;quot;transprt1&amp;quot; and &amp;quot;transprt2&amp;quot; (which all appear to be the same, although transprt1 and transprt2 are separate resources in the package).&lt;br /&gt;
&lt;br /&gt;
==RLST and VIEW==&lt;br /&gt;
There are the same number of RLST and VIEW resources in all packages, which leads me to believe that they are locked together by index like HSPT and CARD resources in Riven.&lt;br /&gt;
&lt;br /&gt;
===RLST===&lt;br /&gt;
I think these contain hotspot data (i.e. HSPT).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||count_of_records&lt;br /&gt;
|}&lt;br /&gt;
====record type 1====&lt;br /&gt;
 8 1 &amp;lt; 31 276 163 333&amp;gt; 0 FFFF 0 103 2 3006 &amp;lt;0 0 132 57&amp;gt; 3005 FFFF&lt;br /&gt;
 8 1 &amp;lt;417 260 544 333&amp;gt; 0 FFFF 0 103 2 3004 &amp;lt;0 0 127 73&amp;gt; 3003 FFFF&lt;br /&gt;
*this replaces part of the image (in this case &amp;lt;417 260 544 333&amp;gt;) with part of another image (in this case 3004 &amp;lt;0 0 127 73&amp;gt;) based on a variable (103 2 plays in here somewhere)&lt;br /&gt;
====record type 2: (simple hotspot)====&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||dir 1=left, 2=right, 5=forward&lt;br /&gt;
|-&lt;br /&gt;
|short||type=2&lt;br /&gt;
|-&lt;br /&gt;
|short||left&lt;br /&gt;
|-&lt;br /&gt;
|short||top&lt;br /&gt;
|-&lt;br /&gt;
|short||right&lt;br /&gt;
|-&lt;br /&gt;
|short||bottom&lt;br /&gt;
|-&lt;br /&gt;
|short||destination&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Case studies====&lt;br /&gt;
(Note: these are simply the data in (little-endian) shorts and line-broken where I saw patterns. &amp;lt;l t b r&amp;gt; are (I think) areas on-screen. count [entry]... are guesses at when there are lists of entries. The number in parentheses before the data is the card number (not the resource number).)&lt;br /&gt;
 (CHANNEL 3001) 2&lt;br /&gt;
 1 2   &amp;lt;1 0 110 332&amp;gt; 3002&lt;br /&gt;
 2 2 &amp;lt;455 2 544 332&amp;gt; 3003&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3002) 2&lt;br /&gt;
 1 2   &amp;lt;0 1 100 332&amp;gt; 3005&lt;br /&gt;
 2 2 &amp;lt;431 0 544 332&amp;gt; 3001&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3003) 4&lt;br /&gt;
 5 2 &amp;lt;213 90 343 290&amp;gt; 3494 (the door)&lt;br /&gt;
 2 6 0 0 24 0 1 3494&lt;br /&gt;
 1 2 &amp;lt;0 0 81 332&amp;gt; 3001 (left)&lt;br /&gt;
 2 2 &amp;lt;463 0 544 332&amp;gt; 3005 (right)&lt;br /&gt;
 8 1 &amp;lt;417 260 544 333&amp;gt; 0 FFFF 0 103 2 3004 &amp;lt;0 0 127 73&amp;gt; 3003 FFFF&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3005) 4&lt;br /&gt;
 0 2 &amp;lt;76 152 196 330&amp;gt; 3012&lt;br /&gt;
 1 2  &amp;lt;0   0 106 332&amp;gt; 3003&lt;br /&gt;
 2 2 &amp;lt;438  0 544 332&amp;gt; 3002&lt;br /&gt;
 8 1 &amp;lt;31 276 163 333&amp;gt; 0 FFFF 0 103 2 3006 &amp;lt;0 0 132 57&amp;gt; 3005 FFFF&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3012) 8&lt;br /&gt;
 8 3 &amp;lt;101 243 214 343&amp;gt; 0 FFFF 1 5&lt;br /&gt;
 1 3 &amp;lt;103   1 802 103&amp;gt; 2 3013 &amp;lt;0 0 113 100&amp;gt; 3012 FFFF&lt;br /&gt;
 5 2 &amp;lt;255 193 269 208&amp;gt; 0 1 117 0 1 0&lt;br /&gt;
 5 2 &amp;lt;268 193 282 208&amp;gt; 0 1 117 0 1 1&lt;br /&gt;
 5 2 &amp;lt;281 193 295 208&amp;gt; 0 1 117 0 1 2&lt;br /&gt;
 5 2 &amp;lt;294 193 308 208&amp;gt; 0 1 117 0 1 3&lt;br /&gt;
 8 1 &amp;lt;252 190 310 210&amp;gt; 0 FFFF 0 17 4&lt;br /&gt;
   [3008 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
   [3009 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
   [3010 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
   [3011 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
 0 4&lt;br /&gt;
 &amp;lt;180 31 379 305&amp;gt; 0 5 2&lt;br /&gt;
 &amp;lt;0 0 544 332&amp;gt; 0 1 34&lt;br /&gt;
 0 2 3005 0&lt;br /&gt;
&lt;br /&gt;
 (MYST 4368) 3&lt;br /&gt;
 8 3 &amp;lt;305 148 375 238&amp;gt; 0 FFFF 1 [5 1 3 103 1 802] 103 2 FFFF FFFF 4369 &amp;lt;0 0 70 90&amp;gt;&lt;br /&gt;
 7 2 &amp;lt;216 110 304 235&amp;gt; 0 106 5 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 0 0 2 0 0 544 332 4345&lt;br /&gt;
&lt;br /&gt;
===VIEW===&lt;br /&gt;
image name and sub-images (akin to Riven PLSTs)&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse&amp;quot;&lt;br /&gt;
|0||0||3001||-1||0/0||3001||3001||0||0&lt;br /&gt;
|-&lt;br /&gt;
| || ||name||neg.||bytes||colspan=4|(name name 0 0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse&amp;quot;&lt;br /&gt;
|0||0||3002||-2||0/144||0|| ||3002||3002||0||0&lt;br /&gt;
|-&lt;br /&gt;
|0||0||3003||-2||0/144||1||[1 3004]||3003||3003||0||0&lt;br /&gt;
|-&lt;br /&gt;
| || ||name||?|| ||count||entry||colspan=4|(name name 0 0)&lt;br /&gt;
|}&lt;br /&gt;
*I think ''3004'' is the name of a sub-image (small image to be placed in another) of ''3003'' here.&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse&amp;quot;&lt;br /&gt;
|0||0||3005||3005||0/144||1||[1 3006]||3005||3005||0||0&lt;br /&gt;
|-&lt;br /&gt;
| || ||colspan=2|name twice|| || ||colspan=4|(name name 0 0)&lt;br /&gt;
|}&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse&amp;quot;&lt;br /&gt;
|0||0||3012||-2||0/50||5||[1 3013]||[1 3008]||[1 3009]||[1 3010]||[1 3011]||3012||0||0||3012&lt;br /&gt;
|-&lt;br /&gt;
| || ||name||?|| ||count||colspan=5|entries||colspan=4|(name 0 0 name)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=2 style=&amp;quot;border:1px #000 solid;border-collapse:collapse&amp;quot;&lt;br /&gt;
! 14||1||1||5||2||3030||3031||FFFC 3 2 3031 00_A0||4031||x00A0||2||2||4030||1 3030|| || ||3031||3031||0||0&lt;br /&gt;
! 44||1||1||2||2||3095||3096||FFFC 15 2 3095 00_A0||4095||x00A0||4||2 4095||1 3562||1 3097||2 5095||3095||3095||3095||0&lt;br /&gt;
*348||1||1||16||2||3536||3535|| ||3535||x0060||0|| || || || ||3535||3535||0||0&lt;br /&gt;
*359||1||1||5||2||3550||3552||FFFC 3 2 6552 00_80 3552||x0080||4||4 3550||4 3552||2 4552||2 5552||3552||3552||0||0&lt;br /&gt;
 *47||1||1||10||2||4140||4141|| ||5141||x0090||1||2 4141|| || || ||4141||4141||4141||4141&lt;br /&gt;
 *50||1||1||10||2||4148||4149|| ||4149||x0090||0|| || || || ||4149||4149||4149||0&lt;br /&gt;
 *51||1||1||10||2||4150||4151|| ||FFFE||x0070||0|| || || || ||4150||4150||0||0&lt;br /&gt;
 *94||1||1||10||2||4243||4244|| ||4244||x0050||0|| || || || ||4244||4244||0||0&lt;br /&gt;
*116||1||1||40||2||4292||4294||FFFC 40 2 4292 00_50 4292||x0060||2||1 4293||2 5292|| || ||4292||4292||0||0&lt;br /&gt;
*145||1||1||0||2||4358||4357|| ||FFFE||x0030||0|| || || || ||4357||4357||0||0&lt;br /&gt;
*287||1||1||34||3||4698||4701|| ||4702||xFFFD||4||1 4699||2 4698||2 5698||2 6698||4698||4698||4698||4698&lt;br /&gt;
*295||1||1||10||2||4717||4719|| ||4717||x0040||1||1 4718|| || || ||4717||4717||0||0&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Myst_resources</id>
		<title>Myst resources</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Myst_resources"/>
				<updated>2008-02-06T11:48:38Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: touching up (not done)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Myst}}&lt;br /&gt;
This page contains or will contain a comprehensive analysis of the 8 resources in Myst (and the two added in Myst ME).&lt;br /&gt;
&lt;br /&gt;
Both Myst and Myst ME use little-endian byte order in the files (by contrast to the big-endian byte order used in Riven and the Mohawk format), although the data itself is stored in properly formatted Mohawk format (don't let the .dni or .dat file extension fool you). The packages in Myst ME are:&lt;br /&gt;
*CHANNEL&lt;br /&gt;
*CREDITS&lt;br /&gt;
*DUNNY&lt;br /&gt;
*INTRO&lt;br /&gt;
*MECHAN&lt;br /&gt;
*MYST&lt;br /&gt;
*SELEN&lt;br /&gt;
*STONE&lt;br /&gt;
*SYSTEM&lt;br /&gt;
The resources are on the left (MJMP and PICT are new in ME). None of the resources are named except for the MSND/MJMP resources.&lt;br /&gt;
&lt;br /&gt;
==CLRC==&lt;br /&gt;
All CLRC resources follow the pattern:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||u1&lt;br /&gt;
|-&lt;br /&gt;
|short||u2&lt;br /&gt;
|}&lt;br /&gt;
*''u1'' and ''u2'' are both 1, 6, 7, 8, 9, or 14 for all files&lt;br /&gt;
&lt;br /&gt;
==EXIT==&lt;br /&gt;
I think these are variables, although that seems unlikely because SELEN has no EXIT resources.&lt;br /&gt;
&amp;lt;noinclude&amp;gt;===Case studies (all of them)===&lt;br /&gt;
Note: these are presented as ''resource_index''.''length short...'' where the data is broken into shorts and displayed in decimal.&lt;br /&gt;
====CHANNEL====&lt;br /&gt;
*0.12 1 0 300 0 0 1&lt;br /&gt;
====DUNNY====&lt;br /&gt;
*0.22 2 0 300 0 0 1 0 100 0 0 1&lt;br /&gt;
====INTRO====&lt;br /&gt;
*0.22 2 0 300 0 0 1 0 38 0 0 1&lt;br /&gt;
*1.12 1 0 38 0 0 1&lt;br /&gt;
====MECHAN====&lt;br /&gt;
*0.24 2 0 27 0 1 7044 1 0 4 0 0 1&lt;br /&gt;
*1.12 1 0 300 0 0 1&lt;br /&gt;
*2.12 1 0 32 0 0 1&lt;br /&gt;
====MYST====&lt;br /&gt;
*0.12 1 0 301 0 0 1&lt;br /&gt;
*1.12 1 0 301 0 0 1&lt;br /&gt;
*2.12 1 0 301 0 0 1&lt;br /&gt;
*3.12 1 0 301 0 0 1&lt;br /&gt;
*4.12 1 0 301 0 0 1&lt;br /&gt;
*5.12 1 1 306 0 0 1&lt;br /&gt;
*6.12 1 1 306 0 0 1&lt;br /&gt;
*7.12 1 0 302 0 0 1&lt;br /&gt;
*8.12 1 0 303 0 0 1&lt;br /&gt;
*9.12 1 0 303 0 0 1&lt;br /&gt;
*10.36 3 [0 1 302 1 1 1] [0 309 0 0 1 0] [1 309 1 0 1]&lt;br /&gt;
*11.12 1 0 307 0 0 1&lt;br /&gt;
*12.24 2 [0 300 100 0 2 0] [1 309 1 0 1]&lt;br /&gt;
*13.24 2 [0 300 101 0 2 0] [1 309 1 0 1]&lt;br /&gt;
*14.12 1 [0 303 0 0 1]&lt;br /&gt;
*15.14 1 0 308 0 0 1 0&lt;br /&gt;
*16.12 1 [0 304 0 0 1]&lt;br /&gt;
*17.12 1 [0 304 0 0 1]&lt;br /&gt;
*18.22 2 [0 304 0 0 1] [0 305 0 0 1]&lt;br /&gt;
*19.12 1 [1 304 0 0 1]&lt;br /&gt;
*20.22 2 [0 304 0 0 1] [0 305 0 0 1]&lt;br /&gt;
*21.12 1 [0 304 0 0 1]&lt;br /&gt;
*22.22 2 [0 304 0 0 1] [0 305 0 0 1]&lt;br /&gt;
*23.12 1 [0 304 0 0 1]&lt;br /&gt;
*24.12 1 [0 312 0 0 1]&lt;br /&gt;
*25.66&lt;br /&gt;
 3 0 29 0 7 8708 0 0 152 165 198 107&lt;br /&gt;
 1 0 42 0 9 8707 10 6 216 129 368 294&lt;br /&gt;
 5 50 1 0 24 0 1 9707 1&lt;br /&gt;
====STONE====&lt;br /&gt;
*0.14 1 0 125 21 1 14 1&lt;br /&gt;
*1.14 1 0 125 21 1 13 1&lt;br /&gt;
*2.12 1 0 300 0 0 1&lt;br /&gt;
&lt;br /&gt;
==INIT==&lt;br /&gt;
These are more likely variables. They do not have names like in Riven.&lt;br /&gt;
===Case studies===&lt;br /&gt;
====CHANNEL====&lt;br /&gt;
*0.12 1 0 1 30 1 0&lt;br /&gt;
*1.10 1 6 201 0 0&lt;br /&gt;
====DUNNY====&lt;br /&gt;
*1.18 2 0 26 0 0 0 200 0 0&lt;br /&gt;
====MYST====&lt;br /&gt;
*2.30 2 1 209 0 0 0 206 0 6 6044 7044 8044 9044 10044 11044&lt;br /&gt;
*4.18 1 0 205 0 4 6156 7156 8156 9156&lt;br /&gt;
*5.16 1 0 201 0 3 0 4 5&lt;br /&gt;
*6.12 1 0 204 0 1 6180&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==HINT==&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||rc||class=&amp;quot;comment|record count&lt;br /&gt;
|}&lt;br /&gt;
*rc is wrong in:&lt;br /&gt;
**CHANNEL 78 231&lt;br /&gt;
**MECHAN 109&lt;br /&gt;
**MYST 2 28 38 43 45 49 106 109 149 150 173 175 206 231&lt;br /&gt;
**SELEN 172&lt;br /&gt;
**STONE 10 12 18 59 89 91 106&lt;br /&gt;
records are&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||rid||class=&amp;quot;comment|record index&lt;br /&gt;
|-&lt;br /&gt;
|short||u1||&lt;br /&gt;
|}&lt;br /&gt;
*the ''rid'''s start at zero and go up, but there are exceptions.&lt;br /&gt;
**CHANNEL 78 144 231&lt;br /&gt;
**DUNNY all minus 1 5 7 18 19&lt;br /&gt;
**MECHAN 109&lt;br /&gt;
**Myst 2 28 43 45 49 78 111 171 173 175 184 206 229 235&lt;br /&gt;
**STONE 10 12 18 59 89 91 106&lt;br /&gt;
*the ''u1'''s all appear to be one of 0, 2, 3, 200, 300, 400, 500, 600, 904, 905, 999, or FFFF (-1)&lt;br /&gt;
&lt;br /&gt;
==MSND==&lt;br /&gt;
It is interesting to note that all MSND resources in the whole game are named except for INTRO 1 (the linking sound). In all the other packages, this sound is labeled &amp;quot;transprt7&amp;quot; (in MYST) or &amp;quot;transprt1&amp;quot; and &amp;quot;transprt2&amp;quot; (which all appear to be the same, although transprt1 and transprt2 are separate resources in the package).&lt;br /&gt;
&lt;br /&gt;
==RLST and VIEW==&lt;br /&gt;
There are the same number of RLST and VIEW resources in all packages, which leads me to believe that they are locked together by index like HSPT and CARD resources in Riven.&lt;br /&gt;
&lt;br /&gt;
===RLST===&lt;br /&gt;
I think these contain hotspot data (i.e. HSPT).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||count_of_records&lt;br /&gt;
|}&lt;br /&gt;
====record type 1====&lt;br /&gt;
 8 1 &amp;lt; 31 276 163 333&amp;gt; 0 FFFF 0 103 2 3006 &amp;lt;0 0 132 57&amp;gt; 3005 FFFF&lt;br /&gt;
 8 1 &amp;lt;417 260 544 333&amp;gt; 0 FFFF 0 103 2 3004 &amp;lt;0 0 127 73&amp;gt; 3003 FFFF&lt;br /&gt;
*this replaces part of the image (in this case &amp;lt;417 260 544 333&amp;gt;) with part of another image (in this case 3004 &amp;lt;0 0 127 73&amp;gt;) based on a variable (103 2 plays in here somewhere)&lt;br /&gt;
====record type 2: (simple hotspot)====&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|short||dir 1=left, 2=right, 5=forward&lt;br /&gt;
|-&lt;br /&gt;
|short||type=2&lt;br /&gt;
|-&lt;br /&gt;
|short||left&lt;br /&gt;
|-&lt;br /&gt;
|short||top&lt;br /&gt;
|-&lt;br /&gt;
|short||right&lt;br /&gt;
|-&lt;br /&gt;
|short||bottom&lt;br /&gt;
|-&lt;br /&gt;
|short||destination&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Case studies====&lt;br /&gt;
(Note: these are simply the data in (little-endian) shorts and line-broken where I saw patterns. &amp;lt;l t b r&amp;gt; are (I think) areas on-screen. count [entry]... are guesses at when there are lists of entries. The number in parentheses before the data is the card number (not the resource number).)&lt;br /&gt;
 (CHANNEL 3001) 2&lt;br /&gt;
 1 2   &amp;lt;1 0 110 332&amp;gt; 3002&lt;br /&gt;
 2 2 &amp;lt;455 2 544 332&amp;gt; 3003&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3002) 2&lt;br /&gt;
 1 2   &amp;lt;0 1 100 332&amp;gt; 3005&lt;br /&gt;
 2 2 &amp;lt;431 0 544 332&amp;gt; 3001&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3003) 4&lt;br /&gt;
 5 2 &amp;lt;213 90 343 290&amp;gt; 3494 (the door)&lt;br /&gt;
 2 6 0 0 24 0 1 3494&lt;br /&gt;
 1 2 &amp;lt;0 0 81 332&amp;gt; 3001 (left)&lt;br /&gt;
 2 2 &amp;lt;463 0 544 332&amp;gt; 3005 (right)&lt;br /&gt;
 8 1 &amp;lt;417 260 544 333&amp;gt; 0 FFFF 0 103 2 3004 &amp;lt;0 0 127 73&amp;gt; 3003 FFFF&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3005) 4&lt;br /&gt;
 0 2 &amp;lt;76 152 196 330&amp;gt; 3012&lt;br /&gt;
 1 2  &amp;lt;0   0 106 332&amp;gt; 3003&lt;br /&gt;
 2 2 &amp;lt;438  0 544 332&amp;gt; 3002&lt;br /&gt;
 8 1 &amp;lt;31 276 163 333&amp;gt; 0 FFFF 0 103 2 3006 &amp;lt;0 0 132 57&amp;gt; 3005 FFFF&lt;br /&gt;
&lt;br /&gt;
 (CHANNEL 3012) 8&lt;br /&gt;
 8 3 &amp;lt;101 243 214 343&amp;gt; 0 FFFF 1 5&lt;br /&gt;
 1 3 &amp;lt;103   1 802 103&amp;gt; 2 3013 &amp;lt;0 0 113 100&amp;gt; 3012 FFFF&lt;br /&gt;
 5 2 &amp;lt;255 193 269 208&amp;gt; 0 1 117 0 1 0&lt;br /&gt;
 5 2 &amp;lt;268 193 282 208&amp;gt; 0 1 117 0 1 1&lt;br /&gt;
 5 2 &amp;lt;281 193 295 208&amp;gt; 0 1 117 0 1 2&lt;br /&gt;
 5 2 &amp;lt;294 193 308 208&amp;gt; 0 1 117 0 1 3&lt;br /&gt;
 8 1 &amp;lt;252 190 310 210&amp;gt; 0 FFFF 0 17 4&lt;br /&gt;
   [3008 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
   [3009 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
   [3010 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
   [3011 &amp;lt;0 0 58 20&amp;gt;]&lt;br /&gt;
 0 4&lt;br /&gt;
 &amp;lt;180 31 379 305&amp;gt; 0 5 2&lt;br /&gt;
 &amp;lt;0 0 544 332&amp;gt; 0 1 34&lt;br /&gt;
 0 2 3005 0&lt;br /&gt;
&lt;br /&gt;
 (MYST 4368) 3&lt;br /&gt;
 8 3 &amp;lt;305 148 375 238&amp;gt; 0 FFFF 1 [5 1 3 103 1 802] 103 2 FFFF FFFF 4369 &amp;lt;0 0 70 90&amp;gt;&lt;br /&gt;
 7 2 &amp;lt;216 110 304 235&amp;gt; 0 106 5 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 1 115 101 3 4741 4370 4368 5&lt;br /&gt;
 0 0 2 0 0 544 332 4345&lt;br /&gt;
&lt;br /&gt;
===VIEW===&lt;br /&gt;
image name and sub-images (akin to Riven PLSTs)&lt;br /&gt;
{| border=1 style=&amp;quot;border-collapse:collapse&amp;quot;&lt;br /&gt;
|0||0||3001||-1||0/0||3001||3001||0||0&lt;br /&gt;
|-&lt;br /&gt;
| || ||name||neg.||bytes||colspan=4|(name name 0 0)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| border=1 style=&amp;quot;border-collapse:collapse&amp;quot;&lt;br /&gt;
|0||0||3002||-2||0/144||0|| ||3002||3002||0||0&lt;br /&gt;
|-&lt;br /&gt;
|0||0||3003||-2||0/144||1||[1 3004]||3003||3003||0||0&lt;br /&gt;
|-&lt;br /&gt;
| || ||name||?|| ||count||entry||colspan=4|(name name 0 0)&lt;br /&gt;
|}&lt;br /&gt;
*I think ''3004'' is the name of a sub-image (small image to be placed in another) of ''3003'' here.&lt;br /&gt;
{| border=1 style=&amp;quot;border-collapse:collapse&amp;quot;&lt;br /&gt;
|0||0||3005||3005||0/144||1||[1 3006]||3005||3005||0||0&lt;br /&gt;
|-&lt;br /&gt;
| || ||colspan=2|name twice|| || ||colspan=4|(name name 0 0)&lt;br /&gt;
|}&lt;br /&gt;
 0 0 3012 -2 0/50 5 [1 3013] [1 3008] [1 3009] [1 3010] [1 3011] 3012 0 0 3012&lt;br /&gt;
     name  ?      | ------ ------ ------ ------ ------(name 0 0 name)&lt;br /&gt;
                count             entries&lt;br /&gt;
&lt;br /&gt;
 *14 1 1  5 2 3030 3031 FFFC  3 2 3031 00_A0 4031 x00A0 2 2 4030 1 3030               3031 3031    0    0&lt;br /&gt;
 *44 1 1  2 2 3095 3096 FFFC 15 2 3095 00_A0 4095 x00A0 4 2 4095 1 3562 1 3097 2 5095 3095 3095 3095    0&lt;br /&gt;
*348 1 1 16 2 3536 3535                      3535 x0060 0                             3535 3535    0    0&lt;br /&gt;
*359 1 1  5 2 3550 3552 FFFC  3 2 6552 00_80 3552 x0080 4 4 3550 4 3552 2 4552 2 5552 3552 3552    0    0&lt;br /&gt;
 *47 1 1 10 2 4140 4141                      5141 x0090 1 2 4141                      4141 4141 4141 4141&lt;br /&gt;
 *50 1 1 10 2 4148 4149                      4149 x0090 0                             4149 4149 4149    0&lt;br /&gt;
 *51 1 1 10 2 4150 4151                      FFFE x0070 0                             4150 4150    0    0&lt;br /&gt;
 *94 1 1 10 2 4243 4244                      4244 x0050 0                             4244 4244    0    0&lt;br /&gt;
*116 1 1 40 2 4292 4294 FFFC 40 2 4292 00_50 4292 x0060 2 1 4293 2 5292               4292 4292    0    0&lt;br /&gt;
*145 1 1  0 2 4358 4357                      FFFE x0030 0                             4357 4357    0    0&lt;br /&gt;
*287 1 1 34 3 4698 4701                      4702 xFFFD 4 1 4699 2 4698 2 5698 2 6698 4698 4698 4698 4698&lt;br /&gt;
*295 1 1 10 2 4717 4719                      4717 x0040 1 1 4718                      4717 4717    0    0&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Template:Myst</id>
		<title>Template:Myst</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Template:Myst"/>
				<updated>2008-02-06T04:00:33Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: oops&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| id=&amp;quot;toc&amp;quot; align=&amp;quot;right&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|colspan=4|'''&amp;lt;big&amp;gt;Myst&amp;lt;/big&amp;gt;'''&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2|[[Mohawk archive format|Mohawk]]&lt;br /&gt;
|colspan=2|[[Myst resources|Other]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Myst CLRC resources|CLRC]]&lt;br /&gt;
|[[Myst EXIT resources|EXIT]]&lt;br /&gt;
|[[Myst HINT resources|HINT]]&lt;br /&gt;
|[[Myst INIT resources|INIT]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Myst MJMP resources|MJMP]]&lt;br /&gt;
|[[Myst MSND resources|MSND]]&lt;br /&gt;
|[[Myst PICT resources|PICT]]&lt;br /&gt;
|[[Myst RLST resources|RLST]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Myst VIEW resources|VIEW]]&lt;br /&gt;
|[[Myst WDIB resources|WDIB]]&lt;br /&gt;
|colspan=2|[[Myst variables|Variables]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Mohawk_archive_format</id>
		<title>Mohawk archive format</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Mohawk_archive_format"/>
				<updated>2008-02-06T04:00:05Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: TOC&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Riven}}&lt;br /&gt;
{{Myst}}&lt;br /&gt;
==General layout==&lt;br /&gt;
Mohawk archives are organized in chunks, and this is the chunk layout:&lt;br /&gt;
* IFF chunk&lt;br /&gt;
** IFF header&lt;br /&gt;
** RSRC header&lt;br /&gt;
** Resource dir&lt;br /&gt;
*** Type table&lt;br /&gt;
*** Name tables (one for each resource type)&lt;br /&gt;
*** Resource tables (one for each resource type)&lt;br /&gt;
*** Resource name list&lt;br /&gt;
*** File table&lt;br /&gt;
** Actual data (resource contents)&lt;br /&gt;
Note that the chunks may be found in a different order: never trust on them being at fixed locations, and use the offsets to reach them.&lt;br /&gt;
&lt;br /&gt;
Every integer is in big-endian (Motorola) byte order.&lt;br /&gt;
&lt;br /&gt;
==IFF header==&lt;br /&gt;
This is always at the beginning of the file.&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|4 bytes||chunk signature (MHWK), identifies Mohawk archive format&lt;br /&gt;
|-&lt;br /&gt;
|unsigned long||file size in bytes, '''not''' counting this IFF header (that is, file size - 8)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==RSRC header==&lt;br /&gt;
I think this is actually the &amp;quot;Resource Dir header&amp;quot;. Note that the Dir can be anywhere in file, but this header always follows the IFF Header.&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|4 bytes||chunk signature (RSRC)&lt;br /&gt;
|-&lt;br /&gt;
|unsigned long||should be length of RSRC chunk (never bothered to check)&lt;br /&gt;
|-&lt;br /&gt;
|unsigned long||total file size in bytes&lt;br /&gt;
|-&lt;br /&gt;
|unsigned long||absolute offset of the Resource Dir&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||offset in Resource Dir of the File Table&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||File Table size in bytes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Type table==&lt;br /&gt;
It lists resource types in the Mohawk file. This table is always at the beginning of the Resource Dir.&lt;br /&gt;
&lt;br /&gt;
Header:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||offset in Resource Dir of the Resource Name List (maybe this should go with the RSRC Header)&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||number of resource types in this file&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Entry (one for each type):&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|4 bytes||resource type (tWAV, tBMP, NAME etc.)&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||offset in Resource Dir of the Resource Table for this type&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||offset in Resource Dir of the Name Table for this type&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Name table==&lt;br /&gt;
There is one name table for each resource type. Many types don't have resource names; usually only tBMP, tWAV and tMOV do. Each entry holds the name offset in the name list for a resource.&lt;br /&gt;
&lt;br /&gt;
Header:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||number of name entries (can be zero)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Entry:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||offset of the name string in Name List&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||resource index (equal to the resource's index in File Table)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Resource table==&lt;br /&gt;
Again, there is one resource table for each resource type. The resource table holds crucial information about each resource of this type.&lt;br /&gt;
&lt;br /&gt;
Header:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||number of resources for this type (number of table entries)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Entry:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||resource ID&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||index in file table (starting from 1). Also used to find the matching name table entry&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Resource name list==&lt;br /&gt;
This is a simple list of null-terminated strings (C strings), where each string is a resource name. Given a resource, you can get the offset to its name by looking in the name table entry for that resource.&lt;br /&gt;
&lt;br /&gt;
==File table==&lt;br /&gt;
This table holds other important data about each resource, notably the location and size of the resource content within the whole Mohawk file. I wonder why this information couldn't go directly inside the resource table entry.&lt;br /&gt;
&lt;br /&gt;
Header:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned long||number of file table entries&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Entry:&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned long||absolute offset of resource data block&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||resource data size, bits 15-0&lt;br /&gt;
|-&lt;br /&gt;
|byte||resource data size, bits 23-16&lt;br /&gt;
|-&lt;br /&gt;
|byte||resource flags (unknown)&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||unknown (usually zero in Riven files)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It should be noted that the resource data size information is incorrect for all [[Riven tMOV resources|tMOV]]s in the Riven archives. One can compensate for this by computing file lengths using the resource offsets.&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Template:Myst</id>
		<title>Template:Myst</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Template:Myst"/>
				<updated>2008-02-06T03:59:33Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: myst resources&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| id=&amp;quot;toc&amp;quot; align=&amp;quot;right&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|colspan=4|'''&amp;lt;big&amp;gt;Myst&amp;lt;/big&amp;gt;'''&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2|[[Mohawk archive format|Mohawk]]&lt;br /&gt;
|colspan=2|[[Myst resources|Other]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Myst CLRC resources|CLRC]]&lt;br /&gt;
|[[Myst EXIT resources|EXIT]]&lt;br /&gt;
|[[Myst HINT resources|HINT]]&lt;br /&gt;
|[[Myst INIT resources|INIT]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Myst MJMP resources|MJMP]]&lt;br /&gt;
|[[Myst MSND resources|MSND]]&lt;br /&gt;
|[[Myst PICT resources|PICT]]&lt;br /&gt;
|[[Myst RLST resources|RLST]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Myst VIEW resources|VIEW]]&lt;br /&gt;
|[[Myst WDIB resources|WDIB]]&lt;br /&gt;
|colspan=2|[[Riven variables|Variables]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Riven_resources</id>
		<title>Riven resources</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Riven_resources"/>
				<updated>2008-02-06T03:35:22Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: this page just borrows the other pages and puts them together into a single page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Riven}}&lt;br /&gt;
This document talks about Riven resources controlling the game path and world; actually, it tries to document every resource other than [[Riven SFXE resources|SFXE]], [[Riven tBMP resources|tBMP]], [[Riven tWAV resources|tWAV]] and [[Riven tMOV resources|tMOV]].&lt;br /&gt;
&lt;br /&gt;
==Notes on stack switching==&lt;br /&gt;
The current stack can be changed from scripts using a special script command (27). For example, when the player activates a MagLev first the car movie is played, and then command 27 is called to change the current stack to the new island. This command is also used in the &amp;quot;Play Riven&amp;quot; button. However, most linking books actually change stack simply by moving to another card which has no buttons and no scripts. Apparently, there is some hardcoded mechanism inside the engine which triggers the stack change when one of these &amp;quot;special&amp;quot; cards is entered. These cards are listed here.&lt;br /&gt;
{| border=1 cellpadding=4 cellspacing=0 style=&amp;quot;border:1px #000 solid;border-collapse:collapse;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#CCC&amp;quot;&lt;br /&gt;
! Stack !! Card ID !! Target stack !! Target card&lt;br /&gt;
|-&lt;br /&gt;
|bspit||447||ospit||1&lt;br /&gt;
|-&lt;br /&gt;
|gspit||178||ospit||1&lt;br /&gt;
|-&lt;br /&gt;
|jspit||228||rspit||3&lt;br /&gt;
|-&lt;br /&gt;
|jspit||344||ospit||1&lt;br /&gt;
|-&lt;br /&gt;
|ospit||58||pspit||43&lt;br /&gt;
|-&lt;br /&gt;
|ospit||62||jspit||341&lt;br /&gt;
|-&lt;br /&gt;
|ospit||67||gspit||175&lt;br /&gt;
|-&lt;br /&gt;
|ospit||72||bspit||444&lt;br /&gt;
|-&lt;br /&gt;
|ospit||76||tspit||387&lt;br /&gt;
|-&lt;br /&gt;
|pspit||46||ospit||1&lt;br /&gt;
|-&lt;br /&gt;
|rspit||13||jspit||215&lt;br /&gt;
|-&lt;br /&gt;
|tspit||392||ospit||1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==BLST, FLST, MLST, PLST, SLST==&lt;br /&gt;
These resources are lists and begin with an unsigned short telling the number of records. Then the records follow, and their structure depends on the resource type. There is one of these resources for each card; their ID matches the corresponding CARD resource ID.&lt;br /&gt;
&lt;br /&gt;
===[[Riven BLST resources|BLST]]===&lt;br /&gt;
{{:Riven BLST resources}}&lt;br /&gt;
===[[Riven FLST resources|FLST]]===&lt;br /&gt;
{{:Riven FLST resources}}&lt;br /&gt;
===[[Riven MLST resources|MLST]]===&lt;br /&gt;
{{:Riven MLST resources}}&lt;br /&gt;
===[[Riven PLST resources|PLST]]===&lt;br /&gt;
{{:Riven PLST resources}}&lt;br /&gt;
===[[Riven SLST resources|SLST]]===&lt;br /&gt;
{{:Riven SLST resources}}&lt;br /&gt;
==[[Riven HSPT resources|HSPT]]==&lt;br /&gt;
{{:Riven HSPT resources}}&lt;br /&gt;
==[[Riven CARD resources|CARD]]==&lt;br /&gt;
{{:Riven CARD resources}}&lt;br /&gt;
==[[Riven NAME resources|NAME]]==&lt;br /&gt;
{{:Riven NAME resources}}&lt;br /&gt;
==[[Riven RMAP resources|RMAP]]==&lt;br /&gt;
{{:Riven RMAP resources}}&lt;br /&gt;
==[[Riven VARS resources|VARS]]==&lt;br /&gt;
{{:Riven VARS resources}}&lt;br /&gt;
==[[Riven VERS resources|VERS]]==&lt;br /&gt;
{{:Riven VERS resources}}&lt;br /&gt;
==[[Riven ZIPS resources|ZIPS]]==&lt;br /&gt;
{{:Riven ZIPS resources}}&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Riven_NAME_resources</id>
		<title>Riven NAME resources</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Riven_NAME_resources"/>
				<updated>2008-02-06T03:30:56Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: oops&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{Riven}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
They contain a list of strings with an associated value, and their purpose is to store names for variables, cards, hotspots and other entities. They have the following structure:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||field_count&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||string_offsets[field_count]&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||values[field_count]&lt;br /&gt;
|-&lt;br /&gt;
|char*||strings&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
''strings'' is a list of zero-terminated strings. You can access string ''n'' by looking at ''string_offsets[n]'', which is the offset starting from strings (not from the beginning of resource data). The meaning of ''values[]'' is not yet known, but it seem to go from 0 to ''field_count''-1 (not in sequential order). This field apparently has no function (the record index is important, instead).&lt;br /&gt;
&lt;br /&gt;
In saved games there's only one NAME resource; it stores the name of each variable in the VARS (the record index in the NAME matches the one in the VARS).&lt;br /&gt;
&lt;br /&gt;
In data files there are more NAMEs: ID 1 stores card names, ID 2 hotspot names, ID 3 external command names and ID 4 variable names. In this case, the record index is equal to the number used in script commands to access the variable. Finally, ID 5 stores stack names and it's used by command 27 to change island.&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Riven_ZIPS_resources</id>
		<title>Riven ZIPS resources</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Riven_ZIPS_resources"/>
				<updated>2008-02-06T03:29:07Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: import&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Found again only in saved games, this contains a list of visited locations to support the &amp;quot;Zip Mode&amp;quot;. It starts with an unsigned short telling how many records will follow. Then, each record contains the following data:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;structure&amp;quot;&lt;br /&gt;
|unsigned short||name_len&lt;br /&gt;
|-&lt;br /&gt;
|char||name[name_len]&lt;br /&gt;
|-&lt;br /&gt;
|unsigned short||card_id&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
As one can easily imagine, each record is linked to a card: ''card_id'' tells its ID, and name is equal to the [[Riven CARD resources|CARD]] name. Zip Mode hotspots have the same name too, so when they are clicked, the target card ID can be known by looking up in the ZIPS. If the user already visited that card, the record will be there.&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	<entry>
		<id>https://insidethelink.ortiche.net/wiki/index.php/Riven_VERS_resources</id>
		<title>Riven VERS resources</title>
		<link rel="alternate" type="text/html" href="https://insidethelink.ortiche.net/wiki/index.php/Riven_VERS_resources"/>
				<updated>2008-02-06T03:24:18Z</updated>
		
		<summary type="html">&lt;p&gt;Di gama: import&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is found, again, only in saved game files, and should just contain version information. In my saved games files, it contains the following 4 bytes:&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot; style=&amp;quot;color:#008; font-family:monospace; margin:1em&amp;quot;&amp;gt;00 01 00 00&amp;lt;/div&amp;gt;&lt;br /&gt;
which probably means &amp;quot;version 1.0&amp;quot;. I think Riven updates didn't change these values.&lt;/div&gt;</summary>
		<author><name>Di gama</name></author>	</entry>

	</feed>