Trials Fusion PC DDS files

Textures, recreate headers, conversions, algorithms and parsing of image files
Tural
Posts: 1
Joined: Tue Feb 12, 2019 8:33 am

Trials Fusion PC DDS files

Post by Tural »

I have some DDS files pulled from Trials Fusion on PC, but they are swizzled(?) and include several LODs in one file, it appears. Is there an existing script or method for unscrambling them into their various-sized textures? It seems like this would probably be easy for someone who has better spatial recognition than I do, figuring out what order the pieces go in. It's a 4096x4096 image divided into 64x64 pieces, and some of it I can manually pick out as being continuous pieces, but I don't follow the structure all the way through so I'm not sure how to write a script to rearrange the parts. I've tried searching every site I could find, but I couldn't find any script that would do just the unscrambling, not dealing with any of the extraction from archive files, etc. I might just not know where to look.

They're 64mb DDS files, so I've attached an example converted to JPG just for the visual reference, and here is the original:
https://mega.nz/#!tRdGSSSK!41E0tloPqSzZ ... COfARXaZhk
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Trials Fusion PC DDS files

Post by Acewell »

if you're wanting to stitch them back in proper order there must
be table of contents file some where storing the sheet coordinates.
i could split each 64x64 section out to a separate file but you'll have
to stitch them by hand. :)