.DDS file error

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
potemkis
beginner
Posts: 24
Joined: Sun Mar 01, 2009 7:11 am
Has thanked: 3 times

.DDS file error

Post by potemkis » Thu Apr 19, 2012 2:58 pm

I apologize if this has been asked before, but I couldn't seem to find it anywhere.

I'm trying to open a .DDS (not .dds as the other files are), in Photoshop CS2 and I'm getting the error:

Could not complete your request because the file-format could not parse the file.

But when I open the same file in IrfanView, it comes out black- I can barely make out what it is... is there another program I can open this with that will allow me to convert it into a .tga while still keeping its color?

User avatar
howfie
double-veteran
double-veteran
Posts: 930
Joined: Fri Jul 08, 2011 12:06 pm
Location: Torrance, CA
Has thanked: 10 times
Been thanked: 270 times

Re: .DDS file error

Post by howfie » Thu Apr 19, 2012 3:13 pm

send it to me via PM, and describe what it is supposed to contain if you can and i'll take a quick look at it to see if anything is wrong with the header.
the DDS plugin for photoshop sucks BTW.

potemkis
beginner
Posts: 24
Joined: Sun Mar 01, 2009 7:11 am
Has thanked: 3 times

Re: .DDS file error

Post by potemkis » Fri Apr 20, 2012 5:30 am

I'm trying to send you that file, but is it supposed to take 6.5 hours to not upload? lol

User avatar
howfie
double-veteran
double-veteran
Posts: 930
Joined: Fri Jul 08, 2011 12:06 pm
Location: Torrance, CA
Has thanked: 10 times
Been thanked: 270 times

Re: .DDS file error

Post by howfie » Fri Apr 20, 2012 2:44 pm

here is my secret message for you in hexidecimal just copy and paste into hxd
don't spam me :P

Code: Select all

6D 6F 62 79 2E 73 74 65 76 65 40 67 6D 61 69 6C 2E 63 6F 6D
Last edited by howfie on Fri Apr 20, 2012 2:51 pm, edited 1 time in total.

User avatar
Demonsangel
mega-veteran
mega-veteran
Posts: 240
Joined: Fri Aug 05, 2011 9:31 pm
Location: Antwerp
Has thanked: 13 times
Been thanked: 41 times

Re: .DDS file error

Post by Demonsangel » Fri Apr 20, 2012 2:48 pm

howfie wrote:here is my email in hexidecimal
For some reason this put a smile on my face.

User avatar
howfie
double-veteran
double-veteran
Posts: 930
Joined: Fri Jul 08, 2011 12:06 pm
Location: Torrance, CA
Has thanked: 10 times
Been thanked: 270 times

Re: .DDS file error

Post by howfie » Fri Apr 20, 2012 2:55 pm

you know it demon, the new rules have everyone on here feeling a little chippy lol.

finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 300 times

Re: .DDS file error

Post by finale00 » Fri Apr 20, 2012 3:10 pm

Why not just encode it in base-64? :)

User avatar
howfie
double-veteran
double-veteran
Posts: 930
Joined: Fri Jul 08, 2011 12:06 pm
Location: Torrance, CA
Has thanked: 10 times
Been thanked: 270 times

Re: .DDS file error

Post by howfie » Fri Apr 20, 2012 3:35 pm

there is a limit on the size of your signature, that's why :P

User avatar
howfie
double-veteran
double-veteran
Posts: 930
Joined: Fri Jul 08, 2011 12:06 pm
Location: Torrance, CA
Has thanked: 10 times
Been thanked: 270 times

Re: .DDS file error

Post by howfie » Sun Apr 22, 2012 8:11 am

OK, first file, the one with .DDS, the head, is actually a 32-bit TGA file with it's footer missing. By default, Irfanview displays 32-bit TGA files correctly, but you have to disable those alpha channels (they probably need to be inverted or they are just flat out invalid, didn't really check). So rename to TGA and then open irfanview, then go to Options > Properties > Viewing and uncheck Show ... alpha transparent color. Restart and reload image and you see a face now. Then, load the other dds file. Works fine.

potemkis
beginner
Posts: 24
Joined: Sun Mar 01, 2009 7:11 am
Has thanked: 3 times

Re: .DDS file error

Post by potemkis » Sun Apr 22, 2012 11:55 am

Sweet! Thank you!

Post Reply