Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.

Closed Thread
 
Thread Tools
  #1    
Old September 26th, 2011 (3:03 AM). Edited July 19th, 2012 by pichu2000.
pichu2000 pichu2000 is offline
     
    Join Date: Nov 2005
    Gender:
    Posts: 153
    Nintendo Pokemon Rom Editor

    by pichu2001

    Installation

    Extract your rar file on a directory, then follow these steps.
    • Open the program.
    • It generate a Texture directory with a material.txt void file.
    • Delete this folder and extract files from Textures.zip

    At the end of the process, you need to have a folder Textures with a bunch of btx file inner.

    Be careful: You don't have a Textures/Textures/file.btx, but a Textyures/file.btx directly.


    Features
    • Inner built-in NDS ROM explorer (Viewer, not Editor)
    • Support for these format.

      * Nintendo Archive (.NARC) - Open, Extract.
      * AB Archive (.AB) - Open, Extract.
      * Nintendo Model (.NSBMD) - Open, Save, Edit, Extract.
    • In particular for Pokèmon Game we have.

      * Pokèmon Maps (Diamond, Pearl, Platinum, HeartGold, SoulSilver, Black, White, Black2, White2).

      ** Movement - Open, Save, Edit
      ** Object - Open, Save, Edit (Some bug with 5TH Generation Game).
      ** Model (Same features of NSBMD)

      * Pokèmon Script (Diamond, Pearl, Black, White) - WIP. Only View, with some problem regarding movement and a lot of unsupported command.

      * Pokèmon Events (Diamond, Pearl) - WIP Only view.
    • A very rough Hex Viewer for all file (into NDS ROM).

    FAQ

    1)How can I open a NDS ROM?
    • Go to File, Open and select your ROM.
    • Into the Tree Viewer, you can see a rapresentation of File System (Like Windows Directory) of your ROM.

    2)How can I open a Map?


    After your open the ROM, you need to go on a particular file (depending from ROM).
    • Diamond, Pearl : /root/fielddata/land_data/land_data_release.narc
    • Platinum : /root/fielddata/land_data/land_data.narc
    • Heart Gold, Soul Silver: /root/a/0/6/5/5
    • Black, White, Black2, White2 : /root/a/0/0/8/8

    Now, you have two choice
    • Open a singe map file --> Doing this sequence: Right Click, Open, Click on little +, choose an internal file, Right Clik on it, Open as, Map.
    • Open entire NARC as container of Map --> Doing this sequence: Right Click, Open as, Narc (3D).

    After, you must see a little Window with five choices: DP, Pl, HGSS, Bw, BW2, Other.
    You need to choose the right ROM origin, then click OK.

    If all going well, a new Window appear, with a Blue Rectangle (we call it Renderer) on the right (If is Black, there's a bug).
    On the left of Renderer, we have four Slider (Zoom, Elevation, Rotate, Translation) that move Camera on Renderer.
    If you have chosen single map file, you need only to move these slider.
    If you have chosen NARC container, you need to choose the map from a List (on the left of Slider), then move Slider.

    3)How can I edit a Map?

    First you need to choice What edit.

    Movements
    • Click on Tab Movements, and you see a big coloured Table (32*32 Cells).
    • Edit a Cell.
    • Click on Save Button

    Note: You need to save the entire Map for have a real editing.
    So, go to File, Save, Map and create a new File. Then File, Open, Map, choose Map Origin, and continue Editing).
    Note 2: For reinsert the Map into ROM, you need to use another Tool that can repack NARC.

    Objects
    • Click on Tab Object, and you see two elements: a big coloured Table similar to Movement (Not editable) and another table with Object Data.
    • Each Row rapresent an Object. You can Add, Remove Object.
    • After, click on Save Button and follow the same steps of Movement to make a real editing (see Note and Note 2:)

    Model

    This is the most complicated part.
    Each Model is divided into different polygon (You can choose which polygon view on Renderer through PolygonVisible command).
    You can edit:
    • Association Table: Table contained into SubTab Materials, that link each Polygon with a material, a texture and a palette.
      Over Association Table there are two lists that contains Texture Name and Palette Name that you can use for this map.
      Use these values to modify the Texture and Palette Columns of Association Table.
      Remember to click Save button and to Save global (like Object and Materials).
    • Polygon Table: Table contained into SubTab Polygon.
      These table contains the OPENGL command for a single Polygon (Based on PolygonVisible value).
      For now you can change only Const and Const2 columns, not directly X,Y,Z.
      It's not easy to do, but for now it's the only way to edit a NSBMD.
      Remember to click Save button and to Save global
    .

    4)There's a BUG, an Exception. Why?
    The motivation would be different for each exception, so tell me on my thread on pokecommunity, and I hope I can help you.


    Credits
    • Me
    • SentryAlphaOmega, for his Basic Viewer
    • Team Fail and Full Metal, for their Modded Viewer
    • All you that give me your feedback
    • Nintendo and other friends.

    Download Link
    https://rapidshare.com/files/2849339460/Beta4.0.zip (18/7/12)

    NEW
    https://rapidshare.com/files/2391319562/Beta4.1.zip (19/7/12)

    Screenshot
    http://img849.imageshack.us/img849/9752/twinleaf.png

    http://img713.imageshack.us/img713/9094/scriptviewerbw2.png

    http://img706.imageshack.us/img706/8175/sangitown.png

    http://img9.imageshack.us/img9/8050/provadesmume.png

    http://img690.imageshack.us/img690/8586/pewterb.png

    Relevant Advertising!

      #2    
    Old September 27th, 2011 (1:42 AM). Edited September 27th, 2011 by Link_971.
    Link_971's Avatar
    Link_971 Link_971 is offline
    French Rom-Hacker
       
      Join Date: Jul 2006
      Location: France
      Age: 25
      Gender: Male
      Nature: Relaxed
      Posts: 212
      Good to see a new editor for 4th gen hacking!
      I hope more updates :p


      Edit : Permissions Movements works fine.
      Good job! (i have not time to test all, sorry)
      __________________

        #3    
      Old November 1st, 2011 (8:05 AM).
      ruup20's Avatar
      ruup20 ruup20 is offline
      Gonna splash everybody!
         
        Join Date: Jan 2011
        Location: Undella Town
        Gender: Male
        Nature: Jolly
        Posts: 118
        The link isn't working. I get a error 404 message.
        __________________

        I really need a advanced scripter for my hack and a good storyline-guy,
        Thank you.
          #4    
        Old November 1st, 2011 (11:05 AM).
        The Author's Avatar
        The Author The Author is offline
        The Hero of Knothole Glade
           
          Join Date: Sep 2011
          Location: Knothole Glade
          Age: 19
          Gender: Male
          Nature: Quiet
          Posts: 381
          Quote:
          Originally Posted by ruup20 View Post
          The link isn't working. I get a error 404 message.
          Yeah, I'm getting the same thing.

          It's nice to know that we're cracking the code to Gen IV hacking, though!
          __________________
          The Disciple
          The Poet
          The Leader
          The Musician
          The Transcendentalist

          The Author
          The Philosopher
          The Architect
          The Psychologist
          The Artist
            #5    
          Old November 9th, 2011 (1:04 AM).
          805587804 805587804 is offline
             
            Join Date: Dec 2010
            Posts: 57
            I can change with NPRE b001 Pearl Diamond Platinum Edition is the gold heart and soul silver not change, I change the heart and soul silver gold map file is a/0/6/5, is not I got it wrong? If I am wrong, please let NPRE b001 under you heart and soul into gold silver map file.
              #6    
            Old November 9th, 2011 (2:32 PM).
            pichu2000 pichu2000 is offline
               
              Join Date: Nov 2005
              Gender:
              Posts: 153
              Quote:
              Originally Posted by 805587804 View Post
              I can change with NPRE b001 Pearl Diamond Platinum Edition is the gold heart and soul silver not change, I change the heart and soul silver gold map file is a/0/6/5, is not I got it wrong? If I am wrong, please let NPRE b001 under you heart and soul into gold silver map file.
              Sorry, but I have 5 exams the next week so i can't work on tool in this period. But my tool already have hgss support(for movement and 3d object, like Dp).
              Do you rename the file hg_land.narc?
                #7    
              Old November 10th, 2011 (3:44 AM).
              805587804 805587804 is offline
                 
                Join Date: Dec 2010
                Posts: 57
                Quote:
                Originally Posted by pichu2000 View Post
                Sorry, but I have 5 exams the next week so i can't work on tool in this period. But my tool already have hgss support(for movement and 3d object, like Dp).
                Do you rename the file hg_land.narc?
                I opened it! Thank you~~~~~~~~~~~~~~~~~~~~~~
                  #8    
                Old November 10th, 2011 (12:20 PM).
                pichu2000 pichu2000 is offline
                   
                  Join Date: Nov 2005
                  Gender:
                  Posts: 153
                  Hi!
                  I worked on this period on a new interface of my tool, and i can load almost all the nsbmd part of the map(vertex,sbc and other thing).
                  I'm a little busy(5 exams next week) but i can give you a preview of my work.


                    #9    
                  Old November 10th, 2011 (2:55 PM).
                  Incineroar's Avatar
                  Incineroar Incineroar is offline
                  the spirit of the fighter
                  • Moderator
                  • Platinum Tier
                  • Developer
                   
                  Join Date: May 2009
                  Location: Iki Town
                  Age: 22
                  Gender: Male
                  Nature: Brave
                  Posts: 13,480
                  I like where this editor is heading. I'd be glad to use it with Aqua Sapphire, as well as any other hacks that I may get on to. What I hope to see, from any of the editors that are here, is a 3D render of the location you edit. Perhaps you and Link_971 should collaborate ideas and discoveries and a map editor that renders in 3D could be imminent. Of course you can use my DP Map Viewer Mod, I'll quickly write the mod to view DP back into it and release a 4th Gen Version.

                  I'd even like to test it and translate anything you may need, if it is in French originally. It's good practice for me.
                  __________________
                    #10    
                  Old November 11th, 2011 (2:42 AM). Edited November 11th, 2011 by 805587804.
                  805587804 805587804 is offline
                     
                    Join Date: Dec 2010
                    Posts: 57
                    Quote:
                    Originally Posted by pichu2000 View Post
                    Hi!
                    I worked on this period on a new interface of my tool, and i can load almost all the nsbmd part of the map(vertex,sbc and other thing).
                    I'm a little busy(5 exams next week) but i can give you a preview of my work.


                    My heart and soul silver gold hacker encountered a difficulty that I hackers other house, the first house and the door will disappear, and sometimes all the houses and the doors are gone, this is a BUG it? If so, please fix the next.

                    Also change the door, I changed the first door of the house the house is gone, there are other houses out of doors, house doors lead oblique point, this is the BUG it? Yes, please also under repair.
                      #11    
                    Old November 11th, 2011 (4:45 AM).
                    pichu2000 pichu2000 is offline
                       
                      Join Date: Nov 2005
                      Gender:
                      Posts: 153
                      Quote:
                      Originally Posted by 805587804 View Post
                      My heart and soul silver gold hacker encountered a difficulty that I hackers other house, the first house and the door will disappear, and sometimes all the houses and the doors are gone, this is a BUG it? If so, please fix the next.

                      Also change the door, I changed the first door of the house the house is gone, there are other houses out of doors, house doors lead oblique point, this is the BUG it? Yes, please also under repair.
                      Thanks for your issue.
                      I decided to release beta002 for my tool. There's the feature
                      - Same of beta001 (With fixed part, thanks to 805587804)
                      - Display bw movement and models(not edit yet)
                      - Display a lot of useful info of nsbmd file (not edit yet)

                      For the 1.0 version I wanna insert a nsbmd viewer, like suggest team fail, but it's very difficult to implement a opengl viewer(if someone wanna help me, i appreciate.)
                        #12    
                      Old November 11th, 2011 (9:22 AM).
                      Incineroar's Avatar
                      Incineroar Incineroar is offline
                      the spirit of the fighter
                      • Moderator
                      • Platinum Tier
                      • Developer
                       
                      Join Date: May 2009
                      Location: Iki Town
                      Age: 22
                      Gender: Male
                      Nature: Brave
                      Posts: 13,480
                      Quote:
                      Originally Posted by pichu2000 View Post
                      Thanks for your issue.
                      I decided to release beta002 for my tool. There's the feature
                      - Same of beta001 (With fixed part, thanks to 805587804)
                      - Display bw movement and models(not edit yet)
                      - Display a lot of useful info of nsbmd file (not edit yet)

                      For the 1.0 version I wanna insert a nsbmd viewer, like suggest team fail, but it's very difficult to implement a opengl viewer(if someone wanna help me, i appreciate.)
                      I have a NSBMD viewer (in OpenGL!) for BW that is a modified source of a DPPtHGSS viewer. I'll get the latest version for BW and give you the source for it, then I'll make it compatible with the 4th Gen games and re-release it for you. You may need to convert the source, however, as it's in C#, not VB.
                      __________________
                        #13    
                      Old November 11th, 2011 (9:36 AM).
                      pichu2000 pichu2000 is offline
                         
                        Join Date: Nov 2005
                        Gender:
                        Posts: 153
                        I already give a look to P4G Viewer and others similar...
                        But the nsbmd load method is very different from mine (I don't want to rewrite all my code) so i wanna try to make nsbmd viewer from scratch, using my variables and my structures.
                          #14    
                        Old November 11th, 2011 (9:49 AM).
                        Incineroar's Avatar
                        Incineroar Incineroar is offline
                        the spirit of the fighter
                        • Moderator
                        • Platinum Tier
                        • Developer
                         
                        Join Date: May 2009
                        Location: Iki Town
                        Age: 22
                        Gender: Male
                        Nature: Brave
                        Posts: 13,480
                        Quote:
                        Originally Posted by pichu2000 View Post
                        I already give a look to P4G Viewer and others similar...
                        But the nsbmd load method is very different from mine (I don't want to rewrite all my code) so i wanna try to make nsbmd viewer from scratch, using my variables and my structures.
                        Ah. Well, maybe you could refer to it when writing it. The difference between the 4th Gen viewing capabilities and 5th Gen viewing capabilities is just one line. But it's OK if you don't want to. Perhaps Yet Another Map Viewer may work. But I don't know if it is open-source.
                        __________________
                          #15    
                        Old November 11th, 2011 (9:58 AM).
                        pichu2000 pichu2000 is offline
                           
                          Join Date: Nov 2005
                          Gender:
                          Posts: 153
                          Team, i appreciate your help.
                          The real problem is that i don't really know how to "insert" pg4map in my source code without destroy my tool. But with your help maybe we can do it. Do you wanna help me to "adapt" pg4 on my tool (or to adapt my tool to p4g)?
                            #16    
                          Old November 11th, 2011 (10:04 AM).
                          Incineroar's Avatar
                          Incineroar Incineroar is offline
                          the spirit of the fighter
                          • Moderator
                          • Platinum Tier
                          • Developer
                           
                          Join Date: May 2009
                          Location: Iki Town
                          Age: 22
                          Gender: Male
                          Nature: Brave
                          Posts: 13,480
                          Quote:
                          Originally Posted by pichu2000 View Post
                          Team, i appreciate your help.
                          The real problem is that i don't really know how to "insert" pg4map in my source code without destroy my tool. But with your help maybe we can do it. Do you wanna help me to "adapt" pg4 on my tool (or to adapt my tool to p4g)?
                          I'm still learning C#, so I'd be biting off more than I can chew if I agreed. Perhaps someone with more C# knowledge than I have can help, and I can provide PG4Map 4 and PG4Map Mod as a base for your program, and perhaps combine the two someday.
                          __________________
                            #17    
                          Old November 11th, 2011 (12:49 PM).
                          link12552's Avatar
                          link12552 link12552 is offline
                          to measure how far we wonder
                             
                            Join Date: Dec 2007
                            Location: The blue one
                            Age: 21
                            Gender: Male
                            Nature: Calm
                            Posts: 203
                            This is a good step in the right direction. - Good Job!

                            If anyone ever needs some help with C#, I'd be glad to help.
                            I primarily use C# for my programs (NSE 2.X, and several high performance 3d and 2d games), and have become quite good at it over the years.
                            I also know VB (NSE Classic) and some c++ if that could help.

                            It's awesome to see ROM-hacking advance to DS games. I'm eagerly watching to see what happens :D
                            __________________
                              #18    
                            Old November 11th, 2011 (1:01 PM).
                            Incineroar's Avatar
                            Incineroar Incineroar is offline
                            the spirit of the fighter
                            • Moderator
                            • Platinum Tier
                            • Developer
                             
                            Join Date: May 2009
                            Location: Iki Town
                            Age: 22
                            Gender: Male
                            Nature: Brave
                            Posts: 13,480
                            Quote:
                            Originally Posted by link12552 View Post
                            This is a good step in the right direction. - Good Job!

                            If anyone ever needs some help with C#, I'd be glad to help.
                            I primarily use C# for my programs (NSE 2.X, and several high performance 3d and 2d games), and have become quite good at it over the years.
                            I also know VB (NSE Classic) and some c++ if that could help.

                            It's awesome to see ROM-hacking advance to DS games. I'm eagerly watching to see what happens :D
                            I think you might be the person that can help here. I'll go and get my PG4Map mods and get them together and get their sources together and I'll upload it. Then, you can convert it to VB and merge it with the NDS Pkmn editor and incorperate PG4Map into it!
                            __________________
                              #19    
                            Old November 11th, 2011 (3:08 PM).
                            link12552's Avatar
                            link12552 link12552 is offline
                            to measure how far we wonder
                               
                              Join Date: Dec 2007
                              Location: The blue one
                              Age: 21
                              Gender: Male
                              Nature: Calm
                              Posts: 203
                              Quote:
                              Originally Posted by Team Fail View Post
                              I think you might be the person that can help here. I'll go and get my PG4Map mods and get them together and get their sources together and I'll upload it. Then, you can convert it to VB and merge it with the NDS Pkmn editor and incorperate PG4Map into it!
                              Sounds great, but does it have to be VB? C# is such a cleaner more advanced language, and it may be better in the long run to convert everything to C#.
                              __________________
                                #20    
                              Old November 11th, 2011 (3:18 PM).
                              Incineroar's Avatar
                              Incineroar Incineroar is offline
                              the spirit of the fighter
                              • Moderator
                              • Platinum Tier
                              • Developer
                               
                              Join Date: May 2009
                              Location: Iki Town
                              Age: 22
                              Gender: Male
                              Nature: Brave
                              Posts: 13,480
                              Quote:
                              Originally Posted by link12552 View Post
                              Sounds great, but does it have to be VB? C# is such a cleaner more advanced language, and it may be better in the long run to convert everything to C#.
                              Because the programming language pichu2000 wrote this program in is VB.
                              __________________
                                #21    
                              Old November 11th, 2011 (5:26 PM).
                              link12552's Avatar
                              link12552 link12552 is offline
                              to measure how far we wonder
                                 
                                Join Date: Dec 2007
                                Location: The blue one
                                Age: 21
                                Gender: Male
                                Nature: Calm
                                Posts: 203
                                Quote:
                                Originally Posted by Team Fail View Post
                                Because the programming language pichu2000 wrote this program in is VB.
                                I can still probably easily convert it to c#, but whatever... cough c# is better cough
                                If we need to use VB that's fine, I have visual studio 2010 pro, so I should be good.
                                __________________
                                  #22    
                                Old November 11th, 2011 (5:39 PM). Edited November 11th, 2011 by 805587804.
                                805587804 805587804 is offline
                                   
                                  Join Date: Dec 2010
                                  Posts: 57
                                  Quote:
                                  Originally Posted by pichu2000 View Post
                                  Thanks for your issue.
                                  I decided to release beta002 for my tool. There's the feature
                                  - Same of beta001 (With fixed part, thanks to 805587804)
                                  - Display bw movement and models(not edit yet)
                                  - Display a lot of useful info of nsbmd file (not edit yet)

                                  For the 1.0 version I wanna insert a nsbmd viewer, like suggest team fail, but it's very difficult to implement a opengl viewer(if someone wanna help me, i appreciate.)
                                  I found a BUG, is this tool, that hackers complete a map, put the fork off the map, and then point the "1" after the map open map.
                                  The second map mess BUG is open:

                                  After repair I am saying these BUG, I hope you add this tool on the "grass", "high grass", etc.
                                    #23    
                                  Old November 11th, 2011 (8:11 PM).
                                  Incineroar's Avatar
                                  Incineroar Incineroar is offline
                                  the spirit of the fighter
                                  • Moderator
                                  • Platinum Tier
                                  • Developer
                                   
                                  Join Date: May 2009
                                  Location: Iki Town
                                  Age: 22
                                  Gender: Male
                                  Nature: Brave
                                  Posts: 13,480
                                  Ok. If you need it, I have new versions of PG4Map in the link below:

                                  http://dl.dropbox.com/u/34957059/PG4Map.zip
                                  __________________
                                    #24    
                                  Old November 14th, 2011 (1:36 AM).
                                  805587804 805587804 is offline
                                     
                                    Join Date: Dec 2010
                                    Posts: 57
                                    Quote:
                                    Originally Posted by Team Fail View Post
                                    Ok. If you need it, I have new versions of PG4Map in the link below:

                                    http://dl.dropbox.com/u/34957059/PG4Map.zip
                                    Oh, thank you, I see
                                    DS Pokemon you this viewer when the 3D map editing features can join? Function as AdvanceMap like hackers, hackers that can watch the map while the map.
                                      #25    
                                    Old November 14th, 2011 (5:07 AM).
                                    Full Metal's Avatar
                                    Full Metal Full Metal is offline
                                    C(++) Developer.
                                    • Silver Tier
                                     
                                    Join Date: Jan 2008
                                    Location: In my mind.
                                    Age: 22
                                    Gender: Male
                                    Nature: Timid
                                    Posts: 806
                                    Quote:
                                    Originally Posted by link12552 View Post
                                    This is a good step in the right direction. - Good Job!

                                    If anyone ever needs some help with C#, I'd be glad to help.
                                    I primarily use C# for my programs (NSE 2.X, and several high performance 3d and 2d games), and have become quite good at it over the years.
                                    I also know VB (NSE Classic) and some c++ if that could help.

                                    It's awesome to see ROM-hacking advance to DS games. I'm eagerly watching to see what happens :D
                                    Same here! I've been reading up on C#, and I'm pretty familiar with C and C++, and I've tinkered with VB.NET ( which isn't terribly different than C# evidently.... ). Either way, I'd gladly contribute if you guys needed. Or rather -- I'd try to contribute. I might have to look up some tutorials on 3D rendering and such.
                                    __________________

                                    ★ full metal.

                                    I like to push it,
                                    and push it,
                                    until my luck is over.
                                    Closed Thread
                                    Quick Reply

                                    Sponsored Links
                                    Thread Tools

                                    Posting Rules
                                    You may not post new threads
                                    You may not post replies
                                    You may not post attachments
                                    You may not edit your posts

                                    BB code is On
                                    Smilies are On
                                    [IMG] code is On
                                    HTML code is Off

                                    Forum Jump


                                    All times are GMT -8. The time now is 9:39 AM.