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

Research: [GENERAL THREAD] Pokémon Heart Gold/Soul Silver Hacking

2
Posts
16
Years
  • Seen Jul 23, 2015
By the way, I finally found the location of the trainer sprites in the ROM's file structure. It's: a/0/5/8(.narc) -- this may be useful information for others who wish to modify the trainer sprites.

EDIT: Dammit, I just realized this information was posted way back on page 2. Now I hate myself for not having seen it earlier... >.<
 
Last edited:

smurph717

Programmer
22
Posts
14
Years
so, does anyone know how to get the number of the texture file (from map_tex_set.narc) associated with the map files (from land_data_release)? the way pg4map does it, it just looks until it finds one that will work, but the game has to have some way of doing it more quickly. thanks.
 

Potatomuffin

The One And ONLY!!!
58
Posts
15
Years
so, does anyone know how to get the number of the texture file (from map_tex_set.narc) associated with the map files (from land_data_release)? the way pg4map does it, it just looks until it finds one that will work, but the game has to have some way of doing it more quickly. thanks.

you were a bit vague there, but i really haven't really edited textures besides switching them. however, the textures are named so cant you look up the name in map tex set.narc? Sorry if this was stupid, right now crystal tile isn't working for me so i can't check right now...
 

smurph717

Programmer
22
Posts
14
Years
so, to clarify, the stuff in map_tex_set are texture libraries, and each map is associated with a texture library. yes, the textures/palettes/materials are named, but they are all defined in one spot, and i'm looking for some way to know which map uses which library instead of having to search all the libraries until one contains all the textures in the map.
 
7
Posts
13
Years
  • Seen Jul 19, 2012
Hello, I am new here

I have used tahaxan to browse through HG / SS Japanese rom

I would like to edit Ethan and Lyra's Pokethlon sprites

I think they must be in the "a/" directory's narc files, but I cannot find their pokethlon sprites at all

Do I require any other tools? Or they're just in other directories?
 

Oxnite

aka Arbok
305
Posts
18
Years
  • Seen Dec 18, 2016
Is this thread for HG / SS-hacking related things only?

Because the DPP-hacking thread is closed, I'll ask my question here. I actually have two questions and I really want them to be answered. If these two things work, my hack would start looking wonderful!

  1. I edited Trainer VS Sprites via PokémonDSPlatinumTrainers. I uploaded the new trfgra.narc to the Rom via NitroExplorer2b. When I play the game, the new sprites are not showing up. Does somebody know why?
    When I extract trfgra.narc and edit it with PokémonDSPlatinumTrainers, the new Trainers are still there! It looks like there's another file that has to be edited... Any tips?
  2. I can't figure out how to use thenewpoketext for Pokémon Platinum versions. It seems I have some kind of newer thenewpoketext version? I read all kinds of tutorials on the web and they said I have to rename pl_msg.narc to msg.narc and then apply thenewpoketext, but thenewpoketext error message says that pl_msg.narc is not present.. As if it is updated to work with Pokémon Platinum... So I have my edited .xml file and I want to patch it, but it doesn't work at all. Any tips?..

Please help me! Thanks a lot in advance, people.
 

Cerulean Soul

Luvdisc
1
Posts
13
Years
  • Seen Apr 26, 2010
Is this thread for HG / SS-hacking related things only?

Because the DPP-hacking thread is closed, I'll ask my question here. I actually have two questions and I really want them to be answered. If these two things work, my hack would start looking wonderful!

  1. I edited Trainer VS Sprites via PokémonDSPlatinumTrainers. I uploaded the new trfgra.narc to the Rom via NitroExplorer2b. When I play the game, the new sprites are not showing up. Does somebody know why?
    When I extract trfgra.narc and edit it with PokémonDSPlatinumTrainers, the new Trainers are still there! It looks like there's another file that has to be edited... Any tips?
Not sure if that helps but there are 2 "sets" of sprites in platinum's trfgra.narc. Afaik PokémonDSPlatinumTrainers only shows the encrypted ones while the others can be viewed in CrystalTile, so editing the others might do the trick...
 
2
Posts
14
Years
  • Seen Apr 29, 2010
Uhm... Help?

Hey everyone!

I need help of some of you with a few things:

1. What is the location of the Pokédex Graphics?
2. What is the location of the Trainer Card?
3. How can I edit images like a/0/4/6?

It would help my patch a lot!
* making something like Bloody Diamond with different story and all *
 

davidthefat

I Love C++
437
Posts
14
Years
  • Age 30
  • Seen Mar 3, 2012
Not to sound like a noob, but has anyone been able to extract the 3d models of the pokecenter and pokemart? I doubt anyone has yet... IDK if it will be in a usable format and not some proprietary format
 
4
Posts
13
Years
  • Seen Apr 17, 2024
Yeah. Okay, first, you need the program Tahaxan and the right .dll files. Let me know if you have trouble finding those. Then, you need DSLazy, or another program capable of unpacking the rom. Then, make a copy of your original rom. This copy is the one you will be hex editing your new sprites into. Once you have it unpacked, put a .narc extension on the file named "6" in A\0\0. Then use DSLazy to repack the NDS_UNPACK, and make a rom with the .narc extension on that file. This won't be playable, but it will be openable in Tahaxan. Alright, the next step is to open your edited ROM in Tahaxan. Go to the A\0\0\6 file. See how it has that .narc extension? That was the point of the first few steps. Open that, and you will find the palette and sprite files for all of the trainer backs. By right clicking on one, you can Extract it from the rom. Make note of the Hex Offset of where that file is located; you're going to need that to Hex Edit your edited sprite back in. Now, when I did this, I was simply replacing the heroine's back with a different one. If you want to replace it with a sprite made from scratch, you'll need to get it in the right format, and I can't help you with that; you're going to have to figure that out on your own. It might work if you used PokeDSPic to insert the back into a Platinum ROM, and then opened THAT rom in Tahaxan, and extracted it once it was in the correct format. Just make sure it's the perfect amount of data: 25648 bytes for the sprite, and 552 for the palette. Anyway, once you have the files you want to insert (both the sprite and the palette,) find the back that you want to replace, and write down the offset for both it and its palette. Now we're going to need a Hex Editor. I use Hex Workshop, but you can probably find another that would work a well. Open up your ORIGINAL rom, from before you added the .narc extension. (This is why we made a copy.) Find the hex offset for what you wrote down, and simply replace that data with your edited data. Make sure you do the same for the palette; usually, the palette's data is immediately after the sprite's data. Also, occasionally the offset given by Tahaxan isn't exactly right; by extracting the data you want to replace with Tahaxan, you can look at it in your Hex Editor and make sure that you replace exactly the right data. Make sure you don't replace anything in the wrong offset; you might screw up some other file. Anyway, once you've replaced the data, you're finished! This all sounds a little complicated, I know, but once you've done it once or twice, you get into the swing of things, and can do it fairly easily.

Oh, one last thing: if I remember correctly, the hero and heroine back sprites are in the .narc file twice. I believe the second one is the one you have to replace, but you can replace both if you want to be on the safe side.

Good luck! Let me know if you need any more help.
I have done it with no problems until the hex editor thing, but i thing i have done something wrong there, because it doesnt work for me. I want to replace the hero back sprite with silver back sprite.
 
4
Posts
14
Years
  • Seen May 18, 2010
I have done it with no problems until the hex editor thing, but i thing i have done something wrong there, because it doesnt work for me. I want to replace the hero back sprite with silver back sprite.
Are you sure you're replacing at the right offset, and replacing exactly the right amount? I find that it helps me if I extract what I want to replace and open that in a Hex Editor as well, and then run on search on some of the code from it. It will take you right to where that file is located in the ROM. From there, it's a simple matter to copy over the data from your replacement file.
 

Vrai

can you feel my heart?
2,896
Posts
15
Years
  • Age 29
  • Seen Oct 24, 2022
Can I have a link to get the english rom of HG?
Also, what tools are used to hack it?

In addition to the above post, there are not very many tools to "hack it" in the manner you're thinking of. It's quite a bit of learning if you want to hack the fourth generation.
 

Masterge77

Robot Mienshao
1,084
Posts
16
Years
I'm suprised no one has even tried to make a patch to put the slot machines and the original Game corners back in the english versions,
 
Back
Top