koerismo / PBR-2-Source

A Python-powered gui for converting pbr materials into Source Engine-compatible materials.
GNU General Public License v3.0
29 stars 2 forks source link

Failed to find materials directory #3

Closed radiationwow closed 8 months ago

radiationwow commented 8 months ago

I'm getting error "Failed to find materials directory! Be sure that you are exporting into a content folder."

I've tried changing the folders million times, tried different drives, tried running as admin and it always gives me this error.

here's my folder structure if that helps

material folder : F:\Sourceproject\models\glockbase export folder : F:\Sourceproject\models\glockbase\source_export

What does content folder even mean? Is it the folder of the materials? I've tried that as export folder too, but no success.

koerismo commented 8 months ago

Hi! Make sure you're exporting to the Sourceproject\materials\models\... directory instead of the Sourceproject\models\... directory.

radiationwow commented 8 months ago

This seems a bit weird restriction, but after using materials folder the export works. The basecolor vtf is completely black though as stated in the other open issue.

Thank you for the response btw.