<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.vdrift.net/index.php?action=history&amp;feed=atom&amp;title=Configfile_format</id>
	<title>Configfile format - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.vdrift.net/index.php?action=history&amp;feed=atom&amp;title=Configfile_format"/>
	<link rel="alternate" type="text/html" href="http://wiki.vdrift.net/index.php?title=Configfile_format&amp;action=history"/>
	<updated>2026-10-01T22:58:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>http://wiki.vdrift.net/index.php?title=Configfile_format&amp;diff=1253&amp;oldid=prev</id>
		<title>Timo 6: Update categories</title>
		<link rel="alternate" type="text/html" href="http://wiki.vdrift.net/index.php?title=Configfile_format&amp;diff=1253&amp;oldid=prev"/>
		<updated>2012-09-01T10:34:13Z</updated>

		<summary type="html">&lt;p&gt;Update categories&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:34, 1 September 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l73&quot; &gt;Line 73:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 73:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Files]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Files]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Expand]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Timo 6</name></author>
	</entry>
	<entry>
		<id>http://wiki.vdrift.net/index.php?title=Configfile_format&amp;diff=1177&amp;oldid=prev</id>
		<title>Timo 6: Formatting style updates</title>
		<link rel="alternate" type="text/html" href="http://wiki.vdrift.net/index.php?title=Configfile_format&amp;diff=1177&amp;oldid=prev"/>
		<updated>2012-08-27T13:09:02Z</updated>

		<summary type="html">&lt;p&gt;Formatting style updates&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:09, 27 August 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Many of VDrift&amp;#039;s text-based data and configuration files are written in a format native to the game. The format is designed to be simple and easy to read, while flexibly storing many different kinds of data. It allows settings to be categorized into sections.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Many of VDrift&amp;#039;s text-based data and configuration files are written in a format native to the game. The format is designed to be simple and easy to read, while flexibly storing many different kinds of data. It allows settings to be categorized into sections.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This format is defined by the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#039;&lt;/del&gt;&amp;#039;&amp;#039;CONFIG&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#039;&lt;/del&gt;&amp;#039;&amp;#039; class in &amp;#039;&amp;#039;&amp;#039;include/config.h&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;src/config.cpp&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This format is defined by the &amp;#039;&amp;#039;CONFIG&amp;#039;&amp;#039; class in &amp;#039;&amp;#039;&amp;#039;include/config.h&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;src/config.cpp&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Features==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Features==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l48&quot; &gt;Line 48:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 48:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Lists====&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Lists====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;List settings may be defined by writing a list of values separated by commas instead of just a single value.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;List settings may be defined by writing a list of values separated by commas instead of just a single value.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Example==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Example==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Timo 6</name></author>
	</entry>
	<entry>
		<id>http://wiki.vdrift.net/index.php?title=Configfile_format&amp;diff=339&amp;oldid=prev</id>
		<title>Timo 6: 10 revisions: Import from old wiki (on 15 May 2012)</title>
		<link rel="alternate" type="text/html" href="http://wiki.vdrift.net/index.php?title=Configfile_format&amp;diff=339&amp;oldid=prev"/>
		<updated>2012-08-26T17:21:22Z</updated>

		<summary type="html">&lt;p&gt;10 revisions: Import from old wiki (on 15 May 2012)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Many of VDrift&amp;#039;s text-based data and configuration files are written in a format native to the game. The format is designed to be simple and easy to read, while flexibly storing many different kinds of data. It allows settings to be categorized into sections.&lt;br /&gt;
&lt;br /&gt;
This format is defined by the &amp;#039;&amp;#039;&amp;#039;CONFIG&amp;#039;&amp;#039;&amp;#039; class in &amp;#039;&amp;#039;&amp;#039;include/config.h&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;src/config.cpp&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
===Encoding===&lt;br /&gt;
Files in this format are interpreted as plain ASCII text. UTF-8 is not yet supported.&lt;br /&gt;
&lt;br /&gt;
===Include directives===&lt;br /&gt;
Lines that start with &amp;#039;&amp;#039;&amp;#039;include&amp;#039;&amp;#039;&amp;#039; will load sections and settings from another file written in the format. The file may be named using a relative path, which follows the &amp;#039;&amp;#039;&amp;#039;include&amp;#039;&amp;#039;&amp;#039; keyword and a single space. If the same section exists in both files, a union of the two sections will result in the file which had the include directive. Values from the including file override those in the included file. Circular includes are repressed.&lt;br /&gt;
&lt;br /&gt;
===Comments and Whitespace===&lt;br /&gt;
Comments begin with &amp;#039;&amp;#039;&amp;#039;#&amp;#039;&amp;#039;&amp;#039; and can occur at any point in a line. Everything following the &amp;#039;&amp;#039;&amp;#039;#&amp;#039;&amp;#039;&amp;#039; is ignored until the end of the line.&lt;br /&gt;
&lt;br /&gt;
Whitespace before and after an identifier, name, or value is ignored; however, all spaces are preserved inside both section and setting identifiers. Line breaks are significant -- each line may contain only one section heading, &amp;#039;&amp;#039;&amp;#039;include&amp;#039;&amp;#039;&amp;#039; directive, or setting.&lt;br /&gt;
&lt;br /&gt;
===Sections===&lt;br /&gt;
Sections (categories) are defined by a heading line with an identifier only. The section identifier may be placed between optional &amp;#039;&amp;#039;&amp;#039;[&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;]&amp;#039;&amp;#039;&amp;#039; brackets. Identifiers are case-sensitive.&lt;br /&gt;
&lt;br /&gt;
Sections are categorical (flat), not hierarchical (nested). It is possible to create a category hierarchy by carefully naming each section, but the format does not provide any mechanism for managing or traversing a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Settings included in a section are all those on lines following the section heading, until the next section heading or the end of the file.&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
Settings (data items) are defined by a line with the form &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;name&amp;#039;&amp;#039; = &amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;, where &amp;#039;&amp;#039;name&amp;#039;&amp;#039; is the identifier for the setting and &amp;#039;&amp;#039;value&amp;#039;&amp;#039; is the data for the setting. No restrictions are placed on the type, length, or formatting of the value stored in a setting. Setting identifiers are case-sensitive.&lt;br /&gt;
&lt;br /&gt;
Settings before the first section heading have no section. They are referenced by their identifiers preceded by a &amp;#039;&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039; character.&lt;br /&gt;
&lt;br /&gt;
====Value types====&lt;br /&gt;
The format employs a somewhat loose typing scheme. Settings do not need to have their types explicitly defined. In the game code, an item can be queried as any type, and depending on the value of the item, certain values can be interpreted differently when requested as different types.&lt;br /&gt;
&lt;br /&gt;
Values can be requested as any of the following:&lt;br /&gt;
* booleans&lt;br /&gt;
* integer numbers&lt;br /&gt;
* floating point numbers&lt;br /&gt;
* strings&lt;br /&gt;
* lists&lt;br /&gt;
&lt;br /&gt;
For instance, the item &amp;#039;&amp;#039;&amp;#039;2nd.now&amp;#039;&amp;#039;&amp;#039; from the example above would have the value &amp;#039;&amp;#039;1&amp;#039;&amp;#039; if interpreted as an integer. If interpreted as a boolean, its value would be &amp;#039;&amp;#039;true&amp;#039;&amp;#039;; as a string, its value would be &amp;#039;&amp;#039;&amp;quot;1&amp;quot;&amp;#039;&amp;#039;; as a floating-point number, its value would be &amp;#039;&amp;#039;1.0&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
====Booleans====&lt;br /&gt;
The following values will equal &amp;#039;&amp;#039;true&amp;#039;&amp;#039; and &amp;#039;&amp;#039;false&amp;#039;&amp;#039;, respectively, when interpreted as boolean values:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;true&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;false&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;yes&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;on&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;off&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;0&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
====Lists====&lt;br /&gt;
List settings may be defined by writing a list of values separated by commas instead of just a single value.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
A file in this format might look like this.&lt;br /&gt;
 name = Example&lt;br /&gt;
 &lt;br /&gt;
 [ first ]&lt;br /&gt;
 stuff = 567&lt;br /&gt;
 blah = hello&lt;br /&gt;
 radius = 0.555&lt;br /&gt;
 &lt;br /&gt;
 [ 2nd ]&lt;br /&gt;
 beans = on&lt;br /&gt;
 now = 1&lt;br /&gt;
 position = 5,6,7&lt;br /&gt;
&lt;br /&gt;
In the file, there are two categories, each with three data items. These items would be referenced by the following identifier strings, respectively:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;.name&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;first.stuff&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;first.blah&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;first.radius&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;2nd.beans&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;2nd.now&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;2nd.position&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Files]]&lt;br /&gt;
[[Category:Expand]]&lt;/div&gt;</summary>
		<author><name>Timo 6</name></author>
	</entry>
	<entry>
		<id>http://wiki.vdrift.net/index.php?title=Configfile_format&amp;diff=333&amp;oldid=prev</id>
		<title>Venzon: /* How data items&#039; values are typed */</title>
		<link rel="alternate" type="text/html" href="http://wiki.vdrift.net/index.php?title=Configfile_format&amp;diff=333&amp;oldid=prev"/>
		<updated>2007-04-20T14:10:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;How data items&amp;#039; values are typed&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:10, 20 April 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l55&quot; &gt;Line 55:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 55:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To have a value interpreted as a vector of 3 floats simply add commas between the three floats:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To have a value interpreted as a vector of 3 floats simply add commas between the three floats:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* somevector = 1.0, 2.1, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;15&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* somevector = 1.0, 2.1, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;4&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Venzon</name></author>
	</entry>
	<entry>
		<id>http://wiki.vdrift.net/index.php?title=Configfile_format&amp;diff=332&amp;oldid=prev</id>
		<title>Venzon at 14:10, 20 April 2007</title>
		<link rel="alternate" type="text/html" href="http://wiki.vdrift.net/index.php?title=Configfile_format&amp;diff=332&amp;oldid=prev"/>
		<updated>2007-04-20T14:10:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:10, 20 April 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot; &gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* This format resembles the ini-style format somewhat.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* This format resembles the ini-style format somewhat.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* It is not heirarchical, it is categorical.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* It is not heirarchical, it is categorical.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;* Whitespace is almost entirely ignored, but line breaks are important.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Comments &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;begin &lt;/ins&gt;with &amp;#039;&amp;#039;&amp;#039;#&amp;#039;&amp;#039;&amp;#039; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;and can occur at any point in a line&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Comments &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;are lines beginning &lt;/del&gt;with &amp;#039;&amp;#039;&amp;#039;#&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Categories are defined by a heading line with an identifier.  The identifier is commonly placed between &amp;#039;&amp;#039;&amp;#039;[&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;]&amp;#039;&amp;#039;&amp;#039; brackets for readability, but this is not actually required.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Categories are defined by a heading line with an identifier.  The identifier is commonly placed between &amp;#039;&amp;#039;&amp;#039;[&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;]&amp;#039;&amp;#039;&amp;#039; brackets for readability, but this is not actually required.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Data items are defined by a line with the form &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;name&amp;#039;&amp;#039; = &amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Data items are defined by a line with the form &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;name&amp;#039;&amp;#039; = &amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Spaces are allowed in item or category identifiers.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;* Whitespace before or after an identifier, name, or value is ignored, but line breaks are important.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Spaces are allowed in item or category identifiers &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;and will be preserved&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Data values can be almost anything.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Data values can be almost anything.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Case is important for category and item identifiers, as well as string values, but nothing else.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Case is important for category and item identifiers, as well as string values, but nothing else.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Venzon</name></author>
	</entry>
	<entry>
		<id>http://wiki.vdrift.net/index.php?title=Configfile_format&amp;diff=331&amp;oldid=prev</id>
		<title>Venzon at 14:08, 20 April 2007</title>
		<link rel="alternate" type="text/html" href="http://wiki.vdrift.net/index.php?title=Configfile_format&amp;diff=331&amp;oldid=prev"/>
		<updated>2007-04-20T14:08:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:08, 20 April 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l6&quot; &gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Whitespace is almost entirely ignored, but line breaks are important.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Whitespace is almost entirely ignored, but line breaks are important.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Comments are lines beginning with &amp;#039;&amp;#039;&amp;#039;#&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Comments are lines beginning with &amp;#039;&amp;#039;&amp;#039;#&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Categories are defined by a heading line with an identifier between &amp;#039;&amp;#039;&amp;#039;[&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;]&amp;#039;&amp;#039;&amp;#039; brackets.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Categories are defined by a heading line with an identifier&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.  The identifier is commonly placed &lt;/ins&gt;between &amp;#039;&amp;#039;&amp;#039;[&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;]&amp;#039;&amp;#039;&amp;#039; brackets &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;for readability, but this is not actually required&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Data items are defined by a line with the form &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;name&amp;#039;&amp;#039; = &amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Data items are defined by a line with the form &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;name&amp;#039;&amp;#039; = &amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Spaces are &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;not &lt;/del&gt;allowed in item or category identifiers.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Spaces are allowed in item or category identifiers.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Data values can be almost anything.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Data values can be almost anything.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Case is important for category and item identifiers, as well as string values, but nothing else.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Case is important for category and item identifiers, as well as string values, but nothing else.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Venzon</name></author>
	</entry>
	<entry>
		<id>http://wiki.vdrift.net/index.php?title=Configfile_format&amp;diff=330&amp;oldid=prev</id>
		<title>Venzon at 14:07, 20 April 2007</title>
		<link rel="alternate" type="text/html" href="http://wiki.vdrift.net/index.php?title=Configfile_format&amp;diff=330&amp;oldid=prev"/>
		<updated>2007-04-20T14:07:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Many of VDrift&amp;#039;s text-based data and settings files are written in a format native to the game. In the source code it is the CONFIGFILE class.&lt;br /&gt;
&lt;br /&gt;
==Format==&lt;br /&gt;
* This format resembles the ini-style format somewhat.&lt;br /&gt;
* It is not heirarchical, it is categorical.&lt;br /&gt;
* Whitespace is almost entirely ignored, but line breaks are important.&lt;br /&gt;
* Comments are lines beginning with &amp;#039;&amp;#039;&amp;#039;#&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
* Categories are defined by a heading line with an identifier between &amp;#039;&amp;#039;&amp;#039;[&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;]&amp;#039;&amp;#039;&amp;#039; brackets.&lt;br /&gt;
* Data items are defined by a line with the form &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;name&amp;#039;&amp;#039; = &amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Spaces are not allowed in item or category identifiers.&lt;br /&gt;
* Data values can be almost anything.&lt;br /&gt;
* Case is important for category and item identifiers, as well as string values, but nothing else.&lt;br /&gt;
* UTF-8 is not yet supported.&lt;br /&gt;
&lt;br /&gt;
==Parsing==&lt;br /&gt;
The files are parsed one line at a time.  Any characters after a # character are discarded (this is used to allow comments in the file).  Characters [ and ] are stripped from the line.  If a line has no = character, then the line is interpreted as a heading.  Otherwise, the line is interpreted as a setting, with the characters to the left of the = character interpreted as the name of the setting, and the characters to the right of the = character interpreted as the value of the setting.  Whitespace before and after the heading, name, or setting is stripped.&lt;br /&gt;
&lt;br /&gt;
==Categories and data items==&lt;br /&gt;
In this format, categories are defined by a heading of the form &amp;lt;code&amp;gt;[ category ]&amp;lt;/code&amp;gt; where &amp;#039;&amp;#039;category&amp;#039;&amp;#039; is the name of the category. Items in the category include all the items from the category heading to the next category heading, or the end of the file.&lt;br /&gt;
&lt;br /&gt;
Items before the first category heading have no category. They are referenced by their names preceded by a &amp;#039;&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039; character.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
A file in this format might look like this.&lt;br /&gt;
 name = Example&lt;br /&gt;
 &lt;br /&gt;
 [ first ]&lt;br /&gt;
 stuff = 567&lt;br /&gt;
 blah = hello&lt;br /&gt;
 radius = 0.555&lt;br /&gt;
 &lt;br /&gt;
 [ 2nd ]&lt;br /&gt;
 beans = on&lt;br /&gt;
 now = 1&lt;br /&gt;
 position = 5,6,7&lt;br /&gt;
&lt;br /&gt;
In the file, there are two categories, each with three data items. These items would be referenced by the following identifier strings, in the order they occur:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;.name&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;first.stuff&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;first.blah&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;first.radius&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;2nd.beans&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;2nd.now&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;2nd.position&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
==How data items&amp;#039; values are typed==&lt;br /&gt;
The format employs a somewhat loose typing scheme. That is, data items do not need to have their types explicitly defined. In the game code, an item can be queried as any type, and depending on the value of the item, certain values can be interpreted differently when requested as different types. Values can be requested as strings, integers, floating point numbers, a vector of 3 floats, or boolean types.  For instance, the item &amp;#039;&amp;#039;&amp;#039;2nd.now&amp;#039;&amp;#039;&amp;#039; from the example above would have the value &amp;#039;&amp;#039;1&amp;#039;&amp;#039; if interpreted as an integer. If interpreted as a boolean, its value would be &amp;#039;&amp;#039;true&amp;#039;&amp;#039;; as a string, its value would be &amp;#039;&amp;#039;&amp;quot;1&amp;quot;&amp;#039;&amp;#039;; as a floating-point number, its value would be &amp;#039;&amp;#039;1.0&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The following values will equal &amp;#039;&amp;#039;true&amp;#039;&amp;#039; when interpreted as boolean values:&lt;br /&gt;
* true&lt;br /&gt;
* yes&lt;br /&gt;
* on&lt;br /&gt;
* 1&lt;br /&gt;
The obvious opposite values are equal to &amp;#039;&amp;#039;false&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
To have a value interpreted as a vector of 3 floats simply add commas between the three floats:&lt;br /&gt;
* somevector = 1.0, 2.1, 15&lt;/div&gt;</summary>
		<author><name>Venzon</name></author>
	</entry>
</feed>