INI

From Mario Fan Games Galaxy Wiki
Revision as of 19:13, 28 March 2008 by Xgoff (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

INI is a simple, text-based, and human-readable format for storing information. In fangames, they are generally used as a method of storing save data, but save data stored in this way can be easily edited unless encrypted.

Information in INI files is stored in a group-item-value format as follows:

[group]
item = value
item = "string"

Quotes for strings are optional.

Multiple groups can be used, but they must use different names; also, a given group cannot contain two items of the same name.

INI files should be small, and in fact Windows places a 64KB limit on their size.