Dolphin, the GameCube and Wii emulator - Forums

Full Version: Savestate uncompressed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Is it possible to have an option to save uncompressed savestate ?
In alternative is it possible to have an utility/tool to uncompress a compressed savestate ?

I tested the LZO decompressor that are free in the wild but none of them recognize the savestate file...

Thank you very much for your attention !
You can set whether compression is enabled by calling State::EnableCompression (in Core/Core/State.h). There is currently no code in Dolphin that does this.

If you want to load a compressed savestate, try removing the 18-byte header before you decompress it.
Thank you really much for your fast answer !!

You mean that, by default, .sav files are NOT compressed ?

I need to convert a compressed .sav in an uncompressed form... but i can also make another savestate but i absolutely need it in an uncompressed form (need to get some clear data from ram).

If you can have a look, the file I need to be uncompressed is this (I don't know if it is compressed or not, how to see it ? I cannot find LZO header anywhere): https://www.dropbox.com/s/r203ssfnvsecpei/2.7z?dl=0
Oh, these files are still very ugly to work with. We have *some* markers within it, but everything else must just be parsed in the same way as dolphin uses it (a bytes for A, b bytes for B, ..., finally x bytes for my wanted data X). I guess it's easier to just load the state within dolphin, and add a breakpoint on successfully loading a state. So you can just extract all required data from your debugger.
Mmmmmm i tested Dolphin in debug mode and I think I found what I was looking for but... how can I save a dump of the memory i can see in debug mode ? If I press DUMP MRAM or DUMP EXRAM nothing happens... can someone explain me how it works ?
(11-18-2015, 01:36 AM)student Wrote: [ -> ]You mean that, by default, .sav files are NOT compressed ?

No, they are compressed by default. The EnableCompression function is both for enabling and disabling compression.
I got the memory in clear under dolphin (debug mode), how can i dump it to a file ?
[Image: iav1dtm.png]
Either fix the button (I haven't used it), or hack in a simple fwrite(), or just use your debugger to dump the memory region.
Is there any super-guy who can provide an .exe hacked version that is able to dump the memory ?
I used ArtMoney Pro but the saved memory is not the one I am seeing... Sad
Well, just to say THANK YOU ALL for the suggestions !
I managed to get what I want ! Using internal Windows 7 dump process memory feature Wink

THANK YOU !
Pages: 1 2