mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 12:58:00 +03:00
Field lists for tokens
Some checks failed
Build and test / Ubuntu (push) Has been cancelled
Build and test / MacOS (push) Has been cancelled
Build and test / Read .env file and expose it as output (push) Has been cancelled
Build and test / Windows (2019) (push) Has been cancelled
Build and test / Windows (2022) (push) Has been cancelled
Some checks failed
Build and test / Ubuntu (push) Has been cancelled
Build and test / MacOS (push) Has been cancelled
Build and test / Read .env file and expose it as output (push) Has been cancelled
Build and test / Windows (2019) (push) Has been cancelled
Build and test / Windows (2022) (push) Has been cancelled
This commit is contained in:
parent
cbf0760adf
commit
897b502b0f
1 changed files with 32 additions and 31 deletions
|
@ -166,44 +166,45 @@ Relative paths are **relative to the** ``openmw.cfg`` **file they're in**, or th
|
|||
|
||||
Tokens are used to access platform-dependent paths where OpenMW can store specific kinds of data.
|
||||
The available tokens are ``?local?``, ``?userconfig?``, ``?userdata?`` and ``?global?``.
|
||||
Tokens are used in the `Default paths`_.
|
||||
|
||||
``?local?`` is the directory where the OpenMW binary is installed, except on MacOS, where it's the ``Resources`` directory inside the bundle.
|
||||
:``?local?``: The directory where the OpenMW binary is installed, except on MacOS, where it's the ``Resources`` directory inside the bundle.
|
||||
|
||||
``?userconfig?`` depends on the platform:
|
||||
:``?userconfig?``: Platform-dependent:
|
||||
|
||||
+--------------+-----------------------------------------------------------+
|
||||
| OS | Location |
|
||||
+==============+===========================================================+
|
||||
| Linux | ``$XDG_CONFIG_HOME/openmw/`` or ``$HOME/.config/openmw/`` |
|
||||
+--------------+-----------------------------------------------------------+
|
||||
| Mac | ``$HOME/Library/Preferences/openmw/`` |
|
||||
+--------------+-----------------------------------------------------------+
|
||||
| Windows | ``Documents\My Games\OpenMW\`` |
|
||||
+--------------+-----------------------------------------------------------+
|
||||
+--------------+-----------------------------------------------------------+
|
||||
| OS | Location |
|
||||
+==============+===========================================================+
|
||||
| Linux | ``$XDG_CONFIG_HOME/openmw/`` or ``$HOME/.config/openmw/`` |
|
||||
+--------------+-----------------------------------------------------------+
|
||||
| Mac | ``$HOME/Library/Preferences/openmw/`` |
|
||||
+--------------+-----------------------------------------------------------+
|
||||
| Windows | ``Documents\My Games\OpenMW\`` |
|
||||
+--------------+-----------------------------------------------------------+
|
||||
|
||||
``?userdata?`` depends on the platform:
|
||||
:``?userdata?``: Platform-dependent:
|
||||
|
||||
+--------------+--------------------------------------------------------------+
|
||||
| OS | Location |
|
||||
+==============+==============================================================+
|
||||
| Linux | ``$XDG_DATA_HOME/openmw/`` or ``$HOME/.local/share/openmw/`` |
|
||||
+--------------+--------------------------------------------------------------+
|
||||
| Mac | ``$HOME/Library/Application Support/openmw/`` |
|
||||
+--------------+--------------------------------------------------------------+
|
||||
| Windows | ``Documents\My Games\OpenMW\`` |
|
||||
+--------------+--------------------------------------------------------------+
|
||||
+--------------+--------------------------------------------------------------+
|
||||
| OS | Location |
|
||||
+==============+==============================================================+
|
||||
| Linux | ``$XDG_DATA_HOME/openmw/`` or ``$HOME/.local/share/openmw/`` |
|
||||
+--------------+--------------------------------------------------------------+
|
||||
| Mac | ``$HOME/Library/Application Support/openmw/`` |
|
||||
+--------------+--------------------------------------------------------------+
|
||||
| Windows | ``Documents\My Games\OpenMW\`` |
|
||||
+--------------+--------------------------------------------------------------+
|
||||
|
||||
``?global?`` depends on the platform:
|
||||
:``?global?``: Platform-dependent:
|
||||
|
||||
+--------------+-------------------------------------------------------------------+
|
||||
| OS | Location |
|
||||
+==============+===================================================================+
|
||||
| Linux | Chosen by the downstream packager, typically ``/usr/share/games`` |
|
||||
+--------------+-------------------------------------------------------------------+
|
||||
| Mac | ``/Library/Application Support/`` |
|
||||
+--------------+-------------------------------------------------------------------+
|
||||
| Windows | Not applicable |
|
||||
+--------------+-------------------------------------------------------------------+
|
||||
+--------------+-------------------------------------------------------------------+
|
||||
| OS | Location |
|
||||
+==============+===================================================================+
|
||||
| Linux | Chosen by the downstream packager, typically ``/usr/share/games`` |
|
||||
+--------------+-------------------------------------------------------------------+
|
||||
| Mac | ``/Library/Application Support/`` |
|
||||
+--------------+-------------------------------------------------------------------+
|
||||
| Windows | Not applicable |
|
||||
+--------------+-------------------------------------------------------------------+
|
||||
|
||||
Examples
|
||||
--------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue