Possible to hack GBA game brightness/color/contrast?

Discussion in 'GBA - Game Development, ROM Hacks and Translations' started by granville, Jun 21, 2008.

  1. granville
    OP

    Member granville GBAtemp Goat

    Joined:
    Aug 24, 2007
    Messages:
    4,977
    Location:
    Naples, Florida
    Country:
    United States
    A big problem with many gba games (especially early ones and ports of old games) is that the games are too bright. In our day and age of DS Lites, better SP screens, and other such things, a game can appear as dark as it wants and still show up well enough. My question is this:

    Can you hack a GBA rom to change the game's graphics to a lighter/darker tone (as well as the gamma, contrast, and color saturation levels)?

    Example:

    This
    [​IMG]

    To this:
    [​IMG]

    If so, how?
     
  2. tomqman

    Member tomqman This Is Everyone's Fault But Mine.

    Joined:
    Aug 7, 2007
    Messages:
    894
    Location:
    Isle Of Wight
    Country:
    United Kingdom
    you could tint a ds screen pertector. and pop it on when ur playing gba
     
  3. granville
    OP

    Member granville GBAtemp Goat

    Joined:
    Aug 24, 2007
    Messages:
    4,977
    Location:
    Naples, Florida
    Country:
    United States
    I guess that's one way to do it, but I wanted to hack the actual rom file.
     
  4. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,727
    Country:
    United Kingdom
    GBA colours are BGR (I am not aware of any games that use the undocumented register: http://nocash.emubase.de/gbatek.htm#gbalcdvideocontroller ) and brightness contrast is achieved by tricks with colours (ostensibly for the early GBAs as you mention) and in game options either cycle through multiple palettes (not so common) or tweak them "numerically" (more common).

    From here you want a palette hack:
    http://etk.scener.org/?op=showtutorial&st=3
    and make sure to read:
    http://nocash.emubase.de/gbatek.htm#lcdcolorpalettes

    See also the rom hacking docs in my signature on DS icons as the GBA and DS share the same principles.
    As palettes are loading into the memory you could possible even make an AR code for basic hacks and alter the games that tweak palettes to more or less extreme levels (there will usually be a byte somewhere detailing what level of tweaking to do).
     
  5. granville
    OP

    Member granville GBAtemp Goat

    Joined:
    Aug 24, 2007
    Messages:
    4,977
    Location:
    Naples, Florida
    Country:
    United States
    Thanks for the info! I'm not very experienced in hacking, but I'll look at this and try it out. What I was hoping for was some kind of way to just darken the entire game without having to individually hack pallets for objects. Oh well.
     
  6. spinal_cord

    Member spinal_cord Knows his stuff

    Joined:
    Jul 21, 2007
    Messages:
    2,871
    Location:
    somewhere
    Country:
    United Kingdom
    IF yourusing a DS, why not just turn the light setting down a bit?
     
  7. granville
    OP

    Member granville GBAtemp Goat

    Joined:
    Aug 24, 2007
    Messages:
    4,977
    Location:
    Naples, Florida
    Country:
    United States
    It's the actual colors and contrast levels that I'd like to adjust, not the brightness.
     
  8. Frederica Bernkastel

    Member Frederica Bernkastel WebPerf and PWA advocate; @antoligy on Twitter

    Joined:
    Jan 31, 2008
    Messages:
    3,145
    Location:
    Hinamizawa
    Country:
    United Kingdom
    Rom extractor and a photo editor thats the hard way.
    Only do it my way if your stupid like me.
     
  9. gukid

    Newcomer gukid Advanced Member

    Joined:
    Dec 15, 2006
    Messages:
    98
    Country:
    Canada
    I'm gonna have to give this a try as well. Some games that really suffered during this "turning point" of the GBA were ALL of the Blizzard games (Blackthorne looks especially horrible) and the Breath of Fire games. I'd love to tone the colours in BoF2 down to what they were like in the SNES version and rewrite the script for that game. Such a great game... but the storyline just doesn't make any sense with the hackjob of a translation it got...
     

Share This Page