Dumping RAM directly from nds?

Discussion in 'NDS - ROM Hacking and Translations' started by o0ghost0o, May 13, 2010.

  1. o0ghost0o
    OP

    o0ghost0o Member

    Newcomer
    34
    0
    May 10, 2010
    I was trying to find out if there is a way tu dump nds memory into a file using flashcarts.
    Thanks for advantage.
     
  2. evandixon

    evandixon PMD Researcher

    Member
    1,667
    792
    May 29, 2009
    United States
    The RTS feature of some carts might suffice.
     
  3. Krestent

    Krestent What to post?

    Member
    3,953
    33
    Mar 31, 2009
    United States
    So you want to basically get a dump of the DS's RAM at a given point while some app is running?
     
  4. Destructobot

    Destructobot Crave the Hammer

    Member
    5,005
    5
    Oct 15, 2006
    United States
    Portland, OR
    An emulator would probably work a lot better for this.
     
  5. o0ghost0o
    OP

    o0ghost0o Member

    Newcomer
    34
    0
    May 10, 2010
    Yes, that's it. But i want it directly from nds not from emulator.
     
  6. Crass

    Crass Rock me Dr. Zaius

    Member
    999
    124
    Nov 3, 2006
    United States
    Oregon
    To get any useful info you'd have to do a hardware mod I believe, and dump the RAM directly via the RAM, like the Tweezer attack.
     
  7. KidIce

    KidIce Smart Ass

    Member
    949
    261
    Dec 22, 2005
    United States
    I believe the NDS Trainer Toolkit from Datel/Code Junkies can do this. You'll need an Action Replay along w/ it too, IIRC.

    Edit: Need to read better... Said device works w/ real games only, AFAIK. I don't know of any tools to do this w/ a flash cart. :-/
     
  8. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,370
    9,171
    Nov 21, 2005
    There are such applications (it is one of the ways flash cart companies borrow the AP fixes of their competitors- this generally precludes a public release of such tools though) but if RTS does not cut it then you are probably left on your own. Similarly this is about the only reason you might need such a thing- desmume has a decent debugger these days and works with pretty much all the latest releases unlike no$gba. Note that AP checks do come in overlays so fixes may not be immediately apparent.

    On the other hand I seem to recall there was a patch checking application a few years back (made to test how clean various clean modes were) but I have forgotten the name. While it would not do what you want outright it might be able to be perverted to your ends.

    Option 2 is you use the flash cart against itself and hijack the saving routines (which are essentially memory dumps) to try and grab things that way.

    After this you are probably onto hardware methods.
     
  9. elixirdream

    elixirdream GBAtemp Legend

    Member
    10,007
    2
    May 27, 2008
    Malaysia
    6th Dimention
    not really..with proper programs and it also works on a flash cart [​IMG]