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

drgoku282

Well-Known Member
OP
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
Disclaimer: This program is a WIP, it's pretty stable for Gen VI and VII games. However it can fail at any time. Make a save backup of your games before using this tool. I will not take responsibility for any save corruption, loss of data or banning from Nintendo.

What is this application?

PKMN-NTR is a on-the-air memory editing program for pokémon games in the Nintendo 3DS. In other words, is a mini-PKHeX that works while the game is running. It also has some bots capable of automate tasks like Wonder Trading pokémon or Breeding.

Which games are compatible?
  • Pokémon X
  • Pokémon Y
  • Pokémon Omega Ruby
  • Pokémon Alpha Sapphire
  • Pokémon Sun
  • Pokémon Moon
  • Pokémon Ultra Sun (WIP)
  • Pokémon Ultra Moon (WIP)
All games need to be updated to the latest version and .NET Framework 4.6 is also needed. Pokémon Sun and Moon are compatible using Mode3-NTR.

What it can do?
  • Dump and edit pokémon from boxes, Day Care/Nursery, Battle Box and Party using PKHeX interface.
  • See wild opponent pokémon and your partner's pokémon during a trade.
  • Clone and delete pokémon.
  • Inject pokémon from a *.pkx file in your computer.
  • Edit Items and Trainer Data.
  • Bots for Breeding, Soft-reset and Wonder Trade.
  • Search pokémon in the 3DS' RAM with Poké Digger.
  • Build your own mini-bots with the Script Builder.
How do I use it?
  1. Read the wiki.
  2. Look for your 3DS' IP address using FBI or an FTP client.
  3. Start NTR-CFW (Use Mode-3 if you want to use a Gen 7 game in an old 3DS).
  4. If you want to use bots, enable InputRedirection.
  5. Open your game, both retail and digital version are supported.
  6. Enable the NTR debugger.
  7. Go to PSS / Festival Plaza.
  8. Connect to Internet.
  9. In your computer, start PKMN-NTR.exe.
  10. Input the IP Address of your Nintendo 3DS.
  11. Click on the Connect button
  12. Enjoy the application!
Source code and downloads:
Credits:
  • fa-dx: Gathering offsets, creating the tool.
  • 44670: NTR CFW & NTRClient, this tool is based off a modified NRClient.
  • Kaphotics: For PKHeX, which is used as the core of the program.
  • jackmax: Doing a large-scale rewrite of the code to make it more robust, readable and maintainable.
  • Stary2001 and Kazo: For InputRedirection which was the base for the Remote Controls and the Bots.
  • Davi Andrade: For the application icon.
 
Last edited by drgoku282,

drgoku282

Well-Known Member
OP
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
First version with initial S/M support is on: https://github.com/drgoku282/PKMN-NTR/releases/tag/2.0.0-alpha1

Changelog (compared to last stable version):

Added:
  • Core: Pokémon Sun and Moon support: Can read and write the player's name, TID, SID, Money, current Festival Coins, Language and Played Time.
  • Core: Added a button to reload all data in the "Edit Save" tab.
Fixed:
  • Core: Minor fixes and code rewriting.
 
Last edited by drgoku282,
  • Like
Reactions: RustInPeace

hacksn5s4

Banned!
Banned
Joined
Aug 12, 2015
Messages
4,332
Trophies
0
XP
1,322
Country
not alot of people have the new 3ds yet so thats a problem the soulion around the extened memory thing is to mod luma and add a debugger
 

drgoku282

Well-Known Member
OP
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
not alot of people have the new 3ds yet so thats a problem the soulion around the extened memory thing is to mod luma and add a debugger

Please, refer this talk to a proper thread. It is a known fact that NTR tools will not work with games which use Extended Memory mode.

For everyone in this thread: Do not ask if Generation 7 games will be compatible with an Old 3DS, any questions of this nature will be ignored in the future.
 

Whimsii

Member
Newcomer
Joined
Nov 13, 2016
Messages
7
Trophies
0
Age
34
XP
91
Country
United States
Thanks so much for keeping this updated.

So, I tried this out with Sun, and the edited Money value doesn't write. It'll change the value in the box, but it isn't reflected in-game.
 

Undi

TRASH 悲しい天使
Member
Joined
Feb 22, 2014
Messages
344
Trophies
0
Age
28
XP
1,361
Country
Belgium
NTR don't want me to go online to avoid cheating, so it's not possible.

EDIT: I'm dumb, I forget to desactivate my cheat, now it's working.
 
Last edited by Undi,

drgoku282

Well-Known Member
OP
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
New preview version: https://github.com/drgoku282/PKMN-NTR/releases/tag/2.0.0-alpha2

Added:
  • Core: Pokémon Sun and Moon support:
    • Can read and write the player's name, TID, SID, Money, current Festival Coins, Language and Played Time.
    • Read and modify pokémon in boxes.
  • Core: Added a button to reload all data in the "Edit Save" tab.
Fixed:
  • Core: Minor fixes and code rewriting.
 

Sakiisa

Active Member
Newcomer
Joined
Sep 17, 2016
Messages
38
Trophies
0
Age
30
XP
83
Country
Malaysia
Small suggestion that perhaps sweet scent can be used for shiny hunting on all versions =]

as always ping us for any tests needed. thank you for your work!
 

Slowbeatle

Well-Known Member
Newcomer
Joined
Jul 29, 2014
Messages
70
Trophies
0
Age
31
Location
Trujillo Alto
XP
130
Country
can i request for someone to add bp and festival plaza points to my save please (not sure if poke pelago beans are in as well, but that would be nice)
 

QuickQuestion

Well-Known Member
Newcomer
Joined
Apr 24, 2014
Messages
87
Trophies
0
XP
228
Country
United States
Wow this looks amazing. I'd love to try and write my own bot/script for this, where in the Github is the source code for the Wondertrade bot?
 

drgoku282

Well-Known Member
OP
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
New preview version: https://github.com/drgoku282/PKMN-NTR/releases/tag/2.0.0-alph3

Added:
  • Core: Pokémon Sun and Moon support:
    • Can read and write the player's name, TID, SID, Money, current Festival Coins, Language and Played Time.
    • Read and modify pokémon in boxes.
    • Read pokémon in party.
    • Clone pokémon
    • Write pokémon from a ".pk7" file
    • Delete pokémon
  • Core: Added a button to reload all data in the "Edit Save" tab.
Fixed:
  • Core: Minor fixes and code rewriting.
  • Core: Party warning message fixed,.
  • GUI: Changing between radio boxes for pokémon sources no longer causes gui malfunctions.

Small suggestion that perhaps sweet scent can be used for shiny hunting on all versions =]

as always ping us for any tests needed. thank you for your work!

It was suggested, but I can only read one pokémon from hordes, so it's not that useful.

Wow this looks amazing. I'd love to try and write my own bot/script for this, where in the Github is the source code for the Wondertrade bot?

It's in https://github.com/drgoku282/PKMN-NTR/blob/master/PKMN-NTR/MainForm.cs starting at line 3165 to 3698. Will probably move it to a new class later.
 

drgoku282

Well-Known Member
OP
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
OK, guys update:
  • BP edit will not be implemented until PKHEX supports it. Will probably change the field to FC Collected.
  • No item support for now, I have the offsets but the actual handling of data is very different, compared with Gen VI, the entire handling of item data needs to be reworked, it might take time.
  • I still can't connect the application with the game outside from the Festival Plaza, so, only the Wonder Trade bot will be supported in Gen 7.
When I implement a couple of changes I'll publish the first beta of version 2.0.
 

Temptress Cerise

Miss Magic~ <3
Member
Joined
May 1, 2016
Messages
2,242
Trophies
1
XP
2,334
Country
United States
New preview version, it's now in beta phase: https://github.com/drgoku282/PKMN-NTR/releases/tag/2.0.0-beta1

Same changelog as alpha-3, but can now edit total festival coins, it's unknown if this affects leveling for festival plaza, my advice is to write one point below next level and collect some FC.
It shouldn't. While I didn't use this, I use my Gateway3DS to give myself max festival coins, I just level up as soon as I get a new coin
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Sicklyboy @ Sicklyboy:
    maaaaan that's so awesome but I also don't want to fork over a hundo for it
  • Veho @ Veho:
    The fuuuuu---
  • Veho @ Veho:
    I thought it was an actual xBox at that price.
  • Sicklyboy @ Sicklyboy:
    I wanna grab a 360 Slim and a 360 E one of these days. Missed the boat of getting them at their lowest though, once they were discontinued. Could've got them for cheap back when I was a broke 20 something working at Target, but then again, I was a broke 20 something working at Target
  • Veho @ Veho:
    Being broke is no fun.
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, $150 isn't that bad for a jtag slim on ebay
  • Veho @ Veho:
    I only wish it was actually playable.
  • Veho @ Veho:
    There's a guy on the Tube of You that makes playable mechanical arcade games out of Lego. This could work on the same principle.
  • Veho @ Veho:
    Just a couple of guys taking their manatee out for some fresh air, why you have to molest them?
  • Veho @ Veho:
    Stupid Chinese shop switched their shipping company and this one is slooooooow.
  • LeoTCK @ LeoTCK:
    STOP BUYING CHINESE CRAP THEN
  • LeoTCK @ LeoTCK:
    SUPPORT LOCAL PRODUCTS, MAKE REVOLUTION
  • LeoTCK @ LeoTCK:
    THEY KEEP REMOVING LOCAL SHIt AND REPLACING WItH INFERIOR CHINESE CRAP
  • LeoTCK @ LeoTCK:
    THATS WHY MY PARTNER CANT GET A GOOTWEAR HIS SIZE ANYMORE
  • LeoTCK @ LeoTCK:
    HE HAS BIG FOOT AND BIG DUCK
  • LeoTCK @ LeoTCK:
    d*ck i mean*
  • LeoTCK @ LeoTCK:
    lol
  • Veho @ Veho:
    Mkay.
  • Veho @ Veho:
    I just ordered another package from China just to spite you.
  • SylverReZ @ SylverReZ:
    Leo could not withstand communism.
  • SylverReZ @ SylverReZ:
    Its OUR products to begin with lol.
    SylverReZ @ SylverReZ: Its OUR products to begin with lol.