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

.vtf filename is relative to the .exe, not the materials folder #1

Open
snake-biscuits opened this issue Aug 30, 2021 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@snake-biscuits
Copy link
Contributor

there's a couple of options to fix this:

  1. use a keyword (could get messy if reading folders recursively)
  2. detect "materials/" in the path, and cut it off the start of any filenames
  3. detect if the .vtf is inside a game directory, and cut off relative to the latest "materials/"
    • seems like a more error prone version of option 2
@snake-biscuits snake-biscuits added the bug Something isn't working label Aug 30, 2021
@snake-biscuits snake-biscuits self-assigned this Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant