22 | | This directory contains data distributed to all users of the game. However, some data saved during games is stored in a separate location, depending on the user's OS: |
23 | | * Windows: local user data is stored in `%appdata%\0ad\` (and `%localappdata%\0ad\` for cache and logs, when available) |
24 | | * Linux: local user data is stored in `$XDG_DATA_HOME/0ad/` (defaults to `~/.local/share/`) (for screenshots and saves) and `$XDG_CONFIG_HOME/0ad/` (defaults to `~/.config/`) (for config and logs) |
25 | | * Mac OS X: local user data is stored in `~/Library/Application Support/0ad/` and `~/Library/Caches/0ad/` |
26 | | |
27 | | A typical user data directory is arranged like this: |
28 | | * `cache`: Game data cached for more efficient access. |
29 | | * `config` (see below) |
30 | | * `data` |
31 | | * `screenshots`: PNG and BMP screenshots from the game. |
32 | | * `logs`: Logs files and crash dumps. |
33 | | * `sim_log`: Includes data for precisely replaying a simulation. |
34 | | |
35 | | Screenshots, logs, config files, and crash dumps generally end up in these directories. |
| 22 | This directory contains data distributed to all users of the game. However, data created during games is stored in separate locations, depending on the user's OS, see GameDataPaths for those locations. |