![]() |
Hex help please! :D
Okay I just started rom hacking like 3 days ago so im new and no almost nothing :( but anyways i have been looking all over the internet for the past hour and a half and cant find anything. Can anyone tell me what exactly is a pointer and what its does? I'm trying to add fairy type into fire red so i was following the tut by shy rayq but i cant seem to find an answer to my question on that thread or any other one. Im probably just looking in the wrong spots for my answer though
|
A pointer is a string of hex in the ROM that 'points' at further information.
For example, when scripting you give a pointer to the 'event' to point it towards the script. Pointers are often written as 0x8XXXXXX in programs, but when actually looking in the rom you find the pairs of letters are backwards. Therefore, information stored at: 08123456 is pointed at with the hex code 56 34 12 08 - not entirely backwards, but the order of the pairs is reversed! Hope this helped, typing on my phone so reaching the end of my attention span :P. |
Quote:
|
Essentially! So if you see DC 5D E9 08 in hex, in your editor, then go to (08) E9 5D DC you'll find what it is pointing at :).
|
Thank you! i have one more question though if you don't mind
"Now find DC5DE908 by using Ctrl + F or whatever your program uses. Press okay, then you get it. Now replace it with your pointer. But first, we need it in a format the game understands. So in my case, I've got 00 00 80 08, which is quite bland. Anyway, now replace the original pointer with the new one. There's only 1 case so that's the only one." Okay so in the tut this is the part i am at and what i am stuck on is what am i supposed to change in HxD like i found where the pointer is at but what am i supposed to change in it? http://http://gyazo.com/7b7f6147b1f76b617253c01329eab404 This is my screen idk if it will help you any ? |
They want you to change the DC 5D E9 08 to 00 00 80 08. Presumably because they have inserted something new at the location 0x8800000.
I can't see the image I'm afraid! |
Thank you so much :D sorry for any annoyance. I really appreciate your help but i have one last simple question i changed the hex and the numbers turned red is that supposed to happen ?
|
Quote:
|
Quote:
|
| All times are GMT -8. The time now is 9:12 AM. |
![]()
© 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.