Page 1 of 3

Blur .texture

Posted: Mon Jul 19, 2010 7:38 pm
by Tosyk
The contents of this post was deleted because of possible forum rules violation.

Re: Blur .texture

Posted: Fri Aug 13, 2010 5:38 pm
by Strobe
I think i can. gimme some minutes.

Okay, im not sure if the colors are right though, but atleast its viewable.

Re: Blur .texture

Posted: Thu Sep 09, 2010 5:07 pm
by Tosyk
Strobe wrote:I think i can. gimme some minutes.

Okay, im not sure if the colors are right though, but atleast its viewable.
OMG, how you can do this?

Re: Blur .texture

Posted: Sun Sep 12, 2010 3:54 am
by chrrox
yeah the colors are off here is what it should look like.
Image

Re: Blur .texture

Posted: Sun Sep 12, 2010 6:04 am
by RoadTrain
.texture is just a dds file without the header I suppose, isn't it?

Re: Blur .texture

Posted: Sun Sep 12, 2010 2:37 pm
by Tosyk
2chrrox
So how did you manage to find this. I'm very interesting in this :)

Re: Blur .texture

Posted: Sun Sep 12, 2010 10:06 pm
by chrrox
Just paste a valid dds header on the image.
a dds header is 0x80 bytes
this header ends 8 bytes after the word DXT5

Re: Blur .texture

Posted: Wed Sep 15, 2010 12:33 pm
by Tosyk
chrrox wrote:Just paste a valid dds header on the image.
a dds header is 0x80 bytes
this header ends 8 bytes after the word DXT5
I attached files (my new and original).
Every time i'm trying to paste right (i think) header. I always get something strange. So tell me what i'm doing wrong.

Re: Blur .texture

Posted: Wed Sep 15, 2010 1:03 pm
by evin
You used wrong DDS header, and the dimensions are also wrong.

Create a dds file with 2048x512 dimensions, and DXT5 No mipmap compression, and paste the header.

Re: Blur .texture

Posted: Wed Sep 15, 2010 1:08 pm
by Tosyk
evin wrote:You used wrong DDS header, and the dimensions are also wrong.

Create a dds file with 2048x512 dimensions, and DXT5 No mipmap compression, and paste the header.
Thank you. Now everything is work. But how can i guess what size each image? :oops:

And i get images like in firs Strobe post. Mess colors.

Re: Blur .texture

Posted: Wed Sep 15, 2010 1:16 pm
by evin
If the color is wrong, you leaved some non-image data after the header, and the image data is shifted. Or if you deleted too much data.

Image size:
offset38: 4byte width, 4byte height (00080000 00020000)

Re: Blur .texture

Posted: Wed Sep 15, 2010 1:20 pm
by Tosyk
evin wrote:If the color is wrong, you leaved some non-image data after the header, and the image data is shifted. Or if you deleted too much data.

Image size:
offset38: 4byte width, 4byte height (00080000 00020000)
Can you explain more simple and maybe with sample?. I'm not understand

Re: Blur .texture

Posted: Wed Sep 15, 2010 1:38 pm
by evin
Which part?

Re: Blur .texture

Posted: Wed Sep 15, 2010 2:05 pm
by Tosyk
evin wrote:Image size:
offset38: 4byte width, 4byte height (00080000 00020000)
in here.
Maybe if you explain or show to me samples how should looks like header of the file i can use this to convert other image.

Re: Blur .texture

Posted: Wed Sep 15, 2010 2:17 pm
by evin
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.