You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.



#1 2023-09-07 00:43:24

HelpTheWretched
Member
Registered: 2023-09-04
Posts: 2

Memory editing in DesMuME?

Basically I'm wondering if there's an easy way to view the contents of RAM and edit the values at certain addresses. Or maybe a different emulator would be better for that?

I'm using DesMuME 0.9.12, and as an example, I'd like to edit the map notes (where you draw on the map) in The Legend of Zelda: Spirit Tracks, so that I can have detailed maps or other images saved on them without having to draw them all by hand.

The drawings seem to be stored as basic 1-bit bitmaps. I can't make a save state and edit that because DesMuME compresses them, and I can't edit battery saves because without the right checksums, the game thinks they are corrupted. And while it seems the emulator can make a raw dump of RAM, I don't see any way to edit values or reload an edited dump.

Any ideas would be welcome, thanks!

Offline

#2 2023-09-07 21:09:40

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,194

Re: Memory editing in DesMuME?

tools > view memory.
You're going to have a hard time with your project if you haven't even found that yet.
You're going to have a hard time with your project if you can't "edit raw dump" (heard of a hex editor?) As for loading it back in.. yeah, there's no way to do that.
You can do what you want through a lua script though. Read all the desired memory, dump it out as BMP. edit the bmp, and add a lua hotkey to read it back in.
You may have better luck in bizhawk.

Offline

#3 2023-09-22 22:40:55

HelpTheWretched
Member
Registered: 2023-09-04
Posts: 2

Re: Memory editing in DesMuME?

I thought it was pretty obvious that I knew about Tools -> View memory since I said "view and edit"
Also, "I don't see any way to edit values or reload an edited dump." meant within DeSmuME, but that's on me for poor phrasing.
Thanks for the reply. I'm still new to Lua but it's easier than I expected.

Offline

#4 2023-09-23 20:48:36

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,194

Re: Memory editing in DesMuME?

If you knew about tools -> view memory (which is an easy way to view the contents of RAM and edit the values at certain addresses) then why did you ask if there's an easy way to view the contents of RAM and edit the values at certain addresses?

Offline

Board footer

Powered by FluxBB