Log in

View Full Version : Bug Black background sprite


Swan
November 11th, 2009, 07:06 AM
Yesterday i had a strange bug: some of my own sprite, which all worked perfectly until then, begun to show
their black background during battle.
Someone have an idea on how to fix it

Stavis_L
November 11th, 2009, 09:19 AM
This probably belongs in the modding sub-forum...

Did you edit the graphics recently (perhaps indirectly, via an automated tool or indexer?) In my experience, the black background (when you've verified that the RGB values are all correct) is due to an alpha channel having been added. Some graphics tools don't let you easily select whether to add the alpha channel to .tga or not.

Swan
November 11th, 2009, 09:38 AM
Well yes, i edited them recently, but just mirrored them(x=-x)
so, there is a way to fix it?

Stavis_L
November 11th, 2009, 10:11 AM
Well yes, i edited them recently, but just mirrored them(x=-x)
so, there is a way to fix it?

Well...it depends on your graphics editing program. If you can save it again without the alpha channel, and that's the reason (rather than invalid RGB value for black, for instance) then you should be good. If the program doesn't explicitly indicate alpha channel, it might say something like 24bit (no alpha) vs. 32bit (with alpha).

Swan
November 11th, 2009, 01:51 PM
ok, i tried to save it again, but it never let me choose alpha channel or not, not even 32/24 bit.
I use GIMP.

Swan
November 15th, 2009, 01:04 PM
Found how to fix it: save sprite as jpg, work on them, resave as tga and voilĂ*