Closed batomot closed 2 years ago
Seems like the game configuration is incorrect. Make sure there are no vpk files with numbered suffixes (eg. pak01_001.vpk) in the vpk files section, instead only put the files with _dir.vpk suffix there. Also, wildcard directories should probably be empty.
There are no numbered files in my files. vmf files are numbered only.
I tried to remove the numbering of vmf files and still this error pops up
Tried to change the directory and the same thing. The files are not broken, maps open easily in the hummer editor
And changing the blender version did not help. I changed the version to 2.90 and the error is the same there
Problem solved. Solution to the problem: remove the numbering of all files in the directories of the root of the game and directories of unpacked maps
Error import map game black mesa. Log: Traceback (most recent call last): File "C:\Users\vttet\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_import_vmf__init.py", line 718, in execute fs = self.get_filesystem(context) File "C:\Users\vttet\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_import_vmf__init.py", line 475, in get_filesystem return game_def.get_indexed_filesystem() File "C:\Users\vttet\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_import_vmf__init.py", line 270, in get_indexed_filesystem fs_dict[self.name] = VMFFileSystem(data_dirs, data_paks, index_files=True) File "C:\Users\vttet\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_import_vmf\deps\vmfpy\fs.py", line 82, in init__ self.index_all() File "C:\Users\vttet\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_import_vmf\deps\vmfpy\fs.py", line 150, in index_all self._do_index(self.iter_all()) File "C:\Users\vttet\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_import_vmf\deps\vmfpy\fs.py", line 124, in _do_index for path, info in index_iter: File "C:\Users\vttet\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_import_vmf\deps\vmfpy\fs.py", line 121, in iter_all yield from self.iter_paks() File "C:\Users\vttet\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_import_vmf\deps\vmfpy\fs.py", line 117, in iter_paks yield from self.iter_pak(pak_file) File "C:\Users\vttet\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_import_vmf\deps\vmfpy\fs.py", line 110, in iter_pak pak = vpk.open(pak_file) File "C:\Users\vttet\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_import_vmf\deps\vpk\init.py", line 16, in open return VPK(*args, **kwargs) File "C:\Users\vttet\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_import_vmf\deps\vpk\init.py", line 207, in init__ self.read_header() File "C:\Users\vttet\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_import_vmf\deps\vpk\init__.py", line 309, in read_header raise ValueError("File is not VPK (invalid magic)") ValueError: File is not VPK (invalid magic)
location::-1