Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The source folder option does not work? #306

Open
kaphula opened this issue Mar 5, 2024 · 2 comments
Open

The source folder option does not work? #306

kaphula opened this issue Mar 5, 2024 · 2 comments

Comments

@kaphula
Copy link

kaphula commented Mar 5, 2024

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?

@MsSepeteus
Copy link

MsSepeteus commented Mar 22, 2024

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?

@kaphula
Copy link
Author

kaphula commented Mar 22, 2024

Have you found any solutions?

I ended up using bash script which explicitly calls all files I want to convert with full path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants