122 | | TODO: A summary table like for MacOSX would probably be helpful here too. |
| 122 | NOTE: This is just a draft. |
| 123 | ||'''Variable'''||'''Default'''|| |
| 124 | ||XDG_CACHE_HOME||~/.cache|| |
| 125 | ||XDG_CONFIG_HOME||~/.config|| |
| 126 | ||XDG_DATA_HOME||~/.local/share|| |
| 127 | |
| 128 | The default Atlas config dir (or file) is specified in source/tools/atlas/AtlasUI/Misc/DLLInterface.cpp and does not adhere to the values in Paths.cpp or the basedir-spec (Note #868) |
| 129 | |
| 130 | |
| 131 | ||'''Name'''||'''Readonly'''||'''Description'''||'''Path Linux'''||'''Determined by/Set where?'''|| |
| 132 | ||Game data root||Y||Data-Directory for static game data||[0adinstalldir]/data eg: /opt/0ad ||m_rdata in Paths.cpp|| |
| 133 | ||User data root||N||Root-Directory for data the user creates with the game (savegames, screenshots etc...)||$XDG_DATA_HOME/0ad||m_Data in Paths.cpp|| |
| 134 | ||savegame directory||N||Directory where savegames are saved to and loaded from||$XDG_DATA_HOME/0ad/saves||As [User data root]/saves in GameSetup.cpp InitVFS|| |
| 135 | ||screenshot directory||N||Directory where screnshots are saved by the game||$XDG_DATA_HOME/0ad/screenshots||AS [User data root]/screenshots in GameSetup.cpp InitVFS|| |
| 136 | ||Default config||Y||Defaullt config-file which is readonly||[0adinstalldir]/data/config||As [Game data root]/config in GameSetup.cpp IniVFS|| |
| 137 | ||Userconfig root||N||Currently unclear... why is [Logs] here and not in [User data root]?||$XDG_CONFIG_HOME/0ad||As xdgConfig in Paths.cpp|| |
| 138 | ||Userconfig||N||Contains user specific configuration settings||$XDG_CONFIG_HOME/0ad/config||m_config = [Userconfig root]/config in Paths.cpp|| |
| 139 | ||Logs||N||Contains logs created by the game||$XDG_CONFIG_HOME/0ad/logs||m_logs = [Userconfig root]/logs in Paths.cpp|| |
| 140 | ||Cache||N||Cache directory||$XDG_CACHE_HOME/0ad||m_cache|| |
| 141 | ||Mods||?||Probably $XDG_DATA_HOME/0ad/mods ? if they should be added by the user (without needing root permissions)||???||???|| |
| 142 | |