guahh my dog is so cute
Hello everybody, My name is Fan King, and this is my second tutorial ;D
I wanted to make this after seeing people ask a lot : "Where is the palette offset for___" And simply enough, i got annoyed, xD. Looking up palette offsets is as simple as 123, or ABC. I hope this will at least, stop the mass of questions of where to find the palettes.
These are the things you will need
.:: Using VBA To Find the Offset
Now in VBA, on the header bar thing, lick Tools, then Palette Viewer..
Now let's go look around the Palette Vewier.
Now if we want to find where the colors for this image in the rom, we simply click on the color...
Move your eyeballs down to the where it says value..
Now look where it says Value: 0x4228
In VBA, it switches the code as it is in the rom. So seeing it as 4228, you would have to put in 2842 when you're searching it. See what you have to do to get this is switch the first to number with the last two. So 4228= 42 48 + swtich = 28 42= 2842
So yeah, you have your color code, awesome!
.:: Finding Your Colors Inside the Rom
So, now you have your one color code. To find it in the rom, you'll need to make a string of the codes to search. So, pick 5 or so colors, and switch the numbers around.
This is what I got for the first 5 colors besides the black in the Palette: 2842 4A46 8D4E D056 135F
Note: When searching it in the rom, don't use any spaces!
So, open up your hex editor, maunuaver yourself to the search function, either by going Ctrl + F or by finding it.
Punch in the code you got earlier, and you should find it in the rom with no mistake. If there is one, then you messed up an earlier steps or messed up with getting the code.
As you can see, i got the offset 460560.
You can always check if you found the right offset in the rom by comparing what comes after in the hex editor to what is the next color in the Palette Viewer
Viola! You have your offset!
.:: Ending Note
So, you got your offset! Congrats! Now there are two edit it. Either type in the offset in APE, or just Hex edit it.
So, thank you for reading this tutorial. I hope that this ends people questions in finding palette offsets.
Remember, don't steal anything that I showed here for my hack!
~ Fan King