Skip to content

Commit 897b502

Browse files
committed
Field lists for tokens
1 parent cbf0760 commit 897b502

File tree

1 file changed

+39
-38
lines changed

1 file changed

+39
-38
lines changed

docs/source/reference/modding/paths.rst

Lines changed: 39 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -166,44 +166,45 @@ Relative paths are **relative to the** ``openmw.cfg`` **file they're in**, or th
166166

167167
Tokens are used to access platform-dependent paths where OpenMW can store specific kinds of data.
168168
The available tokens are ``?local?``, ``?userconfig?``, ``?userdata?`` and ``?global?``.
169-
170-
``?local?`` is the directory where the OpenMW binary is installed, except on MacOS, where it's the ``Resources`` directory inside the bundle.
171-
172-
``?userconfig?`` depends on the platform:
173-
174-
+--------------+-----------------------------------------------------------+
175-
| OS | Location |
176-
+==============+===========================================================+
177-
| Linux | ``$XDG_CONFIG_HOME/openmw/`` or ``$HOME/.config/openmw/`` |
178-
+--------------+-----------------------------------------------------------+
179-
| Mac | ``$HOME/Library/Preferences/openmw/`` |
180-
+--------------+-----------------------------------------------------------+
181-
| Windows | ``Documents\My Games\OpenMW\`` |
182-
+--------------+-----------------------------------------------------------+
183-
184-
``?userdata?`` depends on the platform:
185-
186-
+--------------+--------------------------------------------------------------+
187-
| OS | Location |
188-
+==============+==============================================================+
189-
| Linux | ``$XDG_DATA_HOME/openmw/`` or ``$HOME/.local/share/openmw/`` |
190-
+--------------+--------------------------------------------------------------+
191-
| Mac | ``$HOME/Library/Application Support/openmw/`` |
192-
+--------------+--------------------------------------------------------------+
193-
| Windows | ``Documents\My Games\OpenMW\`` |
194-
+--------------+--------------------------------------------------------------+
195-
196-
``?global?`` depends on the platform:
197-
198-
+--------------+-------------------------------------------------------------------+
199-
| OS | Location |
200-
+==============+===================================================================+
201-
| Linux | Chosen by the downstream packager, typically ``/usr/share/games`` |
202-
+--------------+-------------------------------------------------------------------+
203-
| Mac | ``/Library/Application Support/`` |
204-
+--------------+-------------------------------------------------------------------+
205-
| Windows | Not applicable |
206-
+--------------+-------------------------------------------------------------------+
169+
Tokens are used in the `Default paths`_.
170+
171+
:``?local?``: The directory where the OpenMW binary is installed, except on MacOS, where it's the ``Resources`` directory inside the bundle.
172+
173+
:``?userconfig?``: Platform-dependent:
174+
175+
+--------------+-----------------------------------------------------------+
176+
| OS | Location |
177+
+==============+===========================================================+
178+
| Linux | ``$XDG_CONFIG_HOME/openmw/`` or ``$HOME/.config/openmw/`` |
179+
+--------------+-----------------------------------------------------------+
180+
| Mac | ``$HOME/Library/Preferences/openmw/`` |
181+
+--------------+-----------------------------------------------------------+
182+
| Windows | ``Documents\My Games\OpenMW\`` |
183+
+--------------+-----------------------------------------------------------+
184+
185+
:``?userdata?``: Platform-dependent:
186+
187+
+--------------+--------------------------------------------------------------+
188+
| OS | Location |
189+
+==============+==============================================================+
190+
| Linux | ``$XDG_DATA_HOME/openmw/`` or ``$HOME/.local/share/openmw/`` |
191+
+--------------+--------------------------------------------------------------+
192+
| Mac | ``$HOME/Library/Application Support/openmw/`` |
193+
+--------------+--------------------------------------------------------------+
194+
| Windows | ``Documents\My Games\OpenMW\`` |
195+
+--------------+--------------------------------------------------------------+
196+
197+
:``?global?``: Platform-dependent:
198+
199+
+--------------+-------------------------------------------------------------------+
200+
| OS | Location |
201+
+==============+===================================================================+
202+
| Linux | Chosen by the downstream packager, typically ``/usr/share/games`` |
203+
+--------------+-------------------------------------------------------------------+
204+
| Mac | ``/Library/Application Support/`` |
205+
+--------------+-------------------------------------------------------------------+
206+
| Windows | Not applicable |
207+
+--------------+-------------------------------------------------------------------+
207208

208209
Examples
209210
--------

0 commit comments

Comments
 (0)