[NDS] Backgrounds without transparency [Solved]

Post Reply
RyouArashi
Posts: 29
Joined: Sun Mar 29, 2009 9:23 pm

[NDS] Backgrounds without transparency [Solved]

Post by RyouArashi » Sun Mar 14, 2010 5:33 pm

How can I tell grit to create a background image without transparency (i.e. without using palette color 0) ?

When converting the image
Image
using the options (.grit file)

Code: Select all

-ftb -fh!
-g -gt -gB8 -gT FF00FF
-m -mRtf -mLs
-p
i get transparent areas on the background (no$gba, using extended palettes, red color = backdrop):
Image

installed.ini
Last edited by RyouArashi on Sun Mar 14, 2010 7:25 pm, edited 1 time in total.

User avatar
vuurrobin
Posts: 219
Joined: Fri Jul 11, 2008 8:49 pm
Location: The Netherlands
Contact:

Re: [NDS] Backgrounds without transparency

Post by vuurrobin » Sun Mar 14, 2010 7:05 pm

from: http://www.coranac.com/man/grit/html/grit.htm
-gT!
No transparent pixels / set the alpha-bit of the pixels. Only has effect for NDS bitmaps.
so change '-gT FF00FF' to '-gT!'. that should do it.

RyouArashi
Posts: 29
Joined: Sun Mar 29, 2009 9:23 pm

Re: [NDS] Backgrounds without transparency

Post by RyouArashi » Sun Mar 14, 2010 7:25 pm

I tried -gT!, but it only seems to work with -gb set, not -gt:

Code: Select all

ERROR: Option mismatch: Can't map true-color bitmaps.
I got it working in the end, though.
Adding

Code: Select all

-pT 255
did the trick.

Solved.

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests