122 | | ||INSTALLED_DATADIR||e.g. /usr/share/0ad/data or /usr/local/share/0ad/data or /opt/0ad/data (if compiled with this flag) Specified by update-workspaces.sh --datadir= || |
123 | | update-workspaces.sh can be called with --bindir= to set the location of the pyrogenesis executable (eg. /usr/bin or /opt/0ad/system) |
124 | | With --libdir= you can set the path of the bundled libraries (eg. /usr/lib) |
125 | | These flags become the INSTALLED_DATADIR, INSTALLED_BINDIR and INSTALLED_LIBDIR preprocessor directives. |
| 122 | |
| 123 | For release packaging, `update-workspaces.sh` can be used to set compile-time, absolute paths used by the game (to override defaults): |
| 124 | * `--bindir=/path/to/bin` sets the location of the pyrogenesis executable (eg. /usr/bin or /opt/0ad/system). Defines the `INSTALLED_BINDIR` preprocessor directive. |
| 125 | * `--libdir=/path/to/lib` sets the location of the bundled libraries (eg. /usr/lib). Defines the `INSTALLED_DATADIR` preprocessor directive. |
| 126 | * `--datadir=/path/to/data` sets the location of the game's data (e.g. /usr/share/0ad/data, /usr/local/share/0ad/data, or /opt/0ad/data). Defines the `INSTALLED_LIBDIR` preprocessor directive. |
136 | | ||Userconfig||N||Contains user specific configuration settings||My Documents\0ad\config||$XDG_CONFIG_HOME/0ad/config||~/Documents/0ad/config||m_config = %appdata%\config in Paths.cpp|| |
137 | | ||Logs||N||Contains logs created by the game||My Documents\0ad\logs||$XDG_CONFIG_HOME/0ad/logs||~/Documents/0ad/logs||m_logs = %appdata%\logs in Paths.cpp|| |
138 | | ||Cache||N||Cache directory||%appdata%\0ad\cache||$XDG_CACHE_HOME/0ad||~/Library/Application Support/0ad/cache||m_cache|| |
| 137 | ||Userconfig||N||Contains user specific configuration settings||My Documents\0ad\config||$XDG_CONFIG_HOME/0ad/config||~/Documents/0ad/config||m_config in Paths.cpp|| |
| 138 | ||Logs||N||Contains logs created by the game||My Documents\0ad\logs||$XDG_CONFIG_HOME/0ad/logs||~/Documents/0ad/logs||m_logs in Paths.cpp|| |
| 139 | ||Cache||N||Cache directory||%appdata%\0ad\cache||$XDG_CACHE_HOME/0ad||~/Library/Application Support/0ad/cache||m_cache in Paths.cpp|| |