Data and cache directories: Difference between revisions

From Resonite Wiki
m fix up a path copypaste
m re-fix the link back : (
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Resonite has '''two''' locations, '''outside of the main installation directory''' which store files and folders that help Resonite run:
<languages/>
# Cache - Store's temporary copies of assets and other items that are downloaded or generated while you are using Resonite.
# Database/Data - Stores a local copy of your items and things that you are working on, your login status and settings.
Note that it path is shown inside Resonite Log, in the first few lines saying "DataPath=" and "CachePath=" if those default location does not exist for you.


= Folder Default Locations = <!--T:2-->
<translate>
== Cache ==
<!--T:1-->
By default the cache can be found in: <code>%USERPROFILE%\AppData\Local\Temp\Yellow Dog Man Studios\Resonite</code>
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''.
</translate>


<translate>
== Cache path == <!--T:2-->
</translate>
<translate>
<!--T:3-->
<!--T:3-->
To get there easily:
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.
# Push Windows Key + R
</translate>
# Type/Copy this <code>%USERPROFILE%\AppData\Local\Temp\Yellow Dog Man Studios\Resonite</code> into the Run box that appears
# Press Enter or the Ok button


== Database/Data == <!--T:4-->
<translate>
By default the data folder can be found in: <code>%USERPROFILE%\AppData\LocalLow\Yellow Dog Man Studios\</code>
== Data path == <!--T:4-->
</translate>


<translate>
<!--T:5-->
<!--T:5-->
To get there easily:
The data path mainly houses the [[local database]], the key used to unlock the local database, and a miscellaneous asset cache.
# Push Windows Key + R
</translate>
# Type/Copy this <code>%USERPROFILE%\AppData\LocalLow\Yellow Dog Man Studios\</code> into the Run box that appears
 
# Press Enter or the Ok button
== Location of folders ==
 
<translate>
<!--T:6-->
The location of the cache and data paths on any specific machine can always be found in the first few lines of the [[Log files|Resonite log file]]:
</translate>
 
<pre>
ℹ️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
</pre>
 
<translate>
=== Default locations === <!--T:8-->
</translate>
 
<translate>
==== Cache path ==== <!--T:9-->
</translate>
 
<translate>
<!--T:10-->
On Windows, the default cache directory is <code>%USERPROFILE%\AppData\Local\Temp\Yellow Dog Man Studios\Resonite</code>. To get to this path easily:
</translate>
 
# <translate><!--T:11--> Push Windows Key + R</translate>
# <translate><!--T:12--> Enter <code>%USERPROFILE%\AppData\Local\Temp\Yellow Dog Man Studios\Resonite</code> into the Run box that appears</translate>
# <translate><!--T:13--> Press Enter or the Ok button</translate>
 
<translate>
<!--T:14-->
On Linux, the default cache directory is <code>$XDG_CACHE_HOME/Yellow Dog Man Studios/Cache</code>. If <code>[https://specifications.freedesktop.org/basedir-spec/latest/#variables XDG_CACHE_HOME]</code> is not defined, it will default to <code>$HOME/.cache</code>. If Resonite is launched through [https://flathub.org/apps/com.valvesoftware.Steam Flatpak Steam], then <code>XDG_CACHE_HOME</code> will be <code>$HOME/.var/app/com.valvesoftware.Steam/cache</code>.
</translate>


<translate>
==== Data path ==== <!--T:15-->
</translate>


= Folder Default Locations On Linux =
<translate>
<!--T:16-->
On Windows, the default data directory is <code>%USERPROFILE%\AppData\LocalLow\Yellow Dog Man Studios\Resonite</code>. To get to this path easily:
</translate>


== Cache ==
# <translate><!--T:17--> Push Windows Key + R</translate>
By default cache can be found in <code>$XDG_CACHE_HOME/Yellow\ Dog\ Man\ Studios/Cache/</code>
# <translate><!--T:18--> Enter <code>%USERPROFILE%\AppData\LocalLow\Yellow Dog Man Studios\Resonite</code> into the Run box that appears</translate>
# <translate><!--T:19--> Press Enter or the Ok button</translate>


By default XDG_CACHE_HOME should be <code>/home/$USER/.cache/</code>  
<translate>
<!--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>.
</translate>


If you're using Steam in flatpak, XDG_CACHE_HOME should be <code>/home/$USER/.var/app/com.valvesoftware.Steam/cache/</code>
<translate>
== Deletion and relocation == <!--T:23-->
</translate>


== Database/Data ==
<translate>
By default cache can be found in <code>$XDG_DATA_HOME/Yellow\ Dog\ Man\ Studios/Data/</code>
<!--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>


By default XDG_DATA_HOME should be <code>/home/$USER/.local/share/</code>  
<translate>
== See also == <!--T:21-->
</translate>


If you're using Steam in flatpak, XDG_DATA_HOME should be <code>/home/$USER/.var/app/com.valvesoftware.Steam/data</code>
* <translate><!--T:22--> [[Log files]] for another directory used by resonite that can be specified by the user.</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.