Batch Processing

Use Batch Processing to modify multiple files at a time. The files are loaded, processed and then written back to the file system.

The Source Files section manages the files that should be modified. Use the Add button to select the target files and add them to the list.

In what way the selected files get changed is defined at the Processor section. The Commands field can contain a list of Script Commands, which are run for each individual file. Single commands are separated by the ; character. In most cases just a script is called as the processor command. Press the Call Script button to select that script.

Additionally you can specify a number of commands that are executed after a processed file has been saved. This can be useful if a script created some temporary textures, which have to be closed after the main texture was saved. Use the forceclose command in this case.

Some scripts feature small dialogs, which allow you to adjust script settings. By default, these dialogs are shown for each file so you can adjust the variables individually. Enable the Show Script Query Dialogs only the first time option to have all files use the same settings.

The Saving Options control, where the processed files are saved to. Enable Source File Path to have all files saved back to the directory from where they were opened. Use the Fixed option to save all files to a single directory.

You can have the files keep their original file extension or force the batch processor to save them with the same extension. The Suffix string is added at the end of the new files' names.

It is recommended that you have the Close Texture after Operation option enabled, only in special cases it is not necessary to close a texture afterwards.

If you enable the Discard Result switch, the processed texture will not be saved by the Batch Processor. This is useful for the case that you save the result already within a called script.