Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2011-08-13 06:18:41

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 901/3,578

RGB to GBC Colour Picker

Hello all! I noticed I had this little tool laying around which makes editing pallets in a hex editor a lot easier. You can type in a standard RGB value and it gives you the Gameboy RGB value to use for it, and it also has sliders to let you select and preview a colour if you want to do it that way. The only thing I can say is a "bug" is that the lighter and darker buttons are labeled backwards, but you'd figure that out on your own by looking at it.

Anyway, here is a screenshot:

screenshotxpe.png



And here is an updated download link:

http://www.mediafire.com/?fzt2azqq6xg7fa4

Last edited by Mateo (2013-05-28 07:27:18)

Offline

#2 2011-08-13 11:59:30

tekcoR
Member
From: Celadon City
Registered: 2010-10-16
Post 70/165

Re: RGB to GBC Colour Picker

Nice tool, most except the Info button works. And I'm wondering why F8 is the highest possible value that can be selected...? It's a bit weird because FF is much more used for palettes in the game.

Edit: I'm not quite sure if it's bug or if it's supposed to be but why is the final palette hex value only changing by changing the colors in steps of 8? Which calculation formula are you using?

Last edited by tekcoR (2011-08-13 12:32:00)


Cya

Offline

#3 2011-08-13 13:00:53

Tauwasser
Member
Registered: 2010-10-16
Post 158/452

Re: RGB to GBC Colour Picker

Since the GBC has only 5 bits per color channel (RGB555), and "traditional" computer color (RGB888) has 8 bits, this results in a loss of precision when converting from RGB888 to RGB555.

The usual formula is color5b = color8b >> 3. Therefore, the 5 bit color will only change when the 8 bit color changes by at least 8.
In converse, this means that every 5 bit color value actually maps to 8 distinct 8 bit values. Usually, the lowest bound is used via the formula color8b = color5b << 3.

cYa,

Tauwasser

Last edited by Tauwasser (2011-08-13 13:03:04)

Offline

#4 2011-08-13 13:22:01

Sawakita
Administrator
Registered: 2010-10-16
Post 179/365

Re: RGB to GBC Colour Picker

Months ago, I wrote a tool which is similar to this one, Mateo. I guess I should post it: should it go here or in another thread?

Offline

#5 2011-08-13 17:22:38

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 902/3,578

Re: RGB to GBC Colour Picker

I would say post it here. And just to clarify, this is not a tool I made, this is one made by MeanMrMustard that I happened to have lying around. I do not have the source code so I cannot make any changes to it, so your version would be greatly appreciated.

Offline

#6 2011-08-13 19:31:26

Sawakita
Administrator
Registered: 2010-10-16
Post 180/365

Re: RGB to GBC Colour Picker

Here it is. It contains the source, too (it's in VB6, though).

EDIT: I uploaded an older incomplete version so now I removed the link. Look the newer post for the correct link.

Last edited by Sawakita (2011-08-13 20:46:33)

Offline

#7 2011-08-13 19:44:51

Ben
Member
From: South Korea
Registered: 2010-10-16
Post 118/161

Re: RGB to GBC Colour Picker

cool ill try to figure out how this thing works

Offline

#8 2011-08-13 20:44:26

Sawakita
Administrator
Registered: 2010-10-16
Post 181/365

Re: RGB to GBC Colour Picker

I didn't notice the version I uploaded was an incomplete version. I've fixed the program, now it's a little bit better: download.

A screenshot:
immagineac.png

Last edited by Sawakita (2011-08-14 11:10:42)

Offline

#9 2013-05-27 20:12:56

80C
Banned
Registered: 2013-03-16
Post 612/1,257

Re: RGB to GBC Colour Picker

RBPal features the RGB to bytes conversion, anyway it's always a nice try.


I left this forum.

Offline

#10 2013-05-27 20:23:22

YORAMRW
Member
From: The Netherlands
Registered: 2013-03-29
Post 288/1,199
Website

Re: RGB to GBC Colour Picker

Looks cool. FroggestSpirit has also made a program like this. They are both good. :)


Hacks Gameboy 8-bit music in Pokémon Gen I & II, composes 8-bit music in FamiTracker

Offline

#11 2013-05-27 20:47:22

80C
Banned
Registered: 2013-03-16
Post 613/1,257

Re: RGB to GBC Colour Picker

of course ;)


I left this forum.

Offline

#12 2013-05-27 21:03:06

Danny-E 33
Administrator
Registered: 2012-06-09
Post 499/1,119

Re: RGB to GBC Colour Picker

I prefer PaletteEd GB significantly. It has very easy shortcuts for copying and overwriting palettes in a rom and a colour picker tool, too.

Offline

#13 2013-05-27 21:03:57

YORAMRW
Member
From: The Netherlands
Registered: 2013-03-29
Post 289/1,199
Website

Re: RGB to GBC Colour Picker

Huh? Since when has PaletteEd GB a color picker?


Hacks Gameboy 8-bit music in Pokémon Gen I & II, composes 8-bit music in FamiTracker

Offline

#14 2013-05-27 21:13:34

Danny-E 33
Administrator
Registered: 2012-06-09
Post 500/1,119

Offline

#15 2013-05-28 07:27:34

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 2,536/3,578

Re: RGB to GBC Colour Picker

Updated the first post with a new link to the tool it talks about.

Offline

#16 2013-08-01 14:14:30

Pokemon_Master
Member
From: Eastern Kingdom of Mikado
Registered: 2013-05-18
Post 120/951
Website

Re: RGB to GBC Colour Picker

How to use this and what are palletes ?

Offline

Board footer

Powered by FluxBB