An auto splitter for Sonic Heroes played with Dolphin (NTSC-U).
First, make sure the Heroes autosplitter is deactivated.
Then, right click on livesplit -> Edit Layout -> + -> Control -> Auto Splitting Runtime and browse for the .wasm file in the releases tab.
Starting, splitting, and resetting are all auto-on and use the same logic the old autosplitter did.
This auto splitter is written in Rust. In order to compile it, you need to install the Rust compiler: Install Rust.
Afterwards install the WebAssembly target:
rustup target add wasm32-wasi
The auto splitter can now be compiled:
cargo b
The auto splitter is then available at:
target/wasm32-wasi/release/heroes_dolphin_autosplitter.wasm
Make sure too look into the API documentation for the asr
crate.
You can use the debugger while developing the auto splitter to more easily see the log messages, statistics, dump memory and more.