cool, a good step to save even more space... but I would love to be able to use this on a folder (and finally on the whole content\tracks folder) to have it convert all DDS which aren't already compressed in that folder AND ALL SUBFOLDERS...
right now the batch file would only take the *.DDS files in the folder where you run the batch file.
Anyone here can write the batchfile to recursively go over all subfolders too ? (out of my league)
hmmm ... compacting an uncompressed DDS with CompactGUI, would it take up as little space as compacted compressed DDS file?
My gut says no.
So I did the test with
CF1_Monaco_1966 ... and it still makes quite a difference!
First I installed the skin , and for example one of the biggest DDS files , doorwind_01.dds is 64MB.
With
Compactor , this file takes on disk
12.3 MB.
I then run the batch file (btw I think it contained an error, it should be : "mogrify.exe -format dds -define dds:mipmaps=0 -define dds:compression=dtx5 *.dds" so without the "magic " part...)
the doorwind_01.dds is now 16 MB in size (and takes 16MB on disk as it is no longer compacted)
A new run with Compactor makes it take only
4.71 MB on disk !
On the total folder size of 813MB for this 1 track skin, it
saved me 106.8 MB of extra diskspace when first compressing the DDS files with this ImageMagick tool, so +- 13% gain still compared to not compressing the dds files.