• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Tool: PPTE - Project Pokémon's Trainer Editor (for DPP)

Status
Not open for further replies.

SCV

DPP Game Researcher
178
Posts
16
Years
  • Please download from the attachment at the bottom of this post and not the other links. Those have not been updated. Thank you.

    Hello everyone I have made a Trainer Editor for DPP.

    PPTE - Project Pokémon's Trainer Editor (for DPP)




    Here is the Official Release information:
    https://db.pokesav.org/main/?q=12-23-08-ROM-Hack-PPTE-SCV
    https://db.pokesav.org/main/?q=PPTE
    Trainer Editor: PPTE (Project Pokemon's Trainer Editor)

    Coded by SCV.
    Download: Click Here
    ______________________________________________________________________________________
    Pre-requisites:
    - Windows OS
    - .Net 3.5
    ______________________________________________________________________________________
    Features:
    Change most trainer data, including:
    1) Number of Pokemon
    2) Trainer Sprite (class)
    3) Whether you can specify attacks
    5) Pokemon
    4) Pokemon Form (Platinum only)
    5) Attacks
    6) Levels
    7) Pokemon Items (For Type 3, maybe 0 and 2 as well, but definitely not 1)
    8) Whether it is a double battle
    9) Trainer Items
    ______________________________________________________________________________________
    Know Bugs/Issues:
    1) Program will crash if you use DP files and the game is not set to DP.
    2) Use type 2 only of you are going to test what it does. In DP no pokemon has type 2 originally I added type 2 support based on how it works in platinum. But the game might very well crash if you use it.
    3) The option for puting 0 pokemon is there but I have not tested what happens when you save it. Best thing is don't use it.

    ______________________________________________________________________________________
    How to use:
    1) Extract trdata.narc and trpoke.narc by exploring the 'poketool' folder and then the 'trainer' folder using NitroExplorer2b.
    2) Select which game you are modifying. [Either DP or Platinum]
    3) Load trdata.narc and trpoke.narc into PPTE.
    4) Edit trainers accordingly.
    5) Save by updating trainer data and Pokemon data.
    6) Replace the original narc files in the 'trainer' folder of the ROM by using NitroExplorer2b's 'Re-Insert' feature.
    7) Start up your game and face your modified opponents!
    ______________________________________________________________________________________
    Please report any bugs you find.
    Now if you are changing how many pokemon a trainer has or the type of pokes a trainer has, make sure to use nitroexplorer2 to reinsert the narc files.
    My program will resize the narc correctly to handle more pokemon or less pokemon or different type of pokemon. But most programs won't insert a narc file that is bigger than the one in the game.
    ALWAYS have back ups of trpoke.narc, trdata.narc and your DPP rom.
    I made this an open source program because I believe in helping others learn. Hopefully some of you will go ahead and learn C# to be able to understand this. If anyone has technical tips or any other tips or critisms, I would be glad to read them.
    ______________________________________________________________________________________
    Credits:

    - SCV [writing the PPTE]
    - Treeki [writing Nitro Explorer 2]
    - fenzo666 [beta testing, bug reporting, video, readme, how to]
    - damio [bug reporting, icon]
    - loadingNOW [PokeDSPic's C# code + most NarcReader.cs is the same as in PokeDSPic]
    - Sabresite [legal.exe C# code]
    - HackMew [Redoing the GUI, adding RemoveFromEnd Function to the NarcReader class, optimizations to the program, bug fixes]

    Changelog:

    12/26/08 (12/27/08) beta 0.1
    -Fixed a bug which was caused by not recalculating the new offsets when the narc is resized.
    -Disabled Pokemon Item option for Type 0.
    -Removed issue about pokemon appearing to hold items such as masterballs. This was caused by enabling items for type 0.
    -Will now label updated versions by beta 0.(number). I know what version I want to do for version 1.0, but that might be a few months away.

    12/28/08 beta 0.2
    -Fixed a bug which made it so that the pokemon would be the one with number 256 more than the one you chose in some cases.

    12/29/08 beta 0.3
    -Replacement GUI by HackMew.
    -HackMew added the DeleteFromEnd function which makes it so that you don't have to manually remove bytes from the end anymore.
    -Fixed a bug with the Alternate Form support which was caused by fixing the bug in beta 0.2

    12/29/08 beta 0.4

    -Added AutoComplete feature to all drop down lists.
    -Fixed (finally?) a bug with the way pokemon and form are determined. Should finally be correct. For beta 0.3 only the first form would be displayed.
    -Fixed an annoyance of losing attacks(in some cases) if you change type.

    01/06/09 beta 0.5

    -Various optimizations made by HackMew. Program is now about half the size!
    -HackMew fixed a bug which sometimes occured when selecting the last trainer.
    -HackMew added custom autocomplete to the Trainer ID dropdown. This works by goind the the right trainer when you type in, for example, "Trainer 35". Then if you add a 0 to the end of that you will be taken to to Trainer 350.
     
    Last edited:

    D-Trogh

    Dead
    439
    Posts
    18
    Years
  • If people like this I don't need to continue my trainer editor, jeej :D
    Though, I might continue.. I dunno :P

    Anyway, nice work!
    But.. using NARC files is ok, (easier for the programmer too, lol!), but I wouldn't use it if you have to load two different NARCs..
    I know it's better for memory and speed.. but meh, just load the two narcs from the ROM in an array or something, and use that..
    The NARCs are after each other in the ROM I think, so ;)

    -blablabla... I know why you do it, like this.. meh THINK so anyway :D
     

    SCV

    DPP Game Researcher
    178
    Posts
    16
    Years
  • If people like this I don't need to continue my trainer editor, jeej :D
    Though, I might continue.. I dunno :P

    Anyway, nice work!
    But.. using NARC files is ok, (easier for the programmer too, lol!), but I wouldn't use it if you have to load two different NARCs..
    I know it's better for memory and speed.. but meh, just load the two narcs from the ROM in an array or something, and use that..
    The NARCs are after each other in the ROM I think, so ;)

    -blablabla... I know why you do it, like this.. meh THINK so anyway :D
    Thanks.

    I am curious as to why you think I do it this way. Please post what you think. Then I will say if you were correct (or close) or not.
     
    588
    Posts
    16
    Years
  • Nice app, good to see some hackers using a language besides VB6 :P The UI is... kinda ugly, there's a lot of blank space, some stuff looks a little out of place, and numericupdowns are the best way to go for level and such.
     

    choatix

    Choatix
    30
    Posts
    17
    Years
    • UK
    • Seen May 1, 2022
    Nice program, I really like it!
    If you can help, why are there two sets of data for Lucas/Dawn? Thanks in advamce.

    Added:
    Changing thre amount of pokemon that trainers are using glicthes up the program. I changed the amouynt of poikemon used by Roark to 6 (and tried 4) and after that the suronding trainers and maybe more came up with an error message.
     
    Last edited:

    NTA

    Where?
    264
    Posts
    16
    Years
    • Seen Feb 10, 2012
    LOL i thought the giratina came at level 100 ive never played it so i wouldnt know T_T
     

    SCV

    DPP Game Researcher
    178
    Posts
    16
    Years
  • Nice program, I really like it!
    If you can help, why are there two sets of data for Lucas/Dawn? Thanks in advamce.

    Added:
    Changing thre amount of pokemon that trainers are using glicthes up the program. I changed the amouynt of poikemon used by Roark to 6 (and tried 4) and after that the suronding trainers and maybe more came up with an error message.
    Was this for platinum or DP? What was the error message? The more detail you can give as to what you did the easier it will be for me to fix the problem you are having.

    Also which two sets of data? Lucas/Dawn usually have three sets of battles which one gets activated depends on who one chooses as the starter. But I am not sure if that's what you are asking about.

    Nice app, good to see some hackers using a language besides VB6 :P The UI is... kinda ugly, there's a lot of blank space, some stuff looks a little out of place, and numericupdowns are the best way to go for level and such.

    Thanks for the suggestions. I will change a few things to numericupdowns. I was thinking of redesigning the way pokemon are displayed, maybe even use a different form that opens up, but I am not sure. Do you have any specific suggestions as to what would make the UI better?
     
    Last edited:

    Gokey Shuckle

    Bisexual and Proud
    2,582
    Posts
    19
    Years
  • It's not working to well for me. I am using an American DP ROM, and I was changing Trainer2's Shinx's moves. I changed it to Type 1 in order to do this. It was originally Type 0. When I edited the moves, I pressed "Update Trainer Data" and then went to another trainer. However, I went back to Trainer2, and now it showed that it now has a Krabby with no moves edited and Type 0. I have no clue how it changed into a Krabby all of a sudden. Then when I attempted to change it back into the normal Shinx, it said I had to remove bytes from (0x8)x8 or something like that. Can you help me?
     

    SCV

    DPP Game Researcher
    178
    Posts
    16
    Years
  • It's not working to well for me. I am using an American DP ROM, and I was changing Trainer2's Shinx's moves. I changed it to Type 1 in order to do this. It was originally Type 0. When I edited the moves, I pressed "Update Trainer Data" and then went to another trainer. However, I went back to Trainer2, and now it showed that it now has a Krabby with no moves edited and Type 0. I have no clue how it changed into a Krabby all of a sudden. Then when I attempted to change it back into the normal Shinx, it said I had to remove bytes from (0x8)x8 or something like that. Can you help me?
    When you tried adding attacks the narc file was made bigger. Putting it back to how it was, it needs to be made smaller again. I could not find a way to automatically delete the number of bytes that need to be deleted. The program will tell you how many bytes to delete. It should have said: 8(0x8)
    for the number of bytes to be removed. The first number is in decimal and the second is in hex (still the same number). In this case there wasn't much of a difference but if you had to delete 100 bytes then it would say: 100 (0x64) bytes. I did this because some hex editors show the number of selected bytes in hex.

    I will look into why you are having krabby show up. Thanks for the detail. It will have to wait about 5 hours though.

    Edit:
    I updated the program to fix the bug reported by choatix.
    Archuleta Shuckle I could not recreate your situation. But try with the updated version and see if you still encounter the same problem. Either way, thank you both for reporting.

    I updated the attachment in the first post. I have also put two attachments this time. One is the source and the other the program and the readme.

    EDIT: I had forgotten to fix the bug for the case when the narc file is made smaller. To the person who downloaded the previous update. Please, re-download. I did not make this update a new version.
     
    Last edited:

    Gokey Shuckle

    Bisexual and Proud
    2,582
    Posts
    19
    Years
  • I'm still getting errors. Now I am strictly working on Type 0 in hopes that something will work, but everytime I try to change a trainer's pokemon, it tells me to delete more bytes. When I updated with Trainer2 to give him only a Weedle, it turned into a Dustox when clicked back to him. I have all the source files in the same folder as PPTE and the SLN file also, but it is still not working correctly. I just wonder if the rom I am using is not compatible.

    EDIT: I THINK I figured out the problem. What I did was, I re-extracted the trdata and trpoke files, and placed ALL the source files and the program itself in one folder. I changed Trainer 3 to Type 1 and their Pokemon are Bidoof and Taillow. Bidoof has Tackle, Water Sport, Rest, and Fury Cutter while Taillow has Peck, Growl, Twister, and Refresh. At first, I would type the attacks in manually rather than search them down on the list, and would save. However, when reverting back, Fury Cutter turned into Pay Day, however, i've noticed that if you actually look for them in the list, and the save without typing the whole name of the attack in, it updates correctly. So I think I figured out my problem.
     
    Last edited:

    SCV

    DPP Game Researcher
    178
    Posts
    16
    Years
  • I'm still getting errors. Now I am strictly working on Type 0 in hopes that something will work, but everytime I try to change a trainer's pokemon, it tells me to delete more bytes. When I updated with Trainer2 to give him only a Weedle, it turned into a Dustox when clicked back to him. I have all the source files in the same folder as PPTE and the SLN file also, but it is still not working correctly. I just wonder if the rom I am using is not compatible.
    Download from the attachment at the bottom of the first post. It says there are 0 views to the latest files. So you are not using the latest version.

    Also the source is only if you want to understand the programming that went into making this program.
     

    Gokey Shuckle

    Bisexual and Proud
    2,582
    Posts
    19
    Years
  • I made an edit on that post explaining that I got the issue under control. :P

    And I do have the new version, but I don't know why it still says 0 views.

    EDIT: Okay, I just went and tested it in the game. When checking to see if Trainer3 (Lass on route 202) had all the correct stuff, it appeared Bidoof's edits were there, however, when she sent out her second Pokemon, it wasn't an Eevee. It was a Marshtomp! Could this error occur in the game if you don't update while the program isn't set to DP?
     
    Last edited:

    SCV

    DPP Game Researcher
    178
    Posts
    16
    Years
  • I made an edit on that post explaining that I got the issue under control. :P

    And I do have the new version, but I don't know why it still says 0 views.

    EDIT: Okay, I just went and tested it in the game. When checking to see if Trainer3 (Lass on route 202) had all the correct stuff, it appeared Bidoof's edits were there, however, when she sent out her second Pokemon, it wasn't an Eevee. It was a Marshtomp! Could this error occur in the game if you don't update while the program isn't set to DP?
    Well if you are editing a DP file you have to have it set to DP. The formats are different so you have to make sure you specify when you are using DP. I don't understand why it would give you marshtomp, though. What was the level of the marshstomp? Also what were the moves you put on eevee?

    I haven't used it yet, but from the looks of things, yours is great! At least now I know that I don't have to update mine. =P
    Good job!
    Thanks
     

    Gokey Shuckle

    Bisexual and Proud
    2,582
    Posts
    19
    Years
  • Eevee had Tackle, Sand-Attack, Bite, and Fake Tears. Also, I think their might be something wrong with the coding. When I tried to change a trainer's pokemon to Feraligatr, when I clicked back, it turned into a Vespiquen in the game and in the program. Other effects happen to most of the GS Pokemon, however, when testing on Houndoom, it remained Houndoom. But it seems to be in some sort of order. Sentret turned into Pachirisu, Furret turned into Buizel, Hoothoot turned into Floatzel etc. but I don't knoe where it ends. All I know is that it didn't affect Houndoom. And all I did was change the pokemon and kept them as Type 0. I just wonder if this is the similar reason as to why Eevee changed into Marshtomp. I think there might be something wrong with the offsets or something got mixed up during the creation of the tool. I've seen this happen once before with a Wild Pokemon Editor where the Pokemon would change to something else.
     

    SCV

    DPP Game Researcher
    178
    Posts
    16
    Years
  • Eevee had Tackle, Sand-Attack, Bite, and Fake Tears. Also, I think their might be something wrong with the coding. When I tried to change a trainer's pokemon to Feraligatr, when I clicked back, it turned into a Vespiquen in the game and in the program. Other effects happen to most of the GS Pokemon, however, when testing on Houndoom, it remained Houndoom. But it seems to be in some sort of order. Sentret turned into Pachirisu, Furret turned into Buizel, Hoothoot turned into Floatzel etc. but I don't knoe where it ends. All I know is that it didn't affect Houndoom. And all I did was change the pokemon and kept them as Type 0. I just wonder if this is the similar reason as to why Eevee changed into Marshtomp. I think there might be something wrong with the offsets or something got mixed up during the creation of the tool. I've seen this happen once before with a Wild Pokemon Editor where the Pokemon would change to something else.
    There was indeed something wrong. I fixed it now and updated the program. Thanks for reporting this. I did not get time to look into the problem with eevee. I will do that later. I don't think its related to this one though.
     
    6
    Posts
    15
    Years
    • Seen Dec 28, 2011
    Question:

    First i want to say that your tool is amazing, (one day before you released it, i started to edit the .narc files with a hex editor xDD)
    I have one question is it possible to change the Type of a Trainer e.g. Lass on Route 202 to a Type 3 Trainer(or a lot of Type 0 Trainers into Type 1, 2 or 3 ). Or would that cause problems?
     

    SCV

    DPP Game Researcher
    178
    Posts
    16
    Years
  • First i want to say that your tool is amazing, (one day before you released it, i started to edit the .narc files with a hex editor xDD)
    I have one question is it possible to change the Type of a Trainer e.g. Lass on Route 202 to a Type 3 Trainer(or a lot of Type 0 Trainers into Type 1, 2 or 3 ). Or would that cause problems?
    That should work fine. There were a few problems in the original release but I fixed it for beta 0.1.

    If you run into any problems let me know.
     
    Status
    Not open for further replies.
    Back
    Top