Resoniteディレクトリの移動と削除について

From Resonite Wiki
Revision as of 03:55, 10 October 2025 by Yoshi1123 (talk | contribs) (Created page with "キャッシュとデータのパスを探してください。これらの場所を見つける方法については、データとキャッシュディレクトリページに記載されています。")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

データディレクトリおよびキャッシュディレクトリは、既定の場所以外のディレクトリに移動することが可能です。これは、整理目的や、別のファイルシステムへ移動することで特定のファイルシステム上の容量を節約するために行う場合があります。

これらのディレクトリを移動せずに削除することもできます。キャッシュおよびデータディレクトリを削除する主な理由は以下の通りです:

  • 予期せずキャッシュサイズが肥大化した場合に、空き容量を確保したいとき。
  • ローカルデータベースが非常に大きくなると動作が遅くなるため、それを高速化したいとき。
  • 予期せぬ問題を解決するため。もしこれが削除の理由である場合、根本的な問題が存在する可能性が高いため、本来はそちらを調査するべきですが、データベースの削除が最後の手段となる場合もあります。

注意事項

データディレクトリとキャッシュディレクトリは相互に関連しており、ローカルデータベースはキャッシュを参照する際に絶対パスを使用します。キャッシュのみを削除する場合でも、データベースのリンク切れを防ぐため、両方のディレクトリを削除する必要があります。データディレクトリを削除すると以下のような影響が生じます:

  1. ログアウト状態になります。パスワードを把握しておき、必要であれば二要素認証デバイスを手元に用意しておいてください。
  2. ローカルホームが消去されます。保存しておきたいものがある場合は、クラウドにバックアップを取っておいてください。
  3. 同期が完了していないローカルレコードはすべて削除されます。同期の問題が発生していて途中の進捗を失いたくない場合は、続行前に同期エラーのページを参照して問題を解決してください。
  4. マシンIDがリセットされます。
  5. もう一度チュートリアルを行う必要があります。これは、-SkipIntroTutorial コマンドライン引数を使用してスキップできます。

キャッシュおよびデータパスの削除

キャッシュおよびデータパスを削除する手順は簡単です。

  1. キャッシュとデータのパスを探してください。これらの場所を見つける方法については、データとキャッシュディレクトリページに記載されています。
  2. 該当する2つのフォルダを削除します。

Relocating cache & data paths

An example of custom launch options where the cache path is relocated to D:\Temporary files\ResoniteCache.

For the Steam build, the relocation process is as follows:

  1. Navigate to Resonite in your Steam library
  2. Click the gear icon to the right underneath the banner, then choose "Properties..."
  3. In the "Launch options" section, there is a text box for custom launch options.
    • To change the data path, add the text -DataPath C:\Path\To\New\Data\Folder
    • To change the cache path, add the text -CachePath C:\Path\To\New\Cache\Folder
    • If the path contains a space, it must be surrounded by double quotes, such as -DataPath "D:\Example Path\With Spaces"
    • Both options can be specified in the same textbox so long as they are separated by a space.
  4. Close the window to save changes.
  5. Delete the old cache and data directories. To find where these directories are, see the data and cache directories page.

If launching Resonite outside of Steam, then these options are appended to the command line of the Resonite.exe executable that you run.

These arguments must be present at all times or else Resonite will revert back to the default directories.