xemu-project / xemu

Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
https://xemu.app
Other
2.85k stars 283 forks source link

Export pointer to Xbox RAM #1781

Open Clippy95 opened 1 month ago

Clippy95 commented 1 month ago

Feature Request

I'm suggesting that XEMU should export a pointer that points to the start of the xbox's RAM, similar to what PCSX2 does with .eemem, this would be useful for tools like Cheat Engine and Mouse Injector.

Alternatives

No response

Additional Context

cheatengine-x86_64-SSE4-AVX2_pHKq2uXBuj PCSX2 pointer for eemem, also has ptrs for iopmem and vumem

SlyCooperReloadCoded commented 2 weeks ago

A Cheat Engine plugin exists called emurpm which does this but better. If you give it a symbol that marks the start of memory, then tell it the size of memory in bytes, then it aligns 0x0 with the start of emulator memory. In the above screenshot, 7FF6E0000000 would become 00000000, and Cheat Tables would be functional regardless of actual game memory start location. PCSX2 has the [eemem] symbol, and Dolphin has its own memory editor program that has this all figured out, but Xemu doesn't have a symbol that marks the start of emulated game memory.