could a generic ram dumper be possible?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by zbw2000, Mar 13, 2015.

  1. zbw2000
    OP

    zbw2000 GBAtemp Fan

    Member
    350
    98
    Aug 28, 2014
    United States
    There has been a lot of work done in things like the acnl or Pokemon ram dumping tools via the spider exploit, but those only dump specific parts of the ram based on the game being used. Meaning that each game would need a different ram dumper. I was wondering if it would be possible to make something that uses the spider exploit to dump the whole ram. This way it would work with any game you wanted it to. I think that gateway already did something like this but that used a different exploit. I could also be wrong.
    Anyway, let me know if you got anything that could help.
     
    Margen67 likes this.
  2. froggestspirit

    froggestspirit D/P/Pt Demix Guy

    Member
    1,113
    545
    Jul 28, 2011
    United States
    Celice and Margen67 like this.
  3. zbw2000
    OP

    zbw2000 GBAtemp Fan

    Member
    350
    98
    Aug 28, 2014
    United States
    i probably could use its source but how would I compile it into a .bin when i'm done?
     
    Margen67 likes this.
  4. froggestspirit

    froggestspirit D/P/Pt Demix Guy

    Member
    1,113
    545
    Jul 28, 2011
    United States
    not sure if ROP uses devkitarm, but I'd say devkitarm might be a place to look, make sure you install libctru
     
    Margen67 likes this.
  5. NeoKamek

    NeoKamek Advanced Member

    Newcomer
    94
    83
    May 23, 2007
    United States
    There was a ramdump.c floating around somewhere. I don't have the link for you, but here's the resulting ramdump.bin you can run with loadcode.
    It takes a long time, so you may want to get a snack or something while you wait. Once it's done you'll have a file on your SD card with the ram dump on it.
     

    Attached Files:

    Margen67 and zbw2000 like this.
  6. zbw2000
    OP

    zbw2000 GBAtemp Fan

    Member
    350
    98
    Aug 28, 2014
    United States
    so after i dump the ram is there a tool i can use to see whats in it?
     
  7. NeoKamek

    NeoKamek Advanced Member

    Newcomer
    94
    83
    May 23, 2007
    United States
    Just a good old-fashioned hex editor like HxD B-)

    This gets the ENTIRE RAM, so the fun part will be finding the actual game data. Good luck!
     
    Margen67 and zbw2000 like this.
  8. froggestspirit

    froggestspirit D/P/Pt Demix Guy

    Member
    1,113
    545
    Jul 28, 2011
    United States
    We need an injector for this, and then we can start finding a kernal 11 entrypoint for 9.3
     
    Margen67 likes this.
  9. zbw2000
    OP

    zbw2000 GBAtemp Fan

    Member
    350
    98
    Aug 28, 2014
    United States
    would it be possible to inject such a big file though?
     
  10. froggestspirit

    froggestspirit D/P/Pt Demix Guy

    Member
    1,113
    545
    Jul 28, 2011
    United States
    if you can dump it, i don't see why not? as long as the memory region is R/W
     
    Margen67 likes this.
  11. zbw2000
    OP

    zbw2000 GBAtemp Fan

    Member
    350
    98
    Aug 28, 2014
    United States
    what website would that be? i tried go.scmods.com but that didn't work

    is the touch screen supposed to look like its having a seizure while the ram is being dumped?

    EDIT: got it to work
     
  12. Reserved

    Reserved GBAtemp Regular

    Member
    215
    68
    Mar 14, 2015
    United States
    What website did you go to for LoadCode? I've tried go.scmods.com yet it didn't work.
     
  13. _eyCaRambA_

    _eyCaRambA_ GBAtemp Advanced Fan

    Member
    523
    139
    Apr 22, 2009
    United States
    Right around the cornerâ„¢
    Not to "derail" this thread, but any ideas on how to pull of RAM dumping on the New 3DS?
    Do installed apps have enough privileges to pull this off (i.e. create and install a RAM dumping cia)?
     
  14. zbw2000
    OP

    zbw2000 GBAtemp Fan

    Member
    350
    98
    Aug 28, 2014
    United States
    Margen67 likes this.
  15. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    12,286
    5,310
    Mar 17, 2010
    Norway
    Alola
    Dumping is easy enough, you probably couldn't inject the whole dump easily though. If we could, that would mean we could have savestates. I'm suspecting it might just crash the game/console unless you found the correct sections to reinject or just patched certain addresses like action replay etc. do.
     
    Margen67 likes this.
  16. zbw2000
    OP

    zbw2000 GBAtemp Fan

    Member
    350
    98
    Aug 28, 2014
    United States
    so after i extract the ram and open it up in the hex editor what do i do from there? there has to be some easy was to tell what i'm looking at.
     
  17. KazoWAR

    KazoWAR GBAtemp Advanced Maniac

    Member
    1,801
    685
    Aug 12, 2008
    United States
    Winter Haven
    I might see if i can throw something together to use as an all purpose ram injector, the only problems is the lack of a gui, when ever you try to write to the screen the browser overwrites it.
     
  18. zbw2000
    OP

    zbw2000 GBAtemp Fan

    Member
    350
    98
    Aug 28, 2014
    United States
    So I found out on accident that when the ram is being dumped you can still use the web browser. There isn't a whole lot of use to this but it is still interesting.
     
  19. KazoWAR

    KazoWAR GBAtemp Advanced Maniac

    Member
    1,801
    685
    Aug 12, 2008
    United States
    Winter Haven
    yes, the arm11 code runs along side the browser.

    Little update, finished writing the bulk of the code interpreter. it will use ARDS style codes, but for now some of the code types are not fully supported until I understand them better. going to do some test runs

    first successfully test using the code 03971DB0 05F5E0FF
    Warning: Spoilers inside!
     
  20. Zidapi

    Zidapi GBAtemp Psycho!

    Member
    3,038
    1,821
    Dec 1, 2002
    Sounds awesome. It's about time we had something like this!