Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2011-05-24 11:01:54

Cheestendo
Member
Registered: 2011-03-30
Post 110/319

How to change palletes?

I need changing palletes , to overworld , in-battle (the hp bar and other) .
any1 can help?

Offline

#2 2011-05-24 14:44:00

Sawakita
Administrator
Registered: 2010-10-16
Post 121/364

Re: How to change palletes?

You didn't elaborate too much, didn't you?
Anyways, you can use this method to find the palettes: BGB has a feature called VRAM viewer (press F5), open it, when you know the game is using a palette you want to edit, and select the folder named "Palettes", you'll see many little colored squares with a hex value under them. That is the value you're looking for (just convert it to little-endian, since that's the way Gold stores palette, while BGB uses big-endian format). For example HealthBar palette is (little endian): 5E3F (yellow), E002 (green).
Now, if you search for "5E3FE002" in a hex editor you'll find 2 matches:
- A3DF
- AD2D
The correct one is obviously A3DF as you can realize by the context. In fact, there, you can see the color values for black (0000) and white (FF7F, little-endian) too.

Offline

#3 2011-05-26 14:10:45

Cheestendo
Member
Registered: 2011-03-30
Post 113/319

Re: How to change palletes?

Could you lower-brain it a little? if i want to change the overworlds palette-.
43FC - is the transparent color.
2A7F - is the first color.
04FF,7D2A,0EE7,0D47,195E - is the second color.
, what are the right number to change in a hex editor?

Offline

#4 2011-05-27 00:07:59

Sawakita
Administrator
Registered: 2010-10-16
Post 122/364

Re: How to change palletes?

What do you mean? You don't know how to convert colors>hex value?
Basically the format of a RGB color for GBC is (from low to high) 5 bits for red,5 bits for green and 5 bits for blue (highest bit of the most important byte is unused): 0BBBBBGG GGGRRRRR (B=blue,G=green,R=red)

You can use a program I wrote (sorry, windows only) to convert RGB-color>hex value and vice-versa (type the 2-byte value in the top-left box and press enter to see the correspondent color, or move the color bars to obtain the hex value in the same top-left textbox. The value displayed is big-endian so you have to reverse the two bytes before writing it into the hex editor).
Is it clear?

Last edited by Sawakita (2011-05-27 00:13:46)

Offline

#5 2011-05-27 06:39:23

Cheestendo
Member
Registered: 2011-03-30
Post 117/319

Re: How to change palletes?

Yes i read another tutorial about changing palettes , but i don't know the real numbers,
wow no i don't get now i read the same tutorial and it's long as a book :D . i think i'll get some of those numbers wrote down somewhere.
thanks for your help.. it didn't help me but anyway.

Offline

#6 2011-05-27 10:14:14

Cheestendo
Member
Registered: 2011-03-30
Post 121/319

Re: How to change palletes?

And can you please help me with megamap! it ain't a shit working
what i done - Disabled The visual themes , putted compabillity with windows 95.
i got 3 files with the megamap - MSCOMCT2 , COMDLG32 , zerolib.

The Problem - When i start it , it shows up in the background, in the task manager it shows that it is responding. but absolutely nothing is showing up, i tried everything.

Offline

Board footer

Powered by FluxBB