2015-06-24 15:36:36 +02:00
|
|
|
<!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>
|
2015-06-24 15:36:36 +02:00
|
|
|
<body>
|
|
|
|
<div id="backlink"><a href="help.html">Back to main help page</a></div>
|
|
|
|
<h1><a name="top">Guide: Chatty directories and files</a></h1>
|
|
|
|
<p>
|
2015-08-10 21:25:24 +02:00
|
|
|
<a href="#files">Files/Directory structure</a> |
|
2015-06-24 15:36:36 +02:00
|
|
|
<a href="#backup">Backup</a>
|
|
|
|
</p>
|
|
|
|
<p>Learn what directories and files Chatty creates/uses.</p>
|
2015-08-10 21:25:24 +02:00
|
|
|
|
|
|
|
<h2><a name="files">Files/Directory structure</a></h2>
|
2015-06-24 15:36:36 +02:00
|
|
|
<h3>Settings Directory</h3>
|
2015-08-10 21:25:24 +02:00
|
|
|
<p>The settings directory by default is in your user home directory in a
|
2015-06-24 15:36:36 +02:00
|
|
|
subfolder called <code>.chatty</code>. If you use the <code>-cd</code>
|
|
|
|
commandline parameter, then the settings directory is the current Working
|
|
|
|
Directory.</p>
|
2015-08-10 21:25:24 +02:00
|
|
|
|
|
|
|
<p>You can use commandline parameters by <a href="help-guide_create_shortcut.html">creating a shortcut</a> and setting the
|
2015-06-24 15:36:36 +02:00
|
|
|
target to something like <code>javaw.exe -jar "D:\Chatty\Chatty.jar" -cd</code>.</p>
|
|
|
|
|
2015-08-10 21:25:24 +02:00
|
|
|
<p>Use the command <code>/dir</code> to display and <code>/openDir</code> to
|
|
|
|
open the Settings Directory.</p>
|
|
|
|
<table class="filesT">
|
|
|
|
<tr>
|
|
|
|
<td><settings directory></td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>|-- backup</td>
|
|
|
|
<td class="fileCommentFolder">[Folder]</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-06-28 12:45:05 +02:00
|
|
|
<td>| |- backup_x_<filename></td>
|
2015-08-10 21:25:24 +02:00
|
|
|
<td class="fileComment">Setting backups</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-06-28 12:45:05 +02:00
|
|
|
<td>| |- backup_meta</td>
|
2015-08-10 21:25:24 +02:00
|
|
|
<td class="fileComment">Backups meta (last backup, numbering)</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>|-- cache</td>
|
|
|
|
<td class="fileCommentFolder">[Folder]</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-06-28 12:45:05 +02:00
|
|
|
<td>| |- <various cache files></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>
|
|
|
|
<td>|-- debuglogs</td>
|
|
|
|
<td class="fileCommentFolder">[Folder] Files intended to be read
|
|
|
|
by the user</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-06-28 12:45:05 +02:00
|
|
|
<td>| |- debug_session.log.x</td>
|
2016-04-26 21:14:25 +02:00
|
|
|
<td class="fileComment">Last session debug log (overwritten every run)</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-06-28 12:45:05 +02:00
|
|
|
<td>| |- debugx.log.x</td>
|
2016-04-26 21:14:25 +02:00
|
|
|
<td class="fileComment">Rotating debug log</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-06-28 12:45:05 +02:00
|
|
|
<td>| |- debug_ircx.log.x</td>
|
2016-04-26 21:14:25 +02:00
|
|
|
<td class="fileComment">Rotating raw IRC log (only if enabled)</td>
|
|
|
|
</tr>
|
2015-08-10 21:25:24 +02:00
|
|
|
<tr>
|
|
|
|
<td>|-- exported</td>
|
|
|
|
<td class="fileCommentFolder">[Folder] Files intended to be read
|
|
|
|
by the user</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-06-28 12:45:05 +02:00
|
|
|
<td>| |- stream_highlights.txt</td>
|
2015-08-10 21:25:24 +02:00
|
|
|
<td class="fileComment">Recorded stream highlights</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>|-- logs</td>
|
|
|
|
<td class="fileCommentFolder">[Folder]</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-06-28 12:45:05 +02:00
|
|
|
<td>| |- <channel>.log</td>
|
2015-08-10 21:25:24 +02:00
|
|
|
<td class="fileComment">Chat log files</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-06-28 12:45:05 +02:00
|
|
|
<td>|- addressbook</td>
|
2015-08-10 21:25:24 +02:00
|
|
|
<td class="fileComment">[Settings] Addressbook entries</td>
|
|
|
|
</tr>
|
2015-06-24 15:36:36 +02:00
|
|
|
<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>
|
2015-06-24 15:36:36 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-06-28 12:45:05 +02:00
|
|
|
<td>|- favoritesAndHistory</td>
|
2015-08-10 21:25:24 +02:00
|
|
|
<td class="fileComment">[Settings] Channel History/Favorites</td>
|
2015-06-24 15:36:36 +02:00
|
|
|
</tr>
|
|
|
|
<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>
|
2015-06-24 15:36:36 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-06-28 12:45:05 +02:00
|
|
|
<td>|- statusPresets</td>
|
2015-08-10 21:25:24 +02:00
|
|
|
<td class="fileComment">[Settings] Stream Title/Game presets (Admin Dialog)</td>
|
2015-06-24 15:36:36 +02:00
|
|
|
</tr>
|
2015-08-10 21:25:24 +02:00
|
|
|
|
2015-06-24 15:36:36 +02:00
|
|
|
</table>
|
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
|
|
|
|
usually the directory the program is started from. In some cases,
|
|
|
|
depending on how Chatty is started, this may point to a different
|
|
|
|
directory, which can cause issues.</p>
|
|
|
|
|
|
|
|
<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><working directory></td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
2015-06-24 15:36:36 +02:00
|
|
|
<tr>
|
2015-08-10 21:25:24 +02:00
|
|
|
<td>|-- sounds</td>
|
|
|
|
<td class="fileCommentFolder">[Folder] Sound files</td>
|
2015-06-24 15:36:36 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-06-28 12:45:05 +02:00
|
|
|
<td>| |- <sound>.wav</td>
|
2015-08-10 21:25:24 +02:00
|
|
|
<td class="fileComment">.wav files</td>
|
2015-06-24 15:36:36 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-08-10 21:25:24 +02:00
|
|
|
<td>|-- img</td>
|
|
|
|
<td class="fileCommentFolder">[Folder] Image files for custom usericons</td>
|
2015-06-24 15:36:36 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-06-28 12:45:05 +02:00
|
|
|
<td>| |- <various images></td>
|
2015-08-10 21:25:24 +02:00
|
|
|
<td class="fileComment">.png files</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-06-28 12:45:05 +02:00
|
|
|
<td>|- JIntellitype.dll</td>
|
2015-08-10 21:25:24 +02:00
|
|
|
<td class="fileComment">DLL for global hotkey support</td>
|
2015-06-24 15:36:36 +02:00
|
|
|
</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>
|
|
|
|
|
2015-06-24 15:36:36 +02:00
|
|
|
<h2><a name="backup">Backup</a></h2>
|
|
|
|
<p>Chatty performs an automatic backup (enabled by default) everytime it is
|
|
|
|
started (if at least the number of days as defined in the settings have passed,
|
|
|
|
by default one). It copies the setting files (except login) to the backup folder
|
|
|
|
in the settings directory, increasing the numbering of the files with every
|
|
|
|
backup. It only makes as many backups as defined in the settings and then
|
|
|
|
starts over with the first number, rotating the files.</p>
|
|
|
|
|
|
|
|
<p>This is supposed to make recovery of settings easier in case they are not
|
|
|
|
read or written correctly and thus lost (which shouldn't usually
|
|
|
|
happen). In that case you can manually copy/rename the lost files from
|
|
|
|
a backup (just looks for the most recent one based on the change date
|
|
|
|
that looks fine).</p>
|
|
|
|
|
|
|
|
<p><em>If some settings are important to you this can help, but you
|
|
|
|
shouldn't rely on it. Always make your own backups, best on a
|
|
|
|
different device!</em></p>
|
2015-08-10 21:25:24 +02:00
|
|
|
|
|
|
|
<h3>Restore backup</h3>
|
|
|
|
<p>If you lost your setting files (or some of them) but still have
|
|
|
|
a backup, you can manually copy the backup to restore it.</p>
|
|
|
|
<ol>
|
|
|
|
<li>Prepare & Locate Backup Folder
|
|
|
|
<ul>
|
|
|
|
<li>Enter <code>/openBackupDir</code> to open the Backup folder
|
|
|
|
(or enter <code>/dir</code> and navigate to the Backup folder
|
|
|
|
manually).</li>
|
|
|
|
<li>There should be several files in the format <code>backup_x_<name></code>,
|
|
|
|
these represent the separate batches of backups.</li>
|
2016-06-28 12:45:05 +02:00
|
|
|
<li>After that, make sure Chatty is not running. Settings are saved when
|
|
|
|
Chatty is closed, so if you change setting files manually
|
|
|
|
while it is running your manual changes would just be
|
|
|
|
overwritten once you close Chatty.</li>
|
2015-08-10 21:25:24 +02:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li>Find latest backup and rename
|
|
|
|
<ul>
|
|
|
|
<li>Sort the files by modification date in your file browser and
|
|
|
|
choose the latest batch that seems like it might work (e.g.
|
|
|
|
files that are not 0KB, although the addressbook might be if
|
|
|
|
you never used it).</li>
|
|
|
|
<li>Rename the files you want to restore from <code>backup_x_<name></code>
|
|
|
|
to <code><name></code> (for example <code>backup_2_settings</code>
|
|
|
|
to <code>settings</code>). You can ignore the <code>backup_meta</code> file.</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li>Move renamed files
|
|
|
|
<ul>
|
|
|
|
<li>Copy or move the renamed files to the parent folder (the one
|
|
|
|
you get from <code>/dir</code> or <code>/openDir</code> commands),
|
|
|
|
overwriting any existing setting files.</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li>After you are done, start Chatty again and the settings
|
|
|
|
should be restored.</li>
|
|
|
|
</ol>
|
2015-06-24 15:36:36 +02:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|