*.cfg FILES

*.cfg files are configuration files that end in "cfg". You can find examples of these whiles in most packages, for example in aircraft you have the Aircraft Configuration File and for cameras you have the Camera Configuration File.

 

When looking at a *.cfg file, you'll see that it's comprised of one or more [section]s, and within each [section] you can define one or more parameters. Sections start with the [section] header and end when a new [section] header is reached, or when the end of the document is reached. The parameters within a section will always be formatted in the same way:

<parameter_name> = <parameter_value>

Below is an exert from the aircraft.cfg file so you can get an idea of this basic structure:

[Version]
major = 1
minor = 0
[GENERAL]
atc_type = "MyManufacturer"
atc_model = "Simple"
Category =  "airplane"
performance = ""

 

Also note that the file should be saved using a specific encoding as explained here:

 

For a full description of the contents of these kinds of files, please see the following page: