[Plugin NTR]RAM Explorer

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Nanquitas, Mar 16, 2016.

  1. Nanquitas
    OP

    Nanquitas GBAtemp Addict

    Member
    2,080
    1,708
    Sep 29, 2015
    France
    South of France :)
    Hello everyone !

    I didn't know where to post this. I thought of homebrew development categories first, but it's not really an homebrew, it's more like an utilities. Sorry if it's not in the right place !

    I made a plugin for NTR CFW, which allow you to navigate through the memory region used by a process. I made it for studying purpose first, but maybe it can be useful to someone so I share it.

    So, you choose a process and you can see all the data stocked in memory. :)

    For now, the plugin can only read the memory, you can't change it with my plugin.
    Also, it's a home plugin, so you can still have your cheats plugins and it doesn't shutdown the network function. ;)
    Viewer mode
    Address
    Edit mode
    Pointer mode

    Important information:

    Version 1.2 bring new features but they were only tested on N3DS. So I don't know how the o3DS will react to this update.
    Some of the new features are making conflict with most game as they weren't designed to use the n3DS hid.
    Even if I fixed the crash of the 3DS when entering in the plugin while a game / app is running, it seems that it can sometime make the 3DS freeze after a random while (in the plugin only).

    So I recommend to always use the plugin in the homemenu ! (Press Home to pause the app currently running)
    If not, expect strange behaviors and bugs.

    Search mode is not implemented right now !! (In a future update ;) )

    Process dumper: It's a little thing i've made as a test first, but maybe it can be useful to someone so I've decided to let it.
    It will dump the chosen process into: "SD:/dump/ramdump.bin". Be sure to create the dump folder or you will have an error.

    This dumper will read and write from 0x0 to 0x20000000. Theoretically the end file can be used in soft like TempAR for finding pointer (can be useful to cheats creator).
    The dumper do not delete the file if previously existed, it'll just write on it, so be careful to export/rename it before doing another dump.

    Viewer mode keys:
    - UP : top address - 8 (go up);
    - DOWN : top address + 8 (go down);
    - LEFT : change current memory region, (-1);
    - RIGHT : change current memory region, (+1);
    - CPAD DOWN : go down quickly;
    - CPAD UP : go up quickly;
    - C-Stick DOWN / X : go down very very quickly (+= 0x1000);
    - C-Stick UP / Y : go up very very quickly(-= 0x1000);
    - L + UP : go to the beginning of the current memory region ;
    - L + DOWN : go to the end of the current memory region;
    - A : refresh (read the memory and print the change);
    - B : quit;
    - START : Address mode.
    - L + R : Edit mode
    - R : Pointer mode

    Address mode keys:
    - UP / DOWN : Change the selected value
    - LEFT / RIGHT : Move the selector;
    - B : Cancel;
    - A : Go to the entered address.

    Edit mode keys:
    - DPAD / CPAD / C-Stick : move the selector;
    - X : Up the selected value;
    - Y : Down the selected value;
    - B : Cancel;
    - START : Write.

    Pointer mode keys:
    - DPAD / CPAD / C-Stick : move the selector;
    - B : Cancel;
    - A : Go to the selected value.

    Version < 1.2 Keys

    The memory region which have a size <= 0x1000 will not be available. It's cause there was too much of them and most of them if not all are useless.

    If you have bugs/suggestions or anything else, feel free to feedback, express yourself ! :)

    Bugs
    Changelog

    The GW-Ram-Ref is not from me, it's made by @x.Jam.es !!!
    The TempAR is not from me, it's made by raing3, original post here !!!
     

    Attached Files:

    Last edited by Nanquitas, May 28, 2017


  2. SANNIC789

    SANNIC789 GBAtemp Advanced Fan

    Member
    704
    91
    Oct 3, 2015
    United States
    YESSS THANK YOU
     
    Nanquitas likes this.
  3. pokemoner2500

    pokemoner2500 GBAtemp Advanced Fan

    Member
    846
    276
    Aug 14, 2013
    United States
    If you could change the values this would be a lot more useful, although it may still be nice for some things, can you search for values?
     
  4. gudenau

    gudenau Largely ignored

    Member
    3,273
    1,240
    Jul 7, 2010
    United States
    /dev/random
    The sources would be nice to have.
     
    VegaRoXas and I pwned U! like this.
  5. Nanquitas
    OP

    Nanquitas GBAtemp Addict

    Member
    2,080
    1,708
    Sep 29, 2015
    France
    South of France :)
    Yeah, problem is that we don't have access to the full HID (tactile, stick, ZR/ZR aren't available) (nervermind, I found a way to use it), so I'm working on a solution to implement this and to make it easy and quick to use.

    So search and write will be implemented in future update. :)
     
    Last edited by Nanquitas, Mar 23, 2016 - Reason: Changing my opinion
    A_Random_Guy likes this.
  6. gudenau

    gudenau Largely ignored

    Member
    3,273
    1,240
    Jul 7, 2010
    United States
    /dev/random
    Couldn't you use select to edit memory?
     
  7. DesuIsSparta

    DesuIsSparta GBAtemp Advanced Fan

    Member
    542
    174
    Oct 13, 2015
    United States
    Weaboo land
    This is awesome. Keep up the great work, I would love to see an edit function as well as some search functions! Open source a possibility?
     
  8. Nanquitas
    OP

    Nanquitas GBAtemp Addict

    Member
    2,080
    1,708
    Sep 29, 2015
    France
    South of France :)
    Yes but it's a bit more complicated than just trigger the first button. But it's okay, I know how i'll do it. :)

    Edit mode will come first, search mode next. ;)

    I'm not close to open the sources, but for know i don't want to.
     
    DesuIsSparta and Februarysn0w like this.
  9. gudenau

    gudenau Largely ignored

    Member
    3,273
    1,240
    Jul 7, 2010
    United States
    /dev/random
    I know it's not that simple. :-/
     
  10. Nanquitas
    OP

    Nanquitas GBAtemp Addict

    Member
    2,080
    1,708
    Sep 29, 2015
    France
    South of France :)
    I didn't want to belittle you, i was saying this because edit mode need more input than just one. ;)

    The best thing would be to select the byte we want to edit with the touchscreen but it's not possible for now.
    But it's okay, i found a way to make it work and keeping it easy to use. Now i'm working on the writing functions.
    Should be ready soon. :)
     
  11. Nanquitas
    OP

    Nanquitas GBAtemp Addict

    Member
    2,080
    1,708
    Sep 29, 2015
    France
    South of France :)
    In the update coming soon:
    Edit mode
    Pointer mode

    :)
     
    I pwned U!, hippy dave and amicus like this.
  12. Nanquitas
    OP

    Nanquitas GBAtemp Addict

    Member
    2,080
    1,708
    Sep 29, 2015
    France
    South of France :)
    Version 1.1 Beta Released

    Changelog
     
  13. Blundermann

    Blundermann GBAtemp Regular

    Member
    173
    124
    Oct 15, 2013
    United States
    How do I install this?
     
  14. Nanquitas
    OP

    Nanquitas GBAtemp Addict

    Member
    2,080
    1,708
    Sep 29, 2015
    France
    South of France :)
    You just have to decompress the archive in your SD's root.

    Then you launch NTR CFW and in the menu you 'll see RAM Explorer. ;)
     
  15. Blundermann

    Blundermann GBAtemp Regular

    Member
    173
    124
    Oct 15, 2013
    United States
    Ah, thanks so much. I appreciate it.
     
  16. Nanquitas
    OP

    Nanquitas GBAtemp Addict

    Member
    2,080
    1,708
    Sep 29, 2015
    France
    South of France :)
    No problem, don't hesitate if you have more questions. :)
     
  17. Goombi

    Goombi Meme crypto = my crypto

    Member
    143
    53
    Jun 1, 2014
    France
    RnVja1lvdU15RHVkZQ
    That's prefect, I will be able to keep working on my stuff in public transports now, I spend too much time on non 3DS stuff at home. Thanks for the >0x1000 regions BTW :)
     
  18. SomeGamer

    SomeGamer GBAtemp Guru

    Member
    5,755
    2,712
    Dec 19, 2014
    Hungary
    Does this mean I can use cheat.plg with online functionalities intact or simply that I can make cheats with this?
     
  19. Nanquitas
    OP

    Nanquitas GBAtemp Addict

    Member
    2,080
    1,708
    Sep 29, 2015
    France
    South of France :)
    No problem, i'm glad that you like this. :)

    Nope. It mean that this plugin do not shutdown the network but if you load an other plugin which disable the network your network will be disabled.

    You have to use cheat.plg that do not disable the network.

    Or else, you can remove the cheat.plg from the game directory, and once you're in the game, you write the cheat with the "Editor mode".

    This way you can have cheats and online. ;)
     
    CrispyYoshi, I pwned U! and SomeGamer like this.
  20. Shirako

    Shirako GBAtemp Regular

    Member
    121
    23
    Aug 24, 2015
    United States
    Maybe one day this plugin can be any where near cwcheat for psp, still a great job though
     
    Nanquitas likes this.