Difference between revisions of "User settings directory"

From VDrift
Jump to: navigation, search
m (12 revisions: Import from old wiki (on 15 May 2012))
 
m (Update categories)
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
 
|'''Location'''
 
|'''Location'''
 
|-
 
|-
|Linux
+
|Windows XP
|<code>/home/''username''/.vdrift</code>
+
|<code>C:\Documents and Settings\''username''\My Documents\My Games\VDrift</code>
 
|-
 
|-
|FreeBSD
+
|Windows Vista/7
|<code>/home/''username''/.vdrift</code>
+
|<code>C:\Users\''username''\My Documents\My Games\VDrift</code>
 
|-
 
|-
 
|OS X
 
|OS X
 
|<code>/Users/''username''/Library/Preferences/VDrift</code>
 
|<code>/Users/''username''/Library/Preferences/VDrift</code>
 
|-
 
|-
|Windows XP
+
|Linux
|<code>C:\Documents and Settings\''username''\My Documents\My Games\VDrift</code>
+
|<code>/home/''username''/.vdrift</code>
 
|-
 
|-
|Windows Vista/7
+
|FreeBSD
|<code>C:\Users\''username''\My Documents\My Games\VDrift</code>
+
|<code>/home/''username''/.vdrift</code>
 
|}
 
|}
 
  
 
{{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 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.}}
 
{{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.}}
  
 
[[Category:Files]]
 
[[Category:Files]]
[[Category:Operating Systems:Linux]]
 
[[Category:Operating Systems:FreeBSD]]
 
[[Category:Operating Systems:Windows]]
 
[[Category:Operating Systems:Mac OS X]]
 

Latest revision as of 02: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.

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.