Page 1 of 1

Re-texture problems [Solved]

Posted: Wed Jun 22, 2016 2:27 pm
by iamastupid
I get the error TARGA 10 is not supported alot when Retexturing,
Anyone know an alternative method to retexturing or a fix for this annoying error?

Re: Re-texture problems

Posted: Wed Jun 22, 2016 2:45 pm
by Samee3
Well, as the message says, BF2 does not like files of Targa type 10.
The solution is to open the image in GIMP, and export it again as Targa. This should work. Keep in mind that only GIMP seems to work for this; Paint.net and Photoshop don't.

If this doesn't work, I have a very long and roundabout method of solving this issue.

Hopefully this is helpful in some way,
Sam

Re: Re-texture problems

Posted: Wed Jun 22, 2016 2:46 pm
by thelegend
What exactly did you do? Which program did you use? What did you want to try/do in "retexturing"?
I got this error when I played around with the channels in GIMP and did do something to the colors (RGB and A stuff) or with grayscale images...I don't know.
This could also happen if RLE is turned on instead of off.

Re: Re-texture problems

Posted: Wed Jun 22, 2016 3:15 pm
by iamastupid
Samee3 wrote:Well, as the message says, BF2 does not like files of Targa type 10.
The solution is to open the image in GIMP, and export it again as Targa. This should work. Keep in mind that only GIMP seems to work for this; Paint.net and Photoshop don't.

If this doesn't work, I have a very long and roundabout method of solving this issue.

Hopefully this is helpful in some way,
Sam
I'll see if this works.
thelegend wrote:What exactly did you do? Which program did you use? What did you want to try/do in "retexturing"?
I got this error when I played around with the channels in GIMP and did do something to the colors (RGB and A stuff) or with grayscale images...I don't know.
This could also happen if RLE is turned on instead of off.
I'm trying to retexture the Sandcrawler from Tatooine: Dune Sea, I was using photoshop however by Samee3's recommendation im going to see if Gimp fixes this error


EDIT
Samee3 wrote:Well, as the message says, BF2 does not like files of Targa type 10.
The solution is to open the image in GIMP, and export it again as Targa. This should work. Keep in mind that only GIMP seems to work for this; Paint.net and Photoshop don't.

If this doesn't work, I have a very long and roundabout method of solving this issue.

Hopefully this is helpful in some way,
Sam
Nope, there has been a change though, instead of being a solid texture it is now transparent and invisible in Zeroeditor and most likely ingame aswell. What is the long method? Or have screwed up somewhere?

Re: Re-texture problems

Posted: Wed Jun 22, 2016 3:30 pm
by AceMastermind
Targa Type 10 is RLE compressed, save the image without RLE compression and your textures should also be of type RGB color mode, not Index color or Grayscale etc.

Re: Re-texture problems

Posted: Wed Jun 22, 2016 3:54 pm
by Samee3
Hmmm, make sure RLE compression is NOT checked when you export, and make sure the anchor is bottom-left.

If none of this works, well, this is my long roundabout method.
You will need the SWBF Viewer for this. And make a new folder somewhere (Desktop) to work out of.
  • Convert your new sandcrawler texture to PNG. How you do this is not important. We will refer to it as Sandcrawler.
  • Chose a random model. I usually use com_weap_missile. We will refer to it as The Model
  • Open said model in the Viewer, and export to wrl. Put it in the folder you made earlier. We will refer to it as The WRL
  • Take note of how the Viewer exported the texture to PNG as well; Take note especially of the name. We will refer to it as Old Texture
  • Rename the Old Texture to something else. Call it old_texture for all I care.
  • Now, rename the Sandcrawler PNG to what the Old Texture was called.
  • Almost there, now import the WRL in the Viewer. If you did it correctly, the model should now look really ugly, and should be textured with the Sandcrawler texture.
  • Finally, save it as a msh.
  • If everything was done correctly, you should have a new .tga of the Sandcrawler texture in the same location in which you saved the Model.

EDIT: Looks like ACE beat me to the draw.

Re: Re-texture problems

Posted: Thu Jun 23, 2016 1:50 am
by iamastupid
AceMastermind wrote:Targa Type 10 is RLE compressed, save the image without RLE compression and your textures should also be of type RGB color mode, not Index color or Grayscale etc.
Okay, thanks this worked. I had RLE compression enabled.