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

Added support for PS2 emulators #54

Merged
merged 3 commits into from
Sep 24, 2023
Merged

Added support for PS2 emulators #54

merged 3 commits into from
Sep 24, 2023

Conversation

Jujstme
Copy link
Contributor

@Jujstme Jujstme commented Sep 14, 2023

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 #26 and #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:

  • PCSX2
  • Retroarch (using the pcsx2_libretro.dll core)

@CryZe CryZe self-requested a review September 17, 2023 21:21
@CryZe CryZe merged commit b7276cb into LiveSplit:master Sep 24, 2023
4 checks passed
@Jujstme Jujstme deleted the ps2 branch September 24, 2023 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants