Difference between revisions of "User settings directory"

From VDrift
Jump to: navigation, search
m (Formatting style updates)
m (Update categories)
Line 30: Line 30:
[[Category:Operating Systems:Linux]]
[[Category:Operating Systems:FreeBSD]]
[[Category:Operating Systems:Windows]]
[[Category:Operating Systems:Mac OS X]]

Latest revision as of 03:30, 1 September 2012

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.


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.