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:
- Strobe
- Moderator
- Posts: 411
- Joined: Mon Oct 24, 2005 8:52 am
- Location: Sweden
- Been thanked: 16 times
- Contact:
Re: Blur .texture
I think i can. gimme some minutes.
Okay, im not sure if the colors are right though, but atleast its viewable.
Okay, im not sure if the colors are right though, but atleast its viewable.
You do not have the required permissions to view the files attached to this post.
Last edited by Strobe on Fri Aug 13, 2010 6:10 pm, edited 1 time in total.
Reason: updates
Reason: updates
- 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
OMG, how you can do this?Strobe wrote:I think i can. gimme some minutes.
Okay, im not sure if the colors are right though, but atleast its viewable.
- chrrox
- Moderator
- Posts: 2601
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1358 times
- 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:
- chrrox
- Moderator
- Posts: 2601
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1358 times
Re: Blur .texture
Just paste a valid dds header on the image.
a dds header is 0x80 bytes
this header ends 8 bytes after the word DXT5
a dds header is 0x80 bytes
this header ends 8 bytes after the word DXT5
- 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
I attached files (my new and original).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
Every time i'm trying to paste right (i think) header. I always get something strange. So tell me what i'm doing wrong.
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
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.
Create a dds file with 2048x512 dimensions, and DXT5 No mipmap compression, and paste the header.
- 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
Thank you. Now everything is work. But how can i guess what size each image?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.
And i get images like in firs Strobe post. Mess colors.
- 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 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)
Image size:
offset38: 4byte width, 4byte height (00080000 00020000)
- 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
Can you explain more simple and maybe with sample?. I'm not understandevin 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)
- 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
in here.evin wrote:Image size:
offset38: 4byte width, 4byte height (00080000 00020000)
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.
- 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
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.
You do not have the required permissions to view the files attached to this post.


