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 | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
MegaMan
Newcomer
Level: 3

Posts: 2/3
EXP: 78
For next: 50

Since: 03-20-05

Since last post: 227 days
Last activity: 226 days
Posted on 03-20-05 02:58 PM Link | Quote
I'm hacking n00b. I need offsets to TileED or TLP for changing grass colour. Please help !
Trekvarten

Level: 6

Posts: 6/11
EXP: 621
For next: 286

Since: 01-16-05
From: Sweden, Stockholm

Since last post: 206 days
Last activity: 167 days
Posted on 03-20-05 03:06 PM Link | Quote
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.


(edited by Trekvarten on 03-20-05 06:13 AM)
(edited by Trekvarten on 03-20-05 06:42 AM)
MegaMan
Newcomer
Level: 3

Posts: 3/3
EXP: 78
For next: 50

Since: 03-20-05

Since last post: 227 days
Last activity: 226 days
Posted on 03-20-05 05:38 PM Link | Quote
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

Level: 6

Posts: 7/11
EXP: 621
For next: 286

Since: 01-16-05
From: Sweden, Stockholm

Since last post: 206 days
Last activity: 167 days
Posted on 03-20-05 09:15 PM Link | Quote
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.


(edited by Trekvarten on 03-20-05 12:33 PM)
(edited by Trekvarten on 03-20-05 12:39 PM)
(edited by Trekvarten on 03-20-05 12:46 PM)
Kyoufu Kawa
I'm not bad. I'm just drawn that way.
Level: 70

Posts: 1344/2481
EXP: 3008456
For next: 7355

Since: 03-19-04
From: Catgirl Central

Since last post: 14 hours
Last activity: 13 hours
Posted on 03-20-05 10:55 PM Link | Quote
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

Level: 6

Posts: 8/11
EXP: 621
For next: 286

Since: 01-16-05
From: Sweden, Stockholm

Since last post: 206 days
Last activity: 167 days
Posted on 03-21-05 06:35 PM Link | Quote
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)


(edited by Trekvarten on 03-21-05 10:49 AM)
(edited by Trekvarten on 03-21-05 10:50 AM)
(edited by Trekvarten on 03-21-05 11:01 AM)
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
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.005 seconds.