Data and cache directories: Difference between revisions

From Resonite Wiki
m removed arch wiki link in favour of distro agnostic one
m re-fix the link back : (
 
(3 intermediate revisions by the same user not shown)
Line 37: Line 37:
LocalePath: /home/user/.local/share/Steam/steamapps/common/Resonite/Locale
LocalePath: /home/user/.local/share/Steam/steamapps/common/Resonite/Locale
</pre>
</pre>
<translate>
<!--T:7-->
Custom locations for the data and cache paths can be set with the <code>-DataPath</code> and <code>-CachePath</code> [[command line arguments]]. To avoid potential conflicts, do <strong>not</strong> move over the previous folders to any new location. More information can be found on the [[relocating Resonite folders]] page.
</translate>


<translate>
<translate>
Line 81: Line 76:
<!--T:20-->
<!--T:20-->
On Linux, the default data directory is <code>$XDG_DATA_HOME/Yellow Dog Man Studios/Data</code>. If <code>[https://specifications.freedesktop.org/basedir-spec/latest/#variables XDG_DATA_HOME]</code> is not defined, it will default to <code>$HOME/.local/share</code>. If Resonite is launched through [https://flathub.org/apps/com.valvesoftware.Steam Flatpak Steam], then <code>XDG_DATA_HOME</code> will be <code>$HOME/.var/app/com.valvesoftware.Steam/data</code>.
On Linux, the default data directory is <code>$XDG_DATA_HOME/Yellow Dog Man Studios/Data</code>. If <code>[https://specifications.freedesktop.org/basedir-spec/latest/#variables XDG_DATA_HOME]</code> is not defined, it will default to <code>$HOME/.local/share</code>. If Resonite is launched through [https://flathub.org/apps/com.valvesoftware.Steam Flatpak Steam], then <code>XDG_DATA_HOME</code> will be <code>$HOME/.var/app/com.valvesoftware.Steam/data</code>.
</translate>
<translate>
== Deletion and relocation == <!--T:23-->
</translate>
<translate>
<!--T:24-->
Sometimes, it may be desired or required to relocate or delete these directories. Relocation is done with a [[command line argument]], and deletion is done manually. More information on relocation and deletion can be found on the [[relocating and deleting Resonite directories]] page.
</translate>
</translate>



Latest revision as of 17:09, 25 August 2025

Resonite has two directories outside of the main installation directory which store files and folders that help it run. These directories are the cache path and data path.

Cache path

The cache path contains the Resonite cache, or copies of assets downloaded or generated while Resonite is open. This allows for quick retrieval of previously seen assets without the need to re-download or re-generate them.

Data path

The data path mainly houses the local database, the key used to unlock the local database, and a miscellaneous asset cache.

Location of folders

The location of the cache and data paths on any specific machine can always be found in the first few lines of the Resonite log file:

ℹ️11:23:46 PM.388 (FPS: 0):	AppPath: /home/user/.local/share/Steam/steamapps/common/Resonite
DataPath: /home/user/.local/share/Yellow Dog Man Studios/Data
CachePath: /home/user/.cache/Yellow Dog Man Studios/Cache
LocalePath: /home/user/.local/share/Steam/steamapps/common/Resonite/Locale

Default locations

Cache path

On Windows, the default cache directory is %USERPROFILE%\AppData\Local\Temp\Yellow Dog Man Studios\Resonite. To get to this path easily:

  1. Push Windows Key + R
  2. Enter %USERPROFILE%\AppData\Local\Temp\Yellow Dog Man Studios\Resonite into the Run box that appears
  3. Press Enter or the Ok button

On Linux, the default cache directory is $XDG_CACHE_HOME/Yellow Dog Man Studios/Cache. If XDG_CACHE_HOME is not defined, it will default to $HOME/.cache. If Resonite is launched through Flatpak Steam, then XDG_CACHE_HOME will be $HOME/.var/app/com.valvesoftware.Steam/cache.

Data path

On Windows, the default data directory is %USERPROFILE%\AppData\LocalLow\Yellow Dog Man Studios\Resonite. To get to this path easily:

  1. Push Windows Key + R
  2. Enter %USERPROFILE%\AppData\LocalLow\Yellow Dog Man Studios\Resonite into the Run box that appears
  3. Press Enter or the Ok button

On Linux, the default data directory is $XDG_DATA_HOME/Yellow Dog Man Studios/Data. If XDG_DATA_HOME is not defined, it will default to $HOME/.local/share. If Resonite is launched through Flatpak Steam, then XDG_DATA_HOME will be $HOME/.var/app/com.valvesoftware.Steam/data.

Deletion and relocation

Sometimes, it may be desired or required to relocate or delete these directories. Relocation is done with a command line argument, and deletion is done manually. More information on relocation and deletion can be found on the relocating and deleting Resonite directories page.

See also

  • Log files for another directory used by resonite that can be specified by the user.