From 45135e5598d6b93333f8daf09b736d63c4071789 Mon Sep 17 00:00:00 2001
From: tduva Chatty is released, as a whole, under the GPLv3.
The source code for this program is available on
GitHub. Some of the resources that were helpful in the development of this program: This is a short guide to help you with installing Chatty and getting familiar with some of it's features. This guide will help you with installing Chatty and getting familiar with
+ some of it's features. You can download Chatty from it's Website.
- The download simply consists of a From the Chatty Website
+ you can download either a .zip-Archive which you need to extract or an
+ Installer which will guide you through the installation. How you start Chatty depends on the version you downloaded and your OS,
+ but usually you'd double-click on either the If you already have an older version of Chatty and want to update, then
- just replace all the files with the new ones in the If you want to update from an already installed older version of Chatty
+ then you may be able to simply use the built-in update function which
+ downloads the most recent installer and guides you through the update
+ process. If you update manually, then simply extract the .zip or install
+ the Installer into the same folder Chatty is already in and overwrite
+ the old files. Your settings are saved seperately in the settings directory
- and are not lost when you upgrade to a new version. The new version should normally
- automatically use the same settings without you needing to change anything.
- If you are interested in what your settings directory is,
- enter Whether you install Chatty into the same folder or not, your settings
+ are by default stored separately
+ and should stay the same when you upgrade to a new version. When you start a new version for the first time it will open the
+ Release Information, which may contain
+ information about changes that could require your attention. Please check out the Release Information for any changes in a new version that
- may require your attention. Note: If you downgrade to an older version of Chatty, some settings (that the older
- version didn't have yet) may be lost. So make sure you don't run old versions of Chatty
- without knowing what you are doing, if you have changed settings unique to newer versions. Note: If you downgrade to an older version of Chatty,
+ some settings (that the older version didn't have yet) may be lost. If you are starting Chatty for the first time, you will have to request
- login data from Twitch so Chatty can connect to chat for you and do other
- stuff like show live streams you follow.About/License
+ About / License
-Copyright (C) 2017 tduva and contributors
+Copyright (C) 2017-2018 tduva and contributors
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -32,13 +32,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
Libraries
-
Images / Other resources
@@ -63,7 +66,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
- Miscellaneous/Thanks
+ Thanks
[back to menu]
Getting Started
- Download & Installation
- .zip
-file which you should
- extract wherever you want to have Chatty. The extracted files include a
- Chatty.jar
which you should usually be able to double-click to
- start the program (if Java is installed properly). (See the help
- if Chatty won't start.)Download & Installation
+ Chatty.jar
or
+ Chatty.exe
. (See the help
+ if Chatty won't start.)Update Chatty
- .zip
.
- Basicially just unzip the .zip
into the same folder and overwrite
- all files if asked (unless you have some custom icons or sounds that have the same name).
- You can also unzip it into a new folder (just make sure you don't use the old version anymore)./openDir
in Chatty. There is also a backup
- folder in there with backups of the settings.Creating a login
In the Connect
-dialog, click on Create login..
and then Request login data
and simply follow the instructions.
Once you successfully created the login, close the dialog until you get back
@@ -64,17 +66,25 @@
selecting Close
from the context menu.
Chatting is pretty straightfoward as you would expect from any chat program, - however the inputbox has a few useful features. Enter the beginning of a name - in chat and press TAB to auto-complete the name. - Press Up-Arrow key to go back to previous stuff you entered.
+To moderate a chat, you can of course use the regular moderations commands
- like /ban
, /timeout
and so on, but a much more
- convenient method is to click on the name of a user you want to ban/timeout,
- which opens the User
-dialog, containing several moderation
- buttons as well as the recent messages of that user, so you can quickly check
- if you are actually timing out the correct user.
/ban
, /timeout
, /subscribers
+ (Hint: Use TAB-Completion).Also check out the options to pause chat and timing out users via shortcuts only.
diff --git a/help/help-guide1.html b/help/help-guide1.html index 428372c..8d1fdb8 100644 --- a/help/help-guide1.html +++ b/help/help-guide1.html @@ -38,6 +38,19 @@ yourChatty.jar
is actually located. You also need to first
create the settings folders you specify.
+ If you're using the Windows Standalone, then simply run Chatty.exe
+ instead:
"D:\Chatty\Chatty.exe" -d "D:\Chatty\settings1"
"D:\Chatty\Chatty.exe" -d "D:\Chatty\settings2"
Alternatively (with the Standalone), you can also add the -cd
+ or -d
option to the Chatty.cfg.
+ Although since there is only one Chatty.cfg
per installation,
+ it may not be as useful if you need two separate settings directories.
See also: Create Shortcut.
This applies to Windows 7, and probably other Windows versions. The info can probably also be applied to other OS with some adjustments.
@@ -22,7 +22,11 @@ without changing it for all Java programs. -Note: If you used the installer a shortcut may already have been + created for you.
+ +Create a shortcut to Java to start Chatty (for this example the
Chatty.jar
is located in D:\Chatty\
):
The javaw
part might automatically be changed into the full path
to the javaw.exe
when you save the shortcut.
For the Standalone Version you can use the same methods as detailed above
+ (for example drag and release with the right mousebutton and choose the option to create shortcut),
+ except that it simply starts the Chatty.exe
(without javaw
), for example:
+ "D:\Chatty\Chatty.exe"
Add launch options or icon:
Shortcut
tab.
javaw -jar "D:\Chatty\Chatty.jar" -cd
javaw -jar "D:\Chatty\Chatty.jar" -cd
(JAR-Version)"D:\Chatty\Chatty.exe" -cd
(Standalone)Change Icon..
and then Browse..
to
select an item to use for the Shortcut from your harddrive.
(Download Chatty icon
diff --git a/help/help-guide_folders.html b/help/help-guide_folders.html
index 2ecb33a..bc3bcca 100644
--- a/help/help-guide_folders.html
+++ b/help/help-guide_folders.html
@@ -42,7 +42,11 @@
Alternatively, the -d
parameter allows you to specify
a settings directory directly: javaw -jar "D:\Chatty\Chatty.jar" -d D:\program settings\Chatty
- (the specified directory has to exist already)
Note: You need to edit the path to the Chatty.jar
+ to where you actually have it on your computer. Also if you specify
+ a custom settings directory you must create it manually before using it.
Use the command /dir
to display and /openDir
to
open the Settings Directory.
/openBackupDir
to open the Backup folder
- (or enter /dir
and navigate to the Backup folder
+ (or enter /showBackupDir
and navigate to the Backup folder
manually).backup_x_<name>
,
these represent the separate batches of backups.For the Windows Standalone version you can add this value to the file +
For the Windows Standalone version you can add this value to the file
Chatty.cfg
located in the app
subfolder of
- the Chatty folder.
If you get an OutOfMemoryError then Java ran out of memory. This can diff --git a/help/help-releases.html b/help/help-releases.html index 59cd4a8..0f14ffc 100644 --- a/help/help-releases.html +++ b/help/help-releases.html @@ -17,6 +17,7 @@
+ 0.9.2 | 0.9.1 | 0.9 | 0.8.7 | @@ -51,7 +52,65 @@ full list of changes.
Highlights of this update include the changed Color Settings & Chat + Layout (with various options for message background colors and more), + performance improvements (especially for animated GIFs) and the new + Update Dialog.
+ ++### Chat Layout/Colors +- Improved Badge/Emote positioning and chat margins +- Added support for alternating message backgrounds and message separators +- Updated Chat Color settings, added more presets + +### More Chat +- Improved chat scrolling performance +- Improved Animated GIF performance +- Emphasize Highlight/Ignore matches +- Added tooltips to Emotes/Badges in chat +- Added support for FrankerFaceZ Supporter badge +- Improved output of Usernotice messages (Emote support for message part, output + unknown message types better) +- Combine gifted subs messages to improve performance +- Added chat filter to filter out parts of messages (as opposed to ignoring the + while messages) + +### Installing/Updating +- Added new Update Dialog, easier updating process on Windows +- Added option to include Betas in update notifications +- Added Windows installers for more comfortable installation + +### Other +- Removed Communities (Twitch hasn't released an API for Tags yet) +- Added User Dialog pinning (if pinned the dialog stays open on the same user, + clicking on another user opens a new one) +- Changed default User Dialog opening location +- Added position value for Custom Usericons +- Remember scroll position when navigating through help +- Changed default window position and how dialogs move with main window +- Added some more debug and system commands +- Updated translations +- Updated help + +### Bugfixes +- Fixed scrolling chat with PageUp/Down while focus is on inputbox +- Fixed exception occuring on some systems +- Fixed Stream Chat scrolling +- Fixed Stream Chat message timeout when timestamp is disabled +- Fixed Desktop Notifications memory leak +- Fixed Animated GIFs using resources even when not visible +- Fixed Emoji TAB Completion eating following word sometimes +- Fixed Twitch Emotes not appearing sometimes (same as Emotefix version) +- Fixed error occuring due to some rare incompatible images +- Fixed Highlight configuration (e.g. no notification) not carrying over to + follow-up Highlights ++ +
This version has a lot of under-the-hood changes to allow for the new @@ -79,6 +138,8 @@ - Changed `w:`/`wcs:` to not take Regex anymore - Added `reg:` prefix and variations for using Regex with more consistent and predictable naming scheme (`re:` and `re*:` still work as before) + - Invalid regex now won't match any text, instead of just disregarding the + pattern and matching all text ### Settings - Setting files `favoritesAndHistory` and `statusPresets` now both merged into @@ -96,6 +157,7 @@ ### Other Changes - Changed chat inputbox to automatically grow when entering long lines + (you need to hold Ctrl to navigate input history, changeable in Chat Settings) - Added /favorite and /unfavorite commands (Channel Favorites) - Added /joinhosted command to join currently hosted channel - Changed /appinfo command to contain more information diff --git a/help/help-report_issue.html b/help/help-report_issue.html new file mode 100644 index 0000000..452db71 --- /dev/null +++ b/help/help-report_issue.html @@ -0,0 +1,97 @@ + + +
First of all make sure that you're running the latest version
+ (Help - Check for update
or
+ GitHub Releases).
+ Updating (including to a beta, if available) may already fix your issue.
+ If not, then include as much information as possible in your report,
+ such as:
/appinfo
)If you don't include this information, it will be harder to help you.
+ +The best way to report an issue is usually in the Chatty Discord, + because you're not as limited in message length as on Twitter, there are + other people there that may be able to help and you can easily upload + screenshots or short videos. But if you prefer, + Twitter and + E-Mail are also available.
+ +You can also open a GitHub Issue, + which contains a template for reporting an issue which you should follow.
+ +Please only contact me via one of the mentioned ways at a time. Reporting + the same issue in several different places is just confusing and will + probably hinder the solving of your issue.
+ +Chatty is writing a debug log, which you can view in two ways:
+ +Extra - Debug Window
:
+ The debug log files are located in the settings directory, in the
+ subfolder debuglogs
. While Chatty is running you can use
+ the command /opendir
to open the settings directory in the
+ file browser, then open debuglogs
.
There are two kinds of debug files:
+debug.log
which is overwritten everytime you start
+ Chatty. It may also have a number at the end (like debug.log.1
)
+ if Java couldn't open the usual debug.log
.debug0.log, debug1.log, ..
), whereas
+ one of them is written to at a time, and then switched to the next when
+ a certain filesize is reached, rotating between a certain number of files.
+ Those files are not overwritten when Chatty is started, but instead new data is appended.So to find possibly relevant data:
+debug.log
first.debug0.log, debug1.log, ..
+ files could contain the necessary information, based on the last
+ modification dates.
+ $turbo
- Turbo Users$admin
- Admins$staff
- Staff members$globalmod
- Global Moderators$anymod
- All Admins, Broadcasters, Global Moderators, Moderators and Staff members$all
- All users, this can be used to specify a default
color (should be put at the very end of the list)$broadcaster
- BroadcastersBits
it would target all variations of the
Bits badge.
- Other Twitch
allows you to directly select a
- default icon via Twitch's own Badge ID/Version, which allows you to
- target badges that are not a supported Type.Other (Twitch)
allows you to directly target a
+ Twitch Badge by it's Badge ID/Version, which allows you to replace
+ badges that are not an originally supported Type.Other Twitch
- Type selected. This specifies the Badge ID/Version that Twitch uses
+ Other
+ types selected. This specifies the Badge ID/Version that Twitch uses
to identify Badges, which allows you to target any Twitch Badge you
want, including a specific variation.$badge:<ID/Version>
matches a Twitch
Badge a user has. For example $badge:bits/100
will only target users that currently have the 100-Bits
- Badge$cat:streamer $first
- Matches users
@@ -271,6 +274,35 @@
displayed in all channels except the one you specified.$start
- Add before all other badges$mod
- Add after mod badge (including broadcaster etc.)$sub
- Add after sub badge$bot
- Add after bot badge$end
- Add after all other badges (same as leaving this field empty)$other
- Add after 'Other' badges (e.g. FFZ Supporter badge)$other:<id>
- Add after 'Other' badge with the specified badge id/version<id>
- Add after Twitch badge with the specified badge id/version.png
and is recommended to
be about 18x18 pixels (because that is the default size). If you
@@ -931,7 +963,31 @@
As opposed to the Ignore list, which blocks entire
+ messages from being shown, the Filter only removes parts of a message.
+ For example if you add regw:a\w*
to the list, it will
+ remove all words starting with a
from messages in chat and
+ replace it with ..
, which can be hovered over to
+ show the original text. If you prepend replacement:Wordwitha
,
+ then instead of replacing it with the default ..
,
+ the removed text gets replaced with Wordwitha
. If
+ you don't just want to use this as a fun word guessing game, then a more
+ useful application might be to e.g. filter out parts of bot messages
+ that are always the same.
The text matching syntax is the same as for the Highlight list, + although you have to remember that only the the parts of a message that + match the pattern are removed, so you may have to use it a bit + differently than for Highlighting and Ignoring.
+ +It currently only works for regular chat messages (no info messages). It + also only uses the matches from the first item in the list that matches + any part of the message. This may be changed in the future.
The only difference between the regular JAR version and the Standalone
+ lies in how it is started. The Standalone contains the Chatty.exe
+ which executes the Chatty.jar
in the app
+ directory using the bundled JRE in the runtime
directory,
+ which removes the need for Java to be installed and ensures that Chatty
+ is started with the same Java version it was compiled and tested with.
The Chatty.cfg
is located in the app
subdirectory
+ (where also the Chatty.jar
and other Chatty related files
+ are).
You can add launch options to the Chatty.cfg
under the
+ [ArgOptions]
section. These are given to Chatty when it is
+ started. What you would normally separate by
+ space goes on it's own line. For example:
+[ArgOptions] +-channel +joshimuz +-d +H:\\Chatty\\settings1+ +
Note that for this file, backslashes need to be escaped. For this option + you can alternatively also use forward slashes, which Java should + understand.
+ +When you specify any launch options on the commandline/in the shortcut,
+ then the launch options in the Chatty.cfg
are ignored.
The [JVMOptions]
section contains parameters that are given
+ to the JVM (Java Virtual Machine) when Chatty is started. There should
+ already be a few options there by default, for example:
+[JVMOptions] +-Xmx400M +-Dsun.java2d.d3d=false+ +
These restrict the maximum heap (memory usage) to 400MB and disable + Hardware Acceleration to reduce GUI issues.
+ + + diff --git a/help/help-troubleshooting.html b/help/help-troubleshooting.html index 9c8e67a..23e9825 100644 --- a/help/help-troubleshooting.html +++ b/help/help-troubleshooting.html @@ -7,7 +7,7 @@If you can't find a solution here or require additional help, read the + page on Reporting Issues.
+If you get an error getting login data, see What to do when getting login fails.
If Java encounters a character that is not contained in the chat font
you currently have configured, it will try to find it in the fallback
- fonts. While still not all characters will be displayed this way, it
- should work a lot better. If you want to be able to display even more
- characters, you can add your own fallback fonts into the Java fallback
- font directory: <JRE_INSTALL_DIR>/jre/lib/fonts/fallback
On Windows, the JRE would usually be located in
- C:\Program Files\Java\
or
- C:\Program Files (x86)\Java\
.
The Java fallback font directory is located in the Java Runtime Environment
+ (you may have to create the /fallback
directory yourself):
+ <JRE_DIR>/lib/fonts/fallback
To find the <JRE_DIR>
location you can either enter
+ the command /openJavaDir
to open the directory in your file
+ browser or enter the command /showJavaDir
to output the
+ path. The commands have to be entered in the Chatty chat inputbox.
Note: If you set the inputFont
- setting to something else
- besides a Java logical font, then the font fallback mechanism may break.
- This was the case before version 0.7.3.
If you experience any problems or errors, then there may be helpful - information for debugging in the debug log, which is located in the settings - directory:
-<user_dir>/.chatty/debuglogs/
- (Example: C:\Users\<username>\.chatty\debuglogs\
)
If you have Chatty running you can enter /openDir
to open it
- or /dir
to output the path, then simply navigate to the
- debuglogs
subfolder.
In that folder, there are two kinds of debug files:
-debug.log
which is overwritten everytime you start
- Chatty. It may also have a number at the end (like debug.log.1
)
- if Java couldn't open the usual debug.log
.debug0.log, debug1.log, ..
), whereas
- one of them is written to at a time, and then switched to the next when
- a certain filesize is reached, rotating between a certain number of files.
- Those files are not overwritten when Chatty is started, but instead new data is appended.So to find possibly relevant data:
-debug.log
first.debug0.log, debug1.log, ..
- files could contain the necessary information, based on the last
- modification dates.
- Contact me please.
+
@@ -69,16 +69,19 @@
Also check out the official @@ -133,7 +137,7 @@ Default hotkeys which can't be changed:
The following are more default hotkeys, however these can be changed @@ -231,10 +235,12 @@
|
For OS other than Windows (e.g. Linux or MacOS) you will need to download the JAR-Version (.zip) and must have Java 8 or later installed on your system. Extract the .zip into a folder of your choice and start Chatty.jar
.
For OS other than Windows (e.g. Linux or MacOS) you will need to download the JAR-Version (.zip) and must have Java 8 or later installed on your system. Extract the .zip into a folder of your choice and start Chatty.jar
.
If you have any feedback or questions feel free to contact me. You can join the Chatty Discord preferred, write me an E-Mail or use Twitter.
diff --git a/slideshow.js b/slideshow.js index 1eea242..6d4bee6 100644 --- a/slideshow.js +++ b/slideshow.js @@ -10,12 +10,8 @@ function slideshow_init(slideshowId) { let newElement = ''; images[1].parentElement.insertAdjacentHTML('beforebegin', newElement); - console.log(mainImageElement.src); - for (let i=1;i