PKMN-NTR: Real-time memory editing program for Pokémon games [WIP]

Discussion in '3DS - Homebrew Development and Emulators' started by drgoku282, Nov 13, 2016.

  1. CybaltM

    Newcomer CybaltM Advanced Member

    Joined:
    Nov 4, 2016
    Messages:
    52
    Country:
    United States
    Thanks my dude!
     


  2. Trainiax

    Member Trainiax Certified Genius

    Joined:
    Jun 2, 2016
    Messages:
    172
    Location:
    Earth
    Country:
    United States
    Hello, just a little thing here. I am going to use this to WT, and because of that, I need to remove ribbons. I was trying to WT an Arceus, but because the ribbons were removed, it wouldn't let me add to my boxes. Is it possible to remove legality checking?
     
  3. CybaltM

    Newcomer CybaltM Advanced Member

    Joined:
    Nov 4, 2016
    Messages:
    52
    Country:
    United States
    Use this build of PKMN-NTR instead, created by Foxy! https://www.dropbox.com/s/im31en23kacvxon/PKMN-NTR-i.7z?dl=1

    Also, feel free to check out my shiny event pk7s here: https://mega.nz/#F!ATogkJyS!RgiLeE3qNW6nZQ8Bu5spEA
     
  4. Trainiax

    Member Trainiax Certified Genius

    Joined:
    Jun 2, 2016
    Messages:
    172
    Location:
    Earth
    Country:
    United States
    CybaltM likes this.
  5. dotarice

    Newcomer dotarice Advanced Member

    Joined:
    Nov 10, 2015
    Messages:
    83
    Country:
    Belize
     
  6. cloudypeak

    Newcomer cloudypeak Newbie

    Joined:
    Apr 29, 2017
    Messages:
    4
    Country:
    United States
    Hey, I guess I'm back. What is an .ek7 file and how can I inject Pokemon using it? I accidentally deleted some but it saved a backup as an .ek7 file, but I wanna put them back.

    edit: I guess I could read them in KeySAVe and convert to pk7 files but then how do I write those into the game?
     
    Last edited by cloudypeak, May 8, 2017
  7. fadx

    Member fadx GBAtemp Regular

    Joined:
    Sep 15, 2016
    Messages:
    129
    Country:
    United Kingdom

    Try this: http://www.mediafire.com/file/39fieerz5e4cu00/PKMN-NTR.exe

    Change the name of PKMN-NTR.exe to PKMN-NTR-ILLEGAL.exe to enable writing of illegal Pokemon.
    Name the executable to anything else to disable the writing of illegal Pokemon.

    You'll be notified on launch if you correctly enabled the writing of illegal Pokemon.

    If you'd like to compile yourself, just add this line before "Program.ntrClient.DataReady += handleDataReady;" in MainForm.cs
    if (System.AppDomain.CurrentDomain.FriendlyName == "PKMN-NTR-ILLEGAL.exe") { enableillegal = true; WinFormsUtil.Alert("You have enabled writing of illegal Pokemon!"); }

    You could change/remove the alert or even change the PKMN-NTR-ILLEGAL.exe to whatever you wanted like PKMN-NTR-i.exe
     
    Last edited by fadx, May 11, 2017
    CybaltM, Foxy and RustInPeace like this.
  8. multisofteis

    Newcomer multisofteis Member

    Joined:
    Jan 3, 2016
    Messages:
    12
    Country:
    Germany
    How about adding a way to control all the bots using a Telegram Bot? Many Pokemon Go Bots have that functionality and it would be great if PKMN-NTR would too. I imagine that PKMN-NTR would message me when the breeding cycle is finished if no match was found and I can simply restart my bot again when I'm outside.
     
  9. Trainiax

    Member Trainiax Certified Genius

    Joined:
    Jun 2, 2016
    Messages:
    172
    Location:
    Earth
    Country:
    United States
    Kinda of an odd request here. Would it be possible to add to the WT bot to send out the Poke when someone types something in a Twitch chat? I WT with AuSLove, and it would be helpful to have a bot do it with the timer.
     
  10. MichiS97

    Member MichiS97 "Leftist snowflake milennial"

    Joined:
    Jun 14, 2011
    Messages:
    1,216
    Location:
    Bavaria
    Country:
    Germany
    @drgoku282 Brace yourself, 1.2 updates for Sun and Moon are coming. They're already on the CDN. How can I help with finding the new offsets when it's released?
     
    RustInPeace and CybaltM like this.
  11. Foxy

    Newcomer Foxy Advanced Member

    Joined:
    May 1, 2015
    Messages:
    72
    Country:
    Brazil
    Source?
     
  12. MichiS97

    Member MichiS97 "Leftist snowflake milennial"

    Joined:
    Jun 14, 2011
    Messages:
    1,216
    Location:
    Bavaria
    Country:
    Germany
    @zaksabeast, creator of pokeCalcNTR
     
    RustInPeace and Foxy like this.
  13. RustInPeace

    Member RustInPeace Samurai Cop

    Joined:
    Oct 13, 2014
    Messages:
    1,971
    Country:
    United States
    It still works with 1.2, but since I was using an NFC IPS patch, I can't connect at any old point in the game, instead having to so on the continue screen and of course when online through Festival Plaza (server maintenance though at the time of this post so that part is speculation).

    Edit: can connect when online in Festival Plaza.
     
    Last edited by RustInPeace, May 17, 2017
    MichiS97 likes this.
  14. MichiS97

    Member MichiS97 "Leftist snowflake milennial"

    Joined:
    Jun 14, 2011
    Messages:
    1,216
    Location:
    Bavaria
    Country:
    Germany
    Did you test the bots?
     
  15. RustInPeace

    Member RustInPeace Samurai Cop

    Joined:
    Oct 13, 2014
    Messages:
    1,971
    Country:
    United States
    Not extensively, but there are some issues. Breeding bot, at least for Accept/Reject, doesn't stop, I had it set to accept 1 egg, it did, but kept going, even engaging the nursery woman again. Wild Pokemon bot hits X, does not enter the bag, so probably doesn't hit A anymore. I think that's enough to say that the bots need updating. It also no longer can read what the legendary seed is. Just makes it read as "30000000"
     
    Last edited by RustInPeace, May 17, 2017
    MichiS97 likes this.
  16. zaksabeast

    Member zaksabeast GBAtemp Regular

    Joined:
    May 24, 2016
    Messages:
    238
    Country:
    United States
    @drgoku282, the new Gen 7 init seed is located at 0x325A3878. I might have some Gen 6 info you could use for PKMN-NTR as well due to the Gen 6 pokeCalcNTR if you have things you'd like to add!
     
  17. MichiS97

    Member MichiS97 "Leftist snowflake milennial"

    Joined:
    Jun 14, 2011
    Messages:
    1,216
    Location:
    Bavaria
    Country:
    Germany
    I'd really like to help with this but I can't really help in finding the new offsets for the bots since I just don't know what dialogOff, dialogIn and dialogOut mean in the code and where I'd find these offsets in the game.
    I've worked on my own fork of this programm quite a lot recently so coding isn't the problem, it's just that I don't know what the offsets actually point to and how to find them.

    @zaksabeast is the offset you posted for the egg seed or the stationary seed?
     
  18. fortedsx

    Newcomer fortedsx Member

    Joined:
    Nov 13, 2011
    Messages:
    26
    Country:
    United States
    I, too, would like to help with finding the new offsets but I don't know where to start as well.
    What I've tried so far was dumping everything found under pid:niji_loc and taking a look at it with HxD but didn't find anything remotely useful. I then tried opening it using Cheat Engine but then found out the .dmp files where not compatible with it.

    I don't think I'm doing this right but I enjoyed going through the trial-and-error of things.
     
  19. MichiS97

    Member MichiS97 "Leftist snowflake milennial"

    Joined:
    Jun 14, 2011
    Messages:
    1,216
    Location:
    Bavaria
    Country:
    Germany
    You won't find any of the offsets by just looking at one single dump in a HEX editor ;) Well, at least not if you don't know what you're looking for exactly.
    What I think I'm going to do is dump the memory from my 1.1 versions and then update to 1.2, making a dump again. Then I'll try to go to the offsets listed in the source code in the 1.1 dump and see how the data looks like there and then try to find the same data in the 1.2 dumps. I really really doubt that it's going to be that easy though...
     
  20. zaksabeast

    Member zaksabeast GBAtemp Regular

    Joined:
    May 24, 2016
    Messages:
    238
    Country:
    United States
    That was the initial seed for all Pokemon you would battle, stationary, wild, and otherwise.

    The egg seed is in the same location.
     
    MichiS97 likes this.

Share This Page