Important information: this site is currently scheduled to go offline indefinitely by end of the year.

DDS image?

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
mariokart64n
ultra-veteran
ultra-veteran
Posts: 586
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 36 times
Been thanked: 243 times

DDS image?

Post by mariokart64n »

hey i can't figure out how to view these images, it seems my dds plugins dont work on it? i tried modifying the header to DXT, to 1, 3, and 5. but had no result.

i tried some of the other compressions like ARGB32, 16.. p8 but nothing seems to display the image properly

anyone wanna take a crack at it?
http://www.tjbp.net/upload/Bandages.zip
SparedLife
advanced
Posts: 47
Joined: Sun Mar 07, 2004 6:37 am
Location: USA
Contact:

Post by SparedLife »

Look at the bytes. Instead of RGB+Alpha there are RGB RGB alpha alpha or 6 bytes + 2 instead of 3 bytes + 1 maybe some next-gen stuff or it pairs the 32 bit argb into 64 bit. Anyway it looks to be argb and not DXT. The 0x00527000.dds file shows it is 256X512, pairing would extend the 256 to 512 making the texture 512x512

Don't know where that header came from though. Must be some new stuff.
mariokart64n
ultra-veteran
ultra-veteran
Posts: 586
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 36 times
Been thanked: 243 times

Post by mariokart64n »

oh wow, well thankyou for solving the problem ^_^

these are indeed from a new gen system (XBOX360), I was looking into modding the texture, so i pulled all the textures out of this xboxlive update file with my hex editor.

But was stumped when I was unable to figure out this mystery format >_<

anyway here are the other extracted textures, incase you were interested in what I got. theres still 1-3 textures missing, since I got a hex-head-ache after a few hours :p
Download bandages.rar
SparedLife
advanced
Posts: 47
Joined: Sun Mar 07, 2004 6:37 am
Location: USA
Contact:

Post by SparedLife »

I see some say unswizzled and are correct DDS files. Did you do that? Did you create a tool to convert to standard DDS?
mariokart64n
ultra-veteran
ultra-veteran
Posts: 586
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 36 times
Been thanked: 243 times

Post by mariokart64n »

i'm not a programmer, but what i have done is imported a swizzled image, and ran a paintshop script to unswizzle it, painshop, then compresses it again, using a standard DDS header
SparedLife
advanced
Posts: 47
Joined: Sun Mar 07, 2004 6:37 am
Location: USA
Contact:

Post by SparedLife »

Nice but I don't have Paintshop, sounds like a great feature though. You may not be a programmer but if you can manipulate your graphics program to unravel these textures that's a great talent. Makes me wonder if other game textures can be edited in a similar manner.


I don't suppose Photoshop does that?
mariokart64n
ultra-veteran
ultra-veteran
Posts: 586
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 36 times
Been thanked: 243 times

Post by mariokart64n »

not that i'm aware.

this feature in paintshop allows me to record every modification i make to an image. so i can batch convert, or unswizzle dds images at once. ^_^ still takes longer then a conventional program which would arrange the bytes properly

heres a graphical repsentation of what paintshop does. is it was done via a code converter, it have 10 done by then.
Image
SparedLife
advanced
Posts: 47
Joined: Sun Mar 07, 2004 6:37 am
Location: USA
Contact:

Post by SparedLife »

If you can tell me the arrangement I should be able to get you something useable. I don't know about the indexed DXTs but the others should be doable.
I looked at the byte arrangement but didn't see the pattern. If you can tell me how many bytes to read left to right or how many to read top to bottom to get where you need to be.
Mike
n00b
Posts: 10
Joined: Sat May 12, 2007 8:46 pm
Been thanked: 1 time

Post by Mike »

The format is 64bit ARGB.
It you have photoshop, just open it as "raw" with following parameter.
-Width, Height: 128 pixels
-Depth: 16bit (per channel)
-ByteOrder: Mac (big endian)
-Header: 128byte
You do not have the required permissions to view the files attached to this post.
mariokart64n
ultra-veteran
ultra-veteran
Posts: 586
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 36 times
Been thanked: 243 times

Post by mariokart64n »

:) WOW WOW WOW

awesome man, i had almost given up on this. i can't believe it was that simple, as 64bit!! haha

also here is an example of a common pixel arrangment for unswizzling using paintshop
Image
Image
Image
Image
Image

Image

clearly there is an algo to this all, so before coding something my paintshop can do.. it might be wise to crack this first
kaczhou
ultra-n00b
Posts: 7
Joined: Mon May 21, 2007 8:38 am

Post by kaczhou »

:mrgreen: chinese word ?


8) I speak a little English :P
mariokart64n
ultra-veteran
ultra-veteran
Posts: 586
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 36 times
Been thanked: 243 times

Post by mariokart64n »

right....

anyway this swizzling seems to be present on 3/5 xbox360 games using DDS texture formats
Post Reply