Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Pokémon hacking.
Acmlm's Board - I2 Archive - Pokémon hacking - Help! Offsets to TileED
  
User name:
Password:
Reply:
 

UserPost
Trekvarten
Posts: 8/11
Originally posted by ME

A color in gba is built up of 15 bits, 5 (bit 0 to 4) bits are the red component, 5 (5 to 9) green, and 5 (10 to 14) blue:
red 5bits green 5bits blue 5bits unused 1bit


I wrote that it was 5-bits...
If you ment
Originally posted by guess who...

If you didn't know pallettes are 4-bit

then I know what you mean...but everyone call it 4bit (because of the 32x32x32 colors)

However, thanks for correcting me about the order(I wrote it the wrong way round)
Kyoufu Kawa
Posts: 1344/2481
Yo Trek, the GBA uses the same color format as SNES.

wBBBBBGG GGGRRRRR where "w" is a wasted bit. That's five per element, not four.
Trekvarten
Posts: 7/11
It's kinda hard to explain...look in other posts...I'm sure it has been written there.
(someone really should write a tutorial for this if there isn't already one....)
EDIT: Ok, I'll try to explain... cause noone else is answering...
I assume you know what bits and bytes are...
A color in gba is built up of 15 bits, 5 (bit 0 to 4) bits are the red component, 5 (5 to 9) green, and 5 (10 to 14) blue:

ok there are two ways to do it:
1st:
Say the grass you wanna change has a greenish color... that would(perhaps) be in bits:
000001111100001
translate that with windows calculator into hex:
03 FF
2nd:
use the VBA palette viewer/map viewer and look up the color.
This is the simpliest version but the disadvantage is that you perhaps won't find unused colors in the pallette

use one of these for all 16 (0 to 15) colors in the grass tile
then put all those together into a hex string and search for it in the hexeditor
if done right and with a little bit luck you now have only one offset...
goto that offset and change that pallette into something else( I recommend bit "manipulating" as used above)

I know, I'm not good in making tutorials
If someone else could read this post please correct me if I've explained this totally wrong.
MegaMan
Posts: 3/3
Ok , thanks , but i don't know what it mean . These colours are for what ? I don't know how to use them . And what i must paint ??
Trekvarten
Posts: 6/11
I'm quite new to this, too, so I'm not an expert, but I know that it is quite hard to change palette data with TLP... Try a hexeditor instead.
If you didn't know pallettes are 4-bit
Ex.:
7C00 = red
03E0 = green
001F = blue
0000 = black
FFFF = white
CCCC = grey
Correct me if I'm wrong.
MegaMan
Posts: 2/3
I'm hacking n00b. I need offsets to TileED or TLP for changing grass colour. Please help !
Acmlm's Board - I2 Archive - Pokémon hacking - Help! Offsets to TileED


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.009 seconds.