Re-texture problems [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
iamastupid
Second Lance Corporal
Second Lance Corporal
Posts: 106
Joined: Sat Feb 13, 2016 2:54 pm
Projects :: Not Battlefront III Legacy
Games I'm Playing :: Minecraft
xbox live or psn: d_Bro
Location: A Dark Bedroom in the UK
Contact:

Re-texture problems [Solved]

Post 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?
Samee3
First Lance Corporal
First Lance Corporal
Posts: 123
Joined: Sun Jul 05, 2015 5:07 pm
Projects :: BF2 Refresh Mod
Games I'm Playing :: Empire at War
xbox live or psn: VaporousFern310
Location: California, USA

Re: Re-texture problems

Post 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
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Re-texture problems

Post 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.
iamastupid
Second Lance Corporal
Second Lance Corporal
Posts: 106
Joined: Sat Feb 13, 2016 2:54 pm
Projects :: Not Battlefront III Legacy
Games I'm Playing :: Minecraft
xbox live or psn: d_Bro
Location: A Dark Bedroom in the UK
Contact:

Re: Re-texture problems

Post 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?
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Re-texture problems

Post 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.
Samee3
First Lance Corporal
First Lance Corporal
Posts: 123
Joined: Sun Jul 05, 2015 5:07 pm
Projects :: BF2 Refresh Mod
Games I'm Playing :: Empire at War
xbox live or psn: VaporousFern310
Location: California, USA

Re: Re-texture problems

Post 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.
iamastupid
Second Lance Corporal
Second Lance Corporal
Posts: 106
Joined: Sat Feb 13, 2016 2:54 pm
Projects :: Not Battlefront III Legacy
Games I'm Playing :: Minecraft
xbox live or psn: d_Bro
Location: A Dark Bedroom in the UK
Contact:

Re: Re-texture problems

Post 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.
Post Reply