The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary Hack Research & Development (https://www.pokecommunity.com/forumdisplay.php?f=195)
-   -   Research [GENERAL THREAD] Pokémon Heart Gold/Soul Silver Hacking (https://www.pokecommunity.com/showthread.php?t=194248)

Potatomuffin April 19th, 2010 9:13 PM

Quote:

Originally Posted by smurph717 (Post 5734203)
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 April 19th, 2010 9:19 PM

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.

Potatomuffin April 19th, 2010 10:11 PM

oh got it, okay, by the way, i got crystal tile working! you need a .dll file in its directory to work.

rakuichi April 19th, 2010 11:41 PM

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 April 24th, 2010 6:44 AM

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.

Potatomuffin April 24th, 2010 12:48 PM

hey, does anyone have the USA HGSS poketex .txt file thingy?
please attach it, thanks!

Cerulean Soul April 24th, 2010 3:43 PM

1 Attachment(s)
Quote:

Originally Posted by Oxnite (Post 5745988)
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...

tymo1234 April 26th, 2010 11:47 AM

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 April 26th, 2010 7:01 PM

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

Maverick Hunter April 26th, 2010 7:03 PM

Are there any trainers for HG/SS yet?

davidthefat April 26th, 2010 7:22 PM

Quote:

Originally Posted by Maverick Hunter (Post 5754639)
Are there any trainers for HG/SS yet?

http://www.spriters-resource.com/ds/pokeheartgoldsoulsilver/sheet/26955

Ardorin April 27th, 2010 12:14 PM

Quote:

Originally Posted by WhiteRose (Post 5719248)
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.

WhiteRose April 28th, 2010 3:13 PM

Quote:

Originally Posted by Ardorin (Post 5755981)
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 April 28th, 2010 4:12 PM

Quote:

Originally Posted by PureGoober (Post 5758730)
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 April 29th, 2010 8:32 AM

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,

tymo1234 April 29th, 2010 10:38 AM

Quote:

Originally Posted by Masterge77 (Post 5760395)
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,

That's because if you want to do that, you'll have to replace the following:
- The language file (impossible, too large when you add Game Corner)
- ALL The Graphics (possible...)
- ALL The Connections to the graphics and text (impossible, don't know what files cointais this)

That's why... There IS a Japanese ROM translation that translates the Game Corner and everything else though... Not sure if I might add different sites though...
At google, search for "Rykin122" the there is on saying '(lang. hack)' at the title.

Ardorin April 29th, 2010 12:10 PM

Quote:

Originally Posted by WhiteRose (Post 5758664)
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.

Problem is that the sprite file i extracted has 30+ lines in the hex workshop, and i dont know what should i sub. I tried copying all the code, but it destroyed all the sprites.
what data should i replace?
EDIT: Nevermind, i finally got it :)
thnx!

PureGoober April 29th, 2010 4:03 PM

Sorry about my last post.
But, what do you do when you hack HG/SS?

PureGoober April 29th, 2010 4:23 PM

I understood nothing you said.

Masterge77 April 30th, 2010 9:31 AM

Quote:

Originally Posted by tymo1234 (Post 5760555)
That's because if you want to do that, you'll have to replace the following:
- The language file (impossible, too large when you add Game Corner)
- ALL The Graphics (possible...)
- ALL The Connections to the graphics and text (impossible, don't know what files cointais this)

That's why... There IS a Japanese ROM translation that translates the Game Corner and everything else though... Not sure if I might add different sites though...
At google, search for "Rykin122" the there is on saying '(lang. hack)' at the title.

Yes, but it was never finished because of the official english version containing the mutilated game corner, thanks a lot europe for f***ing our slots up

Poryhack April 30th, 2010 11:26 AM

Quote:

Originally Posted by Masterge77 (Post 5762956)
... thanks a lot europe for f***ing our slots up

What does Europe have to do with it? The US version was changed because the US (ESRB) rating system said it would no longer allow "gambling" in E rated games.

Oxnite May 1st, 2010 4:41 AM

Quote:

Originally Posted by Cerulean Soul (Post 5747473)
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...

Okay, thanks for this information! Any idea how to edit the unecrypted ones, though?

Oh, and does somebody know if there's a .narc file that consists the x and y veriables of the Pokémon Shadows?

For example, each Pokémon has it's shadow under it (in battle). This shadow is placed somewhere else everytime. Now I put the HG / SS Sprites in Platinum and the shadows are placed wrong..

PokemonFanGal May 1st, 2010 7:16 AM

EDIT: I think I've found out my PokeTex problem, would it be because my Rom is English and the list is for the Japanese Rom? If so, is there anywhere I could get a list for the English Rom?

Another EDIT!: After searching for several minutes, I found out that was indeed the problem, I'm now editing the Japanese Roms overworld sprites and try to reinsert them into the English Rom... Such a hassle... But with that problem out of the way, I know have a new one!

How do I edit the battle animation from Lyra to Dawn? (You know, the one that appears for a brief second at the start of a battle then moves off screen).

Precious Tears May 2nd, 2010 2:00 AM

Guys, is editing back sprite harder than editing overworld sprites?

smurph717 May 2nd, 2010 7:04 PM

first off, that plugin he used is hard to come by. second off, it's just not that simple. not only do you have to rip the model and edit it, you have to make sure it goes back in the right spot and all the stuff related to it changes accordingly as well. it's not like the gba where you could just replace a few bytes here and there and it all works great; the ds is much more complicated.


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


Like our Facebook Page Follow us on Twitter © 2002 - 2018 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 - 2016 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.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.