Skip to content

Commit

Permalink
Adding first version of TSplitter Editor
Browse files Browse the repository at this point in the history
Bug fixes
  • Loading branch information
Tischel committed Oct 31, 2019
1 parent 3c0d5c9 commit fada25a
Show file tree
Hide file tree
Showing 3 changed files with 440 additions and 7 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TSplitter v0.1.1
# TSplitter v0.2.0
A tool that adds some features to https://github.com/Toufool/Auto-Split used in conjuction with https://github.com/LiveSplit
You need AutoHotkey to use this program (Download from https://www.autohotkey.com/)

Expand All @@ -17,6 +17,10 @@ This is useful when its not possible to have a good image for the precise moment

To have a delayed split you just need to add "delayXXXX" to the split image name used by AutoSplit; where XXXX is the amount of milliseconds the split should be delayed.

### Split editor
A simple tool to help you create AutoSplit images with the correct name formats and that it also includes the features added by TSplitter.


## Usage
Simply open **TSplitter.ahk** to run the program.

Expand All @@ -33,3 +37,9 @@ In the Examples folder you can see two set of examples of split images configure
- Launch AutoSplit and LiveSplit before running the program
- Having the same keybinds in AutoSplit and LiveSplit might cause issues. This program expects the keybinds to be different (which conflicts with the "normal" usage of AutoSplit)
- For issues configuring images for AutoSplit please refer to https://github.com/Toufool/Auto-Split


## TSplitter Editor
This tool provides an user friendly interface to create the final split images used by AutoSplit. However, it is not necessary to use this tool since everything it does can be achieved by manually editing the images names.

Using this tool guarantees a proper format for AutoSplit and it also supports the features added by TSplitter like fake or delayed splits.
12 changes: 6 additions & 6 deletions TSplitter.ahk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#SingleInstance force

Version := "0.1.1"
Version := "0.2.0"

; Read saved key binds
IniRead, AutosplitSplit, TSplitter.ini, AutoSplit, Split
Expand All @@ -19,7 +19,7 @@ if (AutosplitFolder = "ERROR") {
}

; GUI
Gui, 1:New, +Resize +MinSize320x310 -MaximizeBox -MinimizeBox, TSplitter v%Version%
Gui, 1:New, -Resize -MaximizeBox -MinimizeBox, TSplitter v%Version%

Gui, 1:Font, bold
Gui, 1:Add, GroupBox, x10 y5 w150 h130, AutoSplit Keybinds
Expand Down Expand Up @@ -60,9 +60,9 @@ Gui, 1:Add, GroupBox, x10 y195 w305 h50, Current split
Gui, 1:Font, norm
Gui, 1:Add, Text, x20 y220 w290 vRunStatusLabel, Run not started...

Menu, SaveMenu, Add, &Save`tCtrl+S, ReloadScript
Menu, FileMenu, Add, &Save`tCtrl+S, ReloadScript
Menu, HelpMenu, Add, &About`tCtrl+A, ShowAbout
Menu, MyMenuBar, Add, &File, :SaveMenu
Menu, MyMenuBar, Add, &File, :FileMenu
Menu, MyMenuBar, Add, &Help, :HelpMenu
Gui, 1:Menu, MyMenuBar

Expand Down Expand Up @@ -230,7 +230,7 @@ ReloadScript:
Return

ShowAbout:
Gui, About:New, +Owner -Resize +MinSize100x100, About
Gui, About:New, +Owner -Resize, About
Gui, About:Font, bold
Gui, About:Add, Text,, TSplitter v%Version%
Gui, About:Font, norm
Expand All @@ -240,4 +240,4 @@ ShowAbout:

GuiClose:
SaveKeybinds()
ExitApp
ExitApp
Loading

0 comments on commit fada25a

Please sign in to comment.