gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Graphics > How to convert colors so they look like pc screen

#49904 - therealabdallah - Wed Aug 03, 2005 4:13 pm

Is there a general approach to make the colors I see when working on my pc appear nearly the same on the GBA screen?

What I mean is that the GBA screen is much less saturated and also darker than a pc screen.
In other games when seeing through an emulator often the colors seem over saturated on the pc but look good on the gba.

HEPP Now one of my programmers just told me about a photoshop plugin from warioworld that might do the trick, ill tell you if it works...

#49907 - therealabdallah - Wed Aug 03, 2005 4:23 pm

this is what the readme says, and from early tries it looks like it works:

Quote:

******************************************************
AGB LCD Color Emulation for Photoshop
******************************************************
July 25, 2002


What is it?:
These files are an attempt to approximate the chromaticity settings
of the AGB LCD within Adobe Photoshop; in essence, to make the colors
you're drawing with and using on your monitor as much like the screen
on a Game Boy Advance as possible.


Youll need to be an authorized developer to get it though:
http://www.warioworld.com/

#49938 - tepples - Wed Aug 03, 2005 8:23 pm

The gamma of a display system calibrated to sRGB is 2.2. The gamma of a GBA or GBA SP LCD is closer to 3 or 4 depending on the lighting angle. However, 2.2 will best represent what a game will look like on a GameCube or a DS, whose display characteristics are much closer to sRGB.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#49988 - therealabdallah - Thu Aug 04, 2005 8:05 am

OK, so what setting would i change to adjust the gamma in photoshop?
Brightness?
And do I understand you right, Ill need to bump up the gamma by 3-4 (times? percent?) to make the graphics look good on the GBA screen?

#50011 - therealabdallah - Thu Aug 04, 2005 3:57 pm

Well the photoshop plugin didnt work, all it does is emulate the way the graphics would look on a gba screen so its useless.
I found a gamma setting in image ready (but not in photoshop odd enough).
Bumping up the gamma does not help, i dont think the relation is that simple, the result was not good.
However i found that adjusting curves for each r g b channel works good but i havnt found a perfect solution yet.

Ill share the results when i succeed, but if anyone knows of a good way ill be glad to hear it so i dont have to go through a tiresome trial and error process.

#50039 - strager - Thu Aug 04, 2005 6:53 pm

therealabdallah wrote:
OK, so what setting would i change to adjust the gamma in photoshop?
Brightness?
And do I understand you right, Ill need to bump up the gamma by 3-4 (times? percent?) to make the graphics look good on the GBA screen?


Since the sRGB gamma is around 2.2 (as Tepples said), my guess would be to divide the two (3-4.. I'd say 3.4 :)), which results in 1.54545454..., or rounded to 1.55 times the current gamma.

Use PhotoShop's gamma adjustment AFTER you have modified your graphics to the way you like on your computer, and be sure to back up your origional, "PC version."

#50091 - therealabdallah - Fri Aug 05, 2005 8:50 am

OK only 1.5, i used 3... Ill try it now, thanks!

#50207 - ScottLininger - Sat Aug 06, 2005 3:54 pm

I've found the following steps have produced good results for me (in Photoshop):

1. flatten you image
2. Go to Image > Adjust > Levels (CTRL+L)
3. The input levels start at 0, 1.00, 255... Change to 0,1.5,235

This isn't a scientific approach. I just monkied with the levels until I got something that I'm fairly happy with.

Another tip: If you're using a shared palette across all of your images, it's a snap to build your whole game in "PC" gamma, then just swap out your *palette* to correct for color rather than rebuilding every image. Then you don't have to maintain two versions of everything.

I'm also a big fan of the "Save for Web" feature, since you can maintain all of your photoshop layers and dump out a long list of Slices at any time. (.GIF has become my output format of choice for this reason.) It's a lot easier to work with one photoshop file that contains all of your gfx than dozens of individual files.

-Scott

#50403 - therealabdallah - Tue Aug 09, 2005 9:15 am

That looks pretty close cheers!

My coders are doing this directly on the gba now though so i dont have to change anything..
I dont think its as easy as just making things brighter and darker though, some colors have to be brighter than others etc..

Ill see if i can get them to post the code for it, its not perfect yet but its very very close..

edit thanks for the tips by the way! heres one-
If i want to animate something with alot of colors i first animate a mask in Pro Motion and then import the frames to Photoshop and color them there. Works brilliantly for special effects, i did a water explosion that way and it looks incredible.
Masks is great for tiles as well when making several backgrounds with transparant borders - make the mask first and then color away and youll get brilliant results.
Im not a big fan of the pixelated look if its not really good, the way i see it, theres the technology to make things look better today so why not use it. The game im making now looks more like an animated film than a game because of these methods..