<?xml version="1.0" encoding="utf-8" standalone="yes"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:glthr="https://glthr.com/ns/rss"><channel><title>The Riven Graph | GLTHR.com, by Guillaume Lethuillier</title><link>https://glthr.com/page/riven-graph</link><description>Articles in The Riven Graph on glthr.com.</description><language>en</language><lastBuildDate>Sun, 15 Nov 2026 15:47:00 +0000</lastBuildDate><atom:link href="https://glthr.com/series/riven-graph/rss.xml" rel="self" type="application/rss+xml"/><item><title>The Riven Graph, 2: What a Card Can Hide</title><link>https://glthr.com/riven-graph-2</link><guid isPermaLink="true">https://glthr.com/riven-graph-2</guid><pubDate>Sun, 15 Nov 2026 15:47:00 +0000</pubDate><dc:creator>Guillaume Lethuillier</dc:creator><description>What the Riven graph shows that the game hides, in pictures: unreached views, an earlier way of linking, a maglev station that is never empty, and easter eggs.</description><content:encoded><![CDATA[<aside class="callout callout-note">
  <span class="callout-emoji" aria-hidden="true">✎</span>
  <div class="callout-body"><p class="callout-title">Work in progress — November 21, 2026</p>
    <p>I am still working in <strong>Riven</strong>. I will update these articles over the coming weeks, so please feel free to come back later to see what’s new.</p>
  </div>
</aside><aside class="callout callout-abstract">
  <span class="callout-emoji" aria-hidden="true">↘</span>
  <div class="callout-body">
    <p>A map of Riven’s 2,307 cards and the links between them also records how the game was built. Cards that nothing leads to reveal an earlier elevator, a corridor under the Temple Island dome that is cut off at both ends, lagoon views that the game never reaches, and what looks like an earlier linking book that works by its own script instead of through the engine. Following the 163 variables that the scripts use turns up a maglev station that is never found empty, 28 branches of script that nothing can trigger, and the mechanism of the known easter eggs. Scripts still ask for five cards that do not exist. The files show what was left behind, not why. This article contains spoilers.</p>
  </div>
</aside><h2 id="heading-introduction">Introduction<a class="anchor" href="#heading-introduction" aria-hidden="true" tabindex="-1">#</a></h2>
<p>Previous work on <a href="https://en.wikipedia.org/wiki/Riven" target="_blank" rel="noopener"><strong>Riven</strong></a>’s files has shown that some of its content is not seen in the game. <span class="inline-update sidenote" role="note"><em><span class="inline-update-bracket">[</span>Version of the game: Riven 1.0, the original English five-CD release, September 1997. The card numbers are those of this release.<span class="inline-update-bracket">]</span></em></span> <a href="https://mrillustrated.com/not-appearing-in-riven/" target="_blank" rel="noopener">MYST &amp; RIVEN Illustrated</a> documents an underground corridor on Temple Island, lagoon views on Jungle Island and a drawer of butterflies in Gehn’s laboratory, found by altering saved games and browsing the picture files. <a href="https://glthr.com/riven-diffs">The Riven Diffs</a>, written with Twitch, compares the renders of a card with one another and finds anomalies between them.</p>
<p>These findings look at cards and pictures one at a time. With the Riven Graph (<a href="https://glthr.com/riven-graph-1">introduced in the previous article</a>), I look at the relationships between them. Any card named below can be found <a href="https://glthr.com/riven-graph">in the explorable graph</a>, where each link of this article opens the card it names.</p>
<h3 id="heading-visual-indicators">Visual Indicators<a class="anchor" href="#heading-visual-indicators" aria-hidden="true" tabindex="-1">#</a></h3>
<p>I keep the two indicators of <a href="https://glthr.com/myst-graph-2#heading-visual-indicators">the Myst findings</a>. A crossed-out eye on a view means that the game never displays it: the card that holds it cannot be reached, or the picture is one that no script selects. An open eye means that the view is displayed in the game. Without an indicator, the view is displayed in the game. <span class="inline-update sidenote" role="note"><em><span class="inline-update-bracket">[</span>Card labels such as <a href="https://glthr.com/riven-graph#tspit:155" data-stack="tspit">Temple:155</a> have a thick underline, in the color of their stack, and open that card in the graph browser.<span class="inline-update-bracket">]</span></em></span></p>
<p>Riven needs one precision that Myst did not. <strong>A card and its picture are different things</strong>: contrary to Myst, a card can hold several pictures, and the same picture can be held by several cards. A crossed-out eye therefore applies to the view where it is drawn, in the card named under it. The caption says which of the two cases applies.</p>
<p>Edges under discussion are drawn in red, as in the Myst figures.</p>
<h3 id="heading-disclaimer">Disclaimer<a class="anchor" href="#heading-disclaimer" aria-hidden="true" tabindex="-1">#</a></h3>
<p>The <a href="https://glthr.com/riven-graph-1#heading-disclaimer">disclaimer of the first article</a> applies. This article contains spoilers for the game, including its endings and its easter eggs.</p>
<h2 id="heading-general">General<a class="anchor" href="#heading-general" aria-hidden="true" tabindex="-1">#</a></h2>
<h3 id="heading-shortest-theoretical-path">Shortest Theoretical Path<a class="anchor" href="#heading-shortest-theoretical-path" aria-hidden="true" tabindex="-1">#</a></h3>
<p>The shortest mathematical path is obvious to anyone who has played the game to completion. From the first view of the game (<a href="https://glthr.com/riven-graph#tspit:155" data-stack="tspit">Temple:155</a>) to the telescope whose descent ends it (<a href="https://glthr.com/riven-graph#tspit:137" data-stack="tspit">Temple:137</a>), the theoretical minimum distance is 3 edges:</p>
<p><a href="https://glthr.com/riven-graph#tspit:155" data-stack="tspit">Temple:155</a> → <a href="https://glthr.com/riven-graph#tspit:130" data-stack="tspit">Temple:130</a> → <a href="https://glthr.com/riven-graph#tspit:135" data-stack="tspit">Temple:135</a> → <a href="https://glthr.com/riven-graph#tspit:137" data-stack="tspit">Temple:137</a>.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-2/riven-shortest-path.w.png" title="Open full size (2400×1665)"><img class="has-dark img-wide" src="https://glthr.com/images/riven-graph-2/riven-shortest-path.w-1800w.png" alt="The full Riven graph with the three-edge path near the Temple cluster in red, enlarged in an inset. Its two ends: the first view of the game, from inside the cage, and the telescope over its hatch." width="1800" height="1249" data-full="/images/riven-graph-2/riven-shortest-path.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p>In Myst, the distance from the start to the end of the game was 24 edges. <strong>The difference says something about both games. Myst ends at the far end of its world, while Riven ends a few steps from where it begins, at a telescope that the player walks past in the first minute.</strong> What separates the two cards is everything that the graph leaves out: the code of the hatch, the power of the telescope, and the reasons to use them. As explained <a href="https://glthr.com/riven-graph-1#heading-paths">in the first article</a>, a path in the graph is a distance between views, never a way to finish the game.</p>
<h4 id="heading-one-action-four-endings">One Action, Four Endings<a class="anchor" href="#heading-one-action-four-endings" aria-hidden="true" tabindex="-1">#</a></h4>
<p><a href="https://glthr.com/riven-graph#tspit:137" data-stack="tspit">Temple:137</a> is also a good example of what a single node can hold. Its movie list has eleven entries, and the last four are endings. Lowering the telescope to the bottom <a href="https://github.com/scummvm/scummvm/blob/aed0208e772b128d3f953207a297fc521c32833a/engines/mohawk/riven_stacks/tspit.cpp#L138-L163" target="_blank" rel="noopener">runs a routine of the game’s engine</a> that picks one of them: the ending with Catherine if she has been freed, otherwise the one with Atrus alone if Gehn has been trapped, otherwise the one with Gehn if the player still carries the trap book.</p>
<p>The fourth ending is a fall into the stars with nobody to meet.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-2/riven-four-endings.w.png" title="Open full size (2400×2175)"><img class="has-dark" src="https://glthr.com/images/riven-graph-2/riven-four-endings.w-1800w.png" alt="Four frames of the ending movies of Temple:137: Atrus with Catherine, Atrus alone, Gehn, and the starry fissure. Above them, Temple:137 points to the movie entries 8 to 11, each under the condition that selects it." width="1800" height="1631" data-full="/images/riven-graph-2/riven-four-endings.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p><em>(The red arrows show the choice made by the engine, not four edges of the graph.)</em></p>
<h3 id="heading-longest-shortest-theoretical-path">Longest Shortest Theoretical Path<a class="anchor" href="#heading-longest-shortest-theoretical-path" aria-hidden="true" tabindex="-1">#</a></h3>
<p>The most distant nodes are separated by 125 edges (130 in Myst). Eighteen pairs are that far apart: they go from six cards inside the golden dome of Temple Island (<a href="https://glthr.com/riven-graph#tspit:458" data-stack="tspit">Temple:458</a>, <a href="https://glthr.com/riven-graph#tspit:467" data-stack="tspit">467</a>, <a href="https://glthr.com/riven-graph#tspit:469" data-stack="tspit">469</a>, <a href="https://glthr.com/riven-graph#tspit:473" data-stack="tspit">473</a>, <a href="https://glthr.com/riven-graph#tspit:544" data-stack="tspit">544</a> and <a href="https://glthr.com/riven-graph#tspit:545" data-stack="tspit">545</a>) to three cards in Tay, the Age of the rebels (<a href="https://glthr.com/riven-graph#rspit:20" data-stack="rspit">Rebel:20</a>, <a href="https://glthr.com/riven-graph#rspit:21" data-stack="rspit">21</a> and <a href="https://glthr.com/riven-graph#rspit:23" data-stack="rspit">23</a>).</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-2/riven-longest-shortest-path.w.png" title="Open full size (2400×1665)"><img class="has-dark img-wide" src="https://glthr.com/images/riven-graph-2/riven-longest-shortest-path.w-1800w.png" alt="The full Riven graph with one of the longest shortest paths in red, 125 edges long, from the Temple cluster to the Rebel cluster. Its two ends: a walkway inside the golden dome and a view in Tay." width="1800" height="1249" data-full="/images/riven-graph-2/riven-longest-shortest-path.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p>Starting from the first view of the game rather than from the dome, the farthest cards are the same three, 116 edges away.</p>
<details class="fold">
  <summary>One of the paths of 125 edges</summary>
  <div class="fold-body">
    <p><a href="https://glthr.com/riven-graph#tspit:458" data-stack="tspit">Temple:458</a> → <a href="https://glthr.com/riven-graph#tspit:460" data-stack="tspit">Temple:460</a> → <a href="https://glthr.com/riven-graph#tspit:463" data-stack="tspit">Temple:463</a> → <a href="https://glthr.com/riven-graph#tspit:466" data-stack="tspit">Temple:466</a> → <a href="https://glthr.com/riven-graph#tspit:451" data-stack="tspit">Temple:451</a> → <a href="https://glthr.com/riven-graph#tspit:448" data-stack="tspit">Temple:448</a> → <a href="https://glthr.com/riven-graph#tspit:455" data-stack="tspit">Temple:455</a> → <a href="https://glthr.com/riven-graph#bspit:112" data-stack="bspit">Boiler:112</a> → <a href="https://glthr.com/riven-graph#bspit:113" data-stack="bspit">Boiler:113</a> → <a href="https://glthr.com/riven-graph#bspit:115" data-stack="bspit">Boiler:115</a> → <a href="https://glthr.com/riven-graph#bspit:116" data-stack="bspit">Boiler:116</a> → <a href="https://glthr.com/riven-graph#bspit:117" data-stack="bspit">Boiler:117</a> → <a href="https://glthr.com/riven-graph#bspit:118" data-stack="bspit">Boiler:118</a> → <a href="https://glthr.com/riven-graph#bspit:119" data-stack="bspit">Boiler:119</a> → <a href="https://glthr.com/riven-graph#bspit:120" data-stack="bspit">Boiler:120</a> → <a href="https://glthr.com/riven-graph#bspit:121" data-stack="bspit">Boiler:121</a> → <a href="https://glthr.com/riven-graph#bspit:84" data-stack="bspit">Boiler:84</a> → <a href="https://glthr.com/riven-graph#bspit:82" data-stack="bspit">Boiler:82</a> → <a href="https://glthr.com/riven-graph#bspit:80" data-stack="bspit">Boiler:80</a> → <a href="https://glthr.com/riven-graph#bspit:79" data-stack="bspit">Boiler:79</a> → <a href="https://glthr.com/riven-graph#bspit:71" data-stack="bspit">Boiler:71</a> → <a href="https://glthr.com/riven-graph#bspit:73" data-stack="bspit">Boiler:73</a> → <a href="https://glthr.com/riven-graph#bspit:123" data-stack="bspit">Boiler:123</a> → <a href="https://glthr.com/riven-graph#bspit:126" data-stack="bspit">Boiler:126</a> → <a href="https://glthr.com/riven-graph#bspit:129" data-stack="bspit">Boiler:129</a> → <a href="https://glthr.com/riven-graph#bspit:132" data-stack="bspit">Boiler:132</a> → <a href="https://glthr.com/riven-graph#bspit:135" data-stack="bspit">Boiler:135</a> → <a href="https://glthr.com/riven-graph#bspit:138" data-stack="bspit">Boiler:138</a> → <a href="https://glthr.com/riven-graph#bspit:141" data-stack="bspit">Boiler:141</a> → <a href="https://glthr.com/riven-graph#bspit:144" data-stack="bspit">Boiler:144</a> → <a href="https://glthr.com/riven-graph#bspit:148" data-stack="bspit">Boiler:148</a> → <a href="https://glthr.com/riven-graph#bspit:150" data-stack="bspit">Boiler:150</a> → <a href="https://glthr.com/riven-graph#bspit:152" data-stack="bspit">Boiler:152</a> → <a href="https://glthr.com/riven-graph#bspit:361" data-stack="bspit">Boiler:361</a> → <a href="https://glthr.com/riven-graph#bspit:319" data-stack="bspit">Boiler:319</a> → <a href="https://glthr.com/riven-graph#bspit:321" data-stack="bspit">Boiler:321</a> → <a href="https://glthr.com/riven-graph#bspit:324" data-stack="bspit">Boiler:324</a> → <a href="https://glthr.com/riven-graph#bspit:357" data-stack="bspit">Boiler:357</a> → <a href="https://glthr.com/riven-graph#bspit:317" data-stack="bspit">Boiler:317</a> → <a href="https://glthr.com/riven-graph#bspit:316" data-stack="bspit">Boiler:316</a> → <a href="https://glthr.com/riven-graph#bspit:312" data-stack="bspit">Boiler:312</a> → <a href="https://glthr.com/riven-graph#bspit:311" data-stack="bspit">Boiler:311</a> → <a href="https://glthr.com/riven-graph#bspit:306" data-stack="bspit">Boiler:306</a> → <a href="https://glthr.com/riven-graph#bspit:307" data-stack="bspit">Boiler:307</a> → <a href="https://glthr.com/riven-graph#bspit:308" data-stack="bspit">Boiler:308</a> → <a href="https://glthr.com/riven-graph#bspit:360" data-stack="bspit">Boiler:360</a> → <a href="https://glthr.com/riven-graph#bspit:393" data-stack="bspit">Boiler:393</a> → <a href="https://glthr.com/riven-graph#bspit:394" data-stack="bspit">Boiler:394</a> → <a href="https://glthr.com/riven-graph#bspit:32" data-stack="bspit">Boiler:32</a> → <a href="https://glthr.com/riven-graph#bspit:33" data-stack="bspit">Boiler:33</a> → <a href="https://glthr.com/riven-graph#bspit:34" data-stack="bspit">Boiler:34</a> → <a href="https://glthr.com/riven-graph#bspit:14" data-stack="bspit">Boiler:14</a> → <a href="https://glthr.com/riven-graph#bspit:19" data-stack="bspit">Boiler:19</a> → <a href="https://glthr.com/riven-graph#bspit:481" data-stack="bspit">Boiler:481</a> → <a href="https://glthr.com/riven-graph#bspit:483" data-stack="bspit">Boiler:483</a> → <a href="https://glthr.com/riven-graph#bspit:484" data-stack="bspit">Boiler:484</a> → <a href="https://glthr.com/riven-graph#bspit:485" data-stack="bspit">Boiler:485</a> → <a href="https://glthr.com/riven-graph#bspit:487" data-stack="bspit">Boiler:487</a> → <a href="https://glthr.com/riven-graph#bspit:491" data-stack="bspit">Boiler:491</a> → <a href="https://glthr.com/riven-graph#bspit:494" data-stack="bspit">Boiler:494</a> → <a href="https://glthr.com/riven-graph#jspit:611" data-stack="jspit">Jungle:611</a> → <a href="https://glthr.com/riven-graph#jspit:606" data-stack="jspit">Jungle:606</a> → <a href="https://glthr.com/riven-graph#jspit:609" data-stack="jspit">Jungle:609</a> → <a href="https://glthr.com/riven-graph#jspit:601" data-stack="jspit">Jungle:601</a> → <a href="https://glthr.com/riven-graph#jspit:48" data-stack="jspit">Jungle:48</a> → <a href="https://glthr.com/riven-graph#jspit:28" data-stack="jspit">Jungle:28</a> → <a href="https://glthr.com/riven-graph#jspit:32" data-stack="jspit">Jungle:32</a> → <a href="https://glthr.com/riven-graph#jspit:35" data-stack="jspit">Jungle:35</a> → <a href="https://glthr.com/riven-graph#jspit:410" data-stack="jspit">Jungle:410</a> → <a href="https://glthr.com/riven-graph#jspit:412" data-stack="jspit">Jungle:412</a> → <a href="https://glthr.com/riven-graph#jspit:414" data-stack="jspit">Jungle:414</a> → <a href="https://glthr.com/riven-graph#jspit:417" data-stack="jspit">Jungle:417</a> → <a href="https://glthr.com/riven-graph#jspit:420" data-stack="jspit">Jungle:420</a> → <a href="https://glthr.com/riven-graph#jspit:426" data-stack="jspit">Jungle:426</a> → <a href="https://glthr.com/riven-graph#jspit:429" data-stack="jspit">Jungle:429</a> → <a href="https://glthr.com/riven-graph#jspit:432" data-stack="jspit">Jungle:432</a> → <a href="https://glthr.com/riven-graph#jspit:434" data-stack="jspit">Jungle:434</a> → <a href="https://glthr.com/riven-graph#jspit:436" data-stack="jspit">Jungle:436</a> → <a href="https://glthr.com/riven-graph#jspit:438" data-stack="jspit">Jungle:438</a> → <a href="https://glthr.com/riven-graph#jspit:441" data-stack="jspit">Jungle:441</a> → <a href="https://glthr.com/riven-graph#jspit:444" data-stack="jspit">Jungle:444</a> → <a href="https://glthr.com/riven-graph#jspit:446" data-stack="jspit">Jungle:446</a> → <a href="https://glthr.com/riven-graph#jspit:448" data-stack="jspit">Jungle:448</a> → <a href="https://glthr.com/riven-graph#jspit:450" data-stack="jspit">Jungle:450</a> → <a href="https://glthr.com/riven-graph#jspit:452" data-stack="jspit">Jungle:452</a> → <a href="https://glthr.com/riven-graph#jspit:457" data-stack="jspit">Jungle:457</a> → <a href="https://glthr.com/riven-graph#jspit:335" data-stack="jspit">Jungle:335</a> → <a href="https://glthr.com/riven-graph#jspit:156" data-stack="jspit">Jungle:156</a> → <a href="https://glthr.com/riven-graph#jspit:158" data-stack="jspit">Jungle:158</a> → <a href="https://glthr.com/riven-graph#jspit:161" data-stack="jspit">Jungle:161</a> → <a href="https://glthr.com/riven-graph#jspit:164" data-stack="jspit">Jungle:164</a> → <a href="https://glthr.com/riven-graph#jspit:167" data-stack="jspit">Jungle:167</a> → <a href="https://glthr.com/riven-graph#jspit:170" data-stack="jspit">Jungle:170</a> → <a href="https://glthr.com/riven-graph#jspit:173" data-stack="jspit">Jungle:173</a> → <a href="https://glthr.com/riven-graph#jspit:176" data-stack="jspit">Jungle:176</a> → <a href="https://glthr.com/riven-graph#jspit:178" data-stack="jspit">Jungle:178</a> → <a href="https://glthr.com/riven-graph#jspit:186" data-stack="jspit">Jungle:186</a> → <a href="https://glthr.com/riven-graph#jspit:189" data-stack="jspit">Jungle:189</a> → <a href="https://glthr.com/riven-graph#jspit:190" data-stack="jspit">Jungle:190</a> → <a href="https://glthr.com/riven-graph#jspit:192" data-stack="jspit">Jungle:192</a> → <a href="https://glthr.com/riven-graph#jspit:194" data-stack="jspit">Jungle:194</a> → <a href="https://glthr.com/riven-graph#jspit:196" data-stack="jspit">Jungle:196</a> → <a href="https://glthr.com/riven-graph#jspit:198" data-stack="jspit">Jungle:198</a> → <a href="https://glthr.com/riven-graph#jspit:201" data-stack="jspit">Jungle:201</a> → <a href="https://glthr.com/riven-graph#jspit:203" data-stack="jspit">Jungle:203</a> → <a href="https://glthr.com/riven-graph#jspit:205" data-stack="jspit">Jungle:205</a> → <a href="https://glthr.com/riven-graph#jspit:207" data-stack="jspit">Jungle:207</a> → <a href="https://glthr.com/riven-graph#jspit:209" data-stack="jspit">Jungle:209</a> → <a href="https://glthr.com/riven-graph#jspit:211" data-stack="jspit">Jungle:211</a> → <a href="https://glthr.com/riven-graph#jspit:213" data-stack="jspit">Jungle:213</a> → <a href="https://glthr.com/riven-graph#jspit:215" data-stack="jspit">Jungle:215</a> → <a href="https://glthr.com/riven-graph#jspit:218" data-stack="jspit">Jungle:218</a> → <a href="https://glthr.com/riven-graph#jspit:226" data-stack="jspit">Jungle:226</a> → <a href="https://glthr.com/riven-graph#jspit:227" data-stack="jspit">Jungle:227</a> → <a href="https://glthr.com/riven-graph#rspit:3" data-stack="rspit">Rebel:3</a> → <a href="https://glthr.com/riven-graph#rspit:4" data-stack="rspit">Rebel:4</a> → <a href="https://glthr.com/riven-graph#rspit:25" data-stack="rspit">Rebel:25</a> → <a href="https://glthr.com/riven-graph#rspit:26" data-stack="rspit">Rebel:26</a> → <a href="https://glthr.com/riven-graph#rspit:28" data-stack="rspit">Rebel:28</a> → <a href="https://glthr.com/riven-graph#rspit:29" data-stack="rspit">Rebel:29</a> → <a href="https://glthr.com/riven-graph#rspit:10" data-stack="rspit">Rebel:10</a> → <a href="https://glthr.com/riven-graph#rspit:6" data-stack="rspit">Rebel:6</a> → <a href="https://glthr.com/riven-graph#rspit:8" data-stack="rspit">Rebel:8</a> → <a href="https://glthr.com/riven-graph#rspit:15" data-stack="rspit">Rebel:15</a> → <a href="https://glthr.com/riven-graph#rspit:18" data-stack="rspit">Rebel:18</a> → <a href="https://glthr.com/riven-graph#rspit:20" data-stack="rspit">Rebel:20</a>.</p>
  </div>
</details><h3 id="heading-no-self-references">No Self-References<a class="anchor" href="#heading-no-self-references" aria-hidden="true" tabindex="-1">#</a></h3>
<p>Nine nodes of the Myst Graph refer to themselves, to redraw a card after an action. The Riven Graph has none.</p>
<p>Indeed: <strong>Riven does not need self-reference nodes</strong>. A script changes a variable and asks the engine to draw the same card again, and the card’s own script then picks the picture that fits the new value. The scripts contain 283 of these redraw instructions: they are Riven’s self-loops, and they leave no trace in a graph whose nodes are cards. Most of this article’s second half is about what they hide.</p>
<h3 id="heading-the-cards-that-no-route-avoids">The Cards That No Route Avoids<a class="anchor" href="#heading-the-cards-that-no-route-avoids" aria-hidden="true" tabindex="-1">#</a></h3>
<p>A graph can also say which cards are unavoidable. A card <em>dominates</em> another when every route from the start to the second passes through the first.</p>
<p>Of the 2,260 other nodes that can be reached from the first view, 2,217 are dominated by a chain of six cards: <a href="https://glthr.com/riven-graph#tspit:133" data-stack="tspit">Temple:133</a>, <a href="https://glthr.com/riven-graph#tspit:123" data-stack="tspit">123</a>, <a href="https://glthr.com/riven-graph#tspit:125" data-stack="tspit">125</a>, <a href="https://glthr.com/riven-graph#tspit:119" data-stack="tspit">119</a>, <a href="https://glthr.com/riven-graph#tspit:116" data-stack="tspit">116</a> and <a href="https://glthr.com/riven-graph#tspit:113" data-stack="tspit">113</a>. <span class="inline-update editorial" role="note"><em><span class="inline-update-bracket">[</span>(<span class="inline-update-label">Update November 2026</span>) I recomputed the counts of this article after adding the <a href="https://glthr.com/riven-graph-1#heading-reading-a-connection">shadowed connections</a> to the graph: no route follows them.<span class="inline-update-bracket">]</span></em></span> They are the path that leaves the telescope and the stone stairway that follows it. Before them lie 26 cards. Beyond them lies the rest of Riven.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-2/riven-unavoidable-cards.w.png" title="Open full size (2400×1440)"><img class="has-dark img-wide" src="https://glthr.com/images/riven-graph-2/riven-unavoidable-cards.w-1800w.png" alt="The chain Temple:155, 133, 123, 125, 119, 116, 113 leads to a box of 2,217 other nodes. Two cards hang from that box: Gehn:1, with 125 cards behind it, and Jungle:178, with 104. Below, their views: a landing at the end of a stairway, the bars of a cage in Gehn’s office, and a round wooden door." width="1800" height="1080" data-full="/images/riven-graph-2/riven-unavoidable-cards.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p>Beyond the stairway, the graph opens up: the islands are joined in a ring (see <a href="#heading-a-ring-of-islands-and-a-hub-of-books">below</a>), so most places can be reached in two ways. Two branches of more than a hundred cards still hang from a single card each. <a href="https://glthr.com/riven-graph#ospit:1" data-stack="ospit">Gehn:1</a>, the cage in which every visit to Gehn’s Age begins, stands before the 80 other cards of that Age and the 45 cards of Prison Island. <a href="https://glthr.com/riven-graph#jspit:178" data-stack="jspit">Jungle:178</a>, the door of the cell in the gallows, stands before the 104 cards of the rebels’ tunnel and of Tay.</p>
<p>The route to the farthest card of the game, <a href="https://glthr.com/riven-graph#rspit:20" data-stack="rspit">Rebel:20</a>, is 116 edges long, and 36 of its cards are unavoidable.</p>
<h3 id="heading-what-zip-mode-buys">What Zip Mode Buys<a class="anchor" href="#heading-what-zip-mode-buys" aria-hidden="true" tabindex="-1">#</a></h3>
<p>Riven has an option that Myst also had, Zip mode: once a place has been visited, a click on it in the distance goes there at once. The graph draws these shortcuts in a separate layer, since they exist only for places already seen. There are 598 of them, from 555 cards to 189 places. Eight more are in the files but can never be clicked: they are shadowed connections, and I leave them out of these figures.</p>
<div class="table-wrap" tabindex="0" role="region" aria-label="Scrollable table">
<table>
  <thead>
      <tr>
          <th></th>
          <th style="text-align: right">Without Zip</th>
          <th style="text-align: right">With every shortcut</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>Longest shortest path</td>
          <td style="text-align: right">125</td>
          <td style="text-align: right">75</td>
      </tr>
      <tr>
          <td>Average distance between two cards</td>
          <td style="text-align: right">51.5</td>
          <td style="text-align: right">31.0</td>
      </tr>
      <tr>
          <td>Farthest card from the start</td>
          <td style="text-align: right">116</td>
          <td style="text-align: right">59</td>
      </tr>
  </tbody>
</table>
</div>
<p>A shortcut replaces 3.9 edges on average and 12 at most (from <a href="https://glthr.com/riven-graph#bspit:340" data-stack="bspit">Boiler:340</a> to <a href="https://glthr.com/riven-graph#bspit:58" data-stack="bspit">Boiler:58</a>). Taken together, they shorten Riven by about 40%. Five cards register as a Zip place that no shortcut names: <a href="https://glthr.com/riven-graph#gspit:12" data-stack="gspit">Garden:12</a>, <a href="https://glthr.com/riven-graph#gspit:13" data-stack="gspit">Garden:13</a>, <a href="https://glthr.com/riven-graph#gspit:248" data-stack="gspit">Garden:248</a>, <a href="https://glthr.com/riven-graph#jspit:577" data-stack="jspit">Jungle:577</a> and <a href="https://glthr.com/riven-graph#tspit:339" data-stack="tspit">Temple:339</a>.</p>
<h2 id="heading-between-the-islands">Between the Islands<a class="anchor" href="#heading-between-the-islands" aria-hidden="true" tabindex="-1">#</a></h2>
<h3 id="heading-a-ring-of-islands-and-a-hub-of-books">A Ring of Islands and a Hub of Books<a class="anchor" href="#heading-a-ring-of-islands-and-a-hub-of-books" aria-hidden="true" tabindex="-1">#</a></h3>
<p>Twenty-seven edges join two different stacks. Ten of them are the five ways of traveling between the four large islands, each in both directions: the maglevs between Temple and Jungle, Jungle and Survey, Survey and Book Assembly, the log car between Jungle and Book Assembly, and the great bridge between Book Assembly and Temple. Together, they close a ring. No single card separates one of these islands from the others.</p>
<p>Prison Island is not on the ring. Its only way in is <a href="https://glthr.com/riven-graph#ospit:55" data-stack="ospit">Gehn:55</a> → <a href="https://glthr.com/riven-graph#pspit:43" data-stack="pspit">Prison:43</a>, a linking book in Gehn’s office. Its only way out is <a href="https://glthr.com/riven-graph#pspit:45" data-stack="pspit">Prison:45</a> → <a href="https://glthr.com/riven-graph#ospit:1" data-stack="ospit">Gehn:1</a>.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-2/riven-prison-transport.w.png" title="Open full size (2400×1650)"><img class="has-dark img-wide" src="https://glthr.com/images/riven-graph-2/riven-prison-transport.w-1800w.png" alt="On the left, Temple, Jungle, Boiler and Garden joined in a ring by black arrows. On the right, red arrows marked books join the ring to Gehn, and Gehn to Prison. Below, the linking panel of Gehn:55 and the view of Prison:43 where it leads." width="1800" height="1238" data-full="/images/riven-graph-2/riven-prison-transport.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p><em>The physical ring in black, the linking books in red. Prison Island hangs from Gehn’s Age.</em></p>
<p>The scripts make the same distinction. A vehicle changes stack with an instruction of the script that drives it: there are twelve such instructions in the game, ten for the vehicles, one for starting a new game, and one that I come back to <a href="#heading-an-earlier-way-to-link">below</a>. A linking book does not.</p>
<h3 id="heading-thirteen-black-cards">Thirteen Black Cards<a class="anchor" href="#heading-thirteen-black-cards" aria-hidden="true" tabindex="-1">#</a></h3>
<p>A book links by asking for a card that is never shown. <a href="https://glthr.com/riven-graph#tspit:391" data-stack="tspit">Temple:391</a>, the page of the linking book in the dome of Temple Island, asks for <a href="https://glthr.com/riven-graph#tspit:392" data-stack="tspit">Temple:392</a>, whose only picture is black. The engine <a href="https://github.com/scummvm/scummvm/blob/aed0208e772b128d3f953207a297fc521c32833a/engines/mohawk/riven.cpp#L588-L630" target="_blank" rel="noopener">keeps a table of thirteen such cards</a>: when a script asks for one of them, it changes stack and enters another card instead, here <a href="https://glthr.com/riven-graph#ospit:1" data-stack="ospit">Gehn:1</a>.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-2/riven-link-redirect.w.png" title="Open full size (2400×1298)"><img class="has-dark img-wide" src="https://glthr.com/images/riven-graph-2/riven-link-redirect.w-1800w.png" alt="A black view labeled Temple:392, marked as never displayed, with an arrow labeled native redirect to the view of Gehn:1, the cage in Gehn’s office." width="1800" height="974" data-full="/images/riven-graph-2/riven-link-redirect.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p><em><a href="https://glthr.com/riven-graph#tspit:392" data-stack="tspit">Temple:392</a> is asked for and never entered.</em></p>
<p>The thirteen cards are <a href="https://glthr.com/riven-graph#aspit:8" data-stack="aspit">Menu:8</a> (the trap book), <a href="https://glthr.com/riven-graph#bspit:447" data-stack="bspit">Boiler:447</a>, <a href="https://glthr.com/riven-graph#gspit:178" data-stack="gspit">Garden:178</a>, <a href="https://glthr.com/riven-graph#jspit:344" data-stack="jspit">Jungle:344</a>, <a href="https://glthr.com/riven-graph#pspit:46" data-stack="pspit">Prison:46</a> and <a href="https://glthr.com/riven-graph#tspit:392" data-stack="tspit">Temple:392</a> (the five domes), <a href="https://glthr.com/riven-graph#jspit:228" data-stack="jspit">Jungle:228</a> (the book to Tay), <a href="https://glthr.com/riven-graph#rspit:13" data-stack="rspit">Rebel:13</a> (the way back), and <a href="https://glthr.com/riven-graph#ospit:58" data-stack="ospit">Gehn:58</a>, <a href="https://glthr.com/riven-graph#ospit:62" data-stack="ospit">62</a>, <a href="https://glthr.com/riven-graph#ospit:67" data-stack="ospit">67</a>, <a href="https://glthr.com/riven-graph#ospit:72" data-stack="ospit">72</a> and <a href="https://glthr.com/riven-graph#ospit:76" data-stack="ospit">76</a> (the five books of Gehn’s office). The graph draws each link straight to the card that is entered, and keeps the black card as a node that nothing enters.</p>
<h3 id="heading-an-earlier-way-to-link">An Earlier Way to Link<a class="anchor" href="#heading-an-earlier-way-to-link" aria-hidden="true" tabindex="-1">#</a></h3>
<p>One card shows that linking was not always done this way.</p>
<p><a href="https://glthr.com/riven-graph#tspit:389" data-stack="tspit">Temple:389</a> holds the same picture as <a href="https://glthr.com/riven-graph#tspit:391" data-stack="tspit">Temple:391</a>, pixel for pixel: the page of the dome’s linking book. Nothing leads to it. Its script links differently: it asks for <a href="https://glthr.com/riven-graph#tspit:390" data-stack="tspit">Temple:390</a>, another black card, and then changes stack by itself, as a vehicle would.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-2/riven-earlier-link.w.png" title="Open full size (2400×1358)"><img class="has-dark img-wide" src="https://glthr.com/images/riven-graph-2/riven-earlier-link.w-1800w.png" alt="Two rows. In the game: Temple:391 requests the black card Temple:392, which is never entered, and an engine redirect leads to Gehn:1. Unreachable: Temple:389 requests the black card Temple:390, which is entered and then left by the same script, which changes stack to Gehn:1. Below, the two cards show the same page of a linking book." width="1800" height="1019" data-full="/images/riven-graph-2/riven-earlier-link.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p><em>Two cards for one page. <a href="https://glthr.com/riven-graph#tspit:391" data-stack="tspit">Temple:391</a> relies on the engine. <a href="https://glthr.com/riven-graph#tspit:389" data-stack="tspit">Temple:389</a> links by its own script, through a black card that is really displayed.</em></p>
<p><a href="https://glthr.com/riven-graph#tspit:389" data-stack="tspit">Temple:389</a> also lacks the two movies of <a href="https://glthr.com/riven-graph#tspit:391" data-stack="tspit">Temple:391</a>, which animate the panel of the page. It looks like a first version of the card, kept in the files after the second one took its place, as <a href="https://glthr.com/myst-graph#53791" data-stack="stoneship">Stoneship Age:53791</a> was in Myst. I cannot tell from the files why the link was moved into the engine.</p>
<p>Black cards of this kind remain in other stacks, without anything left to use them: <a href="https://glthr.com/riven-graph#gspit:267" data-stack="gspit">Garden:267</a>, <a href="https://glthr.com/riven-graph#pspit:47" data-stack="pspit">Prison:47</a> and <a href="https://glthr.com/riven-graph#ospit:89" data-stack="ospit">Gehn:89</a> are all named “black”, like <a href="https://glthr.com/riven-graph#tspit:390" data-stack="tspit">Temple:390</a>.</p>
<h3 id="heading-journals-outside-the-graph">Journals Outside the Graph<a class="anchor" href="#heading-journals-outside-the-graph" aria-hidden="true" tabindex="-1">#</a></h3>
<p><a href="https://glthr.com/riven-graph#aspit:5" data-stack="aspit">Menu:5</a> and <a href="https://glthr.com/riven-graph#aspit:6" data-stack="aspit">Menu:6</a>, the journals of Atrus and Catherine, are isolated nodes too, and the player reads them throughout the game.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-2/riven-inventory-isolates.w.png" title="Open full size (2400×1298)"><img class="has-dark img-wide" src="https://glthr.com/images/riven-graph-2/riven-inventory-isolates.w-1800w.png" alt="The closed journals of Atrus and Catherine, each marked as displayed in the game, below their isolated nodes Menu:5 and Menu:6. An inventory box points to both with dashed arrows." width="1800" height="974" data-full="/images/riven-graph-2/riven-inventory-isolates.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p><em>The journals are opened from the inventory and closed toward the card that the player came from.</em></p>
<p>They are opened from the inventory, at the bottom of the screen, by the engine. Closing a journal goes back to the card where it was opened, whichever it was. Drawing these returns as edges would join every card of the game to every other through a book, so the graph leaves them out and notes them beside the node. An isolated node is not necessarily an unreachable one.</p>
<h2 id="heading-temple-island">Temple Island<a class="anchor" href="#heading-temple-island" aria-hidden="true" tabindex="-1">#</a></h2>
<h3 id="heading-the-corridor-under-the-dome">The Corridor Under the Dome<a class="anchor" href="#heading-the-corridor-under-the-dome" aria-hidden="true" tabindex="-1">#</a></h3>
<p>MYST &amp; RIVEN Illustrated <a href="https://mrillustrated.com/not-appearing-in-riven/" target="_blank" rel="noopener">describes</a> what once stood in place of the elevator of the golden dome: a ladder, a door and an underground corridor, in which one can “walk the corridor, open and shut the shaft door, even enter the shaft, but then the game hangs”.</p>
<p>The graph shows these cards as they are in the files. <a href="https://glthr.com/riven-graph#tspit:362" data-stack="tspit">Temple:362</a>, <a href="https://glthr.com/riven-graph#tspit:363" data-stack="tspit">363</a>, <a href="https://glthr.com/riven-graph#tspit:364" data-stack="tspit">364</a> and <a href="https://glthr.com/riven-graph#tspit:365" data-stack="tspit">365</a> lead to one another and nothing leads to them. The door of <a href="https://glthr.com/riven-graph#tspit:363" data-stack="tspit">Temple:363</a> still works: two hotspots, <code>opendoor</code> and <code>closedoor</code>, set the variable <code>ttunneldoor</code>, which only this corridor uses.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-2/riven-orphan-temple.w.png" title="Open full size (2400×2790)"><img class="has-dark" src="https://glthr.com/images/riven-graph-2/riven-orphan-temple.w-1800w.png" alt="Eight never-displayed views from the six unreachable cards Temple:360, 362, 363, 364, 365 and 404, including both open and closed door states of 363 and 365. Above them, a schematic shows scripted turns, forward steps, exits to the main network and references to the virtual target Temple:361." width="1800" height="2093" data-full="/images/riven-graph-2/riven-orphan-temple.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p><em>A branch with two ways out and no way in. The door of <a href="https://glthr.com/riven-graph#tspit:363" data-stack="tspit">Temple:363</a> opens and closes for nobody.</em></p>
<p>The graph also shows why the game hangs. From the corridor, <a href="https://glthr.com/riven-graph#tspit:360" data-stack="tspit">Temple:360</a> leads to <a href="https://glthr.com/riven-graph#tspit:361" data-stack="tspit">Temple:361</a> by turning left or right. <a href="https://glthr.com/riven-graph#tspit:404" data-stack="tspit">Temple:404</a>, a view down the shaft that nothing leads to either, leads there by moving forward. And <a href="https://glthr.com/riven-graph#tspit:361" data-stack="tspit">Temple:361</a> does not exist: it is one of the <a href="#heading-five-targets-without-cards">five targets without a card</a>. The corridor was cut off at both ends, and the card in its middle was removed.</p>
<h3 id="heading-a-bridge-view-replaced-by-its-twin">A Bridge View Replaced by Its Twin<a class="anchor" href="#heading-a-bridge-view-replaced-by-its-twin" aria-hidden="true" tabindex="-1">#</a></h3>
<p><a href="https://glthr.com/riven-graph#tspit:236" data-stack="tspit">Temple:236</a> is an ordinary card, on the bridge that leads to the gate of the rotating room. It holds six pictures, and its script selects five of them, according to the position of the room and the state of its door. The sixth is never selected.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-2/riven-unselected-gate.w.png" title="Open full size (2400×1298)"><img class="has-dark img-wide" src="https://glthr.com/images/riven-graph-2/riven-unselected-gate.w-1800w.png" alt="Two pictures of Temple:236. Entry 2, marked as never displayed, shows the gate at the end of the wooden bridge from farther away. Entry 6, marked as displayed, shows the same gate from closer." width="1800" height="974" data-full="/images/riven-graph-2/riven-unselected-gate.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p><em>The picture that <a href="https://glthr.com/riven-graph#tspit:236" data-stack="tspit">Temple:236</a> never shows, and one of the five that it does.</em></p>
<p>The names of the files tell the story. The unselected picture is called <code>236_tislandexterior.2200</code>, like the plain exterior views of the island. The five others are called <code>236_tisext.7050</code>, followed by the state of the room. And these five are, pixel for pixel, the five pictures of another card, <a href="https://glthr.com/riven-graph#tspit:211" data-stack="tspit">Temple:211</a>.</p>
<p><a href="https://glthr.com/riven-graph#tspit:236" data-stack="tspit">Temple:236</a> therefore shows the views of <a href="https://glthr.com/riven-graph#tspit:211" data-stack="tspit">Temple:211</a>, framed closer to the gate, and never its own. Its original picture stayed in the files.</p>
<h2 id="heading-jungle-island">Jungle Island<a class="anchor" href="#heading-jungle-island" aria-hidden="true" tabindex="-1">#</a></h2>
<h3 id="heading-the-stone-circle-a-hub">The Stone Circle, a Hub<a class="anchor" href="#heading-the-stone-circle-a-hub" aria-hidden="true" tabindex="-1">#</a></h3>
<p>In Myst, the most connected node was the bookshelf of the library. In Riven, it is the stone circle of the rebels’ tunnel, where five of twenty-five stones must be pressed in the right order to reveal the book to Tay.</p>
<p>The four views from its center are among the most connected cards of the game. <a href="https://glthr.com/riven-graph#jspit:215" data-stack="jspit">Jungle:215</a> has 13 incoming and 10 outgoing edges, <a href="https://glthr.com/riven-graph#jspit:229" data-stack="jspit">Jungle:229</a> has 11 and 11, <a href="https://glthr.com/riven-graph#jspit:216" data-stack="jspit">Jungle:216</a> and <a href="https://glthr.com/riven-graph#jspit:219" data-stack="jspit">Jungle:219</a> have 9 and 9. Each close-up of a stone is a card that goes back to the center, and the two ways back from Tay arrive at <a href="https://glthr.com/riven-graph#jspit:215" data-stack="jspit">Jungle:215</a>. The books are, once again, where the edges meet.</p>
<h3 id="heading-lagoon-views-with-exits-and-no-entrance">Lagoon Views With Exits and No Entrance<a class="anchor" href="#heading-lagoon-views-with-exits-and-no-entrance" aria-hidden="true" tabindex="-1">#</a></h3>
<p><a href="https://glthr.com/riven-graph#jspit:650" data-stack="jspit">Jungle:650</a>, <a href="https://glthr.com/riven-graph#jspit:651" data-stack="jspit">651</a> and <a href="https://glthr.com/riven-graph#jspit:652" data-stack="jspit">652</a> are three views of the lagoon, joined by turns. They lead to <a href="https://glthr.com/riven-graph#jspit:649" data-stack="jspit">Jungle:649</a> and <a href="https://glthr.com/riven-graph#jspit:646" data-stack="jspit">Jungle:646</a>, and nothing leads to them. Next to them, <a href="https://glthr.com/riven-graph#jspit:648" data-stack="jspit">Jungle:648</a> leads to <a href="https://glthr.com/riven-graph#jspit:644" data-stack="jspit">Jungle:644</a> and <a href="https://glthr.com/riven-graph#jspit:646" data-stack="jspit">Jungle:646</a>, and nothing leads to it either. These are the lagoon views that MYST &amp; RIVEN Illustrated <a href="https://mrillustrated.com/not-appearing-in-riven/" target="_blank" rel="noopener">shows</a>, noting that their absence “may have been a mistake”.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-2/riven-orphan-beach.w.png" title="Open full size (2400×2280)"><img class="has-dark" src="https://glthr.com/images/riven-graph-2/riven-orphan-beach.w-1800w.png" alt="Four never-displayed lagoon views, with Jungle:650, 651 and 652 arranged in scripted turning order and Jungle:648 shown separately. The upper schematic labels their turns and exits to reachable cards, and arrows beside the picture of 648 show its left turn to Jungle:646 and right turn to Jungle:644." width="1800" height="1710" data-full="/images/riven-graph-2/riven-orphan-beach.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p><em>Four views that lead to the game and that the game does not lead to.</em></p>
<p>The graph adds a detail. <a href="https://glthr.com/riven-graph#jspit:648" data-stack="jspit">Jungle:648</a> still holds two hotspots named <code>forward</code> and <code>forwardright</code>, and their scripts are empty: whatever these two zones led to was removed, and the zones were left in place.</p>
<h3 id="heading-source-nodes-whose-pictures-are-seen">Source Nodes Whose Pictures Are Seen<a class="anchor" href="#heading-source-nodes-whose-pictures-are-seen" aria-hidden="true" tabindex="-1">#</a></h3>
<p>Two source nodes of Jungle Island show that an unreachable card does not make an unseen picture.</p>
<p><a href="https://glthr.com/riven-graph#jspit:781" data-stack="jspit">Jungle:781</a> is a close view of a slate in the schoolroom. Nothing leads to it. Its picture is, pixel for pixel, the picture of <a href="https://glthr.com/riven-graph#jspit:752" data-stack="jspit">Jungle:752</a>, which the game displays, and both cards turn left to <a href="https://glthr.com/riven-graph#jspit:755" data-stack="jspit">Jungle:755</a> and right to <a href="https://glthr.com/riven-graph#jspit:753" data-stack="jspit">Jungle:753</a>.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-2/riven-duplicate-card.w.png" title="Open full size (2400×1298)"><img class="has-dark img-wide" src="https://glthr.com/images/riven-graph-2/riven-duplicate-card.w-1800w.png" alt="Two identical views of a slate in the schoolroom. Jungle:781, marked as never displayed, has edges to Jungle:755 and Jungle:753 only. Jungle:752, marked as displayed, is joined to the same two cards in both directions." width="1800" height="974" data-full="/images/riven-graph-2/riven-duplicate-card.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p><em>The same picture and the same exits. Only <a href="https://glthr.com/riven-graph#jspit:752" data-stack="jspit">Jungle:752</a> can be reached.</em></p>
<p><a href="https://glthr.com/riven-graph#jspit:249" data-stack="jspit">Jungle:249</a> is subtler. It is an isolated node, and it shows the stone circle with the niche of the book open at the back. This picture is not the first picture of any other card. It is the second picture of <a href="https://glthr.com/riven-graph#jspit:213" data-stack="jspit">Jungle:213</a>, the one that its script selects once the book has been revealed.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-2/riven-state-substitution.w.png" title="Open full size (2400×1298)"><img class="has-dark img-wide" src="https://glthr.com/images/riven-graph-2/riven-state-substitution.w-1800w.png" alt="Jungle:249, marked as never displayed, and the second picture of Jungle:213, marked as displayed: the same view of a ring of standing stones in a round room, with an open niche in the far wall. A dashed red arrow labeled pixel-identical joins the two nodes." width="1800" height="974" data-full="/images/riven-graph-2/riven-state-substitution.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p><em><a href="https://glthr.com/riven-graph#jspit:249" data-stack="jspit">Jungle:249</a> was a card for the open niche. <a href="https://glthr.com/riven-graph#jspit:213" data-stack="jspit">Jungle:213</a> now holds both states.</em></p>
<p>This is the difference between Myst and Riven in one example. Myst would have needed two cards, one for the niche closed and one for the niche open. Riven keeps one card and two pictures, and the card that used to hold the second picture remains, with three hotspots named <code>left</code>, <code>forward</code> and <code>right</code> whose scripts are empty.</p>
<h2 id="heading-survey-island">Survey Island<a class="anchor" href="#heading-survey-island" aria-hidden="true" tabindex="-1">#</a></h2>
<h3 id="heading-an-earlier-elevator">An Earlier Elevator<a class="anchor" href="#heading-an-earlier-elevator" aria-hidden="true" tabindex="-1">#</a></h3>
<p><a href="https://glthr.com/riven-graph#gspit:19" data-stack="gspit">Garden:19</a> is a source node. It has two exits: down to <a href="https://glthr.com/riven-graph#gspit:12" data-stack="gspit">Garden:12</a>, with the three movies of an elevator ride, and forward to <a href="https://glthr.com/riven-graph#gspit:18" data-stack="gspit">Garden:18</a>. These are exactly the two exits of <a href="https://glthr.com/riven-graph#gspit:13" data-stack="gspit">Garden:13</a>, the card that the game shows inside the elevator of the fountain, at the top of its shaft.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-2/riven-earlier-elevator.w.png" title="Open full size (2400×1298)"><img class="has-dark img-wide" src="https://glthr.com/images/riven-graph-2/riven-earlier-elevator.w-1800w.png" alt="Garden:19 and Garden:13 each lead down to Garden:12 and forward to Garden:18. Nothing leads to Garden:19. Below, the view of Garden:19, marked as never displayed: a wall of dark planks with an arched opening onto a corridor. The view of Garden:13, marked as displayed: the same corridor seen through an open front." width="1800" height="974" data-full="/images/riven-graph-2/riven-earlier-elevator.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p><em>The same place in the graph, and two different elevators.</em></p>
<p>The two pictures do not show the same elevator. In <a href="https://glthr.com/riven-graph#gspit:13" data-stack="gspit">Garden:13</a>, its front is open onto the corridor of the fountain. In <a href="https://glthr.com/riven-graph#gspit:19" data-stack="gspit">Garden:19</a>, the corridor is seen through an arched opening in a wall of planks. The elevator was redrawn, and the card of its earlier design was left behind, with its hotspot and its movies.</p>
<h3 id="heading-the-back-of-an-elevator-again">The Back of an Elevator, Again<a class="anchor" href="#heading-the-back-of-an-elevator-again" aria-hidden="true" tabindex="-1">#</a></h3>
<p>The same elevator holds a sink node, <a href="https://glthr.com/riven-graph#gspit:11" data-stack="gspit">Garden:11</a>. Its picture is named <code>11_gsubelevinelevback</code>: the back of the elevator, seen from inside. Its script contains no navigation.</p>
<p>In Myst, <a href="https://glthr.com/myst-graph-2#heading-the-back-of-the-wooden-elevator-a-false-sink-node">the back of the wooden elevator of Channelwood</a> was a false sink node: the cards that lead to it show it for an instant, then go on to the real destination. Four years later, Riven does exactly the same thing in another elevator.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-2/riven-intermediate-frame.w.png" title="Open full size (2400×1268)"><img class="has-dark img-wide" src="https://glthr.com/images/riven-graph-2/riven-intermediate-frame.w-1800w.png" alt="Garden:9 enters Garden:11 and then goes on to Garden:12, in the same script. Garden:17 enters Garden:11 and goes on to Garden:13. Below, three views: the elevator from outside, its back wall of planks, and the view out of it." width="1800" height="951" data-full="/images/riven-graph-2/riven-intermediate-frame.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p><em><a href="https://glthr.com/riven-graph#gspit:9" data-stack="gspit">Garden:9</a> shows <a href="https://glthr.com/riven-graph#gspit:11" data-stack="gspit">Garden:11</a>, then goes on to <a href="https://glthr.com/riven-graph#gspit:12" data-stack="gspit">Garden:12</a> within the same click.</em></p>
<p>The graph draws this second step with a hollow arrowhead, from <a href="https://glthr.com/riven-graph#gspit:11" data-stack="gspit">Garden:11</a> to <a href="https://glthr.com/riven-graph#gspit:12" data-stack="gspit">Garden:12</a> or to <a href="https://glthr.com/riven-graph#gspit:13" data-stack="gspit">Garden:13</a>, depending on the card that the player comes from. There are 22 of these steps in the game. <a href="https://glthr.com/riven-graph#jspit:361" data-stack="jspit">Jungle:361</a> and <a href="https://glthr.com/riven-graph#tspit:20" data-stack="tspit">Temple:20</a> are false sink nodes of the same kind.</p>
<h3 id="heading-the-station-that-is-never-empty">The Station That Is Never Empty<a class="anchor" href="#heading-the-station-that-is-never-empty" aria-hidden="true" tabindex="-1">#</a></h3>
<p>Each maglev line keeps track of its car with two variables, one for each end. On the line between Jungle Island and Survey Island, for instance, leaving Survey Island sets <code>gemagcar</code> to 0 and <code>jwmagcar</code> to 1. A station whose variable is 0 shows its platform empty, and its button calls the car back.</p>
<p>The line between Survey Island and Book Assembly Island does not work this way. At its Survey Island end, the variable is <code>gnmagcar</code>. A new game <a href="https://github.com/scummvm/scummvm/blob/aed0208e772b128d3f953207a297fc521c32833a/engines/mohawk/riven_vars.cpp#L296-L364" target="_blank" rel="noopener">starts with it at 1</a>. Five instructions of the game’s scripts store a value into it, and all five store 1. Nothing ever sets it to 0.</p>
<p>The station was nevertheless built for both cases. Eight of its cards test <code>gnmagcar</code>, in twenty branches for the value 0. Seven full-screen pictures show the platform without the car. Six of their files are named <code>nomag</code>, as in the other stations. The button of the station still contains the instructions that would call the car back. None of this can run.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-2/riven-empty-station.w.png" title="Open full size (2400×2018)"><img class="has-dark" src="https://glthr.com/images/riven-graph-2/riven-empty-station.w-1800w.png" alt="The variable gnmagcar starts at 1. Five scripts write 1 and none writes 0. An arrow labeled always taken leads to case 1, where the car is drawn. A dashed arrow labeled never taken leads to case 0, which holds 20 branches on 8 cards and 7 full-screen pictures. Below, two pairs of views of a maglev station in a cave: with the car, marked as displayed, and with an empty platform, marked as never displayed." width="1800" height="1514" data-full="/images/riven-graph-2/riven-empty-station.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p><em>The station of Survey Island with its car, and the same views without it. The scripts can only select the first.</em></p>
<p>One of the five instructions explains what happened: walking into the station, from <a href="https://glthr.com/riven-graph#gspit:51" data-stack="gspit">Garden:51</a> to <a href="https://glthr.com/riven-graph#gspit:44" data-stack="gspit">Garden:44</a>, sets <code>gnmagcar</code> to 1. Whatever the player did with the car, it is there when they arrive. The designers apparently decided that this station would never be found empty, and made it so with one instruction, leaving the empty platform, its seven renders and its call button in the files.</p>
<p>The decision has a cost in consistency, which the scripts make visible: at the other end of the line, the variable <code>bmagcar</code> is kept properly. By the scripts, a player who rides the car to Book Assembly Island and comes back to Survey Island through the linking books finds the car waiting there, while the game still holds it at the other end. I have not found this described anywhere, and I have not checked it in the game itself.</p>
<h2 id="heading-book-assembly-island">Book Assembly Island<a class="anchor" href="#heading-book-assembly-island" aria-hidden="true" tabindex="-1">#</a></h2>
<h3 id="heading-a-missing-card-behind-a-passing-view">A Missing Card Behind a Passing View<a class="anchor" href="#heading-a-missing-card-behind-a-passing-view" aria-hidden="true" tabindex="-1">#</a></h3>
<p><a href="https://glthr.com/riven-graph#bspit:465" data-stack="bspit">Boiler:465</a> has two exits: to the right, <a href="https://glthr.com/riven-graph#bspit:429" data-stack="bspit">Boiler:429</a>, and to the left, <a href="https://glthr.com/riven-graph#bspit:466" data-stack="bspit">Boiler:466</a>, which does not exist.</p>
<p>Only one card leads to <a href="https://glthr.com/riven-graph#bspit:465" data-stack="bspit">Boiler:465</a>, and it does not stop there. The script of <a href="https://glthr.com/riven-graph#bspit:455" data-stack="bspit">Boiler:455</a> shows <a href="https://glthr.com/riven-graph#bspit:465" data-stack="bspit">Boiler:465</a> and goes on to <a href="https://glthr.com/riven-graph#bspit:427" data-stack="bspit">Boiler:427</a>, within the same click. It is a passing view, like the back of the elevator.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-2/riven-boiler-transient.w.png" title="Open full size (2400×1350)"><img class="has-dark img-wide" src="https://glthr.com/images/riven-graph-2/riven-boiler-transient.w-1800w.png" alt="Boiler:455 leads to Boiler:465 by a solid arrow, and Boiler:465 to Boiler:427 by a hollow one. A separate arrow leads from Boiler:465 to the dashed box of the virtual target Boiler:466. Below, three views: a doorway, a closer view of it, and the inside of a dome." width="1800" height="1013" data-full="/images/riven-graph-2/riven-boiler-transient.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p><em>The exit to the missing card belongs to a view that the player only passes through.</em></p>
<p>This may be why the missing card was never noticed: the player is never left on <a href="https://glthr.com/riven-graph#bspit:465" data-stack="bspit">Boiler:465</a> long enough to turn left.</p>
<h3 id="heading-the-second-drawer">The Second Drawer<a class="anchor" href="#heading-the-second-drawer" aria-hidden="true" tabindex="-1">#</a></h3>
<p>In Gehn’s laboratory, the top drawer of a small chest opens on a collection of eggs (<a href="https://glthr.com/riven-graph#bspit:257" data-stack="bspit">Boiler:257</a>). The card holds a third picture, in which the second drawer is open on a collection of butterflies. It is known: MYST &amp; RIVEN Illustrated <a href="https://mrillustrated.com/not-appearing-in-riven/" target="_blank" rel="noopener">shows it</a>, as a drawer that cannot be opened in the game.</p>
<p>The scripts show how far the second drawer went. The variable of the chest, <code>bdrwr</code>, is 0 when it is closed and 1 when the top drawer is open. The script that opens the top drawer still begins with a branch for the value 2, which would first play a movie. No instruction stores 2, the movie it names is no longer in the card, and no hotspot covers the second drawer. The picture stayed, with one branch of the script.</p>
<h2 id="heading-what-an-arrow-cannot-show">What an Arrow Cannot Show<a class="anchor" href="#heading-what-an-arrow-cannot-show" aria-hidden="true" tabindex="-1">#</a></h2>
<p>The last findings came from the variables rather than from the edges. They are worth a step back, because they need the whole game at once, as a graph does.</p>
<h3 id="heading-a-second-graph">A Second Graph<a class="anchor" href="#heading-a-second-graph" aria-hidden="true" tabindex="-1">#</a></h3>
<p>Riven’s scripts use 163 variables. A card does not only lead to other cards: it tests variables, and it sets them. This draws a second graph over the first one, in which a card that sets a variable is joined to every card that tests it.</p>
<p>The second graph is denser than it seems when playing. 1,337 of the 2,307 cards test at least one variable to decide what to show or where to lead, and 298 cards set one. The variable of the fire-marble domes, <code>apower</code>, is tested on 176 cards of four islands. And 35 variables are shared between stacks, set in one and tested in another: these are the wires that run under the sea.</p>
<p>The longest reach belongs to <a href="https://glthr.com/riven-graph#pspit:29" data-stack="pspit">Prison:29</a>. When Catherine’s cage has just been opened, its script sets fourteen variables at once, nine of which belong to Temple Island: the position of the rotating room, five doors, the maglev, the elevator and the bridge of the golden dome. The end of the game takes place on Temple Island, and it is prepared from another island, in one script, while the movie of her release plays.</p>
<h3 id="heading-branches-that-never-run">Branches That Never Run<a class="anchor" href="#heading-branches-that-never-run" aria-hidden="true" tabindex="-1">#</a></h3>
<p>Myst’s scripts keep their history in the open: <a href="https://glthr.com/myst-graph-2#heading-mysterious-missing-direct-link-from-myst-island-to-selenitic-age">a link that the developers disabled</a> is a line with two dashes in front of it. Riven’s scripts are compiled, and nothing in them is commented out.</p>
<p>There is an equivalent, though. A branch of a script runs when a variable has a given value. If nothing in the game can give the variable that value, the branch is as dead as a commented-out line. Finding these branches requires knowing every place where every variable is set: the value it starts with, the scripts that store a value into it, and the routines of the engine that do. I left aside every variable that the engine touches or that a script increments, to keep only certainties.</p>
<p>Three variables remain, with 28 dead branches between them:</p>
<div class="table-wrap" tabindex="0" role="region" aria-label="Scrollable table">
<table>
  <thead>
      <tr>
          <th>Variable</th>
          <th>What happens to it</th>
          <th style="text-align: right">Dead branches</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td><code>gnmagcar</code></td>
          <td>Starts at 1 and is only ever set to 1</td>
          <td style="text-align: right">20, for the value 0: <a href="#heading-the-station-that-is-never-empty">the empty station</a></td>
      </tr>
      <tr>
          <td><code>adoit</code></td>
          <td>Never set by anything</td>
          <td style="text-align: right">7, for the value 1</td>
      </tr>
      <tr>
          <td><code>bdrwr</code></td>
          <td>Set to 0 or 1</td>
          <td style="text-align: right">1, for the value 2: <a href="#heading-the-second-drawer">the second drawer</a></td>
      </tr>
  </tbody>
</table>
</div>
<p><code>adoit</code> is the most curious of the three. It is tested 151 times, on 131 cards, more than any other variable but one, and nothing ever sets it. It is 0 for the whole game. Wherever it is tested, a card loads its movies or its pictures “if <code>adoit</code> is 0”, which is always. Seven cards also say what to do if it is 1: the same thing, or a little less. It looks like a switch of the authoring tools, left in the scripts in its off position.</p>
<p>Two more variables are set and never tested: <code>ostove</code>, when the stove of Gehn’s office is lit or put out, and <code>gcathtime</code>, in the viewer of Survey Island. The game remembers them for nothing.</p>
<h3 id="heading-pictures-that-nothing-selects">Pictures That Nothing Selects<a class="anchor" href="#heading-pictures-that-nothing-selects" aria-hidden="true" tabindex="-1">#</a></h3>
<p>The same reading tells which pictures the scripts can select. Of the 4,147 pictures that the cards hold, 19 are never selected by a branch that can run, leaving aside 16 cards on which a routine of the engine may draw them (the pages of the journals, for instance).</p>
<p>Seven of the 19 are the <a href="#heading-the-station-that-is-never-empty">empty station</a>. Of the twelve others, five are black, three are copies of a picture that is selected elsewhere, and two are small patches. Two are full views of their own: <a href="#heading-a-bridge-view-replaced-by-its-twin">the bridge of Temple:236</a> and <a href="#heading-the-second-drawer">the drawer of butterflies</a>.</p>
<p>The list is short. Riven’s files are remarkably clean: almost every picture that was kept is a picture that can be shown.</p>
<h3 id="heading-two-variables-seven-eggs">Two Variables, Seven Eggs<a class="anchor" href="#heading-two-variables-seven-eggs" aria-hidden="true" tabindex="-1">#</a></h3>
<p>Two other variables caught my attention for their names: <code>araw</code> and <code>aova</code>. <em>Ova</em> is Latin for eggs. Following them through the scripts gives the complete mechanism of Riven’s easter eggs.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-2/riven-egg-chain.w.png" title="Open full size (2400×1740)"><img class="has-dark img-wide" src="https://glthr.com/images/riven-graph-2/riven-egg-chain.w-1800w.png" alt="The variable araw goes from 0 to 5 in five numbered steps, then aova is set to 1. Five views with a small red frame on the spot to click: an egg in an open drawer of Boiler:257, a bowl in Rebel:11, a submarine seen from above in Jungle:333, a star at the top of a hall in Garden:15, and a spot on a rock in Temple:60." width="1800" height="1305" data-full="/images/riven-graph-2/riven-egg-chain.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p><em>Five clicks, in this order. A click out of order sets <code>araw</code> back to 0.</em></p>
<p><code>araw</code> counts five clicks on five hidden hotspots, in a fixed order and on five different stacks: an egg in the drawer of Gehn’s laboratory, a bowl in Tay, the submarine seen from the control room of the bridges, a star at the top of the elevator of Survey Island, and four letters carved on a rock near the maglev of Temple Island. The fifth click sets <code>aova</code> to 1, and seven cards test <code>aova</code> to open what they hide.</p>
<p>None of this is new. Cyan itself published hints for these eggs, and they have been documented since 1998 by <a href="https://riven.interiority.com/" target="_blank" rel="noopener">Riven Easter Eggs Revealed</a> and by <a href="https://mrillustrated.com/easter-eggs-in-riven/" target="_blank" rel="noopener">MYST &amp; RIVEN Illustrated</a>. The scripts confirm what these pages describe, and settle two details.</p>
<p>The first is the order. Each of the five hotspots tests <code>araw</code> for exactly one value and resets it otherwise, so the clicks only count in sequence. The submarine of the third step is not even displayed until the first two are done: its picture is selected when <code>araw</code> is 2.</p>
<p>The second is the book press. A press for bookbinding once stood on Book Assembly Island. Richard A. Watson, of Cyan, <a href="https://riven.interiority.com/secret_two.php" target="_blank" rel="noopener">explained</a> that it was removed because testers took it for a mechanism to operate. A working press was later reported as a seventh egg of the iPad version. It is in the files of the 1997 release: when <code>aova</code> is 1, a hotspot of 12 by 12 pixels named <code>egg</code>, on <a href="https://glthr.com/riven-graph#bspit:299" data-stack="bspit">Boiler:299</a>, leads to <a href="https://glthr.com/riven-graph#bspit:304" data-stack="bspit">Boiler:304</a>, where the press is drawn, and two hotspots lower and raise it. <span class="inline-update editorial" role="note"><em><span class="inline-update-bracket">[</span>(<span class="inline-update-label">Update November 2026</span>) In the 1997 game this hotspot cannot be clicked: a larger hotspot of the same card, stored after it, contains it, and the engine gives a click to the last hotspot under the pointer, so the player goes to <a href="https://glthr.com/riven-graph#bspit:305" data-stack="bspit">Boiler:305</a>, the ordinary step forward. Players of the original have listed six eggs since 1998, and <a href="https://tcrf.net/Riven" target="_blank" rel="noopener">The Cutting Room Floor</a> already showed a disabled hotspot leading to the press. The graph now draws this connection as <a href="https://glthr.com/riven-graph-1#heading-reading-a-connection">shadowed</a>, and Boiler:304, which nothing else leads to, as a source. I describe the investigation and show the press in <a href="https://glthr.com/riven-contradictions-of-the-fifth-age#heading-the-seventh-egg-cannot-be-clicked">The Contradictions of the Fifth Age</a>.<span class="inline-update-bracket">]</span></em></span></p>
<p>A third variable, <code>tdl</code>, belongs to the same mechanism. It starts at 1. A click on the lever of the cage (<a href="https://glthr.com/riven-graph#tspit:134" data-stack="tspit">Temple:134</a>) makes it 2. A click on the tip of the cage’s golden roof, seen from below (<a href="https://glthr.com/riven-graph#tspit:153" data-stack="tspit">Temple:153</a>), makes it 3. Six clicks on the unconscious guard at the foot of the cliff (<a href="https://glthr.com/riven-graph#tspit:124" data-stack="tspit">Temple:124</a>), in a fixed order, make it 9. A seventh click then sets <code>araw</code> to 4, as if the first four eggs had been found. This shortcut is also known: <a href="http://clone2727.blogspot.com/2011/01/riven-easter-egg-shortcut.html" target="_blank" rel="noopener">clone2727, one of the authors of ScummVM’s Riven engine, described it in 2011</a>. The scripts show how narrow it is. Ten cards of the first minutes set <code>tdl</code> back to 0 on most of their exits, and nothing ever sets it to 1 again. The shortcut exists once, at the very beginning of a new game, for a player who takes the few turns that keep it alive.</p>
<p>Finding known secrets this way matters for a reason: nobody told the analysis where to look. It was given the scripts, and the eggs came out with the dead branches.</p>
<h3 id="heading-the-blank-card">The Blank Card<a class="anchor" href="#heading-the-blank-card" aria-hidden="true" tabindex="-1">#</a></h3>
<p>The last finding is about how the cards were made.</p>
<p><a href="https://glthr.com/riven-graph#ospit:89" data-stack="ospit">Gehn:89</a> is a black card with seven hotspots and no script: <code>left</code>, <code>forwardleft</code>, <code>forward</code>, <code>forwardright</code>, <code>right</code>, <code>up</code> and <code>down</code>, numbered 1 to 7, in seven rectangles that tile the screen. <a href="https://glthr.com/riven-graph#pspit:46" data-stack="pspit">Prison:46</a> holds exactly the same seven.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-2/riven-blank-card.w.png" title="Open full size (2400×1515)"><img class="has-dark img-wide" src="https://glthr.com/images/riven-graph-2/riven-blank-card.w-1800w.png" alt="A black frame divided into five vertical zones numbered 1 to 5 and named left, forwardleft, forward, forwardright and right, with two dashed horizontal bands across the top and the bottom, numbered 6 and 7 and named up and down." width="1800" height="1136" data-full="/images/riven-graph-2/riven-blank-card.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p><em>The seven hotspots of <a href="https://glthr.com/riven-graph#ospit:89" data-stack="ospit">Gehn:89</a>, as they are stored.</em></p>
<p>This is the blank from which Riven’s cards were made. Throughout the game, a hotspot named <code>left</code> has the number 1 in 1,405 cases out of 1,445, and a hotspot named <code>right</code> has the number 5 in 1,395 cases out of 1,439. The hotspots that a card adds for itself usually start at 8. The side strips are the same on almost every card: 1,299 <code>left</code> hotspots and 1,276 <code>right</code> hotspots have the exact rectangle of the blank, 74 and 72 pixels wide.</p>
<p>Making a card meant copying the blank, removing the zones that the view does not need, and scripting the others. Some were neither removed nor scripted: 66 hotspots named after a movement do nothing. <a href="https://glthr.com/riven-graph#rspit:14" data-stack="rspit">Rebel:14</a> and <a href="https://glthr.com/riven-graph#rspit:16" data-stack="rspit">Rebel:16</a> each keep five of them, <a href="https://glthr.com/riven-graph#tspit:402" data-stack="tspit">Temple:402</a> keeps six. Ten cards keep a lone <code>up</code> band at the top of the screen, which still carries its upward cursor.</p>
<h2 id="heading-five-targets-without-cards">Five Targets Without Cards<a class="anchor" href="#heading-five-targets-without-cards" aria-hidden="true" tabindex="-1">#</a></h2>
<p>Finally, eight instructions of the game ask for five cards that do not exist.</p>
<div class="table-wrap" tabindex="0" role="region" aria-label="Scrollable table">
<table>
  <thead>
      <tr>
          <th>Missing card</th>
          <th>Asked for by</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td><a href="https://glthr.com/riven-graph#bspit:466" data-stack="bspit">Boiler:466</a></td>
          <td><a href="https://glthr.com/riven-graph#bspit:465" data-stack="bspit">Boiler:465</a>, turning left (<a href="#heading-a-missing-card-behind-a-passing-view">a passing view</a>)</td>
      </tr>
      <tr>
          <td><a href="https://glthr.com/riven-graph#jspit:740" data-stack="jspit">Jungle:740</a></td>
          <td><a href="https://glthr.com/riven-graph#jspit:739" data-stack="jspit">Jungle:739</a>, from two hotspots. Nothing leads to <a href="https://glthr.com/riven-graph#jspit:739" data-stack="jspit">Jungle:739</a></td>
      </tr>
      <tr>
          <td><a href="https://glthr.com/riven-graph#tspit:361" data-stack="tspit">Temple:361</a></td>
          <td><a href="https://glthr.com/riven-graph#tspit:360" data-stack="tspit">Temple:360</a>, turning left or right, and <a href="https://glthr.com/riven-graph#tspit:404" data-stack="tspit">Temple:404</a> (<a href="#heading-the-corridor-under-the-dome">the corridor</a>)</td>
      </tr>
      <tr>
          <td><a href="https://glthr.com/riven-graph#tspit:477" data-stack="tspit">Temple:477</a></td>
          <td><a href="https://glthr.com/riven-graph#tspit:476" data-stack="tspit">Temple:476</a>, turning left. Nothing leads to <a href="https://glthr.com/riven-graph#tspit:476" data-stack="tspit">Temple:476</a></td>
      </tr>
      <tr>
          <td><a href="https://glthr.com/riven-graph#tspit:478" data-stack="tspit">Temple:478</a></td>
          <td><a href="https://glthr.com/riven-graph#tspit:476" data-stack="tspit">Temple:476</a>, turning right</td>
      </tr>
  </tbody>
</table>
</div>
<p>The graph keeps them as virtual nodes, drawn with a dashed border, as the Myst Graph did for <a href="https://glthr.com/myst-graph-1#heading-nodes-and-edges">its three missing cards</a>.</p>
<p>Each stack numbers its cards from 1 without a gap, except at these five numbers. Every hole in Riven’s numbering is a card that a script still asks for: nothing is missing without a trace.</p>
<p>They have one thing in common. Seven of the eight instructions belong to cards that cannot be reached, and the eighth to a card that the player only passes through. The missing cards are the neighbors of removed places: <a href="https://glthr.com/riven-graph#tspit:476" data-stack="tspit">Temple:476</a> is a view from a walkway inside the golden dome whose left and right turns are gone, <a href="https://glthr.com/riven-graph#jspit:739" data-stack="jspit">Jungle:739</a> a view of the village whose step forward is gone. When a place was removed, the cards around it were not always removed with it, and their arrows still point to where it was.</p>
<h2 id="heading-conclusion">Conclusion<a class="anchor" href="#heading-conclusion" aria-hidden="true" tabindex="-1">#</a></h2>
<p>I began the <a href="https://glthr.com/myst-graph-1">Myst Graph</a> by asking what the game would look like if its cards and links could be seen at once. The drawing revealed the structure of its Ages, hidden views and interrupted routes. The Riven Navigator and <a href="https://glthr.com/riven-diffs">The Riven Diffs</a> then took the inquiry inside a card, comparing the pictures a single place can show. With the Riven Graph, I can study both scales together: the network of places and the images, scripts and variables within them.</p>
<p>Across both games, these structures preserve traces of how the world was made: a route cut off, an older view left behind, a picture reused, a script that still points to a missing card. Riven also makes the limits of this reading clearer. An unreachable card can share its picture with a reachable one, and an arrow can depend on a state the game never reaches. The files make these questions precise enough to investigate, even when they cannot tell us why a decision was made.</p>
<p>From Myst’s Ages to Riven’s islands, following the cards and their connections has given us another way to explore the worlds Cyan built.</p>
]]></content:encoded></item><item><title>The Riven Graph, 1: The 1997 Game as a Graph</title><link>https://glthr.com/riven-graph-1</link><guid isPermaLink="true">https://glthr.com/riven-graph-1</guid><pubDate>Sun, 15 Nov 2026 15:46:00 +0000</pubDate><dc:creator>Guillaume Lethuillier</dc:creator><description>Riven (1997) as a graph of 2,307 cards and five virtual targets to explore in the browser: how to read its nodes, references, native transitions and Zip links.</description><content:encoded><![CDATA[<aside class="callout callout-note">
  <span class="callout-emoji" aria-hidden="true">✎</span>
  <div class="callout-body"><p class="callout-title">Work in progress — November 21, 2026</p>
    <p>I am still working in <strong>Riven</strong>. I will update these articles over the coming weeks, so please feel free to come back later to see what’s new.</p>
  </div>
</aside><aside class="callout callout-abstract">
  <span class="callout-emoji" aria-hidden="true">↘</span>
  <div class="callout-body">
    <p>I represent the original Riven (1997) as a directed graph of 2,307 cards and five virtual targets. Its 6,722 typed connections preserve script references, separately attributed native transitions and caller-owned continuations. The default view hides Zip shortcuts and ending resets. This first article explains the graph and its browser view. It describes structural relationships, without executing the puzzle state that determines which ones a player can follow.</p>
  </div>
</aside><p>When I introduced the Riven Navigator (now the first part of <a href="https://glthr.com/riven-diffs">The Riven Diffs</a>), I could inspect <a href="https://en.wikipedia.org/wiki/Riven" target="_blank" rel="noopener"><strong>Riven</strong></a> (1997) one card at a time: its images, its hotspots and the binary scripts attached to them. <span class="inline-update sidenote" role="note"><em><span class="inline-update-bracket">[</span>Version of the game: Riven 1.0, the original English five-CD release, September 1997. The card numbers are those of this release.<span class="inline-update-bracket">]</span></em></span> The missing part was the relationship between those cards. I had the places, but not yet the network that joined them.</p>
<p>Riven can now be viewed as a graph, extending <a href="https://glthr.com/myst-graph-1">the approach I first applied to Myst</a>:</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-1/riven-graph-overview.w.png" title="Open full size (2448×2031)"><img class="has-dark" src="https://glthr.com/images/riven-graph-1/riven-graph-overview.w-1800w.png" alt="The complete Riven graph inside a thin rectangular frame, titled The Riven Graph with the subtitle Riven (1997) as a Graph. Small labeled nodes are colored by stack and joined by arrows. A selection rectangle connects to a magnified inset at the bottom right: Garden:235 in green and Jungle:405 and 406 in yellow, each with the original name of its first picture under its label, and the thick green arrow, in the border color of Garden, that crosses the stack boundary from Garden:235 to Jungle:405. Below the frame, the footer reads glthr.com." width="1800" height="1493" data-full="/images/riven-graph-1/riven-graph-overview.w.png" data-full-width="2448" loading="lazy" decoding="async"></a></p>
<p>The Riven Graph can be <a href="https://glthr.com/riven-graph"><strong>explored in the browser</strong></a>, where any card can be found by its stack and number.</p>
<h2 id="heading-disclaimer">Disclaimer<a class="anchor" href="#heading-disclaimer" aria-hidden="true" tabindex="-1">#</a></h2>
<p>This is an unofficial, non-commercial study of Riven (1997), independent of Cyan Worlds. The game artwork remains the work of its creators. The analysis contains spoilers and reads the released data without executing every possible world state. Structural references, inferred engine behavior and directly compared images are identified separately.</p>
<h2 id="heading-introduction">Introduction<a class="anchor" href="#heading-introduction" aria-hidden="true" tabindex="-1">#</a></h2>
<h3 id="heading-roadmap">Roadmap<a class="anchor" href="#heading-roadmap" aria-hidden="true" tabindex="-1">#</a></h3>
<p><em>(1)</em> In this article, I introduce the Riven Graph and explain its nodes, arrows and colors. <a href="#heading-how-the-graph-was-created">How the Graph Was Created</a> then describes how an AI coding agent built the extractor from a short brief and the earlier Myst work.</p>
<p><em>(2)</em> In <a href="https://glthr.com/riven-graph-2">the second article</a>, I compare the graph with the game’s pictures and scripts: theoretical paths, disconnected routes, an earlier way of linking, a maglev station that is never empty, and the variables behind the easter eggs. The figures use the same card labels, graph excerpts and eye indicators as the Myst findings.</p>
<h3 id="heading-a-card-can-hold-several-views">A Card Can Hold Several Views<a class="anchor" href="#heading-a-card-can-hold-several-views" aria-hidden="true" tabindex="-1">#</a></h3>
<p>In <a href="https://glthr.com/riven-diffs#heading-riven-as-a-series-of-cards">the Navigator</a>, I showed cards with many alternative images: a door opened or closed, a bridge raised or lowered, a room turned to face another direction. <a href="https://glthr.com/riven-diffs">The Riven Diffs</a>, written with Twitch, examines the visual differences between such renders.</p>
<p>Those alternatives usually remain inside the same graph node. Opening a door may change the image without changing cards. Walking through it can lead to another node. Journal pages and other picture substitutions can likewise change the display without adding a navigation vertex.</p>
<p>The graph answers a particular question: <strong>which cards refer to which other cards?</strong> The scripts, pictures and state changes of a location form a richer structure inside its node.</p>
<h3 id="heading-what-is-in-this-graph">What Is in This Graph?<a class="anchor" href="#heading-what-is-in-this-graph" aria-hidden="true" tabindex="-1">#</a></h3>
<p>Its eight stacks contain the following cards:</p>
<div class="table-wrap" tabindex="0" role="region" aria-label="Scrollable table">
<table>
  <thead>
      <tr>
          <th>Stack</th>
          <th>Internal name</th>
          <th style="text-align: right">Shipped cards</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>Menu and books</td>
          <td><code>aspit</code></td>
          <td style="text-align: right">8</td>
      </tr>
      <tr>
          <td>Boiler Island</td>
          <td><code>bspit</code></td>
          <td style="text-align: right">498</td>
      </tr>
      <tr>
          <td>Garden Island</td>
          <td><code>gspit</code></td>
          <td style="text-align: right">267</td>
      </tr>
      <tr>
          <td>Jungle Island</td>
          <td><code>jspit</code></td>
          <td style="text-align: right">814</td>
      </tr>
      <tr>
          <td>Gehn’s Age</td>
          <td><code>ospit</code></td>
          <td style="text-align: right">89</td>
      </tr>
      <tr>
          <td>Prison Island</td>
          <td><code>pspit</code></td>
          <td style="text-align: right">47</td>
      </tr>
      <tr>
          <td>Tay / Rebel Age</td>
          <td><code>rspit</code></td>
          <td style="text-align: right">37</td>
      </tr>
      <tr>
          <td>Temple Island</td>
          <td><code>tspit</code></td>
          <td style="text-align: right">547</td>
      </tr>
      <tr>
          <td><strong>Total</strong></td>
          <td></td>
          <td style="text-align: right"><strong>2,307</strong></td>
      </tr>
  </tbody>
</table>
</div>
<p>Five virtual targets bring the total to <strong>2,312 nodes</strong>. Stack membership is an attribute used for colors and filters. Stacks have no separate vertices here.</p>
<h2 id="heading-basic-properties-of-the-riven-graph">Basic Properties of the Riven Graph<a class="anchor" href="#heading-basic-properties-of-the-riven-graph" aria-hidden="true" tabindex="-1">#</a></h2>
<p><em>Card labels such as <a href="https://glthr.com/riven-graph#tspit:155" data-stack="tspit">Temple:155</a> have a thick underline, in the color of their stack, and open that card in the graph browser.</em></p>
<h3 id="heading-nodes-and-edges">Nodes and Edges<a class="anchor" href="#heading-nodes-and-edges" aria-hidden="true" tabindex="-1">#</a></h3>
<p>The graph has 2,312 nodes: the 2,307 cards of the game and the five virtual targets described <a href="#heading-virtual-targets">below</a>. Its 6,722 typed connections are summarized in <a href="#heading-reading-a-connection">the table of connections</a>. The default drawing shows 6,112 of them.</p>
<h3 id="heading-paths">Paths<a class="anchor" href="#heading-paths" aria-hidden="true" tabindex="-1">#</a></h3>
<p>From the first view of the game (<a href="https://glthr.com/riven-graph#tspit:155" data-stack="tspit">Temple:155</a>), the telescope that ends it (<a href="https://glthr.com/riven-graph#tspit:137" data-stack="tspit">Temple:137</a>) is 3 edges away. In Myst, the same distance was 24. The two most distant cards of the graph are 125 edges apart (130 in Myst). Zip shortcuts, ending resets and automatic next steps are excluded from these distances. As in Myst, a path is a distance between views and says nothing about the puzzles that stand on it. <a href="https://glthr.com/riven-graph-2">The second article</a> gives the routes.</p>
<h3 id="heading-clusters">Clusters<a class="anchor" href="#heading-clusters" aria-hidden="true" tabindex="-1">#</a></h3>
<p>Stacks are not clusters here, and yet the drawing groups cards by island, as it did for Myst’s Ages. This is explainable: <em>only 27 pairs of cards belong to two different stacks.</em> Counting the isolated nodes, the graph has 24 weakly connected components, but one of them holds 2,287 of the 2,312 nodes, and 2,257 cards can all reach one another. The first view reaches 2,261 nodes. The 51 that it does not reach are 47 cards, mostly the menu, the journals and the black cards that the engine skips, and four of the five virtual targets.</p>
<h2 id="heading-legend-how-to-read-the-graph">Legend: How to Read the Graph<a class="anchor" href="#heading-legend-how-to-read-the-graph" aria-hidden="true" tabindex="-1">#</a></h2>
<p>The <a href="https://glthr.com/riven-graph">browser graph</a> uses a card’s stack for its color, its references for its connections, and distinct borders or arrowheads for special cases. The following legend explains those conventions before the findings put them to use.</p>
<h3 id="heading-reading-a-node">Reading a Node<a class="anchor" href="#heading-reading-a-node" aria-hidden="true" tabindex="-1">#</a></h3>
<h4 id="heading-labels-and-colors">Labels and Colors<a class="anchor" href="#heading-labels-and-colors" aria-hidden="true" tabindex="-1">#</a></h4>
<p>Each stack has its own color. A label such as <strong><a href="https://glthr.com/riven-graph#tspit:155" data-stack="tspit">Temple:155</a></strong> means local card <a href="https://glthr.com/riven-graph#tspit:155" data-stack="tspit">155</a> in the Temple stack, whose internal name is <code>tspit</code>. This is the gameplay entry reached when a new game begins in this edition. The internal form, <a href="https://glthr.com/riven-graph#tspit:155" data-stack="tspit"><code>tspit:155</code></a>, identifies the same card.</p>
<p>A local number needs its stack: <a href="https://glthr.com/riven-graph#tspit:155" data-stack="tspit">Temple:155</a> and <a href="https://glthr.com/riven-graph#jspit:155" data-stack="jspit">Jungle:155</a> are different cards. The browser accepts the displayed name or internal form. Under the label, each box gives the original name of the card’s first picture, as the archive stores it without the number of the card: every card has such a picture, whereas <strong>only 202 of the 2,307 cards also have a name of their own</strong>, which the browser exposes.</p>
<p>An <code>RMAP</code> table relates local card numbers to identifiers used by stack changes and engine routines. <a href="https://glthr.com/riven-graph#tspit:155" data-stack="tspit">Temple:155</a> has the RMAP value <code>0x6e9a</code><sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup>, kept in the exported data so that a label can be traced back to the data.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-1/riven-node-label.w.png" title="Open full size (2400×885)"><img class="has-dark img-wide" src="https://glthr.com/images/riven-graph-1/riven-node-label.w-1800w.png" alt="An annotated pastel box for Boiler:105 has arrows identifying Boiler as the stack, 105 as the local card ID and bbridge.1100 as the original name of its first picture. The internal key is bspit:105 and the RMAP value is 0x1d8c8. Beside it, an open-eye icon accompanies the unchanged game view of a metal stairway." width="1800" height="664" data-full="/images/riven-graph-1/riven-node-label.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p><em>The label of <a href="https://glthr.com/riven-graph#bspit:105" data-stack="bspit">Boiler:105</a>, its stored picture filename and one of its views. The card also has a name of its own, <code>Ωbsuper2Ω</code>. The browser key <code>bspit:105</code> and RMAP value <code>0x1d8c8</code> identify the same card through different parts of the data. The open eye identifies an ordinary card view, following the <a href="https://glthr.com/riven-graph-2#heading-visual-indicators">figure convention in the findings</a>.</em></p>
<p>Side note: The Ω characters belong to the game’s naming convention for Zip places: <strong>all 194 cards flagged as Zip places have names enclosed by Ω</strong>. Visiting one registers its full name. When Zip mode is enabled, a shortcut matches its hotspot name against those visited places. The engine uses the <a href="https://github.com/scummvm/scummvm/blob/aed0208e772b128d3f953207a297fc521c32833a/engines/mohawk/riven_card.cpp#L652-L665" target="_blank" rel="noopener">Zip flag</a> and <a href="https://github.com/scummvm/scummvm/blob/aed0208e772b128d3f953207a297fc521c32833a/engines/mohawk/riven.cpp#L732-L753" target="_blank" rel="noopener">complete-name matching</a>. The 598 Zip shortcuts of the graph target 189 of these places. <a href="https://glthr.com/riven-graph-2#heading-what-zip-mode-buys">Five flagged cards have no matching shortcut reference</a>. No other Greek letter or symbol appears in the extracted card and hotspot names.<sup id="fnref:2"><a href="#fn:2" class="footnote-ref" role="doc-noteref">2</a></sup></p>
<h4 id="heading-sources-sinks-and-isolated-nodes">Sources, Sinks and Isolated Nodes<a class="anchor" href="#heading-sources-sinks-and-isolated-nodes" aria-hidden="true" tabindex="-1">#</a></h4>
<p>The usual graph terms apply. A <strong>source</strong> has no incoming connection from another node; a <strong>sink</strong> has no outgoing connection to another node; an <strong>isolated</strong> node has neither.</p>
<p>These properties describe a graph projection, without establishing access in the game. A journal can be opened through the inventory and return to its caller. Leaving that mechanism unexpanded in the graph does not make the journal inaccessible.</p>
<h4 id="heading-virtual-targets">Virtual Targets<a class="anchor" href="#heading-virtual-targets" aria-hidden="true" tabindex="-1">#</a></h4>
<p>Eight navigation instructions refer to five local card numbers for which this extraction finds no <code>CARD</code> resource: <strong><a href="https://glthr.com/riven-graph#bspit:466" data-stack="bspit">Boiler:466</a>, <a href="https://glthr.com/riven-graph#jspit:740" data-stack="jspit">Jungle:740</a>, <a href="https://glthr.com/riven-graph#tspit:361" data-stack="tspit">Temple:361</a>, <a href="https://glthr.com/riven-graph#tspit:477" data-stack="tspit">Temple:477</a> and <a href="https://glthr.com/riven-graph#tspit:478" data-stack="tspit">Temple:478</a></strong>. I keep those targets as virtual nodes, with a distinct border, rather than discard the references.</p>
<p>The files establish that a script names a virtual target, without showing what it once contained, whether it was finished, or why the reference remains. A virtual node preserves a question in the data.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-1/riven-node-types.w.png" title="Open full size (2400×1313)"><img class="has-dark img-wide" src="https://glthr.com/images/riven-graph-1/riven-node-types.w-1800w.png" alt="Eight pastel swatches identify Menu, Boiler, Garden, Jungle, Gehn, Prison, Rebel and Temple. Below, source Menu:7 points to Gehn:9. Menu:1 points to sink Menu:2. Isolated Jungle:249 has no arrows. Boiler:465 points to a dashed virtual target, Boiler:466. Source, sink and isolated fills override the ordinary stack color." width="1800" height="985" data-full="/images/riven-graph-1/riven-node-types.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<h3 id="heading-reading-a-connection">Reading a Connection<a class="anchor" href="#heading-reading-a-connection" aria-hidden="true" tabindex="-1">#</a></h3>
<p>An arrow has a source and a destination. If both directions exist, the cards are mutually connected. If only one exists, following it does not imply that the player can simply reverse the move.</p>
<p>The two directions do not mean the same thing. Turning to the left or to the right changes the point of view, and the game lets you turn back. Walking forward does not let you walk backward. In the graph, 91.5% of the 3,459 pairs of cards joined by a turn have their reverse pair, against 9.2% of the 1,584 pairs joined by a step forward. The Myst Graph does not tell a turn from a step, but over all its movements 55.5% of the pairs of cards have their reverse pair, against 66.4% for Riven.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-1/riven-turn-and-move.w.png" title="Open full size (2400×1118)"><img class="has-dark img-wide" src="https://glthr.com/images/riven-graph-1/riven-turn-and-move.w-1800w.png" alt="Three Temple Island views in a row. Temple:133, facing a bridge, and Temple:130, after turning left, are joined by a red arrow with a head at each end. Temple:130 and Temple:135, one step forward, are joined by a single arrow." width="1800" height="839" data-full="/images/riven-graph-1/riven-turn-and-move.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p><em>A turn between <a href="https://glthr.com/riven-graph#tspit:133" data-stack="tspit">Temple:133</a> and <a href="https://glthr.com/riven-graph#tspit:130" data-stack="tspit">Temple:130</a> goes both ways. The step from <a href="https://glthr.com/riven-graph#tspit:130" data-stack="tspit">Temple:130</a> to <a href="https://glthr.com/riven-graph#tspit:135" data-stack="tspit">Temple:135</a> goes one way.</em></p>
<p>There are several kinds of connection:</p>
<div class="table-wrap" tabindex="0" role="region" aria-label="Scrollable table">
<table>
  <thead>
      <tr>
          <th>Kind</th>
          <th style="text-align: right">Typed connections</th>
          <th>Meaning</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>Script reference</td>
          <td style="text-align: right">6,075</td>
          <td>A card or hotspot script requests another card or stack.</td>
      </tr>
      <tr>
          <td>Native movement or timer</td>
          <td style="text-align: right">13</td>
          <td>Navigation handled by a reviewed engine routine.</td>
      </tr>
      <tr>
          <td>Zip shortcut</td>
          <td style="text-align: right">598</td>
          <td>A potential shortcut whose destination must have been visited.</td>
      </tr>
      <tr>
          <td>Ending reset</td>
          <td style="text-align: right">4</td>
          <td>A return to the menu after an ending sequence.</td>
      </tr>
      <tr>
          <td>Caller-owned continuation</td>
          <td style="text-align: right">22</td>
          <td>One handler enters an intermediate card, then requests the next one.</td>
      </tr>
      <tr>
          <td>Shadowed connection</td>
          <td style="text-align: right">10</td>
          <td>A script reference or a Zip shortcut whose hotspot no click can reach. Drawn, never followed.</td>
      </tr>
      <tr>
          <td><strong>Total</strong></td>
          <td style="text-align: right"><strong>6,722</strong></td>
          <td>All exported kinds together.</td>
      </tr>
  </tbody>
</table>
</div>
<p>The default drawing shows <strong>6,112 typed connections</strong>: script references, native movement, caller-owned continuations and the two shadowed connections that are not Zip shortcuts, with Zip shortcuts and ending resets hidden. Path calculations also exclude the 22 continuations and the shadowed connections, leaving <strong>6,088 movement records</strong> joining <strong>6,070 unique ordered pairs</strong> of cards.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-1/riven-edge-types.w.png" title="Open full size (2400×1920)"><img class="has-dark img-wide" src="https://glthr.com/images/riven-graph-1/riven-edge-types.w-1800w.png" alt="Seven real references show the arrow styles: ordinary Temple:155 to Temple:130 in black, cross-stack Boiler:250 to Garden:36 in a thicker stroke of Boiler’s border yellow, conditional Boiler:105 to Boiler:107 in dashed green when bbigbridge equals 1, native Menu:4 to Menu:1 in dashed purple, a hollow continuation from Boiler:465 to Boiler:427 owned by caller Boiler:455, shadowed Boiler:299 to Boiler:304 in dotted gray, labeled no click reaches it, and the optional dashed-green Zip shortcut from Boiler:10 to Boiler:26, omitted from the default drawing." width="1800" height="1440" data-full="/images/riven-graph-1/riven-edge-types.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<p><em>From top to bottom: <a href="https://glthr.com/riven-graph#tspit:155" data-stack="tspit">Temple:155</a> → <a href="https://glthr.com/riven-graph#tspit:130" data-stack="tspit">Temple:130</a>, <a href="https://glthr.com/riven-graph#bspit:250" data-stack="bspit">Boiler:250</a> → <a href="https://glthr.com/riven-graph#gspit:36" data-stack="gspit">Garden:36</a>, <a href="https://glthr.com/riven-graph#bspit:105" data-stack="bspit">Boiler:105</a> → <a href="https://glthr.com/riven-graph#bspit:107" data-stack="bspit">Boiler:107</a> (under <code>bbigbridge = 1</code>), <a href="https://glthr.com/riven-graph#aspit:4" data-stack="aspit">Menu:4</a> → <a href="https://glthr.com/riven-graph#aspit:1" data-stack="aspit">Menu:1</a> (through the engine), <a href="https://glthr.com/riven-graph#bspit:465" data-stack="bspit">Boiler:465</a> → <a href="https://glthr.com/riven-graph#bspit:427" data-stack="bspit">Boiler:427</a> (within the handler of <a href="https://glthr.com/riven-graph#bspit:455" data-stack="bspit">Boiler:455</a>), <a href="https://glthr.com/riven-graph#bspit:299" data-stack="bspit">Boiler:299</a> → <a href="https://glthr.com/riven-graph#bspit:304" data-stack="bspit">Boiler:304</a> (shadowed), and <a href="https://glthr.com/riven-graph#bspit:10" data-stack="bspit">Boiler:10</a> → <a href="https://glthr.com/riven-graph#bspit:26" data-stack="bspit">Boiler:26</a>. The hollow step is not an independent click. Zip shortcuts require Zip mode and a previously visited destination. They are hidden in the default drawing.</em></p>
<p>Several instructions can support the same edge. I merge references only when their source, resolved destination, kind and conditional status agree, while keeping every contributing instruction in its evidence. Fourteen pairs keep separate enabled and conditional records of the same kind. Collapsing those records would conceal a distinction in the controls that support them.</p>
<p>Typed records consequently differ from unique source–destination pairs: the same cards can be joined by different kinds of connection, or by both enabled and conditional references.</p>
<h4 id="heading-local-conditions-remain-visible">Local Conditions Remain Visible<a class="anchor" href="#heading-local-conditions-remain-visible" aria-hidden="true" tabindex="-1">#</a></h4>
<p>A script can choose a destination by testing a variable. The extractor reads nested branches and keeps their tests beside the connection, with its event, hotspot and byte offset. Across all kinds, <strong>837 connections are conditional</strong>, including all <strong>598 Zip shortcuts</strong>, the <strong>four ending resets</strong> and nine of the ten shadowed connections. The default drawing contains <strong>226 conditional connections</strong>. <span class="inline-update editorial" role="note"><em><span class="inline-update-bracket">[</span>(<span class="inline-update-label">Update November 2026</span>) On Mac 1.0, rotating the room changed the same click on <a href="https://glthr.com/riven-graph#tspit:88" data-stack="tspit">Temple:88</a> from <a href="https://glthr.com/riven-graph#tspit:158" data-stack="tspit">158</a> to <a href="https://glthr.com/riven-graph#tspit:159" data-stack="tspit">159</a>.<span class="inline-update-bracket">]</span></em></span></p>
<p>The hotspot audit follows stored activation lists and enabling or disabling instructions, including changes made by a caller after entering another card. It classifies <strong>6,456 hotspots as enabled, 897 as conditional and 1,145 as unknown</strong>. Unknown means that native, deferred or unresolved behavior prevents a firm conclusion. It does not mean disabled. There are <strong>zero hotspots proven permanently disabled by this activation analysis</strong>. Unresolved activation is not sufficient to mark an edge disabled.</p>
<p>Being enabled is not enough to be clicked: the engine gives a click to the last hotspot under the pointer, so a hotspot that lies entirely inside a later one that nothing switches off never receives it. I call the connections of such a hotspot <strong>shadowed</strong> and draw them as dotted gray arrows: like the disabled links of the Myst Graph, they stay in the graph, but I do not follow them when I compute paths, sources and sinks. <span class="inline-update editorial" role="note"><em><span class="inline-update-bracket">[</span>(<span class="inline-update-label">Update November 2026</span>) I added this kind after publication. Ten connections that I had counted as script references or Zip shortcuts moved to it, and I updated the counts of this article accordingly.<span class="inline-update-bracket">]</span></em></span> There are ten: two script references, <a href="https://glthr.com/riven-graph#bspit:299" data-stack="bspit">Boiler:299</a> → <a href="https://glthr.com/riven-graph#bspit:304" data-stack="bspit">Boiler:304</a> and <a href="https://glthr.com/riven-graph#gspit:167" data-stack="gspit">Garden:167</a> → <a href="https://glthr.com/riven-graph#gspit:169" data-stack="gspit">Garden:169</a>, and eight Zip shortcuts.</p>
<h4 id="heading-a-zip-hotspot-with-reversed-coordinates">A Zip Hotspot With Reversed Coordinates<a class="anchor" href="#heading-a-zip-hotspot-with-reversed-coordinates" aria-hidden="true" tabindex="-1">#</a></h4>
<p>The geometry of the controls reveals a peculiar case. A Zip hotspot of <a href="https://glthr.com/riven-graph#tspit:371" data-stack="tspit">Temple:371</a> has its left side at 274 and its right side at 227: its rectangle is inverted. <em>It is the only one in the game.</em></p>
<p>Its script leads to <a href="https://glthr.com/riven-graph#tspit:374" data-stack="tspit">Temple:374</a>, the same destination as the ordinary forward hotspot. The reversed coordinates are already in the original 1997 game files. ScummVM replaces them with an empty rectangle when it loads the hotspot.<sup id="fnref:3"><a href="#fn:3" class="footnote-ref" role="doc-noteref">3</a></sup> Its shortcut is one of the eight shadowed Zip connections; the seven others lie under a hotspot that is never switched off. To interpret an arrow, both its script and the geometry of its control matter.</p>
<p><a class="img-link" href="https://glthr.com/images/riven-graph-1/riven-inverted-hotspot.w.png" title="Open full size (2400×1058)"><img class="has-dark img-wide" src="https://glthr.com/images/riven-graph-1/riven-inverted-hotspot.w-1800w.png" alt="The card Temple:371 with a small red rectangle on its bridge railing, tagged R on its left side and L on its right side: the stored rectangle has its left side at 274 and its right side at 227. Beside it, two rulers show a normal hotspot, with L before R and a band between them, and this one, with R before L and no band that a click can reach." width="1800" height="794" data-full="/images/riven-graph-1/riven-inverted-hotspot.w.png" data-full-width="2400" loading="lazy" decoding="async"></a></p>
<h4 id="heading-hollow-arrows-for-a-continuing-handler">Hollow Arrows for a Continuing Handler<a class="anchor" href="#heading-hollow-arrows-for-a-continuing-handler" aria-hidden="true" tabindex="-1">#</a></h4>
<p>Sometimes one handler requests a card and then, straight away, another: the player clicks, the game shows an intermediate view, then moves on to the next card. The graph keeps both requests as ordinary arrows from the card that owns the handler. It adds a third one, drawn with a <strong>hollow arrowhead</strong>, from the intermediate view to the next card, and records which handler it comes from. There are 22 such continuations. They explain why a view that seems to lead nowhere, an apparent sink, or a view that is only passed through, still has a way out.</p>
<p>An arrow is added only when nothing can happen between the two requests. They must belong to the same handler and the same branch, and only harmless instructions may lie between them: changing the picture, playing a sound, waiting. A stored movie instruction, which delays a command until a movie reaches a given time, is harmless when the delayed command cannot change the card. The 49 such instructions of the game all start a sound. The card that owns the handler and the intermediate card must not run anything that could change the card or call native code that the extractor cannot read, when they are loaded or left. Five pairs of requests are left out for that last reason: those of the handlers of the five dome cards (<a href="https://glthr.com/riven-graph#bspit:443" data-stack="bspit">Boiler:443</a>, <a href="https://glthr.com/riven-graph#gspit:173" data-stack="gspit">Garden:173</a>, <a href="https://glthr.com/riven-graph#jspit:339" data-stack="jspit">Jungle:339</a>, <a href="https://glthr.com/riven-graph#pspit:42" data-stack="pspit">Prison:42</a> and <a href="https://glthr.com/riven-graph#tspit:386" data-stack="tspit">Temple:386</a>), which each call a routine of the engine.</p>
<p>Path search ignores these arrows: a continuation belongs to its handler and cannot become a shortcut for another card. Saved returns from the inventory remain separate metadata.</p>
<h4 id="heading-some-links-belong-to-the-engine">Some Links Belong to the Engine<a class="anchor" href="#heading-some-links-belong-to-the-engine" aria-hidden="true" tabindex="-1">#</a></h4>
<p>Reading the scripts alone misses part of Riven’s navigation. For example, the engine has a <a href="https://github.com/scummvm/scummvm/blob/aed0208e772b128d3f953207a297fc521c32833a/engines/mohawk/riven.cpp#L588-L630" target="_blank" rel="noopener">table of special destination changes</a>: requesting particular cards redirects the player to another stack.</p>
<p>The graph resolves these changes at the requested destination. It keeps the literal target as evidence and records the resolved endpoint, instead of pretending that the placeholder card contains an ordinary outgoing script. Reviewed native routines also supply a few movement and timer connections. These additions are attributed to a pinned ScummVM implementation. They are separate from the bytecode read from the discs.</p>
<p>Inventory returns receive different treatment. Opening a book saves the caller, and closing it returns to that saved place. Connecting the book to every possible caller would introduce shortcuts through the whole world. I keep this mechanism as explicit metadata rather than invent such edges.</p>
<h2 id="heading-how-the-graph-was-created">How the Graph Was Created<a class="anchor" href="#heading-how-the-graph-was-created" aria-hidden="true" tabindex="-1">#</a></h2>
<p>The <a href="https://glthr.com/myst-graph-3">technical article about the Myst Graph</a> describes a fairly long journey: converting HyperCard stacks, parsing scripts, identifying references, choosing a graph representation, then making a drawing large enough to read.</p>
<p>For Riven, I began by pointing an AI coding agent to that article and <a href="https://github.com/glthr/DeMystify" target="_blank" rel="noopener">DeMystify</a>, together with the other Myst Graph articles, <a href="https://glthr.com/riven-diffs">the Riven Diffs</a>, which opens with the Riven Navigator. The five CD images were in the working folder. My request was simply to use those precedents to decompile Riven and generate its graph.</p>
<p>That was enough to get the project moving. The agent inspected the files, researched their format, wrote an extractor, ran it and produced a graph. A follow-up request asked for a local web page in the same style as the Myst one. It could reuse the earlier viewer rather than begin its visual design again.</p>
<p>I could describe the intended result by referring to existing work, provide the original material, and let the agent work through the implementation. The short brief delegated a substantial investigation.</p>
<h3 id="heading-what-the-agent-had-to-work-out">What the Agent Had to Work Out<a class="anchor" href="#heading-what-the-agent-had-to-work-out" aria-hidden="true" tabindex="-1">#</a></h3>
<p>Riven’s files are different from Myst’s HyperCard stacks. The extractor needed to read the ISO images, find the Mohawk archives, and identify the resources holding cards, hotspots, names, picture lists and scripts. It also needed to combine patch archives in the order used by the game: selecting the wrong version of a resource can change the data before any graph analysis begins.</p>
<p>The scripts required a binary parser. It reads command counts, arguments and nested switch branches, preserving their resource-relative byte offsets. A stack change needs both a name lookup and RMAP resolution. Treating every number as a local card ID would produce plausible-looking mistakes.</p>
<p>Some navigation lives in native routines rather than in the disc scripts. The agent used <a href="https://github.com/scummvm/scummvm/tree/aed0208e772b128d3f953207a297fc521c32833a/engines/mohawk" target="_blank" rel="noopener">ScummVM’s Mohawk implementation</a> as a reference for these cases, including special destination redirects and a small set of movement and timer transitions. Those additions are attributed separately in the graph.</p>
<p>The word “decompile” therefore needs a precise scope here. The project decodes the game’s resource data and script bytecode into readable structures. It does not recover Cyan’s original interpreter source. ScummVM supplies documented engine behavior for the native portion. It can also contain compatibility fixes that differ from the original executable.</p>
<p>The implementation is integrated into <a href="https://github.com/glthr/DeMystify" target="_blank" rel="noopener">DeMystify</a>. A new Riven importer supplies the existing graph analysis and shared DOT, PDF and browser renderers. The change contains source code, tests and documentation. The original archives and extracted images stay out of the repository.</p>
<h2 id="heading-conclusion">Conclusion<a class="anchor" href="#heading-conclusion" aria-hidden="true" tabindex="-1">#</a></h2>
<p>I find the graph most useful at two scales: the complete network, where clusters and outliers suggest questions, and the individual card, where its scripts can support or reject an interpretation.</p>
<p>In <a href="https://glthr.com/riven-graph-2">the next article</a>, I begin with the graph’s less obvious connections and absences. They provide another way of examining Riven alongside the visual comparisons of the Navigator: studying both the contents of a place and its connections to other places.</p>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>RMAP is the name of a resource type in the game’s data files, the Mohawk archives, in which every resource has a four-letter type. Each stack holds one RMAP resource: a table with one 32-bit identifier per card, indexed by the local number of the card. An instruction that changes stack, and some routines of the engine, designate a card by this identifier rather than by its number in the stack.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:2">
<p>RivenX already <a href="https://github.com/jfroy/rivenx/blob/06039102887be22e56f162eed3cbfcb12ce42249/Engine/RXStack.m#L30-L38" target="_blank" rel="noopener">recognized these delimiters in its 2008 source</a>.&#160;<a href="#fnref:2" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:3">
<p>Whether Cyan did this deliberately is unknown. In 2010, Matthew Hoops suggested intentional disabling because the Zip hotspot leads to the same card as the ordinary forward movement. That remains a hypothesis. <a href="https://github.com/scummvm/scummvm/commit/aa5cd3e6825f50e574804455e6b5a3fbe2070062" target="_blank" rel="noopener">His original explanation</a>.&#160;<a href="#fnref:3" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>
]]></content:encoded></item></channel></rss>