#3906 - jammin.won - Wed Mar 12, 2003 4:56 pm
i'm more and more in need of a handy tool which support 16 color
i tried gfx2gba ,but it also generate weird 8bit data array ,which i cant put them into use directly
can sb plz help me out ....thx a lot
#3907 - MayFly - Wed Mar 12, 2003 5:12 pm
Hi Jammin.won,
Just curious, which version of gfx2gba are you using?
MayFly
#3928 - jammin.won - Thu Mar 13, 2003 3:02 am
hiya
hmmmmm i dunno which version but i downloaded it from gbadev.org.....is that old verion ??? is there any new version ??
_________________
[Images not permitted - Click here to view it]
#3940 - TurboHz - Thu Mar 13, 2003 10:31 am
I use bmp2raw. You can use it to export raw image data and palette data.
#3942 - Quirky - Thu Mar 13, 2003 11:29 am
gfx2gba does do 16 colour sprites and tiles and you can load them in directly, what exactly couldn't you do?
There are 2 programs with the same name though - make sure you d/l the version by marcus. I use a syntax something like this:
gfx2gba -t8 -m -F -ppalette1.pal sprite1.pcx
Then I include the binary by having this in the .c file where the data is loaded:
extern unsigned char _binary_sprite1_raw_start[];
and then DMA in the data like this:
REG_DMA3SAD = (u32)_binary_sprite1_raw_start;
REG_DMA3DAD = (u32)&(bg1.tileData[tileoffset]);
REG_DMA3CNT = 32 |DMA_16NOW;
#3983 - jammin.won - Fri Mar 14, 2003 12:12 pm
cool....
that really helps a lot...thx quirky
_________________
[Images not permitted - Click here to view it]
#4010 - Ninja - Sat Mar 15, 2003 8:00 pm
I find that gifs2sprite does the job quite well, and will even blend your color palettes together. (bonus)