A Python library for reading and writing the memory of an emulated game in Dolphin. https://pypi.org/project/sup-dolphin-memory-lib/
Find a file
sup39 2527142f07 [v0.1.0] pack into one PyPI package
Complete all basic functions, including:
- find dolphin, init shared memory
- read/write raw bytes
- read/write struct
- read/write single value (uint32/16/8, int32/16/8, float)
2022-06-25 03:23:12 +09:00
src/dolphin [v0.1.0] pack into one PyPI package 2022-06-25 03:23:12 +09:00
tests [v0.1.0] pack into one PyPI package 2022-06-25 03:23:12 +09:00
.gitignore [v0.1.0] pack into one PyPI package 2022-06-25 03:23:12 +09:00
CHANGELOG.md [v0.1.0] pack into one PyPI package 2022-06-25 03:23:12 +09:00
LICENSE [v0.1.0] pack into one PyPI package 2022-06-25 03:23:12 +09:00
pyproject.toml [v0.1.0] pack into one PyPI package 2022-06-25 03:23:12 +09:00
README.md [v0.1.0] pack into one PyPI package 2022-06-25 03:23:12 +09:00
setup.cfg [v0.1.0] pack into one PyPI package 2022-06-25 03:23:12 +09:00

dolphin-memory-lib

A Python library for reading and writing the memory of an emulated game in Dolphin.

Usage

from dolphin.memorylib import Dolphin
if dolphin.hook() is None:
  print('No game is running')

addr = 0x80000000
dolphin.write_uint32(addr, 39)
result = dolphin.read_uint32(0x80000000)
# assert result == 39