The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.


Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #1    
Old September 26th, 2011, 03:03 AM
pichu2000
Smoochum
 
Join Date: Nov 2005
Gender:
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/9...tviewerbw2.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

Last edited by pichu2000; July 19th, 2012 at 11:26 AM. Reason: Beta 4.1 Released!
  #2    
Old September 27th, 2011, 01:42 AM
Link_971's Avatar
Link_971
French Rom-Hacker
 
Join Date: Jul 2006
Location: France
Age: 21
Gender: Male
Nature: Relaxed
Send a message via Windows Live Messenger to Link_971
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)
__________________


Last edited by Link_971; September 27th, 2011 at 09:47 AM.
  #3    
Old November 1st, 2011, 08:05 AM
ruup20's Avatar
ruup20
Gonna splash everybody!
 
Join Date: Jan 2011
Location: Undella Town
Gender: Male
Nature: Jolly
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 Hero of Knothole Glade
 
Join Date: Sep 2011
Location: Knothole Glade
Age: 16
Gender: Male
Nature: Quiet
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, 01:04 AM
805587804
 
Join Date: Dec 2010
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, 02:32 PM
pichu2000
Smoochum
 
Join Date: Nov 2005
Gender:
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, 03:44 AM
805587804
 
Join Date: Dec 2010
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
Smoochum
 
Join Date: Nov 2005
Gender:
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, 02:55 PM
Team Fail's Avatar
Team Fail
A Little Bit Of Sparkle
Community Supporter
 
Join Date: May 2009
Age: 19
Gender: Male
Nature: Brave
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.
__________________

Pairs:
Kevin, Echidna
Follow me on Twitter! @TeamFail
Alt 1, リザードン
Miiverse
Pokémon Hackers Online
Alt 2: Jack Cayman



[04:20.39] <@GoGo> I WILL INSERT WITH PLEASURE
[04:20.45] <@GoGo> shut it Bela

[05:41.55] <Team_Fail> Blue Spider is interesting, but #MEHMasterRace
[05:42.20] <diegoisawesome> Team_Fail: Sounds like a bunch of unmotivated people that still want to try to take over the world
  #10    
Old November 11th, 2011, 02:42 AM
805587804
 
Join Date: Dec 2010
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.

Last edited by 805587804; November 11th, 2011 at 03:15 AM. Reason: Your double post has been automatically merged.
  #11    
Old November 11th, 2011, 04:45 AM
pichu2000
Smoochum
 
Join Date: Nov 2005
Gender:
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, 09:22 AM
Team Fail's Avatar
Team Fail
A Little Bit Of Sparkle
Community Supporter
 
Join Date: May 2009
Age: 19
Gender: Male
Nature: Brave
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.
__________________

Pairs:
Kevin, Echidna
Follow me on Twitter! @TeamFail
Alt 1, リザードン
Miiverse
Pokémon Hackers Online
Alt 2: Jack Cayman



[04:20.39] <@GoGo> I WILL INSERT WITH PLEASURE
[04:20.45] <@GoGo> shut it Bela

[05:41.55] <Team_Fail> Blue Spider is interesting, but #MEHMasterRace
[05:42.20] <diegoisawesome> Team_Fail: Sounds like a bunch of unmotivated people that still want to try to take over the world
  #13    
Old November 11th, 2011, 09:36 AM
pichu2000
Smoochum
 
Join Date: Nov 2005
Gender:
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, 09:49 AM
Team Fail's Avatar
Team Fail
A Little Bit Of Sparkle
Community Supporter
 
Join Date: May 2009
Age: 19
Gender: Male
Nature: Brave
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.
__________________

Pairs:
Kevin, Echidna
Follow me on Twitter! @TeamFail
Alt 1, リザードン
Miiverse
Pokémon Hackers Online
Alt 2: Jack Cayman



[04:20.39] <@GoGo> I WILL INSERT WITH PLEASURE
[04:20.45] <@GoGo> shut it Bela

[05:41.55] <Team_Fail> Blue Spider is interesting, but #MEHMasterRace
[05:42.20] <diegoisawesome> Team_Fail: Sounds like a bunch of unmotivated people that still want to try to take over the world
  #15    
Old November 11th, 2011, 09:58 AM
pichu2000
Smoochum
 
Join Date: Nov 2005
Gender:
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
Team Fail's Avatar
Team Fail
A Little Bit Of Sparkle
Community Supporter
 
Join Date: May 2009
Age: 19
Gender: Male
Nature: Brave
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.
__________________

Pairs:
Kevin, Echidna
Follow me on Twitter! @TeamFail
Alt 1, リザードン
Miiverse
Pokémon Hackers Online
Alt 2: Jack Cayman



[04:20.39] <@GoGo> I WILL INSERT WITH PLEASURE
[04:20.45] <@GoGo> shut it Bela

[05:41.55] <Team_Fail> Blue Spider is interesting, but #MEHMasterRace
[05:42.20] <diegoisawesome> Team_Fail: Sounds like a bunch of unmotivated people that still want to try to take over the world
  #17    
Old November 11th, 2011, 12:49 PM
link12552's Avatar
link12552
just tired, that's all
 
Join Date: Dec 2007
Location: The not so distant future
Age: 18
Gender: Male
Nature: Calm
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, 01:01 PM
Team Fail's Avatar
Team Fail
A Little Bit Of Sparkle
Community Supporter
 
Join Date: May 2009
Age: 19
Gender: Male
Nature: Brave
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!
__________________

Pairs:
Kevin, Echidna
Follow me on Twitter! @TeamFail
Alt 1, リザードン
Miiverse
Pokémon Hackers Online
Alt 2: Jack Cayman



[04:20.39] <@GoGo> I WILL INSERT WITH PLEASURE
[04:20.45] <@GoGo> shut it Bela

[05:41.55] <Team_Fail> Blue Spider is interesting, but #MEHMasterRace
[05:42.20] <diegoisawesome> Team_Fail: Sounds like a bunch of unmotivated people that still want to try to take over the world
  #19    
Old November 11th, 2011, 03:08 PM
link12552's Avatar
link12552
just tired, that's all
 
Join Date: Dec 2007
Location: The not so distant future
Age: 18
Gender: Male
Nature: Calm
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, 03:18 PM
Team Fail's Avatar
Team Fail
A Little Bit Of Sparkle
Community Supporter
 
Join Date: May 2009
Age: 19
Gender: Male
Nature: Brave
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.
__________________

Pairs:
Kevin, Echidna
Follow me on Twitter! @TeamFail
Alt 1, リザードン
Miiverse
Pokémon Hackers Online
Alt 2: Jack Cayman



[04:20.39] <@GoGo> I WILL INSERT WITH PLEASURE
[04:20.45] <@GoGo> shut it Bela

[05:41.55] <Team_Fail> Blue Spider is interesting, but #MEHMasterRace
[05:42.20] <diegoisawesome> Team_Fail: Sounds like a bunch of unmotivated people that still want to try to take over the world
  #21    
Old November 11th, 2011, 05:26 PM
link12552's Avatar
link12552
just tired, that's all
 
Join Date: Dec 2007
Location: The not so distant future
Age: 18
Gender: Male
Nature: Calm
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, 05:39 PM
805587804
 
Join Date: Dec 2010
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.

Last edited by 805587804; November 11th, 2011 at 05:47 PM.
  #23    
Old November 11th, 2011, 08:11 PM
Team Fail's Avatar
Team Fail
A Little Bit Of Sparkle
Community Supporter
 
Join Date: May 2009
Age: 19
Gender: Male
Nature: Brave
Ok. If you need it, I have new versions of PG4Map in the link below:

http://dl.dropbox.com/u/34957059/PG4Map.zip
__________________

Pairs:
Kevin, Echidna
Follow me on Twitter! @TeamFail
Alt 1, リザードン
Miiverse
Pokémon Hackers Online
Alt 2: Jack Cayman



[04:20.39] <@GoGo> I WILL INSERT WITH PLEASURE
[04:20.45] <@GoGo> shut it Bela

[05:41.55] <Team_Fail> Blue Spider is interesting, but #MEHMasterRace
[05:42.20] <diegoisawesome> Team_Fail: Sounds like a bunch of unmotivated people that still want to try to take over the world
  #24    
Old November 14th, 2011, 01:36 AM
805587804
 
Join Date: Dec 2010
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, 05:07 AM
Full Metal's Avatar
Full Metal
C(++) Developer.
Community Supporter
 
Join Date: Jan 2008
Location: In my mind.
Age: 18
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to Full Metal
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 04:24 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.