Difference between revisions of "INI"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Whatevermind
(Moved page from .INI, standards cleanup)
sc4e>Whatevermind
(Merged with MTS2 page, general cleanup of both)
Line 1: Line 1:
An initialization file
+
'''INI''' files are initialization files, which generally refer to any INI script used in [[SimCity 4]]. They often occur within [[DBPF]] files, however, as a common file type, there are also some that are loose files associated with the game. Some of the INI files used by the game are rather complex, and have been given their own article, others are described below.
  
 +
==INIs Within DBPFs==
 +
As mentioned above, INI files are often located within DBPF files, and control a wide variety of game properties. They are listed below.
 +
 +
{|width="80%" border="1" cellpadding="1" cellspacing="1"
 +
|-
 +
!Type ID
 +
!Group ID
 +
!Instance ID
 +
!Name
 +
!Description
 +
|-
 +
|0x00000000
 +
|0x4a87bfe8
 +
|0x2a87bffc
 +
|[[Font Table]]
 +
|Defines font properties for use in-game.
 +
|-
 +
|0x00000000
 +
|0x8a5971c5
 +
|0x2b563701
 +
|Expansion Pack INI
 +
|Enables and disables expansion pack features.
 +
|-
 +
|0x00000000
 +
|0x8a5971c5
 +
|0x8a5993b9
 +
|[[Network INI]] (aka Remapping)
 +
|Contains parameters related to networks.
 +
|-
 +
|0x00000000
 +
|0x8a5971c5
 +
|0xaa597172
 +
|[[Terrain Texture File]]
 +
|Contains tunable parameters related to terrain.
 +
|-
 +
|0x00000000
 +
|0x8a5971c5
 +
|0xea8a1115
 +
|Sound Config
 +
|Contains properties related to in-game sounds.
 +
|}
 +
 +
It should also be noted that [[RUL]] files often bear a close resemblance to INI files, but are covered elsewhere.
 +
 +
==Loose INIs==
 +
Both SimCity 4 itself, and the Maxis created add-on programs, contain a variety of loose INI files. They are listed below.
 +
 +
*''SimCity 4.ini'' - Defines locations of files for the game.
 +
*''region.ini'' - Included with every region, it contains basic information, such as the Region name.
 +
*''Ingred.ini'' - Contains a lot of information for deciphering other files.
 +
*''LotEditor.ini'' - Defines locations of files for [[Lot Editor]] as well as Occupant Groups.
 +
 +
===region.ini===
 +
Region.ini files all have the same format, with the following four fields.
 +
 +
<pre>
 +
[Regional Settings]
 +
Name = #0x4ab6d262  (Can be name in plain text, or an LTEXT reference as seen here)
 +
Terrain type = 0    (Toggles water or land for a new region)
 +
Water Min = 60      (Unknown)
 +
Water Max = 100      (Unknown)
 +
</pre>
  
{{stub}}
 
  
  
 
{{navbox/FORMAT}}
 
{{navbox/FORMAT}}
[[category:File Formats/COMM]]
+
[[Category:File Formats/COMM]]
 +
[[Category:Modding]]
 +
[[Category:MTS2]]

Revision as of 12:51, 22 September 2012

INI files are initialization files, which generally refer to any INI script used in SimCity 4. They often occur within DBPF files, however, as a common file type, there are also some that are loose files associated with the game. Some of the INI files used by the game are rather complex, and have been given their own article, others are described below.

INIs Within DBPFs

As mentioned above, INI files are often located within DBPF files, and control a wide variety of game properties. They are listed below.

Type ID Group ID Instance ID Name Description
0x00000000 0x4a87bfe8 0x2a87bffc Font Table Defines font properties for use in-game.
0x00000000 0x8a5971c5 0x2b563701 Expansion Pack INI Enables and disables expansion pack features.
0x00000000 0x8a5971c5 0x8a5993b9 Network INI (aka Remapping) Contains parameters related to networks.
0x00000000 0x8a5971c5 0xaa597172 Terrain Texture File Contains tunable parameters related to terrain.
0x00000000 0x8a5971c5 0xea8a1115 Sound Config Contains properties related to in-game sounds.

It should also be noted that RUL files often bear a close resemblance to INI files, but are covered elsewhere.

Loose INIs

Both SimCity 4 itself, and the Maxis created add-on programs, contain a variety of loose INI files. They are listed below.

  • SimCity 4.ini - Defines locations of files for the game.
  • region.ini - Included with every region, it contains basic information, such as the Region name.
  • Ingred.ini - Contains a lot of information for deciphering other files.
  • LotEditor.ini - Defines locations of files for Lot Editor as well as Occupant Groups.

region.ini

Region.ini files all have the same format, with the following four fields.

[Regional Settings]
Name = #0x4ab6d262   (Can be name in plain text, or an LTEXT reference as seen here)
Terrain type = 0     (Toggles water or land for a new region)
Water Min = 60       (Unknown)
Water Max = 100      (Unknown)