lasa01 / Plumber

A Blender addon for importing Source 1 engine maps, models, materials and textures. This addon makes it possible to import full CS:GO, TF2, CS:S or other Source 1 game maps into Blender.
MIT License
389 stars 30 forks source link

Imported VMT not showing up #187

Open Filval387 opened 1 month ago

Filval387 commented 1 month ago

Describe the bug Whenever importing a VMT, it indicates that it was successful in the console, but the file is nowhere to be found inside of Blender

To Reproduce Steps to reproduce the behavior:

  1. Import a VMT file using file > import > plumber > Valve Material Type (Does the same with browse game files)
  2. Set options to whatever
  3. Choose any vmt file to import
  4. The console shows that the file imported correctly, but it doesn't show up in the materials tab or anywhere in the file

Expected behavior It should show up in the materials, but at the moment, it seems to process the VMT without actually saving it as a material.

Logs

[Plumber] [INFO] opening file system of game `PORTAL 2`...
[Plumber] [INFO] file system opened in 0.05 s
[Plumber] [INFO] detected local asset searh path `M:\Valve content\Portal 2 pak dir\root`
[Plumber] [INFO] importing vmt `M:\Valve content\Portal 2 pak dir\root\materials\wood\lobby_woodwall001a_trim.vmt`...
[Plumber] [INFO] vmt imported in 0.01 s

You can open the console with Window -> Toggle System Console on Windows.

Details (please complete the following information):