diff --git a/docs/source/reference/modding/paths.rst b/docs/source/reference/modding/paths.rst index c0f7d4cea6..2fdedaa90e 100644 --- a/docs/source/reference/modding/paths.rst +++ b/docs/source/reference/modding/paths.rst @@ -21,12 +21,15 @@ Configuration files and log files | Mac | ``$HOME/Library/Preferences/openmw`` | +--------------+---------------+-------------------------------------------------------------------------------+ | Windows | File Explorer | ``Documents\My Games\OpenMW`` | -| | | | +| +---------------+-------------------------------------------------------------------------------+ | | PowerShell | ``Join-Path ([environment]::GetFolderPath("mydocuments")) "My Games\OpenMW"`` | -| | | | +| +---------------+-------------------------------------------------------------------------------+ | | Example | ``C:\Users\Username\Documents\My Games\OpenMW`` | +--------------+---------------+-------------------------------------------------------------------------------+ +.. note:: + Flatpak sets ``$XDG_CONFIG_HOME`` to ``$HOME/.var/app/$FLATPAK_ID/config``, so these files will be at ``$HOME/.var/app/org.openmw.OpenMW/config/openmw`` if you use the Flatpak. + Savegames --------- @@ -38,12 +41,15 @@ Savegames | Mac | ``$HOME/Library/Application\ Support/openmw/saves`` | +--------------+---------------+-------------------------------------------------------------------------------------+ | Windows | File Explorer | ``Documents\My Games\OpenMW\saves`` | -| | | | +| +---------------+-------------------------------------------------------------------------------------+ | | PowerShell | ``Join-Path ([environment]::GetFolderPath("mydocuments")) "My Games\OpenMW\saves"`` | -| | | | +| +---------------+-------------------------------------------------------------------------------------+ | | Example | ``C:\Users\Username\Documents\My Games\OpenMW\saves`` | +--------------+---------------+-------------------------------------------------------------------------------------+ +.. note:: + Flatpak sets ``$XDG_DATA_HOME`` to ``$HOME/.var/app/$FLATPAK_ID/data``, so saves will be at ``$HOME/.var/app/org.openmw.OpenMW/data/openmw/saves`` if you use the Flatpak. + Screenshots ----------- @@ -55,12 +61,15 @@ Screenshots | Mac | ``$HOME/Library/Application\ Support/openmw/screenshots`` | +--------------+---------------+-------------------------------------------------------------------------------------------+ | Windows | File Explorer | ``Documents\My Games\OpenMW\screenshots`` | -| | | | +| +---------------+-------------------------------------------------------------------------------------------+ | | PowerShell | ``Join-Path ([environment]::GetFolderPath("mydocuments")) "My Games\OpenMW\screenshots"`` | -| | | | +| +---------------+-------------------------------------------------------------------------------------------+ | | Example | ``C:\Users\Username\Documents\My Games\OpenMW\screenshots`` | +--------------+---------------+-------------------------------------------------------------------------------------------+ +.. note:: + Flatpak sets ``$XDG_DATA_HOME`` to ``$HOME/.var/app/$FLATPAK_ID/data``, so screenshots will be at ``$HOME/.var/app/org.openmw.OpenMW/data/openmw/screenshots`` if you use the Flatpak. + Custom configuration directories ================================ @@ -184,6 +193,9 @@ Tokens are used in the `Default paths`_. | Windows | ``Documents\My Games\OpenMW\`` | +--------------+-----------------------------------------------------------+ +.. note:: + Flatpak sets ``$XDG_CONFIG_HOME`` to ``$HOME/.var/app/$FLATPAK_ID/config``, so ``?userconfig?`` will mean ``$HOME/.var/app/org.openmw.OpenMW/config/openmw/`` if you use the Flatpak. + :``?userdata?``: Platform-dependent: +--------------+--------------------------------------------------------------+ @@ -196,6 +208,9 @@ Tokens are used in the `Default paths`_. | Windows | ``Documents\My Games\OpenMW\`` | +--------------+--------------------------------------------------------------+ +.. note:: + Flatpak sets ``$XDG_DATA_HOME`` to ``$HOME/.var/app/$FLATPAK_ID/data``, so ``?userdata?`` will mean ``$HOME/.var/app/org.openmw.OpenMW/data/openmw/`` if you use the Flatpak. + :``?global?``: Platform-dependent: +--------------+-------------------------------------------------------------------+