Go Back   The PokéCommunity Forums > ROM Hacking > Research & Development
Reload this Page [GENERAL THREAD] Pokémon Heart Gold/Soul Silver Hacking

Notices
For all updates, view the main page.

Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!
Research & Development programs in this forum are subject to moderator approval before they are displayed.



Reply
 
Thread Tools
  #226    
Old April 15th, 2010 (10:23 PM). Edited April 16th, 2010 by Supercheese.
Supercheese Supercheese is offline
 
Join Date: Jul 2007
Gender:
Nature: Adamant
Posts: 2
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... >.<
Reply With Quote
  #227    
Old April 16th, 2010 (07:42 PM).
zZJoennZz's Avatar
zZJoennZz zZJoennZz is offline
What da!?
Silver Tier
 
Join Date: Apr 2010
Location: alpha world line
Gender: Male
Nature: Jolly
Posts: 187
Send a message via Skype™ to zZJoennZz
Is PKMN Heart gold and Soul silver is able to hack???
__________________

...mehehehe
Reply With Quote
  #228    
Old April 16th, 2010 (11:42 PM).
Potatomuffin's Avatar
Potatomuffin Potatomuffin is offline
The One And ONLY!!!
 
Join Date: Nov 2008
Location: New Twinleaf town(Werdo Town)
Gender:
Nature: Brave
Posts: 58
Quote originally posted by zZJoennZz:
Is PKMN Heart gold and Soul silver is able to hack???
Why do you think this thread was made?
__________________

Check out my pokemon diamond hack videos here:
http: diamond hacking 2 map and route pokemon edit
http: diamond hacking 4 to oreburg
NEW: http:Heart gold / Soul Silver map and model hack!!!
and for d/p/p hackers,be sure to look at my model list here:
http://www.pokecommunity.com/showthread.php?t=166387
Reply With Quote
  #229    
Old April 19th, 2010 (04:48 PM).
zZJoennZz's Avatar
zZJoennZz zZJoennZz is offline
What da!?
Silver Tier
 
Join Date: Apr 2010
Location: alpha world line
Gender: Male
Nature: Jolly
Posts: 187
Send a message via Skype™ to zZJoennZz
Quote originally posted by Potatomuffin:
Why do you think this thread was made?
Oh!! ok hehehe
SS and HG is hackable...
__________________

...mehehehe
Reply With Quote
  #230    
Old April 19th, 2010 (08:56 PM).
smurph717 smurph717 is offline
Programmer
 
Join Date: Apr 2010
Location: Santa Clara
Gender: Male
Nature: Bold
Posts: 22
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.
Reply With Quote
  #231    
Old April 19th, 2010 (09:13 PM).
Potatomuffin's Avatar
Potatomuffin Potatomuffin is offline
The One And ONLY!!!
 
Join Date: Nov 2008
Location: New Twinleaf town(Werdo Town)
Gender:
Nature: Brave
Posts: 58
Quote originally posted by smurph717:
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...
__________________

Check out my pokemon diamond hack videos here:
http: diamond hacking 2 map and route pokemon edit
http: diamond hacking 4 to oreburg
NEW: http:Heart gold / Soul Silver map and model hack!!!
and for d/p/p hackers,be sure to look at my model list here:
http://www.pokecommunity.com/showthread.php?t=166387
Reply With Quote
  #232    
Old April 19th, 2010 (09:19 PM).
smurph717 smurph717 is offline
Programmer
 
Join Date: Apr 2010
Location: Santa Clara
Gender: Male
Nature: Bold
Posts: 22
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.
Reply With Quote
  #233    
Old April 19th, 2010 (10:11 PM).
Potatomuffin's Avatar
Potatomuffin Potatomuffin is offline
The One And ONLY!!!
 
Join Date: Nov 2008
Location: New Twinleaf town(Werdo Town)
Gender:
Nature: Brave
Posts: 58
oh got it, okay, by the way, i got crystal tile working! you need a .dll file in its directory to work.
__________________

Check out my pokemon diamond hack videos here:
http: diamond hacking 2 map and route pokemon edit
http: diamond hacking 4 to oreburg
NEW: http:Heart gold / Soul Silver map and model hack!!!
and for d/p/p hackers,be sure to look at my model list here:
http://www.pokecommunity.com/showthread.php?t=166387
Reply With Quote
  #234    
Old April 19th, 2010 (11:41 PM).
rakuichi's Avatar
rakuichi rakuichi is offline
 
Join Date: Apr 2010
Gender: Male
Nature: Careful
Posts: 7
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?
Reply With Quote
  #235    
Old April 24th, 2010 (06:44 AM).
Oxnite's Avatar
Oxnite Oxnite is offline
aka Arbok
 
Join Date: Aug 2005
Location: The Netherlands.
Gender:
Nature: Gentle
Posts: 305
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.
__________________
Reply With Quote
  #236    
Old April 24th, 2010 (12:48 PM). Edited April 24th, 2010 by Potatomuffin.
Potatomuffin's Avatar
Potatomuffin Potatomuffin is offline
The One And ONLY!!!
 
Join Date: Nov 2008
Location: New Twinleaf town(Werdo Town)
Gender:
Nature: Brave
Posts: 58
hey, does anyone have the USA HGSS poketex .txt file thingy?
please attach it, thanks!
__________________

Check out my pokemon diamond hack videos here:
http: diamond hacking 2 map and route pokemon edit
http: diamond hacking 4 to oreburg
NEW: http:Heart gold / Soul Silver map and model hack!!!
and for d/p/p hackers,be sure to look at my model list here:
http://www.pokecommunity.com/showthread.php?t=166387
Reply With Quote
  #237    
Old April 24th, 2010 (03:43 PM).
Cerulean Soul's Avatar
Cerulean Soul Cerulean Soul is offline
Luvdisc
 
Join Date: Apr 2010
Gender: Female
Posts: 1
Quote originally posted by Oxnite:
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...
Attached Images
File Type: png platinum.png‎ (238.0 KB, 110 views) (Save to Dropbox)
Reply With Quote
  #238    
Old April 26th, 2010 (11:47 AM).
tymo1234 tymo1234 is offline
 
Join Date: Jul 2009
Gender: Male
Posts: 2
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 *
Reply With Quote
  #239    
Old April 26th, 2010 (07:01 PM).
davidthefat davidthefat is offline
I Love C++
 
Join Date: Dec 2009
Age: 21
Gender: Male
Posts: 437
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
Reply With Quote
  #240    
Old April 26th, 2010 (07:03 PM).
Maverick Hunter's Avatar
Maverick Hunter Maverick Hunter is offline
 
Join Date: Apr 2010
Gender: Male
Posts: 2
Are there any trainers for HG/SS yet?
Reply With Quote
  #241    
Old April 26th, 2010 (07:22 PM).
davidthefat davidthefat is offline
I Love C++
 
Join Date: Dec 2009
Age: 21
Gender: Male
Posts: 437
Quote originally posted by Maverick Hunter:
Are there any trainers for HG/SS yet?
http://www.spriters-resource.com/ds/pokeheartgoldsoulsilver/sheet/26955
Reply With Quote
  #242    
Old April 27th, 2010 (12:14 PM).
Ardorin Ardorin is offline
 
Join Date: Apr 2010
Posts: 3
Quote originally posted by WhiteRose:
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.
Reply With Quote
  #243    
Old April 28th, 2010 (03:13 PM).
WhiteRose WhiteRose is offline
 
Join Date: Apr 2010
Gender: Female
Posts: 4
Quote originally posted by Ardorin:
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.
Reply With Quote
  #244    
Old April 28th, 2010 (04:12 PM).
Vrai Vrai is offline
can you feel my heart?
Crystal Tier
 
Join Date: Jun 2008
Age: 20
Gender: Male
Nature: Adamant
Posts: 2,890
Send a message via Windows Live Messenger to Vrai
Quote originally posted by PureGoober:
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.
__________________
aka Zebraiken | pairs; Ω & ζ | bffl; λ | now; Ϟ | twin; ξ | brother; φ | sister; Ψ | neeks; Ϫ
Reply With Quote
  #245    
Old April 29th, 2010 (08:32 AM).
Masterge77's Avatar
Masterge77 Masterge77 is offline
Jacen The Robot Floatzel
 
Join Date: Dec 2007
Location: Sinnoh Region
Gender: Male
Nature: Serious
Posts: 1,044
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,
__________________
My DA account
Avatar made by MelNathea on DeviantART

The Owner of Sea Weasels, the club for Buizel and Floatzel fans!
Reply With Quote
  #246    
Old April 29th, 2010 (10:38 AM).
tymo1234 tymo1234 is offline
 
Join Date: Jul 2009
Gender: Male
Posts: 2
Quote originally posted by Masterge77:
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.
Reply With Quote
  #247    
Old April 29th, 2010 (12:10 PM). Edited April 29th, 2010 by Ardorin.
Ardorin Ardorin is offline
 
Join Date: Apr 2010
Posts: 3
Quote originally posted by WhiteRose:
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!
Reply With Quote
  #248    
Old April 29th, 2010 (04:03 PM).
PureGoober's Avatar
PureGoober PureGoober is offline
Minecrafter
 
Join Date: Feb 2010
Gender: Male
Posts: 87
Sorry about my last post.
But, what do you do when you hack HG/SS?
Reply With Quote
  #249    
Old April 29th, 2010 (04:05 PM).
Team Fail's Avatar
Team Fail Team Fail is online now
Dragon at heart
Platinum Tier
 
Join Date: May 2009
Age: 19
Gender: Male
Nature: Brave
Posts: 9,526
Quote originally posted by PureGoober:
Sorry about my last post.
But, what do you do when you hack HG/SS?
We use a hex editor and look through NARC files and look at graphics and extract those files. Just like D/P/Pt. Right now, everything is going slow- the DS games are far more advanced than the GBA games.
__________________
ソウリュウシティ
過去と 未來が 絡みあう街
Supporter City Collab 2015


| | | |
PM | VM
Platinum Supporter

Reply With Quote
  #250    
Old April 29th, 2010 (04:23 PM).
PureGoober's Avatar
PureGoober PureGoober is offline
Minecrafter
 
Join Date: Feb 2010
Gender: Male
Posts: 87
I understood nothing you said.
Reply With Quote
Reply
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

Forum Jump


All times are UTC -8. The time now is 07:26 PM.