Skip to content

slprank/dolphin-memory-reader

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published