Page 2 of 3
Re: Blur .texture
Posted: Wed Sep 15, 2010 2:38 pm
by Tosyk
evin wrote:There is you file, f01c.texture. If you open it to read in hex view (or with hex editor), left side you can see a counter. These are the offset values. At the offset 38(hex) begin the width and the height data.
Ok, thanks to you i found this part, finaly

How i can use this info to get right colors?
Re: Blur .texture
Posted: Wed Sep 15, 2010 2:43 pm
by evin
The .texture header is 84 byte big (54h). If you delete exactly this part, no more or less, the color will be ok.
Re: Blur .texture
Posted: Wed Sep 15, 2010 3:18 pm
by Tosyk
evin wrote:The .texture header is 84 byte big (54h). If you delete exactly this part, no more or less, the color will be ok.
sorry

but i'm not understand which part i must delete and which part i must replace with dds-header.
Re: Blur .texture
Posted: Wed Sep 15, 2010 6:14 pm
by evin
If you deleted the first 84 byte from the beginning of the .texture, just paste the first 128 byte from the dds to the beginning of the .texture.
Re: Blur .texture
Posted: Sat Sep 18, 2010 2:30 am
by RoadTrain
I've got the same problems with colors.
I created a new DXT5 DDS using Photoshop DDS plugin and moved its header to the .texture file.
But I hadn't gotten the right colors.
Could anyone give me the right header and explain which bytes are responsible for colors?
I've almost done the converter and it's the only problem I haven't solved.
Re: Blur .texture
Posted: Sat Sep 18, 2010 7:51 pm
by RoadTrain
Here is my test batch converter.
It'll be in test status until I solve color problems with DXT5.
DXT1 converting is fine (I think so

)
Blur_Texture_Converter_v1.0.zip (with sources in Delphi)
Re: Blur .texture
Posted: Sat Sep 18, 2010 8:28 pm
by Tosyk
Thanks

I try your program on several files, works great.
Re: Blur .texture
Posted: Sun Sep 19, 2010 3:53 am
by RoadTrain
Tosyk wrote:
Thanks

I try your program on several files, works great.
Ok. But the color problem with sky textures (DXT5) remained. I hope anyone will help me with it and I'll update this tool.
Re: Blur .texture
Posted: Mon Sep 20, 2010 9:29 am
by evin
Upload an unhandled dxt5 file, because your program works fine with Tosyk's f01c.texture file, which is a dxt5 file.
Re: Blur .texture
Posted: Mon Sep 20, 2010 4:21 pm
by RoadTrain
The contents of this post was deleted because of possible forum rules violation.
Re: Blur .texture
Posted: Mon Sep 20, 2010 7:35 pm
by evin
Don't as what I did.

I just pasted one of my dds header sample, and it's worked.
Re: Blur .texture
Posted: Mon Sep 20, 2010 9:20 pm
by RoadTrain
evin wrote:Don't as what I did.

I just pasted one of my dds header sample, and it's worked.
When using this header I get the same colors as in the second post.
But I need to get colors as in the fourth post.
Re: Blur .texture
Posted: Mon Sep 20, 2010 11:31 pm
by chrrox
use a different program to view the dds files i looked at the texture you posted and it looks fine.
Re: Blur .texture
Posted: Tue Sep 21, 2010 7:53 am
by evin
RoadTrain wrote:When using this header I get the same colors as in the second post.
But I need to get colors as in the fourth post.
Your dds file is wrong. But with my header the new dds is fine in Photoshop and Xnview.
Try to generate a new header with these data: DXT5, Mipmap 1
Re: Blur .texture
Posted: Tue Sep 21, 2010 7:59 pm
by RoadTrain
I'm confused.
Here is what I get with dds header provided by evin.
I doubt that it's what it should look like.