<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://modenc2.markjfox.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=67.189.82.28</id>
	<title>ModEnc² - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://modenc2.markjfox.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=67.189.82.28"/>
	<link rel="alternate" type="text/html" href="https://modenc2.markjfox.net/Special:Contributions/67.189.82.28"/>
	<updated>2026-04-18T22:12:41Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://modenc2.markjfox.net/index.php?title=MIX&amp;diff=3390</id>
		<title>MIX</title>
		<link rel="alternate" type="text/html" href="https://modenc2.markjfox.net/index.php?title=MIX&amp;diff=3390"/>
		<updated>2014-02-08T05:36:29Z</updated>

		<summary type="html">&lt;p&gt;67.189.82.28: Vandal&amp;#039;s advertising link removed.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;.mix is the extension for the files used by [[Westwood]] to store most game files up until [[YR|Yuri&#039;s Revenge]]. For [[Generals]] and following, [[big-files]] took this part.&lt;br /&gt;
&lt;br /&gt;
==Editing Mix-files==&lt;br /&gt;
Mix-files are read, edited and created using the [[XCC Mixer]] and the [[XCC Mix Editor]], both created by [[Olaf van der Spek]]. They can be downloaded at [http://xccu.sourceforge.net http://xccu.sourceforge.net].&lt;br /&gt;
&lt;br /&gt;
==File Names and Loading Hierarchy==&lt;br /&gt;
Naming your MIX correctly is important for the correct execution of your mod.&amp;lt;br&amp;gt;&lt;br /&gt;
There are three names/naming systems&lt;br /&gt;
;{{tt|expand{{co|md|#D2691E}}##.mix}}&lt;br /&gt;
:Where ## is a number between 01 and 99, and {{tt|{{co|md|#D2691E}}}} is added if the the file is for {{yr}}.&lt;br /&gt;
;{{tt|ecache*.mix}}&lt;br /&gt;
:Where * can be any string.&lt;br /&gt;
;{{tt|elocal*.mix}}&lt;br /&gt;
:Where * can be any string.&lt;br /&gt;
&lt;br /&gt;
===Loading Hierarchy===&lt;br /&gt;
The game searches the MIX files for contents in this order. Once a file is found in a mix, the next MIXes don&#039;t even get checked for its presence. &lt;br /&gt;
* A higher-numbered {{tt|expand{{co|md|#D2691E}}##.mix}} has a higher level than a lower numbered one. &lt;br /&gt;
* For {{tt|ecache*}} and {{tt|elocal*}} files, order is not guaranteed - standard WinAPI functionality is used to locate them, [http://bingo-players.org Gala Bingo] and no sorting is done.&lt;br /&gt;
:: Quoting [http://msdn.microsoft.com/en-us/library/aa364428(VS.85).aspx MSDN - FindNextFile]: &lt;br /&gt;
:::: &#039;&#039;The order in which this function returns the file names is dependent on the file system type. With the NTFS file system and CDFS file systems, the names are usually returned in alphabetical order. With FAT file systems, the names are usually returned in the order the files were written to the disk, which may or may not be in alphabetical order. However, as stated previously, these behaviors are not guaranteed.&#039;&#039;&lt;br /&gt;
:: Additionally, files that have any of the &amp;quot;Hidden&amp;quot;, &amp;quot;System&amp;quot; or &amp;quot;Temporary&amp;quot; attributes set are not loaded.&lt;br /&gt;
&lt;br /&gt;
{{HorizontalBar|This list was generated for Yuri&#039;s Revenge 1.001 . Red Alert 2 ignores the {{co|md|#D2691E}} MIXes, and other games might use a different order, to be documented later.}}&lt;br /&gt;
&lt;br /&gt;
# LANGMD.MIX&lt;br /&gt;
# LANGUAGE.MIX&lt;br /&gt;
# EXPANDMD##.MIX &#039;&#039;;( 99, 98, ... 02, 01)&#039;&#039;&lt;br /&gt;
# RA2MD.MIX&lt;br /&gt;
# RA2.MIX&lt;br /&gt;
# CACHEMD.MIX&lt;br /&gt;
# CACHE.MIX&lt;br /&gt;
# LOCALMD.MIX&lt;br /&gt;
# LOCAL.MIX&lt;br /&gt;
# AUDIOMD.MIX&lt;br /&gt;
# ECACHE*.MIX&lt;br /&gt;
# [http://casino-del-sol.net Casino Slots]&lt;br /&gt;
# ELOCAL*.MIX&lt;br /&gt;
# CONQMD.MIX&lt;br /&gt;
# GENERMD.MIX&lt;br /&gt;
# GENERIC.MIX&lt;br /&gt;
# ISOGENMD.MIX&lt;br /&gt;
# ISOGEN.MIX&lt;br /&gt;
# CONQUER.MIX&lt;br /&gt;
# CAMEOMD.MIX&lt;br /&gt;
# CAMEO.MIX&lt;br /&gt;
# MAPSMD03.MIX&lt;br /&gt;
# MULTIMD.MIX&lt;br /&gt;
# THEMEMD.MIX&lt;br /&gt;
# MOVMD03.MIX&lt;br /&gt;
# theater-specific MIXes - see [[Theatres]] for a list&lt;br /&gt;
# SIDEC##.MIX  &#039;&#039;;the {{tt|##}} stands for side you&#039;re playing as - 1 for Allied&#039;&#039;&lt;br /&gt;
# SIDENC##.MIX&lt;br /&gt;
&lt;br /&gt;
As a result of this, it is common to distribute new and modified files as follows:&lt;br /&gt;
=== {{tt|expand{{co|md|#D2691E}}##.mix}} ===&lt;br /&gt;
This is a type of mix file designed to overide things already existing in the game files. (as can be seen by rulesmd.ini in expandmd01.mix for Yuri&#039;s Revenge v1.001)&lt;br /&gt;
*[[INIs]]&lt;br /&gt;
*[[File_Types#.TEM.2C .SNO.2C .URB.2C .UBN.2C .LUN.2C .DES|.TEM, .SNO, .URB, .UBN, .LUN, .DES]]&lt;br /&gt;
*[http://casino-royale-lasvegas.com Casino Royale]&lt;br /&gt;
*[[WAV]]s (EVA voices, not the audio normally stored in audio.bag)&lt;br /&gt;
*[[SHP]]s (interface-/screen-elements, including side-related GUI ones)&lt;br /&gt;
*[[FNT]]s (general game font which can be edited by a FNT editor)&lt;br /&gt;
&lt;br /&gt;
=== {{tt|ecache*.mix}} ===&lt;br /&gt;
As the name sugests, this is a cache file. The files in here are only read if they do not exist elsewhere, unlike other mix files where the last read file overides the previous versions files. the files inside these mix files are only indexed upon loading, and speculativly, the progressive number override doesn&#039;t apear to apply.&lt;br /&gt;
*[[SHP]]s (normal buildings, infantry etc.)&lt;br /&gt;
*[[AUD]] files (Not used in [[Red Alert 2]]/[[Yuri&#039;s Revenge]])&lt;br /&gt;
*[[VXL]]s&lt;br /&gt;
*[[HVA]]s&lt;br /&gt;
&lt;br /&gt;
=== {{tt|elocal*.mix}} ===&lt;br /&gt;
This file is practically not used in the community, but works for &amp;quot;unofficial SHP, VXL, HVA and MAP files&amp;quot; according to {{theguide}}. Since, in the original game, [http://hollywoodcasinoonline.co.uk/ Hollywood Casino] local.mix holds almost all object-related graphics, and elocal*.mix works for the same file types, it is likely it was originally conceived as an expansion file specifically for local.mix. It is unknown why the community started using ecache*.mix for unit graphics instead.&lt;br /&gt;
&lt;br /&gt;
===Loose===&lt;br /&gt;
*[[CSF]]&lt;br /&gt;
*[[PKT]], Only 1 can exist loose, otherwise you get maps listed multiple times.&lt;br /&gt;
*[[BAG]]&lt;br /&gt;
*[[IDX]]&lt;br /&gt;
*[[WAV]]&lt;br /&gt;
*[[BIK]]&lt;br /&gt;
&lt;br /&gt;
Note that, despite this common distribution of files, many files (especially graphics) work in an expand{{co|md|#D2691E}}##.mix as well.&lt;br /&gt;
&lt;br /&gt;
==How to make a new MIX file ==&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; In order to be read by the game, your new mix has to reside in the game&#039;s folder, and has to be [[#File Names and Loading Hierarchy|named correctly]].&lt;br /&gt;
&lt;br /&gt;
===Using [[XCC Mix Editor]]===&lt;br /&gt;
Click {{Tt|New}} and choose where to save it. To add files to a mix file you can go to import or you can use the faster method of &amp;quot;drag &#039;n drop&amp;quot; you can select files from explorer and drag them into the XCC Mix Editor window. Next press the &amp;quot;Compact&amp;quot; button, this saves and compresses the file. &lt;br /&gt;
&lt;br /&gt;
===Using [[XCC Mixer]]===&lt;br /&gt;
Click {{Tt|File - New}} and select where to save it. Then, [http://awinkbingo.co.uk/ Foxy Bingo] navigate there and open that file in the Mixer. Now you can actually drag and drop files to the Mixer as well to add them, there is an option to compact in the context menu that appears when you right click on a file in that mix.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Location of files in the game&#039;s mix files==&lt;br /&gt;
&lt;br /&gt;
===RA2/YR===&lt;br /&gt;
*The [[INIs|INI files]] are in {{Tt|RA2.mix}} {{arr|r}} {{Tt|local.mix}} and {{Tt|RA2md.mix}} {{arr|r}} {{Tt|localmd.mix}}. {{Tt|rulesmd.ini}} and {{Tt|soundmd.ini}} for YR 1.001 are in {{Tt|expandmd01.mix}}.&lt;br /&gt;
*[[Cameo]]s (build icons), which are single frame [[SHP]]s, can found in {{Tt|language.mix}} {{arr|r}} {{Tt|cameo.mix}} and in {{Tt|langmd.mix}} {{arr|r}} {{Tt|cameomd.mix}}.&lt;br /&gt;
*Infantry, which are multi frame [[SHP]]s, can be found in {{Tt|RA2.mix}} {{arr|r}} {{Tt|conquer.mix}} and {{Tt|ra2md.mix}} {{arr|r}} {{Tt|conqmd.mix}}.&lt;br /&gt;
*The [[File Types#.VXL|voxel]]s (and their associated [[File Types#.HVA|hva files]]), Tanks, [[naval]] vessels, and aircraft, can be found in {{Tt|ra2.mix}} {{arr|r}} {{Tt|local.mix}} and {{Tt|ra2md.mix}} {{arr|r}} {{Tt|localmd.mix}}.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[File Types#.MIX|.mix on the File Types Page]]&lt;br /&gt;
*[http://www.riverscasinoonline.com/ Online Casino]&lt;br /&gt;
*[http://xccu.sourceforge.net/documents/MIX_Format.html Explanation of the MIX format by Olaf van der Spek]&lt;br /&gt;
*[[Reserved Mix Files]]&lt;br /&gt;
*[[MIX protectors]]&lt;br /&gt;
&lt;br /&gt;
[[Category:General Editing Information]]&lt;br /&gt;
[[Category:XCC Tutorials]]&lt;br /&gt;
[[Category:XCC Mix Editor Tutorials]]&lt;br /&gt;
[[Category:File Formats]]&lt;/div&gt;</summary>
		<author><name>67.189.82.28</name></author>
	</entry>
</feed>