Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I have a model which has textures in DDS format, but my game takes textures in TGA format. How can I convert the textures from DDS to TGA?

share|improve this question
    
On a side note, you may not be able to produce a single .tga file from a .dds. DDS files may contain multiple image layers (e.g. cubemap faces), generally you would not unwrap the layers into a single TGA file because that would make re-loading the image more difficult than it needs to be. Instead, you would probably output one TGA file per-layer. Likewise, you will lose any pre-computed mipmap chain in the DDS file when you convert to TGA (you will get the highest detail mipmap level and that is it). –  Andon M. Coleman Jun 11 at 20:19
    
I found another way around. I converted the dds file into a Tga file. Then in my unix environement i went to the .FBX file and changed all the paths from .DDS to .TGA and it worked !!! :D. Anyway thank you very much for you help :) hope this way helps somebody. –  Hakeem El Bakka-lee Jun 28 at 14:22

2 Answers 2

up vote 3 down vote accepted

You can convert .dds to .tga with a variety of tools, such as

share|improve this answer

In addition to the tools NathanReed mentioned, ImageMagick can now also do this.

It supports more source (and target) formats than the NVidia texture tools, which is quite convenient, and allows performing lots of image operations during conversion (like flipping, scaling to powers of two etc). http://www.imagemagick.org

Example:

convert -flip foo.png foo.dds
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.