Where is your user data located (also saved logs and configs).
This page describes where the game searches for its data and configuration files.
The information is useful if you are e.g.:
Since version 1.9 you can see the path used, directly in game, in Gui, on Help page, under User Path. You can mark it and copy.
On Windows Vista and 7, the user's directory is located in
C:\Users\USERNAME\AppData\Roaming\stuntrally
Earlier versions of Windows probably use
C:\Documents and Settings\USERNAME\Application Data\stuntrally
Note that the actual directory names might be affected by localization of your Windows.
On GNU/Linux the user's dir is most likely
~/.config/stuntrally
(where tilde means the user's home directory).
However, $XDG_CONFIG_HOME/stuntrally takes precedence if the environment variable is set.
The default configuration files are located in the data path, under config subdirectory. The game creates dedicated configuration files for each users and they take precedence over the defaults. If you want to reset your configuration to defaults, just delete your user's dir game.cfg, input*.xml, editor.cfg.
Files in user's dir are:
As the game's installation directory might very well be write protected from non-administrators, your user generated data is saved in user's dir. This data might be critical to the game or editor, but they can start without it with default settings.
Subdirs are: (mode is easy or normal, both simulation modes)
If you want to reset record time for a track just go inside records/ and delete the .txt file with same track name (or edit it and remove section for a car name).
To completely remove the game you need to delete your user's dir. Ghosts and replays may become big (e.g. 1GB).
As a rule of thumb, Stunt Rally doesn't care what its working directory is (i.e. from where you run the game). It will detect the actual executable location and search the data in relation to that.
There are few different possibilities here, making it possible to run the game from the Git source tree as well as from make installed prefix. On Linux, common system data installation paths as well as XDG_DATA_DIRS are checked too.
If you have your data in a really obscure path, you can always define STUNTRALLY_DATA_ROOT environment variable.
Cache is used for automatically generated files. Deleting cache files is safe - the application will re-create them when they are next needed, although this might result in a temporary slow-down.
On Windows, this is currently the same as user's config directory.
On Linux (and other similar systems), the cache dir is most likely ~/.cache/stuntrally (where tilde means the user's home directory). However, $XDG_CACHE_HOME/stuntrally takes precedence if the environment variable is set.
On Windows, Ogre plugins should be in the same directory with the exe. On Linux, the following paths are searched (in that order):
/usr/local/lib64/OGRE (only on 64 bit systems)/usr/local/lib64/ogre (only on 64 bit systems)/usr/lib64/OGRE (only on 64 bit systems)/usr/lib64/ogre (only on 64 bit systems)/usr/local/lib32/OGRE (only on 32 bit systems)/usr/local/lib32/ogre (only on 32 bit systems)/usr/lib32/OGRE (only on 32 bit systems)/usr/lib32/ogre (only on 32 bit systems)/usr/local/lib/OGRE/usr/local/lib/ogre/usr/lib/OGRE/usr/lib/ogre
On all platforms, you can specify a custom location for the plugins by setting the environment variable OGRE_PLUGIN_DIR.
Here is a list of config files used in game and editor. Changing them isn't needed.
This can be useful for those who want to know, tinker or extend the content (no need to build).
* Game
* Common
* Editor