The PokéCommunity Forums Fan Games ROM Hacking Tools, Tutorials & Resources
Tutorial Advanced Palette Editing Tutorial

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.

Thread Tools
Old December 9th, 2007 (11:44 AM). Edited December 9th, 2007 by Red.
Red's Avatar
Red Red is offline
Pokémon Trainer
Join Date: Jul 2004
Location: Mt. Silver
Age: 26
Gender: Male
Posts: 217
Originally Posted by Christos View Post
Look at all the blue colors until you find two blue ones that their RGB numbers match with the ones from the textbox.
If you notice, it tells you which palette it is in the map viewer. It ranges from 0 to 15, in the screenshot it even shows that. (So you don't have to search.)

Just edited your screenshot.

Also, if you guys want to edit the palette manually, there is a way. I figured this out about a week ago.

First, you get each color of red, green and blue.
Let's say you wanted to make the RGB of 22,37,103. First, you have to round off to multiples of eight. (Meaning if you divide the number by 8, there will be no decimal/remainder.) So, my new numbers are 24,40,104. They are all multiples of 8.
Now, you need the windows calculator. In Windows XP, it's located Start>All Programs>Accessories>Calculator. Once the calculator is open, you need to change to Scientific view.(View->Scientific)
Next, make sure you have decimal selected("Dec").
Now, first divide each number by 8 and we have the valid numbers we can use. So, with the numbers I had before, this gets me 3,5,13. The numbers only range from 0 to 31. The numbers will show up in the game as multiplied by 8.
Now, convert these numbers to binary, by first typing them when decimal is selected and then clicking, "Bin". You'll get a series of 1's and 0's. If the number you get is less than 5 digits long, you'll need to add zeros to the left of the number so that it is 5 digits long.
For example, '3' converted to binary is '11,' so the number you need is '00011.'
Now, with all three numbers converted, now my values in red, green and blue are 00011,00101,01101. Now, the next thing you need to do is simply reverse the numbers so it is now blue, green, red(instead of red, green blue). So, now I have 01101,00101,00011(13,5,3) of blue, green, red. This is your binary code version of your hex colors.
So, remove the commas and the code is '011010010100011.' Now, type the full 15-digit code into the calculator while in binary("Bin") mode. Then, click "Hex" to convert it to hexadecimal. In my case, I get 34A3 as my hexadecimal code. Now, reverse the bytes and instead of 34A3, you now have A334, this is the code as it would appear in the hex editor. Now the first post tutorial can help you with the rest.
(I think that tool was made simply to help with this step.)

And, also instead of writing down the hex codes for every single palette color, it's easier just to rip the whole thing. First, get the address of the first color in the palette you're editing.

Then, open the Memory Viewer(Tools>Memory Viewer in VisualBoyAdvance) and click "Save..." Then, type in this address with a size of 20(Hex for 32) and it will save a .dmp file.

Open the .dmp file with a hex editor and the entire palette is put there for you already. You can simply copy the entire thing and then search for it in the rom to find the palette.

<Download Pokémon Lightning Yellow beta here>
Reply With Quote

Relevant Advertising!

Old December 18th, 2007 (11:33 AM).
derv1205's Avatar
derv1205 derv1205 is offline
Trade/Battle/Breed/Clone (X,B2,D)
Join Date: Dec 2007
Location: Florida, USA
Gender: Male
Nature: Adamant
Posts: 272
Nice tutorial, i didn't know this way and i will try it , thanks
Reply With Quote
Old June 28th, 2008 (11:11 AM).
EdDi's Avatar
EdDi EdDi is offline
Join Date: Jun 2008
Posts: 6
Send a message via Windows Live Messenger to EdDi
nice one...
Hey CAn Some1 Tell Me how to Play with Gary???
Change the icon Ash to gary??How??
Reply With Quote
Old July 30th, 2008 (9:24 AM). Edited July 30th, 2008 by alexk1995.
alexk1995's Avatar
alexk1995 alexk1995 is offline
Join Date: Jul 2008
Location: in a bucket
Age: 21
Nature: Modest
Posts: 33
Nice new tutorial...Really good for hackers who don't know pal. changing

Originally Posted by cove_2007 View Post
i guess it helps some people but i just dont see the point in changing the colour around the text
its too bee creative and for me I could really tell the difference

this should given an award cuz it helped me a lottt
+rep if you love unicorns
Reply With Quote
Old August 1st, 2013 (8:13 AM).
Darkrai666's Avatar
Darkrai666 Darkrai666 is offline
ThatscaryFreakyguywhoisDa rkrai
Join Date: Jul 2013
Age: 16
Gender: Male
Nature: Lax
Posts: 121
I went to >tools But All i saw is Colour Picker Gradient O matic and RGB/GBA COnverter..I cant find the map view
This signature has been disabled.
exceeds 350px height limit -- please decrease so no scrollbars appear
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
Reply With Quote
Old August 3rd, 2013 (12:44 AM).
pokemontouroku's Avatar
pokemontouroku pokemontouroku is offline
Join Date: Jun 2013
Gender: Male
Posts: 10
Thanks for the tutorial XD
I'm very happy that I can edit Palette.
Reply With Quote
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 GMT -8. The time now is 9:48 PM.