chatty.github.io/help/help-guide_folders.html

277 lines
11 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<title>Chatty Help</title>
<link rel="stylesheet" type="text/css" href="style.css" />
2015-08-10 21:25:24 +02:00
<style type="text/css">
.fileComment {
color: gray;
}
.fileCommentFolder {
}
.filesT {
font-family: Monospace;
margin: 10px 0 14px 0;
}
.filesT td {
margin: 0;
padding: 0;
padding-right: 5px;
padding-top: 2px;
}
</style>
<body>
<div id="backlink"><a href="help.html">Back to main help page</a></div>
2019-10-07 21:12:57 +02:00
<h1><a name="top">Guide: Settings and other files</a></h1>
<p>
2019-10-07 21:12:57 +02:00
<a href="#files">Files / Directory structure</a> |
2020-01-14 08:54:27 +01:00
<a href="#uninstall">Uninstall</a> |
<a href="#backup">Backup</a>
</p>
<p>Learn what directories and files Chatty creates/uses.</p>
2015-08-10 21:25:24 +02:00
2019-10-07 21:12:57 +02:00
<h2><a name="files">Files / Directory structure</a></h2>
2023-02-17 07:47:34 +01:00
<h3><a name="settings-dir">Settings Directory</a></h3>
2015-08-10 21:25:24 +02:00
<p>The settings directory by default is in your user home directory in a
2019-10-07 21:12:57 +02:00
subdirectory called <code>.chatty</code>. You can enter the command
<code>/dir</code> to display and <code>/openDir</code> to open the
settings directory that Chatty currently uses.</p>
2020-01-14 08:54:27 +01:00
<p>If you want to replace, copy or delete setting files in any way, make
2020-05-14 15:39:09 +02:00
sure to close Chatty before doing so (the files may be overwritten
at any time while Chatty is running).</p>
2015-08-10 21:25:24 +02:00
2019-10-07 21:12:57 +02:00
<p>You can change the settings directory via different ways:</p>
2017-12-26 18:26:29 +01:00
2019-10-07 21:12:57 +02:00
<ul>
<li>The <code>-cd</code> launch option changes the settings
directory to the current <a href="#wdir">working directory</a>.</li>
<li>The <code>-d &lt;dir&gt;</code> launch option changes the settings
directory to the specified directory (which must already exist).
Example: <code>-d D:\program settings\Chatty</code> (no quotes)</li>
2020-10-17 22:19:41 +02:00
<li>The <code>-portable</code> launch option changes the settings
directory to a directory called <code>portable_settings</code>
created next to the <code>Chatty.jar</code>.</li>
2019-10-07 21:12:57 +02:00
</ul>
<p>You can use launch options by adding them to <a href="help-guide_create_shortcut.html">a shortcut</a>
or (if you're using the standalone version) by adding it to the <a href="help-standalone.html#cfg-launch">Chatty.cfg</a>.</p>
2018-10-26 20:06:54 +02:00
2015-08-10 21:25:24 +02:00
<table class="filesT">
<tr>
<td>&lt;settings directory&gt;</td>
<td></td>
</tr>
<tr>
<td>|-- backup</td>
2019-10-07 21:12:57 +02:00
<td class="fileCommentFolder">[Directory]</td>
2015-08-10 21:25:24 +02:00
</tr>
<tr>
2020-05-14 15:39:09 +02:00
<td>|&nbsp; &nbsp;|- auto_*</td>
<td class="fileComment">Automatic setting <a href="#backup">backups</a></td>
2015-08-10 21:25:24 +02:00
</tr>
<tr>
2020-05-14 15:39:09 +02:00
<td>|&nbsp; &nbsp;|- manual_*</td>
<td class="fileComment">Manual setting backups</td>
</tr>
<tr>
<td>|&nbsp; &nbsp;|- session_*</td>
<td class="fileComment">Session setting backups</td>
</tr>
<tr>
<td>|&nbsp; &nbsp;|- <span class="del">backup_*</span></td>
<td class="fileComment">Old backups (no longer used)</td>
2015-08-10 21:25:24 +02:00
</tr>
2019-10-07 21:12:57 +02:00
<tr>
<td>|</td>
<td></td>
</tr>
2015-08-10 21:25:24 +02:00
<tr>
<td>|-- cache</td>
2023-02-17 07:47:34 +01:00
<td class="fileCommentFolder">[Directory] (<a href="#customize">customize</a>)</td>
2015-08-10 21:25:24 +02:00
</tr>
<tr>
2019-10-07 21:12:57 +02:00
<td>|&nbsp; &nbsp;|- &lt;cache files&gt;</td>
2015-08-10 21:25:24 +02:00
<td class="fileComment">Cached emotes/image files</td>
</tr>
2016-04-26 21:14:25 +02:00
<tr>
2019-10-07 21:12:57 +02:00
<td>|</td>
<td></td>
2016-04-26 21:14:25 +02:00
</tr>
<tr>
2019-10-07 21:12:57 +02:00
<td>|-- debuglogs</td>
2023-02-17 07:47:34 +01:00
<td class="fileCommentFolder">[Directory] (<a href="#customize">customize</a>)</td>
2016-04-26 21:14:25 +02:00
</tr>
<tr>
2019-10-07 21:12:57 +02:00
<td>|&nbsp; &nbsp;|- &lt;debug files&gt;</td>
<td class="fileComment">See <a href="help-report_issue.html#log">Debug Log</a></td>
2016-04-26 21:14:25 +02:00
</tr>
<tr>
2019-10-07 21:12:57 +02:00
<td>|</td>
<td></td>
2016-04-26 21:14:25 +02:00
</tr>
2015-08-10 21:25:24 +02:00
<tr>
<td>|-- exported</td>
2023-02-17 07:47:34 +01:00
<td class="fileCommentFolder">[Directory] (<a href="#customize">customize</a>)</td>
2019-10-07 21:12:57 +02:00
</tr>
<tr>
<td>|&nbsp;&nbsp;&nbsp;|-&nbsp;stream_highlights.txt</td>
<td class="fileComment">Recorded <a href="help.html#streamhighlights">stream highlights</a></td>
2015-08-10 21:25:24 +02:00
</tr>
2023-02-17 07:47:34 +01:00
<tr>
<td>|&nbsp;&nbsp;&nbsp;|-&nbsp;&lt;exported text&gt;</td>
<td class="fileComment"><a href="help.html#commands-system">/exportText command</a> output</td>
</tr>
2015-08-10 21:25:24 +02:00
<tr>
2019-10-07 21:12:57 +02:00
<td>|</td>
<td></td>
2015-08-10 21:25:24 +02:00
</tr>
<tr>
<td>|-- logs</td>
2023-02-17 07:47:34 +01:00
<td class="fileCommentFolder">[Directory] (<a href="#customize">customize</a>)</td>
2015-08-10 21:25:24 +02:00
</tr>
<tr>
2019-10-07 21:12:57 +02:00
<td>|&nbsp; &nbsp;|- &lt;log files&gt;</td>
2015-08-10 21:25:24 +02:00
<td class="fileComment">Chat log files</td>
</tr>
2019-10-07 21:12:57 +02:00
<tr>
<td>|</td>
<td></td>
</tr>
<tr>
2016-06-28 12:45:05 +02:00
<td>|- login</td>
2015-08-10 21:25:24 +02:00
<td class="fileComment">[Settings] Your login data (keep this secure)</td>
</tr>
2020-05-14 15:39:09 +02:00
<tr>
2016-06-28 12:45:05 +02:00
<td>|- settings</td>
2015-08-10 21:25:24 +02:00
<td class="fileComment">[Settings] Main Settings File</td>
</tr>
2020-05-14 15:39:09 +02:00
<tr>
<td>|- <span class="del">addressbook</span></td>
<td class="fileComment">[Settings] <a href="help-addressbook.html">Addressbook</a> entries [deprecated]</td>
</tr>
<tr>
<td>|- <span class="del">favoritesAndHistory</span></td>
<td class="fileComment">[Settings] Channel History/Favorites [deprecated]</td>
</tr>
<tr>
2019-10-07 21:12:57 +02:00
<td>|- <span class="del">statusPresets</span></td>
2018-10-26 20:06:54 +02:00
<td class="fileComment">[Settings] Stream Title/Game presets (Admin Dialog) [deprecated]</td>
</tr>
2015-08-10 21:25:24 +02:00
</table>
2015-08-10 21:25:24 +02:00
2018-04-02 02:28:44 +02:00
<p><em>Note:</em> <code>favoritesAndHistory</code> and <code>statusPresets</code>
2020-05-14 15:39:09 +02:00
have been merged into <code>settings</code> as of v0.9.1.
The <code>addressbook</code> has been merged into <code>settings</code>
as of v0.12 (but may still be written to under some circumstances).</p>
2018-04-02 02:28:44 +02:00
2015-08-10 21:25:24 +02:00
<h3><a name="wdir">Working Directory</a></h3>
2016-10-23 17:05:29 +02:00
<p>This directory is associated with Chatty when you start it. This is
2020-10-17 22:19:41 +02:00
usually the directory the program is started from. When using the
standalone (Chatty.exe) this is always set to the "app" directory of
the standalone bundle. In some cases, depending on how Chatty is
started, this may point to a different directory.</p>
2016-10-23 17:05:29 +02:00
<p>You can change the Working Directory by specifying it when you start
Chatty, usually by <a href="help-guide_create_shortcut.html">creating a shortcut</a>
and changing what is defined under <code>Run in</code> in the shortcut
settings. Make sure this points to the same folder the <code>Chatty.jar</code>
is in (or something else if you want to customize it, just make sure the
files you need are there).</p>
2015-08-10 21:25:24 +02:00
<p>Use the command <code>/wdir</code> to display and <code>/openWdir</code>
to open the Working Directory.</p>
<table class="filesT">
<tr>
<td>&lt;working directory&gt;</td>
<td></td>
</tr>
<tr>
2015-08-10 21:25:24 +02:00
<td>|-- sounds</td>
2023-02-17 07:47:34 +01:00
<td class="fileCommentFolder">[Folder] Sound files for Notifications (<a href="#customize">customize</a>)</td>
</tr>
<tr>
2016-06-28 12:45:05 +02:00
<td>|&nbsp; &nbsp;|- &lt;sound&gt;.wav</td>
2015-08-10 21:25:24 +02:00
<td class="fileComment">.wav files</td>
</tr>
<tr>
2015-08-10 21:25:24 +02:00
<td>|-- img</td>
2023-02-17 07:47:34 +01:00
<td class="fileCommentFolder">[Folder] Image files for Custom Badges (<a href="#customize">customize</a>)</td>
</tr>
<tr>
2016-06-28 12:45:05 +02:00
<td>|&nbsp;&nbsp;&nbsp;|-&nbsp;&lt;various&nbsp;images&gt;</td>
2015-08-10 21:25:24 +02:00
<td class="fileComment">.png files</td>
</tr>
</table>
2015-08-10 21:25:24 +02:00
<h3>JAR Location</h3>
<p>This is where the Chatty.jar is located and is used for loading libraries
that Chatty uses.</p>
2023-02-17 07:47:34 +01:00
<h3><a name="customize">Customize</a></h3>
<p>Some folders can be changed:</p>
<ul>
<li>Settings directory: See <a href="#settings-dir">Settings Directory</a>
(this one also affects the default location of some other folders)</li>
<li>Debuglogs: Using the <code>-debugdir</code> <a href="help.html#launch">launch option</a></li>
<li>Logs: In the Settings under "Log to file"</li>
<li>Cache: In the Settings under "Other"</li>
<li>Exported files: In the Settings under "Other"</li>
<li>Images: In the Settings under "Other"</li>
<li>Sounds: In the Settings under "Notifications"</li>
</ul>
<p>Changing folders usually requires a restart of Chatty to be properly
applied.</p>
2020-01-14 08:54:27 +01:00
<h2><a name="uninstall">Uninstall</a></h2>
<p>To remove Chatty from your computer:</p>
<ul>
<li>Locate your settings directory by entering <code>/openDir</code> in
Chatty. If you customized your Chatlog or Sounds directory you may
want to find those in the Settings.</li>
<li>Close Chatty.</li>
<li>Delete the directory where Chatty is installed (where the <code>Chatty.exe</code>
or <code>Chatty.jar</code> are located) and the settings directory.</li>
</ul>
<h2><a name="backup">Backup</a></h2>
2020-05-14 15:39:09 +02:00
<p>Setting backups can provide a way to recover your settings if the
setting weren't written or loaded properly or to reset your settings
to a previous state.</p>
2020-05-14 15:39:09 +02:00
<p>Chatty can perform these types of backups:</p>
<ul>
<li>Session backup (<code>session_*</code>): A copy of the currenty written settings, which is
mostly intended as a fallback if the main settings file cannot be
written. This changes often, so loading it only makes sense
immediately after starting Chatty, before settings are saved again.</li>
<li>Backup on start (<code>auto_*</code>): A copy of the settings file, made when Chatty is
started. By default a backup is made no more often than one day
apart and only a limited number of backups are kept.</li>
<li>Manual backup (<code>manual_*</code>): You can create a manual backup via "Main - Save..".
Manual backups are never automatically deleted.</li>
</ul>
<p><em>Note:</em> The <code>login</code> settings file is not backed up.
For a safer backup, make your own backups on a different
device.</p>
<p>To load an automatic backup go to "Main - Settings - Main - View Backups"
and follow the instructions. If you want to restore a manual backup you made of the
<code>settings</code> file, simply overwrite the current <code>settings</code>
file while Chatty is not running.</p>
<p>You can view the backup directory directly by entering <code>/openBackupDir</code>
or <code>/showBackupDir</code> into the Chatty inputbox. Note that files
in the backup directory starting with <code>auto_</code> may be automatically
deleted.</p>
</body>
</html>