Jump to content

INI: Difference between revisions

From ModEnc²
en>Gordon-creAtive
m INIs moved to INI
m 23 revisions imported
 
(5 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__


Line 41: Line 40:


=== 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 {{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>
INIs located in {{Tt|ra2.mix --> local.mix}}, {{Tt|ra2md.mix --> localmd.mix}}, <tt>[[Reserved_Mix_Files#expandmd01.mix|expandmd01.mix]]</tt> (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. {{Tt|rules''md''.ini}} instead of {{Tt|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>
*{{Ini|art}}
*{{Ini|art}}
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]]
[[Category:File Formats]]

Latest revision as of 21:22, 31 March 2025

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)