LiveSplit / asr

Helper crate to write auto splitters for LiveSplit One's auto splitting runtime.
https://livesplit.org/asr/asr
Apache License 2.0
10 stars 10 forks source link

Added support for PS2 emulators #54

Closed Jujstme closed 1 year ago

Jujstme commented 1 year ago

This adds support for coding auto splitters for PS2 emulators.

Code and the general inner workings of the ps2::Emulator struct uses the same implementation seen previously in https://github.com/LiveSplit/asr/pull/26 and https://github.com/LiveSplit/asr/pull/33

So, in order to use it:

  1. Enable the ps2 feature in your Cargo.toml
  2. Attach to the supported PS2 emulators by running ps2::Emulator::attach()
  3. Run the internal update() -> bool to locate and update the address of the emulated game's memory
  4. Read from the game's memory via its read function.

Supported Windows emulators: