Page 1 of 1

.DDS file error

Posted: Thu Apr 19, 2012 2:58 pm
by potemkis
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?

Re: .DDS file error

Posted: Thu Apr 19, 2012 3:13 pm
by howfie
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.

Re: .DDS file error

Posted: Fri Apr 20, 2012 5:30 am
by potemkis
I'm trying to send you that file, but is it supposed to take 6.5 hours to not upload? lol

Re: .DDS file error

Posted: Fri Apr 20, 2012 2:44 pm
by howfie
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

Re: .DDS file error

Posted: Fri Apr 20, 2012 2:48 pm
by Demonsangel
howfie wrote:here is my email in hexidecimal
For some reason this put a smile on my face.

Re: .DDS file error

Posted: Fri Apr 20, 2012 2:55 pm
by howfie
you know it demon, the new rules have everyone on here feeling a little chippy lol.

Re: .DDS file error

Posted: Fri Apr 20, 2012 3:10 pm
by finale00
Why not just encode it in base-64? :)

Re: .DDS file error

Posted: Fri Apr 20, 2012 3:35 pm
by howfie
there is a limit on the size of your signature, that's why :P

Re: .DDS file error

Posted: Sun Apr 22, 2012 8:11 am
by howfie
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.

Re: .DDS file error

Posted: Sun Apr 22, 2012 11:55 am
by potemkis
Sweet! Thank you!