This page sets out a very high level overview of what is in a location. More indepth explanations of files can be found on the sub pages.
Locations are installed into the following directory. steamapps\common\rFactor 2\ModDev\Locations
A location follows a standard format. The beneath structure is as locations are read when being used in ModDev, inside the Locations base folder.
Each overall location is stored with in a single folder. Multiple sub layouts can be saved with in that folder. Each layout must have a unique name.
The above structure then packs each folders contents into a MAS file and usually encrypted. This is our own propriety format for archiving up files. A location is distributed for the main game as a rFCMP file. The game launcher will install this into the main install as a series of MAS files along with an MFT meta data file which just very basically describes the version of the content and includes checksum verification for the MAS files.
Files of GMT format are our export of meshes. These are exported directly from 3ds Max via plugins.
The AI Waypoint file is generated using the AI Editor which is included with in the ModDev mode.
The Camera file can be generated using a specific mode in ModDev. It can also be done by hand or using 3rd party applications.
The GDB file contains the unique identifier for the layout on the first line, and then a series of properties are defined, including the name of the layout, and various other meta information such as location, length, latitude, longitude, race date etc.
The SCN File contains information about the scene in general. It starts of with all the paths to search for files and any MAS file which should also be searched. The View and some basic settings such as shadow range and basic fog settings. It also contains all light, object and reflection mapper definitions. It is possible to export this data directly from 3ds Max, but it is often easiest to just export snippets of information and manually edit these in.
Wet files allow us to preconfigured scripted environmental conditions. From how the road grips up from session to session by default and also how the weather changes over time during sessions too.
Inside the locations folder is a commonmaps.mas file. This contains various basic maps which are shared with all locations usually (it still has to be specified in the SCN file).