Store Auto Splitter Settings in Splits Files - #943
Merged
Conversation
CryZe
force-pushed
the
auto-splitter-settings-in-splits
branch
7 times, most recently
from
July 26, 2026 12:57
f67687b to
1ba31d5
Compare
CryZe
marked this pull request as ready for review
July 26, 2026 14:29
LiveSplit splits files already contain an `AutoSplitterSettings` XML payload, but livesplit-core only exposes its contents as an opaque string. Frontends therefore need to parse and serialize the script path and custom settings themselves. This adds an `auto-splitting`-gated structured representation that round-trips the script path and the runtime's recursively typed settings map. `Run` exposes APIs for reading and updating the stored settings, and `Timer` forwards updates to the active run. The auto splitting runtime consumes the stored path and settings directly when loading a run and can snapshot its live state back into the timer. This keeps frontends from having to shuttle settings maps through their own load and persistence flows. Co-authored-by: Refrag <R3FR4GYT@gmail.com> Co-authored-by: AlexKnauth <alexander@knauth.org>
CryZe
force-pushed
the
auto-splitter-settings-in-splits
branch
from
August 23, 2026 09:49
1ba31d5 to
97953ab
Compare
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LiveSplit splits files already contain an
AutoSplitterSettingsXML payload, but livesplit-core only exposes its contents as an opaque string. Frontends therefore need to parse and serialize the script path and custom settings themselves.This adds structured ASR-compatible settings types that round-trip the script path and recursively typed custom settings and convert to and from runtime settings maps.
Runnow exposes APIs for reading and updating the stored settings, andTimerforwards updates to the active run. Updates participate in the run's normal modified-state handling.