Christos
August 27th, 2007, 10:48 AM
Advanced Palette Editing Tutorial
Requirements:
VisualBoy Advance
A Hex Editor
Notepad
Your ROM
A-Colour (http://www.sendspace.com/file/zt6712)
http://i18.tinypic.com/6h3e0yq.png
First, open your ROM with VBA and go to the place where there's something you want to change its colors. Then go to Tools -> Map Viewer.
http://i10.tinypic.com/4otsew0.png
There's 4 backgrounds, 0, 1, 2 and 3. The textbox is in BG0. Choose the colors you want to edit from the textbox and write its RGB down in notepad.
We want to edit the blue colors from the textbox, in notepad we should have:
19 25 31 and 15 23 28
Now go back, and go to Tools -> Palette Viewer.
Look at all the blue colors until you find two blue ones that their RGB numbers match with the ones from the textbox.
http://i13.tinypic.com/5yteec4.png
The blue colors of the textbox are there, so we'll have to search for the whole palette in the hex editor (the one in the red circle). If you just search for the two colors, you may edit something else.
The blue color's value that's selected in this picture is "7F33". To search for the palette in the hex editor, you have to write down the values of all the colors in the palette. But to work, you have to flip the first two digits with the last two digits of each value. For example, "7F33" should be "337F".
When you finish writing all the values down and flipping the first two digits with the last two digits you should have:
000029251F00E003007CFF03E07F1F7C5A67000000009C77FF7F337FEF72FF7F
Now, open your ROM in a hex editor, and search for that as a "hex string".
http://i18.tinypic.com/4qgwkdz.png
The hex editor finds the string at offset "1E66B0". Go to "337F" and "EF72", edit them and save. Now you'll need A-Color (http://www.sendspace.com/file/k9ruwq), find a picture with the colors you want to use, open it in Paint, and choose the colors with the colorpicker. Then go to Colors -> Edit Colors and you'll find the color's RGB numbers.
http://i10.tinypic.com/5yjed76.png
Now open A-Color, put the RGB numbers and select "Give Me My Color!".
http://i9.tinypic.com/52c1lzq.png
Now, flip the first two digits with the last two of the Hex Value, and replace the textbox's blue colors in the hex editor with the two new orange ones.
At the offset "1E66B0", find the two blue colors ("337F" and "EF72") and replace them with "5F13" and "1F2F", the hex values of the two orange colors. Then save. Now open the ROM with VBA.
http://i17.tinypic.com/4m2w6xs.png
Requirements:
VisualBoy Advance
A Hex Editor
Notepad
Your ROM
A-Colour (http://www.sendspace.com/file/zt6712)
http://i18.tinypic.com/6h3e0yq.png
First, open your ROM with VBA and go to the place where there's something you want to change its colors. Then go to Tools -> Map Viewer.
http://i10.tinypic.com/4otsew0.png
There's 4 backgrounds, 0, 1, 2 and 3. The textbox is in BG0. Choose the colors you want to edit from the textbox and write its RGB down in notepad.
We want to edit the blue colors from the textbox, in notepad we should have:
19 25 31 and 15 23 28
Now go back, and go to Tools -> Palette Viewer.
Look at all the blue colors until you find two blue ones that their RGB numbers match with the ones from the textbox.
http://i13.tinypic.com/5yteec4.png
The blue colors of the textbox are there, so we'll have to search for the whole palette in the hex editor (the one in the red circle). If you just search for the two colors, you may edit something else.
The blue color's value that's selected in this picture is "7F33". To search for the palette in the hex editor, you have to write down the values of all the colors in the palette. But to work, you have to flip the first two digits with the last two digits of each value. For example, "7F33" should be "337F".
When you finish writing all the values down and flipping the first two digits with the last two digits you should have:
000029251F00E003007CFF03E07F1F7C5A67000000009C77FF7F337FEF72FF7F
Now, open your ROM in a hex editor, and search for that as a "hex string".
http://i18.tinypic.com/4qgwkdz.png
The hex editor finds the string at offset "1E66B0". Go to "337F" and "EF72", edit them and save. Now you'll need A-Color (http://www.sendspace.com/file/k9ruwq), find a picture with the colors you want to use, open it in Paint, and choose the colors with the colorpicker. Then go to Colors -> Edit Colors and you'll find the color's RGB numbers.
http://i10.tinypic.com/5yjed76.png
Now open A-Color, put the RGB numbers and select "Give Me My Color!".
http://i9.tinypic.com/52c1lzq.png
Now, flip the first two digits with the last two of the Hex Value, and replace the textbox's blue colors in the hex editor with the two new orange ones.
At the offset "1E66B0", find the two blue colors ("337F" and "EF72") and replace them with "5F13" and "1F2F", the hex values of the two orange colors. Then save. Now open the ROM with VBA.
http://i17.tinypic.com/4m2w6xs.png