nbarkhina / N64Wasm

A web based N64 Emulator
https://www.neilb.net/n64wasm/
MIT License
619 stars 122 forks source link

Is there a plug-in API available? #16

Open NickStrupat opened 2 years ago

NickStrupat commented 2 years ago

Alternatively, just a way to access the game RAM directly?

nbarkhina commented 2 years ago

Currently no - it could be exposed to the JavaScript though with a variable. what is it you're trying to do?

NickStrupat commented 2 years ago

I'm trying to figure out the scope of adding rollback netcode multiplayer capability to Mario Kart 64.

I was looking at this implementation: https://github.com/rameshvarun/netplayjs

It would require being able to read/write from/to memory addresses which correspond to player location, rotation, speed, and many others which represent game state.

nbarkhina commented 2 years ago

gotchya - that sounds like a really cool project! I would have to look into the memory layout and where that's stored but will add that to my backlog.