• 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.

Diamond/Pearl/Platinum hacking

Status
Not open for further replies.

SCV

DPP Game Researcher
178
Posts
16
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:
     
    Last edited:

    SCV

    DPP Game Researcher
    178
    Posts
    16
    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
     

    Scythe_Ironclaw

    For Iron Legion!
    56
    Posts
    16
    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.
     

    SCV

    DPP Game Researcher
    178
    Posts
    16
    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/...34-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.
     

    SCV

    DPP Game Researcher
    178
    Posts
    16
    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.
     

    SCV

    DPP Game Researcher
    178
    Posts
    16
    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.
     
    26
    Posts
    15
    Years
    • Seen Jul 25, 2010
    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
    178
    Posts
    16
    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.
     
    26
    Posts
    15
    Years
    • Seen Jul 25, 2010
    Still a bit glitchy, here's what happened.

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

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

    (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).
    problem3.png


    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.
     
    Last edited:

    SCV

    DPP Game Researcher
    178
    Posts
    16
    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
     
    26
    Posts
    15
    Years
    • Seen Jul 25, 2010
    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.
     

    SCV

    DPP Game Researcher
    178
    Posts
    16
    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).
     
    Status
    Not open for further replies.
    Back
    Top