<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://agiwiki.sierrahelp.com//index.php?action=history&amp;feed=atom&amp;title=Restoring_Games</id>
	<title>Restoring Games - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://agiwiki.sierrahelp.com//index.php?action=history&amp;feed=atom&amp;title=Restoring_Games"/>
	<link rel="alternate" type="text/html" href="http://agiwiki.sierrahelp.com//index.php?title=Restoring_Games&amp;action=history"/>
	<updated>2026-09-12T02:20:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.9</generator>
	<entry>
		<id>http://agiwiki.sierrahelp.com//index.php?title=Restoring_Games&amp;diff=13035&amp;oldid=prev</id>
		<title>Andrew Korson: Created page with &quot;Restoring a game is accomplished by calling the &#039;&#039;&#039;restore.game&#039;&#039;&#039; command. The player is prompted to choose a directory, and one of the save games located in the director...&quot;</title>
		<link rel="alternate" type="text/html" href="http://agiwiki.sierrahelp.com//index.php?title=Restoring_Games&amp;diff=13035&amp;oldid=prev"/>
		<updated>2019-04-20T02:41:57Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Restoring a game is accomplished by calling the &amp;#039;&amp;#039;&amp;#039;&lt;a href=&quot;/index.php/Restore.game&quot; title=&quot;Restore.game&quot;&gt;restore.game&lt;/a&gt;&amp;#039;&amp;#039;&amp;#039; command. The player is prompted to choose a directory, and one of the save games located in the director...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Restoring a game is accomplished by calling the &amp;#039;&amp;#039;&amp;#039;[[restore.game]]&amp;#039;&amp;#039;&amp;#039; command. The player is prompted to choose a directory, and one of the save games located in the directory. Unlike the [[Saving Games|save game]] list which shows all 12 slots, the restore games list only includes slots if a valid game file exists in the directory.&lt;br /&gt;
&lt;br /&gt;
Restoring a game copies the game state, [[screen object]] table, [[inventory item]] data, [[script]] table and [[set.scan.start|scan start]] list from the saved game file into AGI&amp;#039;s memory. [[Reserved variables]] [[v20 (computer type)]], [[v26 (monitor type)]], [[v22 (sound channel count)]] and [[reserved flags|reserved flag]] [[f11 (noise channel available)]] are restored to match current hardware capabilities.&lt;br /&gt;
&lt;br /&gt;
AGI then steps through the [[script]] table, and performs the [[resource]] actions (loading, drawing, unloading, etc.). At this point, the AGI interpreter memory heap is now completely restored.&lt;br /&gt;
&lt;br /&gt;
Reserved flag [[f12 (game restored)]] is set to TRUE. All [[Volume files|VOL]] files are closed (they will be re-opened as soon as the next [[resource]] is loaded).&lt;br /&gt;
&lt;br /&gt;
All [[menu]] items are re-enabled (meaning you will need to re-disable any items that you want disabled), and AGI starts a new [[interpreter cycle]].&lt;/div&gt;</summary>
		<author><name>Andrew Korson</name></author>
	</entry>
</feed>