WalkerMx / AutoCrispy

Automatically apply AI Upscaling on Dumped Textures
GNU General Public License v3.0
100 stars 9 forks source link

Subdirectories output behavior improvement #18

Open triluch opened 2 months ago

triluch commented 2 months ago

Hi,

I noticed that AutoCrispy goes recursively into subdirectories when looking for files to upscale, however, output is put into the single directory. If subdirectories contain files with the same names output looks to be just overwritten.

So if you have structure like:

input_dir
- a.dds
- subdir1
--- a.dds
- subdir2
--- a.dds

You result will be just one a.dds in output directory and it will be the last one upscaled.

Would be nice to either be able to disable recursive directory scanning (as a minimal option) or for AutoCrispy to recreate same directory structure as input as an option (that would be probably better than just disabling recursive scanning, but requires more effort).