Diamond/Pearl/Platinum hacking Page 65

Started by Hiidoran April 5th, 2007 7:49 PM
  • 415082 views
  • 1952 replies

SCV

DPP Game Researcher

Los Angeles
Seen January 8th, 2015
Posted April 11th, 2010
178 posts
15.4 Years
There is already a BMD viewer made by kiwi-ds, but very nice work.
That's not the significance. The significance is that he was able to display the textures.

This is not straightforward since the textures are not located in the land_data_files.

EDIT: I also figured out the maps.
Spoiler:



Spoiler:
Visit PP Wiki's ROM Editing and Research Page

A new type of DPP Editor: PPRE (PPRE beta 0.05 now out, but there are newer releases)

Useful programs for DPP Hacking/Research: http://rapidshare.com/files/179900486/ROMHackingTools.zip
New Twinleaf town(Werdo Town)
Seen April 27th, 2015
Posted November 30th, 2012
58 posts
14.5 Years
Cool, how did you do this? tell me please! this is great news!

SCV

DPP Game Researcher

Los Angeles
Seen January 8th, 2015
Posted April 11th, 2010
178 posts
15.4 Years
Cool, how did you do this? tell me please! this is great news!
I modified the source to kiwi.ds' nsmbd viewer.

The original version and my modification can be obtained, here: http://tahaxan.arcnor.com/index.php?option=com_smf&Itemid=29&topic=65.75

I'll attach it as well, for simplicity.

The nsbmd file has to be copied out of the land data files and the correct texture found in:
\fielddata\areadata\area_map_tex\map_tex_set.narc

Name both of them the same, exampe: map.nsbmd, map.nsbtx
Visit PP Wiki's ROM Editing and Research Page

A new type of DPP Editor: PPRE (PPRE beta 0.05 now out, but there are newer releases)

Useful programs for DPP Hacking/Research: http://rapidshare.com/files/179900486/ROMHackingTools.zip

Scythe_Ironclaw

For Iron Legion!

Age 32
Male
Mom's basement
Seen December 7th, 2021
Posted April 25th, 2019
56 posts
15.6 Years
I have a problem when trying to launch the program.
"C:\Documents and Settings\Owner\Desktop\NSBMD\nsbmd.exe

This application failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."

Did I do something wrong?
I have carefully read your instructions but they don't seem very clear.

The nsbmd file has to be copied out of the land data files and the correct texture found in:
\fielddata\areadata\area_map_tex\map_tex_set.narc

Name both of them the same, exampe: map.nsbmd, map.nsbtx
What is this "NSBMD" file that has to be copied out of the land data files?
When you stated map.nsbmd and map.nsbts am I looking for one file in the Pokemon ROM or two?
Then I just rename the two files to the map.nsbmd and map,nsbtx?

Please help me.
[Sample Text]

SCV

DPP Game Researcher

Los Angeles
Seen January 8th, 2015
Posted April 11th, 2010
178 posts
15.4 Years
I have a problem when trying to launch the program.
"C:\Documents and Settings\Owner\Desktop\NSBMD\nsbmd.exe

This application failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."
Did I do something wrong?
I have carefully read your instructions but they don't seem very clear.
Try installing this: http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en




What is this "NSBMD" file that has to be copied out of the land data files?
It holds the 3D data for (part of the map)
The first 16 bytes tells you how big each of the 4 sections of a land data is. The numbers are stored in little endian form. You want to go to the part where the the model file starts. Search "BMD0", copy as many bytes as the beginning of the file says the third section is.

Example (land_data_release0)
00080000800100002489000080010000
are the first 16 bytes.
This tells us that the first section is 0x800 bytes long, the next is 0x180 and the third is 0x8924, so you go to 0x10+800+0x180 and copy 0x8924 and make a new file from it.

When you stated map.nsbmd and map.nsbts am I looking for one file in the Pokemon ROM or two?
You are looking for two files. One you get by copying out the model section from the land data file. The other is in \fielddata\areadata\area_map_tex\map_tex_set.narc
The land data files are in \fielddata\landdata\land_data_release.narc.

Then I just rename the two files to the map.nsbmd and map,nsbtx?
Right.
Visit PP Wiki's ROM Editing and Research Page

A new type of DPP Editor: PPRE (PPRE beta 0.05 now out, but there are newer releases)

Useful programs for DPP Hacking/Research: http://rapidshare.com/files/179900486/ROMHackingTools.zip

SCV

DPP Game Researcher

Los Angeles
Seen January 8th, 2015
Posted April 11th, 2010
178 posts
15.4 Years
s0 have u found the map editor yet?
I dun't fell like lookin 1000 + pages for answer lulz.
As far as we know, there is no map editor. There is not even a full map display program yet.
Visit PP Wiki's ROM Editing and Research Page

A new type of DPP Editor: PPRE (PPRE beta 0.05 now out, but there are newer releases)

Useful programs for DPP Hacking/Research: http://rapidshare.com/files/179900486/ROMHackingTools.zip
New Twinleaf town(Werdo Town)
Seen April 27th, 2015
Posted November 30th, 2012
58 posts
14.5 Years
how do you get this thing to work? i downloaded the program and the Microsoft thingy,but when i opened it, it just closed! help please

SCV

DPP Game Researcher

Los Angeles
Seen January 8th, 2015
Posted April 11th, 2010
178 posts
15.4 Years
how do you get this thing to work? i downloaded the program and the Microsoft thingy,but when i opened it, it just closed! help please
You drag the nsbmd file into the program icon. Alternatively you can run the program through the command prompt.
Visit PP Wiki's ROM Editing and Research Page

A new type of DPP Editor: PPRE (PPRE beta 0.05 now out, but there are newer releases)

Useful programs for DPP Hacking/Research: http://rapidshare.com/files/179900486/ROMHackingTools.zip

SCV

DPP Game Researcher

Los Angeles
Seen January 8th, 2015
Posted April 11th, 2010
178 posts
15.4 Years
ds sprite editor plz :| me tried looking for one but... no luck wellsome luck but me no speek italiano
What kind of sprites?

There are already programs for getting edited pokemon, trainer, pokemon party, sprites into a hack.
Visit PP Wiki's ROM Editing and Research Page

A new type of DPP Editor: PPRE (PPRE beta 0.05 now out, but there are newer releases)

Useful programs for DPP Hacking/Research: http://rapidshare.com/files/179900486/ROMHackingTools.zip
Seen July 25th, 2010
Posted February 21st, 2009
26 posts
14.3 Years
Problem with pokedspic, Item program specifically.

I extracted a regular pokeball, edited it in paint, but when I opened it in pokedspic, I got 2 errors (Needs to be 8bbi or something and needs to be 160x80/80x160) I then redid the edit in photoshop, and when I saved it THERE I got rid of the first error, then I saved it as the size it wanted, but it becomes squished and ugly looking (No errors though).

So how do I extract, edit, and re-insert an item sprite?

SCV

DPP Game Researcher

Los Angeles
Seen January 8th, 2015
Posted April 11th, 2010
178 posts
15.4 Years
Problem with pokedspic, Item program specifically.

I extracted a regular pokeball, edited it in paint, but when I opened it in pokedspic, I got 2 errors (Needs to be 8bbi or something and needs to be 160x80/80x160) I then redid the edit in photoshop, and when I saved it THERE I got rid of the first error, then I saved it as the size it wanted, but it becomes squished and ugly looking (No errors though).

So how do I extract, edit, and re-insert an item sprite?
Like I said when I originally released the modification, they were intended for extraction but I would add insertion eventually. Since no one had said they tried or wanted to insert I had not fixed, it.

I attached a fixed version.

The image should be 8bpp and 32x32.
Visit PP Wiki's ROM Editing and Research Page

A new type of DPP Editor: PPRE (PPRE beta 0.05 now out, but there are newer releases)

Useful programs for DPP Hacking/Research: http://rapidshare.com/files/179900486/ROMHackingTools.zip
Seen July 25th, 2010
Posted February 21st, 2009
26 posts
14.3 Years
Still a bit glitchy, here's what happened.

When I opened my edited image (Pokeball2.bmp), I got this.

It looked fine at first, but then when I wrote to the narc file, it looked like this.

(Yes, it is a quickly made pokecube, I'm just testing it with something simple)

Edit: Tested after inserting. It looks like that in game as well.

Edit2: When opening as a 4bpp, it switches the palette about badly (Yet again, after writing to narc).


Edit3: Inserted and tested again, it looks like that (Overly big orange box and all, unlike the previous, which removed the grey at least) in game.

SCV

DPP Game Researcher

Los Angeles
Seen January 8th, 2015
Posted April 11th, 2010
178 posts
15.4 Years
Still a bit glitchy, here's what happened.
Try simply extracting an icon and then reinserting it in another place. If that works for you then it means you are not setting up the image properly. Only 16 colors can be used so and the one in the 1st spot has to be the one that will be made transparent).

What did you use to make a 4bpp image? As far as there is no program that will produce those. I had to set up the program to turn 8bp images into 4bpp images, but you have to stick to 16 colors otherwise you color loss.

In photoshop, you would choose:
mode--> indexed

mode--> 8bit/channel
Visit PP Wiki's ROM Editing and Research Page

A new type of DPP Editor: PPRE (PPRE beta 0.05 now out, but there are newer releases)

Useful programs for DPP Hacking/Research: http://rapidshare.com/files/179900486/ROMHackingTools.zip

SCV

DPP Game Researcher

Los Angeles
Seen January 8th, 2015
Posted April 11th, 2010
178 posts
15.4 Years
i tried da webite but no links to a emulator
What website?
For an emulator search for no$gba.
Visit PP Wiki's ROM Editing and Research Page

A new type of DPP Editor: PPRE (PPRE beta 0.05 now out, but there are newer releases)

Useful programs for DPP Hacking/Research: http://rapidshare.com/files/179900486/ROMHackingTools.zip

SCV

DPP Game Researcher

Los Angeles
Seen January 8th, 2015
Posted April 11th, 2010
178 posts
15.4 Years
I used the EXACT colors that were used in the original pokeball sprite. I also did not move it whatsover and as you can see the first pixel would be the color that should be transparent.

Also, I used Photoshop CS4, when saving as a bmp, it gives the option for 4bpp.
New version that will work for 8bpp indexed bmp. Remember to only use the first 16 colors.

Also make sure you insert the palette and the image separately. The palette goes in the (228) and the image in the (230).
Visit PP Wiki's ROM Editing and Research Page

A new type of DPP Editor: PPRE (PPRE beta 0.05 now out, but there are newer releases)

Useful programs for DPP Hacking/Research: http://rapidshare.com/files/179900486/ROMHackingTools.zip
Male
New bark town
Seen March 27th, 2016
Posted April 10th, 2011
458 posts
15.1 Years
Try installing this: http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en




It holds the 3D data for (part of the map)
The first 16 bytes tells you how big each of the 4 sections of a land data is. The numbers are stored in little endian form. You want to go to the part where the the model file starts. Search "BMD0", copy as many bytes as the beginning of the file says the third section is.

Example (land_data_release0)
00080000800100002489000080010000
are the first 16 bytes.
This tells us that the first section is 0x800 bytes long, the next is 0x180 and the third is 0x8924, so you go to 0x10+800+0x180 and copy 0x8924 and make a new file from it.


You are looking for two files. One you get by copying out the model section from the land data file. The other is in \fielddata\areadata\area_map_tex\map_tex_set.narc
The land data files are in \fielddata\landdata\land_data_release.narc.

Right.
uhh whaaa
can you plese make your instructions for extracting map from land_data_release0
simpler plese thanx sorry for the extra work iam n00b

Experienced Vb.net and C# Dev

SCV

DPP Game Researcher

Los Angeles
Seen January 8th, 2015
Posted April 11th, 2010
178 posts
15.4 Years
i have a question by modifying the same program used to translate the japanese version of pokemon platinum to english (a patch does exist not complete though) do you think we can make a script editor???
Scripts and text are two entirely different things.
Anyways, I have already made a script editor. Look some number of posts up.

It is a part of PPRE. Its not like the script editors for GBA because we don't know most of the commands, it would be great if you helped out with some commands.

I will be releasing a revamped version in a few weeks, maybe interpreting some commands that we already know.

uhh whaaa
can you plese make your instructions for extracting map from land_data_release0
simpler plese thanx sorry for the extra work iam n00b
Try searching for BMD0 in the land data file, then copy from the there (including BMD0) until you reach BHDC (don't include BHDC) and make a new file with that.
Not really since that is as easy as it gets.
Visit PP Wiki's ROM Editing and Research Page

A new type of DPP Editor: PPRE (PPRE beta 0.05 now out, but there are newer releases)

Useful programs for DPP Hacking/Research: http://rapidshare.com/files/179900486/ROMHackingTools.zip
Male
New bark town
Seen March 27th, 2016
Posted April 10th, 2011
458 posts
15.1 Years
Scripts and text are two entirely different things.
Anyways, I have already made a script editor. Look some number of posts up.

It is a part of PPRE. Its not like the script editors for GBA because we don't know most of the commands, it would be great if you helped out with some commands.

I will be releasing a revamped version in a few weeks, maybe interpreting some commands that we already know.


Try searching for BMD0 in the land data file, then copy from the there (including BMD0) until you reach BHDC (don't include BHDC) and make a new file with that.
Not really since that is as easy as it gets.
how do i get the texture file to work i extracted it form field data/ area_map_tex /map_tex_set.narc/map_tex_set-0.0xtb
and renamed it to map.nsbtx when i run the program with the texture i get a error
it works fine with texture

Experienced Vb.net and C# Dev