Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor async image capture #271

Open
wants to merge 38 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
04adec5
WIP on par with sync get_frame
Avasam Dec 8, 2023
912a5e3
Renormalize line endigns to LF
Avasam Dec 8, 2023
6ca347e
Merge branch 'dev' of https://github.com/Toufool/AutoSplit into refac…
Avasam Dec 8, 2023
f3e3911
Fix back images
Avasam Dec 8, 2023
ab6dbdc
Important save detection + LiveSplit commands fixes
Avasam Dec 9, 2023
e73a554
Merge back linux changes
Avasam Dec 9, 2023
d6d75c2
mixed-line-ending --fix=lf
Avasam Dec 9, 2023
9c7b2ae
All scripts and WSL GUI work
Avasam Dec 9, 2023
b24730e
Linux window recording and recovery complete
Avasam Dec 10, 2023
00ecc59
Update src/hotkeys.py
Avasam Dec 19, 2023
8280a01
Merge branch 'dev' of https://github.com/Toufool/AutoSplit into refac…
Avasam Dec 19, 2023
fd4e8d0
Merge branch 'refactor-async-image-capture' of https://github.com/Tou…
Avasam Dec 19, 2023
eb61a54
Reload settings window when loading new profile
Avasam Dec 19, 2023
6221107
Update reload_start_image functions names
Avasam Dec 19, 2023
c33579d
Live Preview, Image Start and Window Recovery now use event subscript…
Avasam Dec 19, 2023
8872e03
Merge `__check_for_reset_state_update_ui` function and update comment
Avasam Dec 19, 2023
011404a
Address hotkey disabling TODO
Avasam Dec 20, 2023
88acd81
Async reset image that also respects its own pause time
Avasam Dec 20, 2023
9f35b81
unspecific fixes
Avasam Dec 20, 2023
225f2e2
start custom safe signal
Avasam Dec 27, 2023
eedd944
Merge branch 'refactor-async-image-capture' of https://github.com/Tou…
Avasam Jan 6, 2024
030ce42
Merge pull request #265 from Toufool/linux
Avasam Jan 6, 2024
efb0978
Merge branch 'refactor-async-image-capture' of https://github.com/Tou…
Avasam Jan 6, 2024
268395f
Merge branch 'dev' of https://github.com/Toufool/AutoSplit into refac…
Avasam Jan 6, 2024
1b3a57e
some improvements to shown text
Avasam Jan 6, 2024
d36d2f9
Update comments and remove commented code
Avasam Mar 9, 2024
ef4b69d
Improve WGC Window Recovery
Avasam Mar 9, 2024
b1625b9
Test dependencies and linting update
Avasam Mar 9, 2024
9d28705
Merge branch 'dev' of https://github.com/Toufool/AutoSplit into refac…
Avasam Mar 9, 2024
bc3e778
Reload images on loading profile
Avasam Mar 9, 2024
cf8856c
Apply flake8-boolean-trap rule
Avasam Mar 9, 2024
f239500
Split-off tutorial from main README
Avasam Mar 9, 2024
a1a26ab
Remove outdated sonar checks from archived fork
Avasam Mar 9, 2024
6a47fee
Merge branch 'dev' of https://github.com/Toufool/AutoSplit into refac…
Avasam Mar 9, 2024
cd3d88d
Fix error w/ _update_checker_widget_signal_slot
Avasam Mar 9, 2024
c4b0c63
Update non-python files from dev
Avasam Oct 20, 2024
6b6f96a
run ruff format, lines too long, and autofixes
Avasam Oct 20, 2024
4926da2
Merge branch 'dev' of https://github.com/Toufool/AutoSplit into refac…
Avasam Oct 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,6 @@ If this option is enabled, when the last split meets the threshold and splits, A
If this option is disabled, when the last split meets the threshold and splits, AutoSplit will stop running comparisons.
This option does not loop single, specific images. See the Custom Split Image Settings section above for this feature.

#### Start also Resets

If this option is enabled, a "Start" command (ie: from the Start Image) will also send the "Reset" command. This is useful if you want to automatically restart your timer using the Start Image. Since AutoSplit won't be running and won't be checking for the Reset Image.

Having the reset image check be active at all time would be a better, more organic solution in the future. But that is dependent on migrating to an observer pattern (<https://github.com/Toufool/AutoSplit/issues/219>) and being able to reload all images.

#### Enable auto Reset Image

This option is mainly meant to be toggled with the `Toggle auto Reset Image` hotkey. You can enable it to temporarily disable the Reset Image if you make a mistake in your run that would cause the Reset Image to trigger. Like exiting back to the game's menu (aka Save&Quit).
Expand Down
4 changes: 2 additions & 2 deletions res/design.ui
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@
</property>
</widget>
</widget>
<widget class="QPushButton" name="reload_start_image_button">
<widget class="QPushButton" name="reload_images_button">
<property name="geometry">
<rect>
<x>457</x>
Expand All @@ -809,7 +809,7 @@
<enum>Qt::NoFocus</enum>
</property>
<property name="text">
<string>Reload Start Image</string>
<string>Reload Images</string>
</property>
</widget>
<widget class="QLabel" name="start_image_status_label">
Expand Down
20 changes: 0 additions & 20 deletions res/settings.ui
Original file line number Diff line number Diff line change
Expand Up @@ -579,25 +579,6 @@ It is highly recommended to NOT use pHash if you use masked images, or it'll be
<string>Default Delay Time (ms):</string>
</property>
</widget>
<widget class="QCheckBox" name="start_also_resets_checkbox">
<property name="geometry">
<rect>
<x>10</x>
<y>150</y>
<width>261</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>Start also Resets</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="tristate">
<bool>false</bool>
</property>
</widget>
<zorder>custom_image_settings_info_label</zorder>
<zorder>default_delay_time_spinbox</zorder>
<zorder>enable_auto_reset_image_checkbox</zorder>
Expand All @@ -610,7 +591,6 @@ It is highly recommended to NOT use pHash if you use masked images, or it'll be
<zorder>default_pause_time_label</zorder>
<zorder>default_delay_time_label</zorder>
<zorder>readme_link_button</zorder>
<zorder>start_also_resets_checkbox</zorder>
</widget>
<widget class="QWidget" name="hotkeys_tab">
<attribute name="title">
Expand Down
Loading
Loading