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

Big ol' set of Enhancements/Features #6

Open
6 tasks
NathanX-S opened this issue Sep 21, 2024 · 3 comments
Open
6 tasks

Big ol' set of Enhancements/Features #6

NathanX-S opened this issue Sep 21, 2024 · 3 comments

Comments

@NathanX-S
Copy link

NathanX-S commented Sep 21, 2024

  • Duplicate file finder and remover. (manipulate VMTs to point to the singular VTF path if possible in the case of multiple VTFs)
  • Better unused detector, right now any concatenation kills our lookup.
  • Multithreading. Everything here should be threaded, we're in [modern year].
  • Some kind of global script/manager that allows you to select which flags/programs to run on a directory.
  • png -> vtf/jpg
  • Better progress bars/notation of progress in general.
@wrefgtzweve
Copy link
Member

Multithreading isn't really needed, most if not all scripts can just do large addons in seconds, python multithreading is exceptionally poor anyways and might not even add any speedup.
I've been wanting to write some kind of global cli for all of them but haven't had the will/time to as they work fine manually right now, it's planned though.
What's the point of png -> vtf/jpg? vtfedit can do it already with gui and has bulk conversion options.
Progress bars in python are ironically rather slow usually, from the times i tested public libraries they had significiant performance impacts for fast progressing bars (like ours), and the tools only take a few seconds it's not that big of a deal.

@NathanX-S
Copy link
Author

Multithreading isn't really needed, most if not all scripts can just do large addons in seconds, python multithreading is exceptionally poor anyways and might not even add any speedup. I've been wanting to write some kind of global cli for all of them but haven't had the will/time to as they work fine manually right now, it's planned though. What's the point of png -> vtf/jpg? vtfedit can do it already with gui and has bulk conversion options. Progress bars in python are ironically rather slow usually, from the times i tested public libraries they had significiant performance impacts for fast progressing bars (like ours), and the tools only take a few seconds it's not that big of a deal.

It took hours to run find unused on my collection and then it dropped dead after encountering an error. 3.7+ might be better?

@wrefgtzweve
Copy link
Member

I use python 3.12 if that's what you mean
How large is your collection?

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