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
395 stars 29 forks source link

Py Error when import #96

Closed Pralexi closed 2 years ago

Pralexi commented 2 years ago

i get this when i want to import a csgo map into blender if you can help ty ^^.

Python: Traceback (most recent call last): File "C:\Users\Pralexio\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\io_import_vmf__init.py", line 748, in execute importer.load(self.filepath, context, self.map_data_path) File "C:\Users\Pralexio\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\io_import_vmf\import_vmf.py", line 140, in load vmf = vmfpy.VMF(open(file_path, encoding="utf-8"), self._vmf_fs) File "C:\Users\Pralexio\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\io_import_vmf\deps\vmfpy__init.py", line 736, in init self.world: VMFWorldEntity = self._parse_custom(VMFWorldEntity, "world", world_dict, self.fs) File "C:\Users\Pralexio\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\io_import_vmf\deps\vmfpy__init.py", line 138, in _parse_custom return parser(*args) File "C:\Users\Pralexio\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\io_import_vmf\deps\vmfpy\init.py", line 705, in init super().init(data, fs) File "C:\Users\Pralexio\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\io_import_vmf\deps\vmfpy\init.py", line 699, in init self.solids.append(self._parse_custom(VMFSolid, "solid", solid, self.fs)) File "C:\Users\Pralexio\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\io_import_vmf\deps\vmfpy\init.py", line 138, in _parse_custom return parser(*args) File "C:\Users\Pralexio\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\io_import_vmf\deps\vmfpy\init.py", line 687, in init self.sides.append(self._parse_custom(VMFSide, "side", side, self.fs)) File "C:\Users\Pralexio\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\io_import_vmf\deps\vmfpy\init.py", line 138, in _parse_custom return parser(*args) File "C:\Users\Pralexio\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\io_import_vmf\deps\vmfpy\init.py", line 636, in init__ self.plane: VMFPlane = self._parse_custom_str(VMFPlane.parse, "plane", data) File "C:\Users\Pralexio\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\io_import_vmf\deps\vmfpy\init__.py", line 145, in _parse_custom_str return self._parse_custom(parser, name, value) File "C:\Users\Pralexio\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\io_import_vmf\deps\vmfpy\init.py", line 138, in _parse_custom return parser(*args) File "C:\Users\Pralexio\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\io_import_vmf\deps\vmfpy\init__.py", line 520, in parse raise VMFParseException("plane syntax is invalid") vmfpy.VMFParseException: VMF parsing failed: world (id 1) solid (id 16) side (id 19) plane plane syntax is invalid

location: :-1

Pralexi commented 2 years ago

(i have tried different version of blender)

lasa01 commented 2 years ago

Seems like the vmf file is broken/corrupted. Can you send the vmf file so I can verify it?

Pralexi commented 2 years ago

dust.zip

Pralexi commented 2 years ago

i have tried different map and i got the same issue

Pralexi commented 2 years ago

i got the same issues with a map from gmod (gm_construct)

Pralexi commented 2 years ago

my bad forget that i was using the wrong version of bspsource its ok all work ^^ ty for your help.