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

VMT file with no line breaks is not recognized when packing custom content #237

Open
MamiKeRiko opened this issue Apr 16, 2024 · 0 comments
Labels

Comments

@MamiKeRiko
Copy link

On version 28X (Team Fortress 2)

Attempting to pack a material into your map whose VMT is written in one line or is missing like breaks, which is valid and works in-game, said material will not be packed correctly into the map, leading to a missing texture.

Steps

  • Create or download a material with a VMT file as previously described. In my case it was the materials of the following door assets: https://tf2maps.net/threads/industrial-doors.43507/
  • Add said material or asset using the material to any map.
  • Compile said map with the PACK process enabled.
  • In-game, set sv_pure to 2 and load your map.

Expected behavior
The material or model should be properly packed into the map, since the VMT is fully functional despite its unorthodox structure and thus displays correctly when the asset is contained in your tf/custom folder and sv_pure isn't 2.

Debug.log
debug.log

@MamiKeRiko MamiKeRiko added the bug label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant