io_texture_VTF icon indicating copy to clipboard operation
io_texture_VTF copied to clipboard

io_texture_VTF add-on activation error: No module named 'io_texture_VTF.vtf

Open Gnates opened this issue 5 years ago • 5 comments

Blender 2.80 Beta [ Date: 2019-03-03 Hash: ae977d13f8e9 ] io_texture_VTF v2.0 https://github.com/REDxEYE/io_texture_VTF/releases/download/2.0/io_texture_VTF.zip 9465544

Installation had no errors. Activating the add-on produced the error message below:

Traceback (most recent call last): File "D:\Blender\Blender2-8\2.80\scripts\modules\addon_utils.py", line 351, in enable mod = import(module_name) File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\io_texture_VTF_init_.py", line 2, in from .vtf import import_texture, export_texture ModuleNotFoundError: No module named 'io_texture_VTF.vtf'

Gnates avatar Mar 05 '19 01:03 Gnates

The zip doesn't include the submodules. git clone --recursive https://github.com/REDxEYE/io_texture_VTF, then put a build of VTFLib in VTFLibWrapper (named VTFLib.x64.dll for x64, VTFLib.x86.dll for x86).

green-s avatar Jun 07 '19 00:06 green-s

It says access denied

yasmeenel3sh avatar Nov 09 '19 10:11 yasmeenel3sh

I did the following steps and it seems I could successfully activate the addon:

  • Worked on Blender 4.0, Windows 11
  • Locate the files extracted by Blender when installing
    • for me, it was C:\Users\<username>\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\io_texture_VTF
  • Rename VTF.py to vtf.py and VTFWrapper to VTFLibWrapper

ZenkakuHiragana avatar Jan 09 '24 14:01 ZenkakuHiragana

And then it creates an error while importing both texture and material. I may be foolish with this, but this is the problem: image

Dushess avatar Mar 20 '24 10:03 Dushess

Why are you using this addon instead of SourceIO?

REDxEYE avatar Mar 20 '24 10:03 REDxEYE