Page 1 of 1

error loading dds file in treeit bug?

PostPosted: Mon Feb 12, 2018 4:05 am
by A3DArtist
Hi i am in need of some help with creating dds file for the single leaf textures. :D Everytime i create a new file 256x256 pixels in dds format with nvidia texture plugin from photoshop i get an error and the program shuts down with an error like this! But if i create a png file it works fine?
runtime error dds files wont load in treeit.jpg
error bug loading .dds files but not png files for single leaf textures!
runtime error dds files wont load in treeit.jpg (156.19 KiB) Viewed 551 times

Re: error loading dds file in treeit bug?

PostPosted: Mon May 07, 2018 12:48 pm
by Fush
Hi, I figured out a solution and answered this question in another thread, so I'm just going to quote myself.

Hey, I had the same problem and it seems to have something to do with the .dds file format treeit is using.

First if you're using Photoshop, you will want to install the Nvidia Texture Tools Plugin, wich only works in CS6 or below, so you will also want to install that.

Then open your .png/.psd in CS6 and choose "save as -> .dds", choose your directory and in the options menu it is very important to set the file format to "8.8.8.8 ARGB 32 bpp". This might not be the only one that works but it's the only that I found. Unfortunately there will be a small rim around your alpha, which I couldn't get rid off. Feel free to play around with the many options but I couldn't find anything useful.

Finally put your new .dds into the treeit folder on your drive, else you will get a pathfinding error. Now open treeit choose your texture and voilĂ !

https://developer.nvidia.com/nvidia-tex ... -photoshop
This will also work with the free CS2 Version.

Hope that helps :)