User settings directory

From VDrift
Revision as of 08:45, 27 August 2012 by Timo 6 (talk | contribs) (Formatting style updates)
Jump to: navigation, search

VDrift stores user settings (mostly in VDrift.config) and other information in a special directory on the computer's drive. Usually it is located within the user's personal assigned file space, to ensure that the user will have easy access to the files (for backup or other purposes), and that VDrift will be allowed write privileges to the directory.

Location

The location of the settings directory is chosen based on the best location for the user's operating system. In the following subsections, username represents the user's login name on the computer.

Operating System Location
Windows XP C:\Documents and Settings\username\My Documents\My Games\VDrift
Windows Vista/7 C:\Users\username\My Documents\My Games\VDrift
OS X /Users/username/Library/Preferences/VDrift
Linux /home/username/.vdrift
FreeBSD /home/username/.vdrift
Note: If VDrift is run as root on Linux/FreeBSD, the root user's home directory is used instead, which is usually /root. It is not recommended that VDrift is run as root.
Note: If VDrift is run as Administrator on Windows XP, the path will be C:\Documents and Settings\Administrator\My Documents\My Games\VDrift. It is not recommended that VDrift is run as Administrator.