The source folder option does not work?
kaphula opened this issue · comments
I have the following folder structure:
$ tree
.
├── dist_dir
├── source_dir
└── terrain_atlas_0.png
Trying to run the example given by compressonator for directories like this gives an error:
$ compressonatorcli -fd BC7 -ff PNG -fx KTX ./source_dir/ ./dist_dir/
Option [./source_dir/] : No files to process in source dir
Invalid Command
However, if I run it like this directly for a single file it works:
$ compressonatorcli -fd BC7 -ff PNG -fx KTX ./source_dir/terrain_atlas_0.png
Destination file was not supplied: Defaulting to terrain_atlas_0.ktx
Processing source : ./source_dir/terrain_atlas_0.png
Processing destination: terrain_atlas_0.ktx
Source data size = 1048576 Bytes, width = 512 px height = 512 px
Destination data size = 262144 Bytes Resulting compression ratio = 4.00:1
Done Processing
Are the source and directory input options broken?
Hi, @kaphula
I have the same problem with compressonator-cli-bin from aur.
Have to use bin version because draco-git conflicts with blender.
I have Arch-Linux with latest zen (tested vanilla also), ryzen 7 2700x, radeon 6900xt, 32GB ram
The strange thing is that it used to work but stopped a couple of months ago. Then I put compressonator-Linux to /opt
and symlink from executable to /usr/sbin, which worked for a while but not anymore.
compressonator-cli-bin AUR package also works on a manjaro-laptop.
Anyway, directory processing works with a bash script.
Have you found any solutions?
Have you found any solutions?
I ended up using bash script which explicitly calls all files I want to convert with full path.