ata4/disunity — pull request #43 by dletozeun (2014-07-31 14:35:24+00:00)
Title: Vertically flipped DXT1 and DXT5 textures to keep original files orienta...

Hello,

I did a while ago some changes regarding DXTn textures orientation. Apparently (from my tests) the extracted dds files are vertically flipped compared the the original image files used to build theasset bundle. So I added a few lines to flip vertically DXT1 and DXT5 data without decompressing it.

There is another little thing regarding file names sanitization, I allowed the "-" character as it is a common character in textures file names and replacing it by "_" was breaking textures references in extracted materials (I could fix missing references on my side but I think it is better the not alter too much original file names and as you see it is a very small change.

Bellow are the changes that should interest you.