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

Consider switching to WASM modules #11

Open
xTVaser opened this issue Apr 26, 2023 · 1 comment
Open

Consider switching to WASM modules #11

xTVaser opened this issue Apr 26, 2023 · 1 comment

Comments

@xTVaser
Copy link
Member

xTVaser commented Apr 26, 2023

Livesplit seems to have a newer way of providing simple autosplitting scripts and I think this is to make them more cross-platform. https://github.com/LiveSplit/livesplit-core/tree/master/crates/livesplit-auto-splitting / https://github.com/LiveSplit/asr

I'm not sure if these can be auto distributed via the XML file though

I think the answer is yes as there are a few .wasm files https://github.com/LiveSplit/LiveSplit.AutoSplitters/blob/master/LiveSplit.AutoSplitters.xml#L336

In terms of features there doesn't seem to be much more, it's still just basically boolean settings.

@xTVaser
Copy link
Member Author

xTVaser commented Jul 1, 2023

Another good reason to switch is that it'd be much faster/consistent to read an exported symbol from gk.

This isn't something that is supported by ASL. It's also not currently supported by ASR but it's more likely to be easier to contribute https://livesplit.org/asr/asr/struct.Process.html

At the worst, it allows us to explicitly iterate the memory ranges which the flags can be queried on https://livesplit.org/asr/asr/struct.MemoryRange.html

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

No branches or pull requests

1 participant