Broken DTT?

Textures, recreate headers, conversions, algorithms and parsing of image files
Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

Broken DTT?

Post by Doctor Loboto »

I've tried the only DTT converter I can find (DTT2DDS) on this file, and a few others, and they have the same problem. I was hoping someone could provide a solution as to why I can't properly extract all the textures from this, and how I can do so.

https://www.dropbox.com/s/404m7vp16ju11u8/em1300.dtt?dl=0
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Broken DTT?

Post by Acewell »

here try this bms script :D

Code: Select all

findloc OFFSET binary "\x44\x44\x53\x20"
do
    goto OFFSET
    get SKIP long
    findloc NEXT_OFFSET binary "\x44\x44\x53\x20" 0 "" -1
    if NEXT_OFFSET == ""
        get SIZE asize
    else
        math SIZE = NEXT_OFFSET
    endif
    math SIZE -= OFFSET
    get NAME basename
    string NAME + "_"
    string NAME + OFFSET
    string NAME + ".dds"
    log NAME OFFSET SIZE
    math OFFSET = NEXT_OFFSET
while NEXT_OFFSET != ""