Outerra forum
Anteworld - Outerra Game => Modding: Importer, Tools & Utilities => Topic started by: deathevor on November 12, 2012, 07:47:51 pm
-
Offtopic: CAn you suggest any good DDS Batch Converter?
(DDS Converter 2.1 doesn't work under Win7)
Or any simple way of using Nvidia Texture tools for DDS batch converting?
-
Xnview (http://www.xnview.com/) has an integrated batch converter.
-
Thank you very much for your effort.
(I should really make a new topic from beginning)
-
Right, I end up with this using Xnview.
(http://img441.imageshack.us/img441/4778/screen1352901348.th.jpg) (http://img441.imageshack.us/i/screen1352901348.jpg/)
-
What target format did you use?
-
DDS - Direct Draw Surface.
(apart from that there's not much other options)
-
I see, there are fewer options available than when saving individual files :(
-
Are we talking about the same thing - XnView (not XnConvertor or anything else).
As "save as" options are the same as in batch converter.
-
My bad, sorry I have totally confused it. I'm using Xnview and Gimp, and for some reason mistook options in Gimp for saving DDS files, thinking that they were in Xnview.
There is ATI Compressonator (http://developer.amd.com/resources/archive/archived-tools/gpu-tools-archive/the-compressonator/) that was supposed to be good for batch conversion, but I have got install error when trying to install the 64bit version.
-
Then another question:
How does the proper command line looks to convert images to dds in Nvidia Texture tools.
As a simple script will make a batch converter from it.
-
Then another question:
How does the proper command line looks to convert images to dds in Nvidia Texture tools.
As a simple script will make a batch converter from it.
for diffuse texture: nvcompress.exe -bc1 in.tga out.dds
for normal texture: nvcompress.exe -bc5 in.tga out.dds
-
Nice thanks.
Should it be Tga, or it's just a sample.
Also - bc1 and bc5 difference?
-
Nice thanks.
Should it be Tga, or it's just a sample.
Also - bc1 and bc5 difference?
UPD: Just checked readme file:
where 'infile' is and TGA, PNG, PSD, DDS or JPG file, 'outfile' is a DDS file
and 'options' is one or more of the following:
However tried to convert any of those (except TGA) and got following error - The file '1.jpg' is not a supported image type.
-
Ok. I did small thing that might simplify life a little bit:
It's a small "app" that will convert a whole folder of *.tga files into *.dds.
Download:
http://www.sk-films.com/downloads/TGA%20to%20DDS%20Converter.zip
Basically it is just a *.bat file that will read TGA folder and using Nvidia Texture Tools will convert everything to *.DDS (BC1 option)
and store it in DDS folder.
Here's instruction for use:
(http://img17.imageshack.us/img17/8486/ddsconverter.jpg) (http://imageshack.us/photo/my-images/17/ddsconverter.jpg/)
Just in case, here's a code you'll be running:
@echo off
for %%f in (TGA/*.tga) do call :sk "%%f"
goto done
:sk
call Nvidia\nvcompress.exe -bc1 "%~dp0/TGA/%1" "%~dp0/DDS/%~n1.dds"
:done