I need to convert a few hundred pictures (.png) into format dds (with R8G8B8). The problem is that of the methods I know of, only in the paint.net I can convert with the parameters I need.
As you can guess, it is extremely tedious to do a routine manual operation even with an auto clicker with a bunch of files.
Maybe someone will tell me the way how this can be done automatically?
Note that this is a command line based .exe so to automize the process you’ll need a script to run the program over multiple files with the parameters you need.
Can write a very simple bash script that should probably solve ‘your’ problem. But do you know how to use the console or is it that there are some dependencies missing on the .exe?
Finally, using ‘reply’ option increases the probability of getting a faster response.
This is probably the simplest conversion script, it takes all .png files in the current directory (.png files, texconv.exe and the .bat file must be in the same directory) and converts them to a R8G8B8A8 .dds file. It should execute by a simple double-click (windows might complain however, so make sure to check for viruses! ).
I noticed however that texconv.exe doesn’t support uncompressed R8G8B8 specifically (for various reasons it makes sence), generally converting to DXT1 (BC1_UNORM for texconv) is prefered in that case (but it is also a compression, so it depends on what you are actually using the .dds textures for). But if you want explicitly R8B8G8 without compression i was able to do it with imagemagick.
Finally, the script is very simple and you might be interested in recursive behavior etc. but it should be easy to extend by reading the available commands in the related github link i posted. The .bat file is a simple .txt file and can be edited if opened in text editor (using the console instead works to ;).
r8g8b8 gives a really big size after conversion. However, it is the only format that gave me an image of 1 to one at the output. Because I tried to convert to dx1 and got steps on gradients and, in general, much worse image quality at the output.
By the way, can’t he convert (without a8) without an alpha channel? Otherwise it is still an extra size.
It looks like that tool is made for converting explicitly to a specific format supported by the game engine. Which seems like a waste of .exe, other options are more flexible.