<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.xentax.spektr.name:443/index.php?action=history&amp;feed=atom&amp;title=Indiana_Jones_And_The_Infernal_Machine_CND</id>
	<title>Indiana Jones And The Infernal Machine CND - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.xentax.spektr.name:443/index.php?action=history&amp;feed=atom&amp;title=Indiana_Jones_And_The_Infernal_Machine_CND"/>
	<link rel="alternate" type="text/html" href="https://wiki.xentax.spektr.name:443/index.php?title=Indiana_Jones_And_The_Infernal_Machine_CND&amp;action=history"/>
	<updated>2026-04-03T17:48:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.xentax.spektr.name:443/index.php?title=Indiana_Jones_And_The_Infernal_Machine_CND&amp;diff=45529&amp;oldid=prev</id>
		<title>imported&gt;Ikskoks at 15:05, 10 January 2021</title>
		<link rel="alternate" type="text/html" href="https://wiki.xentax.spektr.name:443/index.php?title=Indiana_Jones_And_The_Infernal_Machine_CND&amp;diff=45529&amp;oldid=prev"/>
		<updated>2021-01-10T15:05:09Z</updated>

		<summary type="html">&lt;p&gt;&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 15:05, 10 January 2021&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>imported&gt;Ikskoks</name></author>
	</entry>
	<entry>
		<id>https://wiki.xentax.spektr.name:443/index.php?title=Indiana_Jones_And_The_Infernal_Machine_CND&amp;diff=26533&amp;oldid=prev</id>
		<title>imported&gt;Ikskoks at 15:05, 10 January 2021</title>
		<link rel="alternate" type="text/html" href="https://wiki.xentax.spektr.name:443/index.php?title=Indiana_Jones_And_The_Infernal_Machine_CND&amp;diff=26533&amp;oldid=prev"/>
		<updated>2021-01-10T15:05:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:05, 10 January 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l117&quot;&gt;Line 117:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 117:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Unknown&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Unknown&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:File Format]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Ikskoks</name></author>
	</entry>
	<entry>
		<id>https://wiki.xentax.spektr.name:443/index.php?title=Indiana_Jones_And_The_Infernal_Machine_CND&amp;diff=45528&amp;oldid=prev</id>
		<title>imported&gt;DenizOezmen: added format description</title>
		<link rel="alternate" type="text/html" href="https://wiki.xentax.spektr.name:443/index.php?title=Indiana_Jones_And_The_Infernal_Machine_CND&amp;diff=45528&amp;oldid=prev"/>
		<updated>2006-08-29T10:57:03Z</updated>

		<summary type="html">&lt;p&gt;added format description&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 10:57, 29 August 2006&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>imported&gt;DenizOezmen</name></author>
	</entry>
	<entry>
		<id>https://wiki.xentax.spektr.name:443/index.php?title=Indiana_Jones_And_The_Infernal_Machine_CND&amp;diff=26532&amp;oldid=prev</id>
		<title>imported&gt;DenizOezmen: added format description</title>
		<link rel="alternate" type="text/html" href="https://wiki.xentax.spektr.name:443/index.php?title=Indiana_Jones_And_The_Infernal_Machine_CND&amp;diff=26532&amp;oldid=prev"/>
		<updated>2006-08-29T10:57:03Z</updated>

		<summary type="html">&lt;p&gt;added format description&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;* [[GRAFs|Return to the list of games]]&lt;br /&gt;
&lt;br /&gt;
Choose archive extension: &lt;br /&gt;
&lt;br /&gt;
== CND == &lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; Format Type &amp;#039;&amp;#039;&amp;#039;:    Sound archive &amp;lt;br&amp;gt; &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; [http://en.wikipedia.org/wiki/Endianness Endian Order] &amp;#039;&amp;#039;&amp;#039;: Little Endian &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Format Specifications === &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;// general CND header&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
uint32 {4}&amp;amp;nbsp;&amp;amp;nbsp; - Archive size&amp;lt;br&amp;gt;&lt;br /&gt;
char {1216}&amp;amp;nbsp; - Copyright notice, ASCII art-style&amp;lt;br&amp;gt;&lt;br /&gt;
char {64}&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; - Source path and name&amp;lt;br&amp;gt;&lt;br /&gt;
uint32 {280} - &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Unknown&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
uint32 {4}&amp;amp;nbsp;&amp;amp;nbsp; - Number of files&amp;lt;br&amp;gt;&lt;br /&gt;
unit32 {4}&amp;amp;nbsp;&amp;amp;nbsp; - &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Unknown&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the only really interesting piece of information is the number of files. Anything else is either unknown or serves purely informational purposes.&lt;br /&gt;
&lt;br /&gt;
Each file contained in a CND archive is a compressed sound file, and for each such file entry, there follows a seperate descriptor:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;// file entry descriptor&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
uint32 {4} - File ID (probably)&amp;lt;br&amp;gt;&lt;br /&gt;
uint32 {4} - &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Unknown&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
uint32 {4} - Directory name offset&amp;lt;br&amp;gt;&lt;br /&gt;
uint32 {4} - File name offset&amp;lt;br&amp;gt;&lt;br /&gt;
uint32 {4} - Data offset&amp;lt;br&amp;gt;&lt;br /&gt;
uint32 {4} - &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Unknown&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
uint32 {4} - Sampling rate&amp;lt;br&amp;gt;&lt;br /&gt;
uint32 {4} - Sample size (bits)&amp;lt;br&amp;gt;&lt;br /&gt;
uint32 {4} - Number of channels&amp;lt;br&amp;gt;&lt;br /&gt;
uint32 {4} - Data size&amp;lt;br&amp;gt;&lt;br /&gt;
uint32 {4} - &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Unknown&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
uint32 {4} - Index (probably)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
All stored offsets are relative to the beginning of the data section, which follows immediately after the last file entry descriptor. The interesting pieces of information here are the directory and file name offsets, which allow for reconstruction of the original (zero-terminated) file name, as well as the data offset and the sound data-related entries sampling rate, sample size and number of channels.&lt;br /&gt;
&lt;br /&gt;
When seeking to the data offset of a file entry, the following general header of the compressed sound will be encountered:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;// general sound data header&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
uint32 {4} - Uncompressed size&amp;lt;br&amp;gt;&lt;br /&gt;
int8 {1}&amp;amp;nbsp;&amp;amp;nbsp; - Compression type&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The uncompressed size denotes the required output buffer size in bytes. The compression type determines the method of compression applied to the sound data, where the following cases are differentiated:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
Compression type &amp;lt; 0&amp;amp;nbsp;&amp;amp;nbsp; -- &amp;amp;nbsp;WVSM compression&amp;lt;br&amp;gt;&lt;br /&gt;
Compression type &amp;gt;= 0&amp;amp;nbsp; -- &amp;amp;nbsp;Other compression&lt;br /&gt;
&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== WVSM compression ====&lt;br /&gt;
&lt;br /&gt;
In this case, the compression type of the general sound data header usually has the value &amp;lt;tt&amp;gt;0xe4&amp;lt;/tt&amp;gt;. However, other negative values should theoretically lead to the same decompression method. Note that this method can only decompress 16 bit-sound.&lt;br /&gt;
&lt;br /&gt;
When processing the WVSM scheme, the general sound data header is followed by the special WVSM header:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;// WVSM header&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
uint16 {2} - Test1 &amp;lt;font color=&amp;quot;purple&amp;quot;&amp;gt;(0x1111)&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
uint8 {1}&amp;amp;nbsp; - Test2 &amp;lt;font color=&amp;quot;purple&amp;quot;&amp;gt;(0x64)&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
uint16 {2} - Test3 &amp;lt;font color=&amp;quot;purple&amp;quot;&amp;gt;(0x2222)&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
char {4}&amp;amp;nbsp;&amp;amp;nbsp; - Identifier &amp;lt;font color=&amp;quot;purple&amp;quot;&amp;gt;(&amp;quot;WVSM&amp;quot;)&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To be considerer the header of a valid WVSM structure, all the above values have to be correct. After this header structure, the actual compressed sound data follows. The data is organized as frames that result in decompressed data of 4096 bytes each, as long as the uncompressed sound size specified in the general sound data header allows this; thus the last frame may be shorter.&lt;br /&gt;
&lt;br /&gt;
Each frame is prepended by a frame header:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;// frame header&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
uint16 {2} - &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Unknown&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
uint8 {1}&amp;amp;nbsp; - Sample expander&amp;lt;br&amp;gt;&lt;br /&gt;
int8 {X}&amp;amp;nbsp;&amp;amp;nbsp; - Compressed data&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For decompression, the sample expander value has to be split into its high and low nibble. Both will be used alternatingly during decompression, starting with the high portion.&lt;br /&gt;
&lt;br /&gt;
Each signed byte (&amp;quot;&amp;lt;tt&amp;gt;val&amp;lt;/tt&amp;gt;&amp;quot;) of compressed data will be converted to a signed word (&amp;lt;tt&amp;gt;int16&amp;lt;/tt&amp;gt;) by evaluating the following simple criterion:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;if&amp;lt;/b&amp;gt; val = 0x80 &amp;lt;b&amp;gt;then&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;nbsp; copy next int16 literally to output, switching byte order&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;else&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;nbsp; copy (val &amp;lt;b&amp;gt;shl&amp;lt;/b&amp;gt; nibble) to output&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The decompression process for this frame continues until 4096 bytes of output have been produced or the final output size has been reached, whichever occurs first. Note that some (usually 10 to 15) bytes of input data after the last frame might stay unused. The purpose of this data is not yet known.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Other compression ====&lt;br /&gt;
&lt;br /&gt;
This compression method has not yet been researched, as no samples using this method have been found up to now.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MultiEx BMS Script === &lt;br /&gt;
&lt;br /&gt;
Not written yet&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compatible Programs === &lt;br /&gt;
&lt;br /&gt;
Unknown&lt;/div&gt;</summary>
		<author><name>imported&gt;DenizOezmen</name></author>
	</entry>
</feed>