<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.sierrahelp.com/index.php?action=history&amp;feed=atom&amp;title=DGDS_Resource_Index_File_Format</id>
	<title>DGDS Resource Index File Format - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.sierrahelp.com/index.php?action=history&amp;feed=atom&amp;title=DGDS_Resource_Index_File_Format"/>
	<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=DGDS_Resource_Index_File_Format&amp;action=history"/>
	<updated>2026-11-18T12:04:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>http://wiki.sierrahelp.com/index.php?title=DGDS_Resource_Index_File_Format&amp;diff=56244&amp;oldid=prev</id>
		<title>Andrew Branscom: 2 revisions imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=DGDS_Resource_Index_File_Format&amp;diff=56244&amp;oldid=prev"/>
		<updated>2025-02-16T13:36:08Z</updated>

		<summary type="html">&lt;p&gt;2 revisions imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:36, 16 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Andrew Branscom</name></author>
	</entry>
	<entry>
		<id>http://wiki.sierrahelp.com/index.php?title=DGDS_Resource_Index_File_Format&amp;diff=56243&amp;oldid=prev</id>
		<title>Andrew Branscom: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=DGDS_Resource_Index_File_Format&amp;diff=56243&amp;oldid=prev"/>
		<updated>2024-06-03T04:55:15Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:55, 2 June 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Andrew Branscom</name></author>
	</entry>
	<entry>
		<id>http://wiki.sierrahelp.com/index.php?title=DGDS_Resource_Index_File_Format&amp;diff=56242&amp;oldid=prev</id>
		<title>Andrew Branscom: /*  Also See */</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=DGDS_Resource_Index_File_Format&amp;diff=56242&amp;oldid=prev"/>
		<updated>2022-09-16T23:49:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Also See&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;div align=&amp;quot;center&amp;quot; style=&amp;quot;font-size: 22pt&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;The  DGDS Resource Index File Format Resource&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt;&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;amp;nbsp;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{TechStub}}&lt;br /&gt;
&lt;br /&gt;
{{ResourceInfobox&lt;br /&gt;
| ResourceName = DGDS Resource Index File Format&amp;lt;ref&amp;gt;https://github.com/xesf/dgds-viewer/blob/master/docs/resindex.md&amp;lt;/ref&amp;gt;&lt;br /&gt;
| Engine = {{DGDSRes}}&lt;br /&gt;
| Type = {{MapFile}}?&lt;br /&gt;
| Developer = {{DynamixRes}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Resource Index File Format [rev 0.0.1] ==&lt;br /&gt;
&lt;br /&gt;
Resource Map is a file containing index information about resources.&lt;br /&gt;
&lt;br /&gt;
It allow us to identify which resource files need to be imported and the details of each entry of that resource file.&lt;br /&gt;
&lt;br /&gt;
== Engine ==&lt;br /&gt;
&lt;br /&gt;
Dynamix Game Development System (DGDS) - an engine originally created by Dynamix based on Sierra pre-existing engine.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
=== Games ===&lt;br /&gt;
&lt;br /&gt;
* [[Johnny Castaway Screen Antics]]&lt;br /&gt;
* [[Quarky &amp;amp; Quaysoo&amp;#039;s Turbo Science]]&lt;br /&gt;
* [[Heart of China]]&lt;br /&gt;
* [[The Adventures of Willy Beamish]]&lt;br /&gt;
* [[Rise of the Dragon]]&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;br /&amp;gt; Format/Specifications ==&lt;br /&gt;
&lt;br /&gt;
It is composed by:&lt;br /&gt;
* Header&lt;br /&gt;
* Resource List&lt;br /&gt;
** Resource Entries&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
The header is static with length of 6 bytes&lt;br /&gt;
&lt;br /&gt;
* u8 unknow0&lt;br /&gt;
* u8 unknow1&lt;br /&gt;
* u8 unknow2 &lt;br /&gt;
* u8 unknow3 &lt;br /&gt;
* u8 numResources&lt;br /&gt;
** number of resources files available in this index&lt;br /&gt;
* u8 unknow5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Resource List ===&lt;br /&gt;
&lt;br /&gt;
For each numResources entries from Header section do the following:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;u8: name&lt;br /&gt;
    - List of characters containing name of the resource file&lt;br /&gt;
    - Static size of 13 characters&lt;br /&gt;
    - Last byte is always zero to allow string termination&lt;br /&gt;
    - This will allow to parse and decompress all the resource files used&lt;br /&gt;
&lt;br /&gt;
- u16: numEntries&lt;br /&gt;
    - Number of entries the resource file has to be imported&lt;br /&gt;
&lt;br /&gt;
=== Resource Entry Header ===&lt;br /&gt;
&lt;br /&gt;
For each numEntries from Resource List do the following:&lt;br /&gt;
&lt;br /&gt;
* u32: length&lt;br /&gt;
** Decompressed entry size&lt;br /&gt;
** This will help understanding which entries need to be decompressed. More details on the Resource file format documentation&lt;br /&gt;
&lt;br /&gt;
* u32: offest&lt;br /&gt;
** Offset of the entry inside the Resource file&lt;br /&gt;
&lt;br /&gt;
Note, to get the size of each of the compressed entries, you just need to calculate the different between the offsets.&lt;br /&gt;
* current_offset_size = next_offset - current_offset&lt;br /&gt;
&lt;br /&gt;
At the end of this implementation, you should be ready to parse the Resource files, which will be describe in a separate document file.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Document History ==&lt;br /&gt;
&lt;br /&gt;
* v0.0.1 2018-11-09: First document draft&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;br /&amp;gt; Author ==&lt;br /&gt;
&lt;br /&gt;
Alexandre Fontoura aka xesf&lt;br /&gt;
* [mailto:xesfnet@gmail.com xesfnet@gmail.com]&lt;br /&gt;
* [https://github.com/xesf github.com/xesf]&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;br /&amp;gt; References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;br /&amp;gt; Also See ==&lt;br /&gt;
&lt;br /&gt;
* Hans Milling aka nivs1978 (github)&lt;br /&gt;
** https://github.com/nivs1978/Johnny-Castaway-Open-Source/blob/master/JCOS/Map.cs&lt;br /&gt;
* Vasco Costa aka vcosta (github)&lt;br /&gt;
** https://github.com/vcosta/scummvm/wiki&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category: Documentation]]&lt;br /&gt;
[[Category:DGDS Resource Index File Pages]]&lt;br /&gt;
[[Category:SCI Resources]]&lt;/div&gt;</summary>
		<author><name>Andrew Branscom</name></author>
	</entry>
</feed>