ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "INI"

From ModEnc
Jump to: navigation, search
m (Added categories)
(Resoved names for MIX IDs.)
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
The INI-files are the key part of modding any C&C-game from RA to Generals/Zero Hour. Although the system of the INIs changed with the engines, even today they're still there. INIs can either be modified via a text/INI-editor or [[TibEd]], while most in the community do not recommend the latter. For more information on what the individual file does, click on it's name.<br>
 
The INI-files are the key part of modding any C&C-game from RA to Generals/Zero Hour. Although the system of the INIs changed with the engines, even today they're still there. INIs can either be modified via a text/INI-editor or [[TibEd]], while most in the community do not recommend the latter. For more information on what the individual file does, click on it's name.<br>
  
= The INIs =
 
 
__TOC__
 
__TOC__
  
 
== [[Red Alert]]/[[Counterstrike]]/[[Aftermath]] ==
 
== [[Red Alert]]/[[Counterstrike]]/[[Aftermath]] ==
INIs located in redalert.mix --> local.mix, expand1.mix and expand2.mix<br>
+
INIs located in {{Tt|redalert.mix --> local.mix}}, {{Tt|expand1.mix}} and {{Tt|expand2.mix}}<br>
 
*[[rules.ini]]
 
*[[rules.ini]]
 
*[[aftrmath.ini]] (Aftermath)
 
*[[aftrmath.ini]] (Aftermath)
Line 13: Line 12:
  
  
== [[Tiberian Sun]]/[[FireStorm]] ==
+
== [[Tiberian Sun]]/[[Firestorm]] ==
INIs located in tibsun.mix --> local.mix, patch.mix (this version is used by most recent patch), expand01.mix<br>
+
INIs located in {{Tt|tibsun.mix --> local.mix}}, {{Tt|patch.mix}} (this version is used by most recent patch), {{Tt|expand01.mix}}<br>
*[[art.ini]]
+
The suffix in { } is used by the Firestorm versions of the files.
*[[ai.ini]]
+
*[[art.ini|art{fs}.ini]]
*[[aifs.ini]] (FireStorm)
+
*[[ai.ini|ai{fs}.ini]]
*[[battle.ini]]
+
*[[battle.ini|battle{fs}.ini]]
*[[battlefs.ini]] (FireStorm)
 
 
*[[day.ini]] (FireStorm)
 
*[[day.ini]] (FireStorm)
 
*[[dusk.ini]] (FireStorm)
 
*[[dusk.ini]] (FireStorm)
Line 26: Line 24:
 
*[[key.ini]]
 
*[[key.ini]]
 
*[[keyboard.ini]]
 
*[[keyboard.ini]]
*[[mapsel.ini]]
+
*[[langrule.ini]]  
*[[mapsel01.ini]] (FireStorm)
+
*[[langfs.ini]] (Firestorm)
*[[mission.ini]]
+
*[[mapsel.ini|mapsel{01}.ini]]
*[[mission1.ini]] (FireStorm)
+
*[[mission.ini|mission{1}.ini]]
 
*[[morning.ini]] (FireStorm)
 
*[[morning.ini]] (FireStorm)
 
*[[night.ini]] (FireStorm)
 
*[[night.ini]] (FireStorm)
 
*[[rules.ini]]
 
*[[rules.ini]]
 
*[[snow.ini]]
 
*[[snow.ini]]
*[[sound.ini]]
+
*[[sound.ini|sound{01}.ini]]
*[[sound01.ini]] (FireStorm)
+
*[[sun.ini]]
 
*[[temperat.ini]]
 
*[[temperat.ini]]
*[[theme.ini]]
+
*[[tmcj4f.ini]]
*[[theme01.ini]] (FireStorm)
+
*[[theme.ini|theme{01}.ini]]
 
*[[tutorial.ini]]
 
*[[tutorial.ini]]
  
 
=== Scrambled/String-INIs ===
 
=== Scrambled/String-INIs ===
These INIs' names were either not given correctly by [[XCC mixer]], or have no useful name. They all seem to consist of localization strings.<br>
+
These INIs' names were not given correctly by [[XCC Mixer]]. They all consist of localization strings for objects defined in [[rules.ini]] and/or [[firestrm.ini]]. The true names of these files are [[langrule.ini]] and [[langfs.ini]]. For each map file [[Tiberian Sun]] reads an additional file by the same name (but with the extension .INI).<br>
*B3C17994
+
*B3C17994: langrule.ini
*B8152851
+
*51A25286: langfs.ini
*CFD7E82A
+
*B8152851: fsnod09.ini
*D2D2D892
+
*CFD7E82A: fsnod05.ini
*E1CE9B49
+
*D2D2D892: fsnod02.ini
*FCCBABF1
+
*E1CE9B49: fsgdi04.ini
 
+
*FCCBABF1: fsgdi03.ini
 +
*...
  
 
== [[Red Alert 2]]/[[Yuri's Revenge]] ==
 
== [[Red Alert 2]]/[[Yuri's Revenge]] ==
INIs located in ra2.mix --> local.mix, ra2md.mix --> localmd.mix, expandmd01.mix (this version is the one used by most recent YR patch)<br>
+
INIs located in {{Tt|ra2.mix --> local.mix}}, {{Tt|ra2md.mix --> localmd.mix}}, {{Tt|expandmd01.mix}} (this version is the one used by most recent YR patch)<br>
The md-suffix is present in YR-INIs ('''M'''ission '''D'''isk). If you are modding YR, you ''have'' to use the md-INIs, i.e. rulesmd.ini instead of rules.ini.<br>
+
The md-suffix is present in YR-INIs ('''M'''ission '''D'''isk). If you are modding YR, you ''have'' to use the md-INIs, i.e. {{Tt|rules''md''.ini}} instead of {{Tt|rules.ini}}.<br>
*[[art.ini|art{md}.ini]]
+
*{{Ini|art}}
*[[ai.ini|ai{md}.ini]]
+
*{{Ini|ai}}
*[[battle.ini|battle{md}.ini]]
+
*{{Ini|battle}}
*[[coopcamp.ini|coopcamp{md}.ini]]
+
*{{Ini|coopcamp}}
*[[eva.ini|eva{md}.ini]]
+
*[[desertmd.ini]]
*[[key.ini|key.ini]]
+
*{{Ini|eva}}
*[[keyboard.ini|keyboard{md}.ini]]
+
*{{Ini|key}}
*[[mapsel.ini|mapsel{md}.ini]]
+
*{{Ini|keyboard}}
*[[mpbattle.ini|mpbattle{md}.ini]]
+
*[[lunarmd.ini]]
*[[mpcoop.ini|mpcoop{md}.ini]]
+
*{{Ini|mapsel}}
*[[mpduel.ini|mpduel{md}.ini]]
+
*{{Ini|mpbattle}}
*[[mpfree.ini|mpfreeforall{md}.ini]]
+
*{{Ini|mpcoop}}
*[[mpmeat.ini|mpmeat{md}.ini]]
+
*{{Ini|mpduel}}
*[[mpmodes.ini|mpmodes{md}.ini]]
+
*{{Ini|mpfree}}
*[[mpmw.ini|mpmw{md}.ini]]
+
*{{Ini|mpmeat}}
*[[mpnaval.ini|mpnaval{md}.ini]]
+
*{{Ini|mpmodes}}
*[[mpsiege.ini|mpsiege{md}.ini]]
+
*{{Ini|mpmw}}
*[[mpunholy.ini|mpunholy{md}.ini]]
+
*{{Ini|mpnaval}}
*[[mission.ini|mission{md}.ini]]
+
*{{Ini|mpsiege}}
*[[rmg.ini|rmg{md}.ini]]
+
*{{Ini|mpunholy}}
*[[rules.ini|rules{md}.ini]]
+
*{{Ini|mission}}
*[[snow.ini|snow{md}.ini]]
+
*{{Ini|ra2}}
*[[sound.ini|sound{md}.ini]]
+
*{{Ini|rmg}}
*[[temperat.ini|temperat{md}.ini]]
+
*{{Ini|rules}}
*[[theme.ini|theme{md}.ini]]
+
*{{Ini|snow}}
*[[tutorial.ini|tutorial{md}.ini]]
+
*{{Ini|sound}}
*[[ui.ini|ui{md}.ini]]
+
*{{Ini|temperat}}
*[[urban.ini|urban{md}.ini]]
+
*{{Ini|theme}}
 +
*{{Ini|tutorial}}
 +
*{{Ini|ui}}
 +
*{{Ini|urban}}
 
*[[urbannmd.ini]]
 
*[[urbannmd.ini]]
 
  
 
== [[Generals]]/[[Zero Hour]] ==
 
== [[Generals]]/[[Zero Hour]] ==
Line 89: Line 90:
  
 
[[Category:General_Editing_Information]]
 
[[Category:General_Editing_Information]]
[[Category: INI Files| ]]
+
[[Category: INI Files| ]] <!-- not a typo, forces it to be the first file on the category page instead of under "I". -->
 +
[[Category:File Formats]]

Latest revision as of 10:38, 30 August 2011

The INI-files are the key part of modding any C&C-game from RA to Generals/Zero Hour. Although the system of the INIs changed with the engines, even today they're still there. INIs can either be modified via a text/INI-editor or TibEd, while most in the community do not recommend the latter. For more information on what the individual file does, click on it's name.

Red Alert/Counterstrike/Aftermath

INIs located in redalert.mix --> local.mix, expand1.mix and expand2.mix


Tiberian Sun/Firestorm

INIs located in tibsun.mix --> local.mix, patch.mix (this version is used by most recent patch), expand01.mix
The suffix in { } is used by the Firestorm versions of the files.

Scrambled/String-INIs

These INIs' names were not given correctly by XCC Mixer. They all consist of localization strings for objects defined in rules.ini and/or firestrm.ini. The true names of these files are langrule.ini and langfs.ini. For each map file Tiberian Sun reads an additional file by the same name (but with the extension .INI).

  • B3C17994: langrule.ini
  • 51A25286: langfs.ini
  • B8152851: fsnod09.ini
  • CFD7E82A: fsnod05.ini
  • D2D2D892: fsnod02.ini
  • E1CE9B49: fsgdi04.ini
  • FCCBABF1: fsgdi03.ini
  • ...

Red Alert 2/Yuri's Revenge

INIs located in ra2.mix --> local.mix, ra2md.mix --> localmd.mix, expandmd01.mix (this version is the one used by most recent YR patch)
The md-suffix is present in YR-INIs (Mission Disk). If you are modding YR, you have to use the md-INIs, i.e. rulesmd.ini instead of rules.ini.

Generals/Zero Hour

(As I have not started looking into Generals yet, some Gen Modder should fill this gap)