A Python library for reading and writing the memory of an emulated game in Dolphin.
https://pypi.org/project/sup-dolphin-memory-lib/
sup39
2527142f07
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) |
||
---|---|---|
src/dolphin | ||
tests | ||
.gitignore | ||
CHANGELOG.md | ||
LICENSE | ||
pyproject.toml | ||
README.md | ||
setup.cfg |
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