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.

DS development > How to convert image to tiled bg (16color)?

#150377 - ETkoala - Sun Feb 03, 2008 12:58 pm

Hi, I have a problem converting my tiles for my 16color tiled BG (BG_COLOR_16 tag).

I want it to use 4 palettes (0, 1, 2 and 3) from Main BG, but I can't convert it the way it should be.

My image palette (.png) already has the palette sorted the way i want it to be in NDS. Look: [Images not permitted - Click here to view it]

Which converter Should I use to get the gfx+pal+map? I'm using Wingrit but it only worked to me if I was using 256color (too big for me).

Help :([/img]

#150386 - Cearn - Sun Feb 03, 2008 3:50 pm

The correct options for that should be:
image: tiled and 4bpp
map: check the 'pal' reduction option.
You probably didn't set the correct bitdepth.

#150498 - ETkoala - Tue Feb 05, 2008 9:21 pm

ok thanks! I finally got it ;)

it was a problem in the .png file.. didn't have used the correct palette