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

Memory based autosplitter #219

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Memory based autosplitter #219

wants to merge 3 commits into from

Conversation

thearst3rd
Copy link
Member

I created the previous autosplitter when I was less comfortable with writing livesplit autosplitters, and opted for a file-based approach. This isn't recommended since the OS and device IO have time to get in the way and make timings inaccurate.

This pull request updates the autosplitter class to allocate a chunk of memory with an easily scannable header and known layout. An external memory scanner can find the header and drive the timer start/split/load removal functionality. I have implemented that auto splitter here for use in the LiveSplit Auto Splitting Runtime: https://codeberg.org/thearst3rd/openmbu-asr

Whoops. This fixes the autosplitter only auto-starting once and then you gotta restart the game
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant