Ok, thanks to you i found this part, finalyevin 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.
Blur .texture
- Tosyk
- double-veteran

- Posts: 953
- Joined: Thu Oct 22, 2009 10:24 am
- Location: Russia, Siberia
- Has thanked: 227 times
- Been thanked: 123 times
- Contact:
Re: Blur .texture
You do not have the required permissions to view the files attached to this post.
- evin
- ultra-veteran

- Posts: 336
- Joined: Sat Aug 05, 2006 2:04 pm
- Location: Hungary
- Has thanked: 1 time
- Been thanked: 147 times
- Contact:
Re: Blur .texture
The .texture header is 84 byte big (54h). If you delete exactly this part, no more or less, the color will be ok.
- Tosyk
- double-veteran

- Posts: 953
- Joined: Thu Oct 22, 2009 10:24 am
- Location: Russia, Siberia
- Has thanked: 227 times
- Been thanked: 123 times
- Contact:
Re: Blur .texture
sorryevin wrote:The .texture header is 84 byte big (54h). If you delete exactly this part, no more or less, the color will be ok.
- evin
- ultra-veteran

- Posts: 336
- Joined: Sat Aug 05, 2006 2:04 pm
- Location: Hungary
- Has thanked: 1 time
- Been thanked: 147 times
- Contact:
Re: Blur .texture
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.
-
RoadTrain
- advanced
- Posts: 54
- Joined: Wed Dec 12, 2007 5:57 pm
- Location: Pskov, Russia
- Has thanked: 29 times
- Been thanked: 4 times
Re: Blur .texture
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.
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.
-
RoadTrain
- advanced
- Posts: 54
- Joined: Wed Dec 12, 2007 5:57 pm
- Location: Pskov, Russia
- Has thanked: 29 times
- Been thanked: 4 times
Re: Blur .texture
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)
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)
- Tosyk
- double-veteran

- Posts: 953
- Joined: Thu Oct 22, 2009 10:24 am
- Location: Russia, Siberia
- Has thanked: 227 times
- Been thanked: 123 times
- Contact:
Re: Blur .texture
ThanksRoadTrain wrote: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)
-
RoadTrain
- advanced
- Posts: 54
- Joined: Wed Dec 12, 2007 5:57 pm
- Location: Pskov, Russia
- Has thanked: 29 times
- Been thanked: 4 times
Re: Blur .texture
Ok. But the color problem with sky textures (DXT5) remained. I hope anyone will help me with it and I'll update this tool.Tosyk wrote:ThanksRoadTrain wrote: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)I try your program on several files, works great.
- evin
- ultra-veteran

- Posts: 336
- Joined: Sat Aug 05, 2006 2:04 pm
- Location: Hungary
- Has thanked: 1 time
- Been thanked: 147 times
- Contact:
Re: Blur .texture
Upload an unhandled dxt5 file, because your program works fine with Tosyk's f01c.texture file, which is a dxt5 file.
- evin
- ultra-veteran

- Posts: 336
- Joined: Sat Aug 05, 2006 2:04 pm
- Location: Hungary
- Has thanked: 1 time
- Been thanked: 147 times
- Contact:
Re: Blur .texture
Don't as what I did.
I just pasted one of my dds header sample, and it's worked.
You do not have the required permissions to view the files attached to this post.
-
RoadTrain
- advanced
- Posts: 54
- Joined: Wed Dec 12, 2007 5:57 pm
- Location: Pskov, Russia
- Has thanked: 29 times
- Been thanked: 4 times
Re: Blur .texture
When using this header I get the same colors as in the second post.evin wrote:Don't as what I did.I just pasted one of my dds header sample, and it's worked.
But I need to get colors as in the fourth post.
- chrrox
- Moderator
- Posts: 2601
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1358 times
Re: Blur .texture
use a different program to view the dds files i looked at the texture you posted and it looks fine.
- evin
- ultra-veteran

- Posts: 336
- Joined: Sat Aug 05, 2006 2:04 pm
- Location: Hungary
- Has thanked: 1 time
- Been thanked: 147 times
- Contact:
Re: Blur .texture
Your dds file is wrong. But with my header the new dds is fine in Photoshop and Xnview.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.
Try to generate a new header with these data: DXT5, Mipmap 1

