dolphin-memory-reader
v0.6.7
Published
Node module that can read memory from the Dolphin Emulator
Downloads
62
Maintainers
Readme
Dolphin Memory Reader
Initialize
import DolphinMemory from "dolphin-memory-reader";
import { ByteSize } from 'dolphin-memory-reader/dist/types/enum';
import os from "os"
async readFromMemory() {
if (os.platform() !== "win32") return;
const memory = new DolphinMemory();
// Looks for a running process once every second
await memory.init();
// Current stage Id address
const address = 0x8049e6c8 + 0x88 + 0x03;
// Throws error if not able to read memory address or dolphin is no longer active when called
const byte = memory.read(address, ByteSize.U8);
console.log("Byte from memory", byte);
}
Info
Package is written in rust and is currently only supported for windows and tested on Super Smash Bros Melee
Contribute
To be able to run this project locally you will need to have Rust
installed on your computer with Nightly