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)
14 lines
351 B
Markdown
14 lines
351 B
Markdown
# dolphin-memory-lib
|
|
A Python library for reading and writing the memory of an emulated game in Dolphin.
|
|
|
|
## Usage
|
|
```python
|
|
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
|
|
```
|