This page describes the paths for data created during the game. For the layout of data bundled with the game, see [wiki:Finding_Your_Way_Around Finding Your Way Around]. [[TOC(inline,heading=Operating System)]] == Windows == '''Note:''' If you only want to find the game's logs on Windows and you installed an Alpha release, use the '''Start menu > 0 A.D. alpha > Open logs folder''' shortcut; SVN users can run [source:/ps/trunk/source/tools/openlogsfolder/OpenLogsFolder.bat source/tools/openlogsfolder/OpenLogsFolder.bat] instead. === Vista/ Windows 10 === For saved games, replays, screenshots and mod data (eg: saved maps): * `C:\Users\JohnDoe\Documents\My Games\0ad\` * Just view "Documents" or "My Documents" in Explorer. For logs and cache: * `C:\Users\JohnDoe\AppData\Local\0ad\` * You can use the `%localappdata%` variable as a shortcut: `%localappdata%\0ad\` For user config and possibly other user data: * `C:\Users\JohnDoe\AppData\Roaming\0ad\` * You can use the `%appdata%` variable as a shortcut: `%appdata%\0ad\` '''Note:''' When starting 0 A.D. with the [https://github.com/0ad/0ad/blob/master/binaries/system/readme.txt -writableRoot] start parameter, runtime game data are stored in the root data directory (only use if you have write permissions on that directory). In case of using an SVN version, this would be under `\trunk\binaries\data\` === XP / 2000 === For saved games, replays, screenshots and mod data: * `C:\Documents and Settings\JohnDoe\My Documents\My Games\0ad\` * Just view "My Documents" in Explorer. For logs and cache: * `C:\Documents and Settings\JohnDoe\Local Settings\Application Data\0ad\` For user config and possibly other user data: * `C:\Documents and Settings\JohnDoe\Application Data\0ad\` * You can use the `%appdata%` variable as a shortcut: `%appdata%\0ad\` '''Note:''' These paths are localized, for instance in German the logs path is `C:\Dokumente und Einstellungen\Max Mustermann\Lokale Einstellungen\Anwendungsdaten\0ad\logs`. ---- == macOS == Apple's [http://developer.apple.com/library/mac/documentation/General/Conceptual/MOSXAppProgrammingGuide/AppRuntime/AppRuntime.html#//apple_ref/doc/uid/TP40010543-CH2-SW9 guidelines] are followed as closely as possible. For non-cache data (`config` e.g. ''user.cfg'', `logs` e.g. ''crashlog.txt'', `mods`, `replays`, `screenshots` and `save` files) created during the game: * `~/Library/Application\ Support/0ad/` For cached data: * `~/Library/Caches/0ad/` '''Note:''' `~`(`Alt`+`N`) is a shorthand for the current user directory. The `Library` folder is hidden by default, just press `Shift`+`cmd`+`.` to see it. Image below for more clarity. [[Image(GameDataPaths:macOS_library_folder.jpg,600)]] ---- == Linux == Standard [http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html XDG base directories] are used. For most data created during the game (replays, screenshots, savegames): * `~/.local/share/0ad/` * Up to A19, replays would be found in ~/.config/0ad/logs/sim_log For user config and logs: * `~/.config/0ad/` For cached data: * `~/.cache/0ad/` For users who installed the the game using Snap use this as the 'home' directory: * `~/snap/0ad/current/` '''Note:''' "~" is a shorthand for the current user directory.