Search the Community
Showing results for tags 'heartgold'.
-
SCREENSHOTS: The project want to: 1) Fix correctly the 3 important items that are RAGE CANDY BAR, SLOWPOKé TAIL and BERSERK GENE, and put them in the right places. 2) Add the function to delete the pokégear numbers 3) Fix the places that have wrong musics respect the original Gold and Silver games (MT MOON for example in the remake have the music of JOHTO dungeon and not is right) 4) Fix the Game corner, with the right buildings, pepole and the function for buy coins. Restore also the COIN CASE in the Goldenrod Undergrounds. Move the fake Game corner into a new building. 5) Fix other censored texts. 6) Fix the Move tutors that will ask you shards instead of battle points. 7) Fix the obligation to battle with the legendary before the pokémon league. 8) Fix the obligation to have the first pokémon out from it's ball when you walk I have already done: Point 3, 4 (partially) 5 and I've found the script that come back a pokémon into it's ball. But maybe I need of a way to create a key item that switch a pokémon out from it's battle or inside. The point (4) it's partially because I've restored the COIN CASE, I've restored the original buildings of KANTO and JOHTO game corners, and moved the fake corner into a new building for maintain the Voltorb flip, but I don't know how copy the original slots from the uncensored japaneese rom of Soul Silver. I need of a way to: Restore the missing ITEMS (i've started an help thread for this: http://projectpokemon.org/forums/showthread.php?46137-Item-hacking-SS-HG) and put them into the 2 Mahogany markets Add the slot machines from the japaneese version without delete the Voltorb Flip, in the original Gold and Silver for the Game boy the games in the Game Corner we're 2, half game corner's machines play slots and the second half the cards game, with a little script I can ask 3 coins for play the Voltorb flip, only in the new building of the fake corner Voltorb flip will remain free, then will be a game corner better of the japaneese version of HG/SS. Add the function for delete the pokégear number. I know only the script string that add a number: Recordpokegearnumber 0x25 actually add Morty's number. If I knew the string that delete the number I could add a multichoice dialog for every trainer, that will ask you if you want to delete their numbers.
-
Version 1.0.0
2123 downloads
Hi all,iam new here in this community, so as a joining present i would like to like to share a save file that is more than 10 year old worth in a japanese Pokemon heart gold catridge that i purchased from a website,The save file has lots of stuff and pokemons there like when i examined it has almost all boxes full of legit pokemons i believe it is like event pokemons,collection of pokwalker mons,pokemon transfered from palpark(gen 3),Pokemons from colosseum and xd etc,it even has lot of shinies which iam pretty sure all are legit from what i examined,it even has all 7 evee evolutions legit shinies i believe its from 5 to 4 from pokemon colosseum starter,all kanto and jhoto shiny starters which are all legit from what i can see,lot of competitive pokemons with some i think perfect ivs,lof of traded pokemons from other games DPPT,SS etc The save file is full completed i think like all trainer card stars quest completed,Elite four,post kanto game and beaten Red,pokedex compled etc when i checked oh,also the guy who played this save file was a pokathelon Veteran i think,he has insane amout of records in it and its not cheated,he has spend more that 200 hours in pokeathelon and he has like 493 medalist pokemon(full pokedex),so its not cheated i believe,all battle frointer quest compeleted,the save file play time +800 hours so i think,this guy put some decent amount of time in to this game I dont find this guy cheated on ths save,every quest he completed i guess completed legit and all event pokemons including myticals all are Legit,btw it also has shiny ranger manaphy and shiny jirachi which is either wishmkr or from pokemon channel,its 100% legit when i checked it ths max amout of money can be claimed itscheated but i dont think,from what i see, with amulet coins and remtach trainer facility its very easy to earn max money,so,its not big deal so,when i got this game catridge and explored it completely,i found this website so i want to share it with people too worldwide,i know this game save file is very old gen,but there should people like me who is searching for very old save files like these and Traverse across people play memories, this save file even motivated me to complete my japanese pokemon colosseum and XD that i bought from the website which i will be uploading completed save soon so,yeah Enjoy and have a nice day all!- 4 comments
-
- 2
-
- heartgold / soulsilver
- heartgold
-
(and 4 more)
Tagged with:
-
Hi all, I am a IT student and I am currently trying to reverse engineer the inner working of the Gen IV Distribution ROM. I already figured out the basics but... Right now, I am facing an issue with the way data is encrypted. I already know of tools such as WC4PCD or PokeGen, PokeHex... but I am trying to understand and create my own program to decrypt and reencrypt all by myself. So I am asking if any one here as any leads or straight up know what encryption algorithm is used. I obviously did some research but no luck yet. (Chat GPT told me to XOR the file but idk what key to use). Thanks in advance, and my apologies if I made any english mistake
-
Greetings again. So, couse it's seems that no one could understand what problem happend with my HeartGold save. Maybe there are some way to transfer progress to another save? Not talking about pokemons (PkHex will help with that), but with gyms and etc?
-
Greetings everyone. So, as i stated in title, my save file got corrupted. Long story short, i played HG little by little for a few years, everything was fine. But yesterday, when i tried to launch the game, i got a red top screen with a bunch of dots. Turn off/on, and again red screen. Found similar problem on a reddit, their solution was to change a rom. Did it. Nothing changed. Changed a save fille to a different one, and game runs fine. The problem definetly in save file/ But beside adding Mystery gifts at the begining, i didn't do anything to a save file. The only thing that was changed recently (~1 year), i moved from twillight to a NDS forwarder, but after that, game still played fine. 4780 - Pokemon HeartGold (U)(Xenophobia).sav
-
-
Hello, I have a Pokemon Heartgold save file that pk hex says invalid file size i think it is corrupted is there any chance i could get my Pokemon back even an individual one the file is attached here so if anyone could help that would be amazing! Pokemon HeartGold .sav
-
Infinite TMs in Gen IV --- Let me first preface this by saying that this was figured out by Mikelan98 (with some help from Nextworld and BagBoy to find some of the offsets in different languages). Mikelan98 has requested that you give credit to him if you implement this in your hack. This is simply a documentation so the information doesn't get lost - I didn't figure out any of this myself! This is for the American (U) versions of Platinum and Heart Gold / Soul Silver. Step 1: Extract the relevant files --- First we need to get the right files out of the ROM. For Platinum, you'll need the arm9.bin and the overlay_0084.bin files. For HG / SS, you'll need the decompressed arm9.bin and a decompressed overlay_0015.bin files. (Use the Extract(U) option in crystaltile2 to decompress.) Step 2: Edit the code to make the TM quantity not drop after use --- For Platinum, we want to make the following changes: * Search for "FE 00 28 07 D1 08 48" in the arm9.bin file. * Replace the "D1" with "E0" so that it now reads "FE 00 28 07 E0 08 48". For HG/SS, we want to make the following changes: * Search for "FD 00 28 07 D1 0A 48" in the decompressed arm9.bin file. * Replace the "D1" with "E0" so that it now reads "FD 00 28 07 E0 0A 48". Step 3: Edit the code to make the item quantity not appear for TMs in the bag --- For Platinum, we want to make the following changes: * Search for "FF F7 83 FF 04 B0" in the overlay_0084.bin file. * Replace the first four bytes with "00 00 00 00", so it should now read "00 00 00 00 04 B0". For HG/SS, we want to make the following changes: * Search for "81 42 53 D3" in the decompressed overlay_0015.bin file. * Replace the "D3" with E0 so that it now reads "81 42 53 E0". Step 4: Rebuild the ROM --- You'll need to reinsert the relevant files as needed. For HG/SS, you'll need to recompress them when adding them to the ROM by using the "Compression" option to import them back when using crystaltile2. After that, save and/or build your ROM, and you should find that TMs don't show a quantity anymore, and they also won't disappear after being used.
- 9 replies
-
- 3
-
- heartgold
- soulsilver
- (and 6 more)
-
__________________________________________________________ Current Version: v0.4.7.6 (Download) Last updated on 4/14/2019 Screenshot Album Information This is a ROM hack of Pokemon Heart Gold which aims to remake the classic game Pokémon Red. Dialogue is taken from the Gameboy Advance versions (Fire Red & Leaf Green) however there are no plans to include the Sevii Islands like there are in those games. I will be trying to make this similar to the original, but with the DS's features. This way the ROM can be used as a base for others to start their own hack. There will be a Soul Blue version released once this is close enough to completion and I also plan on making a Yellow version once Heart Red & Soul Blue have been finished. Features: Updated type chart (Fairy type) 493 Pokemon Pokemon follow you Classic GameBoy game in DS style graphics, with touchscreen Day & Night Cycle ORAS mini-icons Progress: Download The archive below contains the patch and the patching program (xdelta). This must be applied to a Pokemon Heart Gold (U) ROM (md5: A62E7ABBC7B6A352793EC8F75E6ACE55). (External links dead. here's our page instead) Recommended Emulators: DeSmuME, DraStic (Android/phone) Also works on Flash carts. FAQ What are you going to do about Mt Moon and Cinnabar Island since they look different in HG compared to Red/Blue? For now, I'm going to leave as is. When the hack progresses further I plan on using a map editor to make them look like the originals. Will you be expanding the pokedex? I hope so. Can we go to Johto? I will probably make a separate version once the ROM is complete which opens up the area (maybe with a story). I also want to look into the possibility of adding Sinnoh as a 3rd region. Known Issues / To Do Credits
-
A while ago, I lost half of all of my Pokemon from every Pokemon game that I had played until Pokemon X. After that sad event, I tried to retrieve my lost Pokemon via countless methods, that usually failed. However, after retrieving some of my lost Pokemon from Pokemon White, I realized that the 4th gen games held impartial copies of every Pokemon that successfully beats the elite 4. So, I extracted my Heart Gold save file from my cartridge from my cartridge and searched numerous times. Nonetheless, I had came to the realization that I had no idea where the hallof fame data was stored... So, where's the Hall of Fame data for Pokemon Heart Gold located? It was the first Pokemon game that I played, So I beat the elite 4 seven times (Just for kicks), so it should be easy to identify...
- 36 replies
-
- pkm extraction
- heartgold
-
(and 2 more)
Tagged with:
-
I've played a few Soul Link's so far and every time I start my play session for the day it's always kind of an annoying process. Loading up 2 separate emulators, 2 roms, having to rekeybind the controllers every time. I was wondering if someone would be able to make a program that could make it easier. If your unfimiliar with a Soul Link Nuzlocke, heres the rules. 1- Any Pokémon that faints is considered "dead," and must be released or stored in a specified PC box for "dead" Pokémon. 2- You can only catch the first Pokémon encountered in each area, and none else. If the first Pokémon encountered faints or flees, there are no second chances. 3- You must also nickname all of your Pokémon, for the sake of forming "stronger emotional bonds." 4- In a new area, the first encounters for both players will be, "linked," together until death. 5- If one Pokémon in a linked pair is placed in the PC, it's Soul Link partner must be placed in the PC as well. 6- If one Pokémon in a linked pair dies, it's Soul Link partner is considered dead as well. 7- If one player fails to capture their first encounter in an area, the second player must forfeit their encounter in their corresponding area. 8- Across both players parties, primary typings may not be repeated. Basically what I'm looking for is a program that emulates 2 roms side by side and be able to control them individually. I've thought of a few features to make it better. Features -Emulators from all consoles built in - Ex. VBA, Desmume, and Citra -Saves both roms under 1 "project" and loads them on the same side every time -Type Chart ready -Online Remote Play - Be able to join your friends session online to see and control one of the games. -Games connected locally so you can trade and battle -Database where you can input your linked pokemon pairs and where you caught them -Built in Pokedex Database (Not necessary but would be helpful) -Program reads both your teams and displays them between the game (I'm aware that's not an easy ask but if it's possible, why not) I feel like except for a couple of them this is a completely possible thing to create. I know it probably wont happen but I just thought I'd get the idea out there. I love doing Soul Links and I'm so happy people found a way to make Pokemon Co-op. Thanks for your time.
-
- 5
-
- rom
- multiplayer
-
(and 43 more)
Tagged with:
- rom
- multiplayer
- nuzlocke
- co-op
- program
- Randomized
- remote
- play
- vba
- desmume
- citra
- no$gba
- nds
- 3ds
- gba
- gbc
- red
- blue
- silver
- gold
- crystal
- ruby
- sapphire
- emerald
- diamond
- pearl
- platinum
- soulsilver
- heartgold
- black
- white
- black 2
- white 2
- x
- y
- omega ruby
- alpha sapphire
- sun
- moon
- ultra sun
- ultra moon
- yuzu
- firered
- leafgreen
- playthrough
-
Main effect: The probability is PP/65536. PP is equal to 08 by default. You can now put the value 10 (16 chances in 65536), like in Gen VI. Decompress arm9.bin. Go to offset 0×70080* and change the value 08 into QQ. QQ can take any value from 00 (no shiny at all) to FF (roughly 1 in 257 chance). *Regions' differences: Language Shiny chance Japanese 0×6FAC0 Spanish HG 0×70078 Korean HG 0×7017C Korean SS 0×70174 Others 0×70080 Side-effect: Formula reminder: (Trainer ID ⊕ Secret ID) ⊕ (16 leftmost bits of PID ⊕ 16 rightmost bits of PID) = CID What I call the CID (stands for Color ID) must be a number between 0 and 7 included for its bearer to be shiny. For example let's say you decided to update the value from 0×08 to 0×10, what will happen you may ask? Any caught Pokémon who happens to have their CID between 8 and 15 included and who weren't shiny before the update will turn shiny!
-
Current version: 0.1.4 Lastest update: 19th December, 2015 Summary Pokémon Light Platinum is a GBA hack launched in 2011 by the ROM hacker WesleyFG. Due to its success -partly because it was one of the few that managed to be completely finished- and that, in recent years, the NDS hacking has gained much more capabilities, I am now remaking this hack in this platform for people who have not played the GBA version yet, and partly to encourage people to start in this new platform; begin to investigate further and explore it. Changes Although the plot, locations, characters and other features are almost the same, there are many changes (some small, some more noticeable) with respect to the original version: There are almost 450 Pokémon more than in the original version. All those that appeared in the GBA version will appear in this version, these new Pokémon come from the seven different generations. This leads to the Pokédex will be a little more difficult to complete, having a total of 807 Pokémon to capture from all generations. Due to these new Pokémon, now trainers have different Pokémon parties from the original game, and in the majority of cases, they will be much stronger. Similarly, the wild Pokémon will differ (although to a lesser extent) the original, with more variety in the different towns and routes and other ways to find wild Pokémon (such as honey trees, Headbutt, fishing...). Slight changes in the game's plot, although they are minor and the only reason they were made is to adapt the scripts to the capabilities of the base ROM. Fairy type inserted (with all its weaknesses and strengths). All Pokémon that in the sixth generation possess this kind, they will in the hack (Gardevoir, Sylveon...). In addition, the weaknesses and strengths of other types have also been updated to the sames they have in the sixth generation. Successfully introduced a new system of berries, that was lost in both original Light Platinum and HeartGold & SoulSilver. Now berry trees will be stationary on the different routes, and they will give one berry each day (at 00:00 everyday there are new berries on the trees which didn't have). The trees of all 64 different berries are hidden throughout the Zhery and Lauren regions, so you have to look very well to get them all. Other small changes, such as increasing the chance of finding a shiny Pokémon (from 1/8192 to 1/257), or changing the stats of some Pokémon that increase them in the sixth generation. Scans They will be updated every so often. Credits and thanks :: Nex, Peyi, Kyledove, Zelda, GSC platinum, Alistair, Saurav, Shiny Lugia, Dewity, WesleyFG for all the tiles and graphics (both original game and this remake) :: WesleyFG for letting me remake his hack :: Spiky because I would never have achieved any of this without his help :: Rafa/Klein for always being there supporting me and being a good friend :: Trifindo because he was one of the few brave who dared with NDS hacking :: WaH, Hoko, NHD and PFG because due to these sites I am today the ROM hacker I am :: The music I listen to while I'm ROM hacking, because whatever happens, LODVG, Mecano, Amaral or ABBA will be with me forever Bugs, errors and possible changes The textures of the maps, and the game generally, works quite poorly in No$GBA. This emulator is not suitable to load homebrew or hack-ROMs, so if you're using an emulator to play the hack, please, use DeSmuME. Some flashcards give problems with the game, although they are only a minority. I'm still researching why it may be happening. As in the original HeartGold and SoulSilver, the game may freeze every so often or give graphical errors when entering a map. In the latter case, just open the Pokémon menu or the Pokédex and close it to fix the error. Neither the minisprite of the female character is changed, or the texts are adapted to differentiate between male or female. Please, select the male hero for the moment. If you pay attention, in some random points on the map you will be able to hear sea waves. This is something that, for now, is beyond my knowledge and I have no idea how to solve it, but I hope to be able to fix it in the future. Changelog Version 0.2.0 - TBA - Added all of 807 existing Pokémon in the ROM (first expansion of Pokedex). - Every map, script and event finished beyond the fourth Badge. - Revised wild Pokémon in previous routes. - Modified most of previous trainers. - Two-thirds of the Safari Zone are now accesible. - Fixed lot of bugs that were in the previous version. - Incompatibility with savegames from older versions. Version 0.1.5 - Private developer version, not officially published. Version 0.1.4 - 19th December 2015 - Xmax special version. - Snowy maps along the region. - New wild Pokémon adapted for the new cold weather. - First Mystery Gift developed so far. Version 0.1.3 - 22nd November 2015 - New title screen for the game. - Added the version number in the title screen. - Finished Route 406 with all of its scripts and events. - Fixed lot of bugs that were in the previous version. - Corrected some grammar mistakes in the English version. Version 0.1.2 - 5th November 2015 - English version of the game, added some little things and the Esmerald City easter egg. Version 0.1.1 - 26th August 2015 - Inserted Pantem Town and Route 406 maps. - Fixed lots of bugs that were in the previous version. - Scripts and trainers of Route 405 are finished (now you can wake Snorlax up). Version 0.1.0 - 17th July 2015 - Version for testing and recording gameplay, filtered and with some bugs and errors. Download You can download the game and check out all new updates in the official page: http://goo.gl/RLR5H9
-
Version 1.0.0
1741 downloads
This is Red's team since Gen 4 with perfect IVs and the same movements, abilities, and objects that trainer Red has. This is based on HeartGold/SoulSilver and you can use it in any main pokemon game since Gen 4. Tips: If in a 3DS or in a Nintendo Switch use Hombrew with caution. Warning: Do not use in any game before Gen 3. PKHeX credits to: PKHeX.exe- 1 comment
-
- 1
-
- sword and shield
- team
-
(and 3 more)
Tagged with:
-
Heya! Without going into too much detail, I lost my heart gold copy in 2013 and lost what was on my team, however my friend still has my teams data in the trainer house of his heart gold from back when we used to use the Pokewalker with each other. He let me back his save onto my computer, and I am now curious if anyone would have any idea as to how to extract my Pokemon data off the save. Thanks!
- 10 replies
-
Ive been replaying heartgold and ended up giving myself all tms and hms too early. Now im in Kanto and it broke a lot of story events and stuff. Does anyone have a save right after either the 8th gym in Johto or the elite 4 (before kanto) that isnt broken in the same way? Edit: one that also works with PkHex so i can get my team back
-
Okay so I'm going a bit crazy with this. I'm trying to modify Pokemon Soul Silver to feature Dawn instead of Lyra. Originally I was just going to replace her overworld sprite but my ideas are getting out of control so maybe I'll go all out. I was thinking it'd be cool if the player select let you choose between DP and PT Dawn, but I think that would make your rival the other Dawn which might be weird >_>; Though it could work I guess if one is named Dawn and one is named Hikari (her Japanese name.) I have a bunch of the programs that I need afaik but I'm having a heck of a time figuring out how to use them. I managed to replace the BTX for Lyra with Dawn but when I tried to load the game it crashed so I'm back to square one. Seriously if anyone is interested in this idea I'd love a hand. I've got an interested party on tumblr too who'd love to play so yeah... Thanks in advance! (The picture is from standard Soul Silver using an AR code.)
-
1. I downloaded the TWLSaveTool .zip file and extracted it to the root of my microSD card. 2. I also downloaded the .cia file and left it in microSD/cias/TWLSaveTool.cia 3. I switched to my 2DS XL with pokemon dream radar installed. Then I launched homebrew but TWL save tool had an undecipherable caption and lauching it only loaded one line of text (see pictures provided.) After that. the only thing i can do is power off my 2DS which leads to the picture provided that starts with "An exception occurred." 4. Since homebrew didnt work, i tried installing the .cia file now using fbi first and then dev menu. I got the TWLSaveTool to appear on the home menu but launching it results in the scenario i mentioned; black screen with one line of text. WHAT AM I DOING WRONG? CHECK VIDEO PROVIDED AS WELL OF MY 3DS MICRO SD CARD. 20190513_203832.mp4
- 18 replies
-
- 1
-
- TWLSaveTool
- pokemon
-
(and 6 more)
Tagged with:
-
Hello everyone. :) So, I'm fairly new still to the idea of ROM editing and tried asking around on reddit for an answer to my current predicament. So, I wanna do a HeartGold Nuzlocke series after a failed FireRed Nuzlocke that ended in, well... the death of my team (and story-wise for a laugh my trainer). I wanted to change the teams of both Blue and Red to be similar (with adjustments) to both Blue's team from FireRed with some changes to suit my brother's personality (named it after his name on Twitch) and Red's team to be the "dream team that could have been", which I was able to accomplish using PPRE. I also wanted to change the name of Blue and Red to my original trainer's name and his rival's name from FR, but with PPRE that doesn't seem possible - or at least with the version I have. Is there a way to find an older version or another program that lets me change trainer names available? Or is there another way to safely edit the names of trainers? Also, if, by some chance, there's a way to give a trainer's Pokemon nicknames without changing all instances of a Pokemon's name to said nickname, how could I do that - or would that require creating a separate, unobtainable version of the respective Pokemon? Thank you for your time.
-
I appreciate all the work done on this website (my save file would still be corrupted without this site's help!) so i just want to make a shout out to the programmers on here. I was wondering if it is possible to reset the event of receiving your national diploma in Heartgold (or previous generations, but Heartgold is the game I'm currently playing) using PKHeX. I can see that there are certain events that can be reset and edited, but I did not notice the diploma event. I tried to see if I could delete one Pokemon (Ratatta and Raticate specifically) from my box and Pokedex, and catch it again, but that didn't work. If anyone has insight into this particular manner I would appreciate the help!
-
I've tried to modifiy the cheat code for have the complete phonebook. Editing the quantity of added numbers with this code: 94000130 fcff0000 62111880 00000000 b2111880 00000000 d5000000 00000000 c0000000 00000001 THIS IS THE CHANGED BYTE d8000000 0000c0fc d4000000 00000009 THIS IS THE CHANGED BYTE d2000000 00000000 d0000000 00000000 The first hacked code change the quantity of numbers to 77, that is the max numbers that you can record (when before was 4C in hex instead of 4D 'cause starts with the 0), after the hack add 2 numbers, 'cause I changed the 4C byte with 01. The second hacked code before was 01, and this mean that add numbers in importance order (I think) but if you change with 0-2-3-4 etc. add for the other numbers after MUM always the same number. Then you can fill your phonebook with 77 MUM numbers and then if you try to add someone else you don't receive error messages, but the phonebook will not updated. This hacked code actually change the first two numbers in the phonebook with MUM and BILL, 'cause BILL is the 10th (hex 09) pokégear official number, then as example if you want to delete YOUNGSTER JOEY (I know that you want!) you can move his number in 2nd position and overwrite with BILL's number. IMPORTANT: JOEY will try to add you again, then the flag is in the same phonebook list, if is deleted ask you again to add him. However the code could be dangerous, you have to put MUM number in first position to overwrite with the right number and you have to overwrite JOEY with a number that yet you don't have. In my case BILL is perfect, 'cause I don't added him yet, but if you already have him in your phonebook you can duplicate his number... Not is right... However I discovered that if a number is deleted or overwrited the trainer ask you to add again. But I don't have a code for delete as example the last number in the phonebook. Will be wonderful found a way to clear specific trainer's numbers, maybe with their script that verify if you added them and ask you also to delete their numbers when you talk with. Someone can work into to discover a way to edit as example JOEY script?
-
research HG/SS Pokemon File Specifications
Hiro TDK posted a topic in ROM - NDS Research and Development
Personal Files - files located at /a/0/0/2 - file contains 4 sections #1 Section - General Data - section is 10 bytes Offset Length Name Description 0x0 0x1 Base HP 0x1 0x1 Base Attack 0x2 0x1 Base Defense 0x3 0x1 Base Speed 0x4 0x1 Base Special Attack 0x5 0x1 Base Special Defense 0x6 0x1 Type 1 0x7 0x1 Type 2 If monotype, this will be the same as Type 1. 0x8 0x1 Catch Rate 0x9 0x1 Base Experience The base amount of experience gained by defeating this Pokemon. #2 Section - Effort Values - section is 2 bytes Offset Length Name Description 0 2 Bits HP 2 2 Bits Speed 4 2 Bits Attack 6 2 Bits Defense 8 2 Bits Special Attack 10 2 bits Special Defense 12 4 Bits Padding #3 Section - General Data (Continued) - section is 14 bytes Offset Length Name Description 0x0 0x2 Held Item (50%) Uncommon held item for wild encounters. 0x2 0x2 Held Item (5%) Rare held item for wild encounters. 0x4 0x1 Gender Ratio Out of 255, this is the approximate number of females you'd encounter 0x5 0x1 Hatch Multiplier This number multiplied by 256 gives you the base number of steps required to hatch an egg. 0x6 0x1 Base Happiness 0x7 0x1 Experience Rate One of six values with preset growth rates. 0x8 0x1 Egg Group 1 0x9 0x1 Egg Group 2 If no second egg group, this will be the same as Egg Group 1. 0xA 0x1 Ability 1 0xB 0x1 Ability 2 Left blank if there's no second ability. 0xC 0x1 Run Chance Used strictly for Safari Zone encounters. 0xD 0x1 Color This is for Pokedex colors. #4 Section - TM's List - This section is 128 bits. - The first 92 bits refer to TMs, the next 8 to HMs, and the last 28 are padding. - If the bit is 1, that TM can be learned by this Pokemon. If it is 0, it cannot. Learnset Files - files located at /a/0/3/3 - file contains 2 sections #1 Section - Learnset - section is 2 bytes for every Move in the Pokemon's learnset - possible limit of 40 bytes, or 20 moves Offset Length Name Description 0 9 Bits Move ID 9 7 Bits Level Learned #2 Section - File End - section is 4 bytes Offset Length Name Description 0x0 0x2 Delimiter Tells the game where to stop reading. Always 0xFFFF. 0x2 0x2 Padding Evolution Files Back To Pokemon ▲ - files located at /a/0/3/4 - file contains 2 sections #1 Section - Evolutions - section is 6 bytes for every evolution method - possible limit of 7 evolutions, or 42 bytes - possible that all 42 bytes are required, and 0x0 if unused Offset Length Name Description 0x0 0x1 Evolution Method One of 26 evolutions methods. 0x1 0x1 Padding 0x2 0x2 Requirement Number This is the level required or the index of the Pokemon, item, etc. required for the evolution method. 0x0 if not needed. 0x1 0x1 Evolved ID This is the index mumber of the Pokemon to evolve into. #2 Section - File End Offset Length Name Description 0x0 0x2 Padding Growth Table Files Back To Pokemon ▲ - files located at /a/0/0/3 - file contains 1 section #1 Section - Growth Table - section is 4 bytes for each level, starting with Level 0 - total size is 404 bytes Offset Length Name Description 0x0 0x4 Experience Requirement Experience required to reach this level. Baby Form Table File - files located at /a/poketool/personal/pms.narc - file contains 1 section - special babies are defined in code in the overlays #1 Section - Baby Form Table - section is 2 bytes for each Pokemon, including alternate forms - total size is 1016 - starts with index 0, making Bulbasaur the second short Offset Length Name Description 0x0 0x2 Baby Index Number This is the index number of the default baby produced from breeding. Move Tutor Table File - files located at /fielddata/wazaoshie/waza_oshie.bin - file contains 1 section - does not include Dragon or starter tutors #1 Section - Move Tutor Table - section is 8 bytes for each Pokemon, including alternate forms - total size is 4040 - starts with index 1, making Bulbasaur the first entry Offset Length Name Description 0x0 0x1 Moves 1-8 (Bitfield) This bitfield is for moves 1-8, moving from least to most significant. 0x1 0x1 Moves 9-16 (Bitfield) This bitfield is for moves 9-16. 0x2 0x1 Moves 17-24 (Bitfield) This bitfield is for moves 17-24. 0x3 0x1 Moves 25-32 (Bitfield) This bitfield is for moves 25-32. 0x4 0x1 Moves 33-40 (Bitfield) This bitfield is for moves 33-40. 0x5 0x1 Moves 41-48 (Bitfield) This bitfield is for moves 41-48. 0x6 0x1 Moves 49-52 (Bitfield) This bitfield is for moves 49-52, with 4 bits of padding. Move Tutor Table - table is in Overlay 001 at 0x23AE0 - does not include Dragon or starter tutors - full table reference in the Appendix #1 Section - Move Tutor Table - section is 4 bytes for each entry, with 52 entries - total size is 208 - changing the values is possible, expanding the table is currently not known Offset Length Name Description 0x0 0x2 Move ID This is the ID number for the entry. 0x2 0x1 BP Cost This is the BP Cost for the entry, 0 if unapplicable. 0x3 0x1 Tutor ID This is the ID of the tutor for the entry. -
research HG/SS Mapping File Specifications
Hiro TDK posted a topic in ROM - NDS Research and Development
Map Files - located at /a/0/6/5 - contains 5 sections #1 Section - Header - section is 20 bytes Offset Length Name Description 0x0 0x4 Movement Permission Size The size of the Movement Permissions in Section #3. Always 0x800. 0x4 0x4 3D Object Size The size of the 3D Objects defined in Section #4. 0x8 0x4 NSBMD Model Size The size of the embedded Model (NSBMD) file in Section #5. 0xC 0x4 BDHC Size The size of the embedded Terrain (BDHC) file in Section #6. 0x10 0x4 Unknown Section Size The size of the section of unknown data in Section #2. #2 Section - Unknown Data - data in this section serves a currently unknown function - data is unique to HG/SS and theorized to be Pokemon size permissions Offset Length Name Description 0x0 . #3 Section - Movement Permissions - data is always 2048 bytes, two bytes for each tile, and all maps are 32x32 tiles - tile data is ordered from left to right, bottom to top Offset Length Name Description 0x0 0x1 Special Permission Allows for special permissions. A rather incomplete list can be found in the Appendix. 0x1 0x1 Movement Permission Three valid values: 0x0 No Restriction, 0x4 No Special Permissions (Ignore First Byte), 0x8 Solid/No Movement #4 Section - 3D Objects - section is 48 bytes per object defined - 3D Objects Size in Section #1 will be the total size of this section in bytes Offset Length Name Description 0x0 0x4 Object ID Number A complete list of Object ID numbers can be found in the Appendix. 0x4 0x2 Y Fractional Variable allowing fractional Y-axis positioning. (Defaults to 00 00.) 0x6 0x2 Y Coordinate Position of the object on the Y-axis. 0x8 0x2 Z Fractional Variable allowing fractional Z-axis positioning. (Defaults to 00 00.) 0xA 0x2 Z Coordinate Position of the object on the Z-axis. 0xC 0x2 X Fractional Variable allowing fractional X-axis positioning. (Defaults to 00 00.) 0xE 0x2 X Coordinate Position of the object on the X-axis. 0x10 0xC ???? This section serves a currently unknown function. 0x1D 0x4 Width The size of the object on the Y-axis. 0x21 0x4 Height The size of the object on the Z-axis. 0x25 0x4 Length The size of the object on X-axis. 0x29 0x7 ???? This section serves a currently unknown function. #5 Section - NSBMD Model - NSBMD Model Size in Section #1 will be the total size of this section in bytes - this is the 3D model of the map itself - NSBMD model specifications aren't listed here. #6 Section - Terrain (BDHC) - BDHC Size in Section #1 will be the total size of this section in bytes - BDHC file specifications are detailed here. Terrain Files (BDHC) Credit and thanks goes to Mikelan98 for finally cracking these files. This section will have a ton of notes, as the format is very complex. Refer to Mikelan98's guide for help. - located at the end of map files, found at /a/0/6/ - contains 7 sections #1 Section - Header Data Offset Length Name Description 0x0 0x4 Magic ID #BDHC (0x42444843) 0x4 0x2 Points Size The number of points defined in Section #2. 0x6 0x2 Inclines Size The number of inclines defined in Section #3. 0x8 0x2 Heights Size The number of heigths defined in Section #4. 0xA 0x2 Plates Size The number of plates defined in Section #5. 0xC 0x2 Strips Size The number of strips defined in Section #6. 0xE 0x2 Access Lists Size The number of access lists defined in Section #7. #2 Section - Points - section length will be 8 bytes multiplied by Points Size from Section #1 - each 8 bytes follows the format below Offset Length Name Description 0x0 0x4 Padding Color 0x4 0x4 X Coordinate X Coordinate for first point. (Little Endian) 0x8 0x4 Padding 0xC 0x4 Y Coordinate Y Coordinate for first point. (Little Endian) Notes: - These coordinates define points on the map. - Maps are always 32x32 tiles. - Coordinates are defined from the center of the map. - The coordinates for the center four tiles are: - Northwest: 00 00 FF FF, 00 00 FF FF - Northeast: 00 00 00 00, 00 00 FF FF - Southwest: 00 00 FF FF, 00 00 00 00 - Southeast: 00 00 00 00, 00 00 00 00 - Coordinates south and east will increase. Coordinates north and west will decrease. - The coordinates of the outside corners are: - Northwest: 00 00 F0 FF, 00 00 F0 FF - Northeast: 00 00 10 00, 00 00 F0 FF - Southwest: 00 00 F0 FF, 00 00 10 00 - Southeast: 00 00 10 00, 00 00 10 00 #3 Section - Inclines - section length will be 12 bytes multiplied by Inclines Size from Section #1 - each 12 bytes specifies a type of incline Offset Length Name Description 0x0 0x12 Incline Type Specifies a type of incline. Notes: - It is assumed that the 12 bytes define coordinates in some way. - Because it is not fully understood, here is a list of known inclines: - Flat Plate: 00 00 00 00 00 10 00 00 00 00 00 00 - North Stairs: 00 00 00 00 50 0B 00 00 50 0B 00 00 - East Stairs: B0 F4 FF FF 50 0B 00 00 00 00 00 00 - West Stairs: 50 0B 00 00 50 0B 00 00 00 00 00 00 #4 Section - Heights - section length will be 4 bytes multiplied by Inclines Size from Section #1 - each 4 bytes specifies a height Offset Length Name Description 0x0 0x2 Fractional Z Coordinate Variable allowing fractional Z-axis positioning. Defaults to 00 00 (Little Endian) 0x2 0x2 Z Coordinate Vertical positioning coordinate. Defaults to 00 00. (Little Endian) Notes: - Up on the Z-axis subtracts, while down on the Z-axis adds. - Fractional coordinates are divided by -65536, e.g., 00 80 = 32768/-65536, or -0.5. - Add both variables for final height, e.g., 00 80 FF FF = -0.5 + 1 = +0.5 Formulas: In the Spanish version of the tutorial Mikelan98 wrote, he posted some formulas for determining the heights you need to define in this section when dealing with specific types of slopes. They also allow one to figure out how to make formulas for other types of slopes. Here, I'll translate them. - Northward Stairs: Height = 0xB505 * (-(y)-(h)) - Westward Stairs: Height = 0xB505 * (x-h) - Eastward Stairs: Height = 0xB505 * (x-h+1) - Where: - x = the position of the stairs on the X-axis, unless the tile is more than one tile long, in which case you would use the tile that is lower on the Z-axis - y = the position of the stairs on the Y-axis - h = the height of the bottom of the stairs + 1 #5 Section - Plates - section length will be 8 bytes multiplied by Plates Size from Section #1 - each 8 bytes section builds a plate using definitions from the previous three sections Offset Length Name Description 0x0 0x1 First Point Index The index of the Point used for the northwesternmost corner of the plate. 0x1 0x1 Padding Color 0x2 0x1 Second Point Index The index of the Point used for the southeasternmost corner of the plate. 0x3 0x1 Padding 0x4 0x1 Incline Index The index of the Incline used for this plate.. 0x5 0x1 Padding 0x6 0x1 Height Index The index of the Height used for this plate. 0x7 0x1 Padding Notes: - The indexes for these are simply the order in which each previous section was defined. - For Points, if you're using the first two Points to construct a plate, you would use 00 & 01. - This creates a rectangular plate between the coordinates defined, with the defined inclination and height. #6 Section - Strips - section length will be 8 bytes multiplied by Strips Size from Section #1 - each 8 bytes section builds a plate using definitions from the previous three sections Offset Length Name Description 0x0 0x2 Padding Color 0x2 0x2 Lower Bound The southernmost tile of the strip. (Little Endian) 0x4 0x2 List Elements The number of list elements from Section #7 to use. (Little Endian) 0x6 0x2 List Start The index of the first list element from Section #7 to use. (Little Endian) Notes: - The first Strip begins at the northenrmost horizontal "strip" and ends at the first defined Lower bound. - The second Strip begins at the next tile south of the first Lower Bound and ends at the second defined Lower Bound. - The List Start index works the same as the indexes in Section #5. - List Elements counts elements including List Start. - More information is noted after Section #7 - Access List. #7 Section - Access List - section length will be 2 bytes multiplied by Strips Size from Section #1 - each 2 bytes is a list entry Offset Length Name Description 0x0 0x2 Plate Index The index number of a plate from Section #4. Notes: - The Plate index number references Plates in the order they're defined, the same as in previous sections. - The Plates in this list are referenced in the section above, and they're accessed, once again, by index number. - The Plates are ordered in groups, and individual plates generally appear multiple times. - The Plates in this section that are referenced in the previous section, are plates that can be accessed from that strip. - More information and visuals can be found in Mikelan98's guide.