Comments (10)
Should be fixed in latest version
from sourceio.
New mdl parser only supports V48/V49
from sourceio.
I mean, something gets imported now.
But it's all a garbled mess.
Traceback (most recent call last):
File "C:\blenderfolder\2.80\scripts\addons\SourceIO-master\__init__.py", line 61, in execute
importer.load()
File "C:\blenderfolder\2.80\scripts\addons\SourceIO-master\mdl\mdl2model.py", line 83, in load
self.create_attachments()
File "C:\blenderfolder\2.80\scripts\addons\SourceIO-master\mdl\mdl2model.py", line 443, in create_attachments
empty.parent_bone = bone.name
AttributeError: 'NoneType' object has no attribute 'name'
from sourceio.
I'm getting this now
Traceback (most recent call last):
File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\SourceIO-master\__init__.py", line 70, in execute
import_textures=self.import_textures
File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\SourceIO-master\mdl\mdl2model.py", line 42, in __init__
working_directory if working_directory is not None else resolve_root_directory_from_file(path))
File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\SourceIO-master\utilities\path_utilities.py", line 38, in resolve_root_directory_from_file
return resolve_root_directory_from_file(path.parent)
[Previous line repeated 989 more times]
File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\SourceIO-master\utilities\path_utilities.py", line 34, in resolve_root_directory_from_file
path = Path(path)
File "C:\Program Files\Blender Foundation\Blender\2.80\python\lib\pathlib.py", line 983, in __new__
self = cls._from_parts(args, init=False)
File "C:\Program Files\Blender Foundation\Blender\2.80\python\lib\pathlib.py", line 640, in _from_parts
drv, root, parts = self._parse_args(args)
File "C:\Program Files\Blender Foundation\Blender\2.80\python\lib\pathlib.py", line 633, in _parse_args
return cls._flavour.parse_parts(parts)
File "C:\Program Files\Blender Foundation\Blender\2.80\python\lib\pathlib.py", line 55, in parse_parts
it = reversed(parts)
RecursionError: maximum recursion depth exceeded while calling a Python object
location: <unknown location>:-1
from sourceio.
Traceback (most recent call last):
File "C:\blenderfolder\2.80\scripts\addons\SourceIO\__init__.py", line 86, in execute
importer.load(dont_build_mesh=False)
File "C:\blenderfolder\2.80\scripts\addons\SourceIO\mdl\mdl2model.py", line 80, in load
self.model.read()
File "C:\blenderfolder\2.80\scripts\addons\SourceIO\mdl\source_model.py", line 51, in read
self.mdl.read()
File "C:\blenderfolder\2.80\scripts\addons\SourceIO\mdl\mdl_readers\mdl_v48.py", line 13, in read
self.file_data.read(self.reader)
File "C:\blenderfolder\2.80\scripts\addons\SourceIO\data_structures\mdl_data.py", line 249, in read
self.read_header02(reader)
File "C:\blenderfolder\2.80\scripts\addons\SourceIO\data_structures\mdl_data.py", line 415, in read_header02
self.second_name = reader.read_from_offset(entry+self.name_offset,reader.read_ascii_string)
File "C:\blenderfolder\2.80\scripts\addons\SourceIO\byte_io_mdl.py", line 211, in read_from_offset
raise OffsetOutOfBounds()
SourceIO.byte_io_mdl.OffsetOutOfBounds
location: <unknown location>:-1
Even though some other models open now.
from sourceio.
version of mdl file?
from sourceio.
It's still the same file of the first post.
from sourceio.
Still happens
from sourceio.
It doesn't actually throws an error any longer, but the mesh is just a garbled mess.
from sourceio.
It's back at throwing this tbh..
Warning: 'source_io.utils' doesn't contain '_PT_' with prefix & suffix
Traceback (most recent call last):
File "C:\blenderfolder\2.83\scripts\addons\SourceIO\source1\new_vtx\vtx.py", line 26, in read
body_part.read(self.reader)
File "C:\blenderfolder\2.83\scripts\addons\SourceIO\source1\new_vtx\structs\bodypart.py", line 20, in read
model.read(reader)
File "C:\blenderfolder\2.83\scripts\addons\SourceIO\source1\new_vtx\structs\model.py", line 20, in read
model_lod.read(reader)
File "C:\blenderfolder\2.83\scripts\addons\SourceIO\source1\new_vtx\structs\lod.py", line 23, in read
mesh.read(reader)
File "C:\blenderfolder\2.83\scripts\addons\SourceIO\source1\new_vtx\structs\mesh.py", line 24, in read
strip_group.read(reader)
File "C:\blenderfolder\2.83\scripts\addons\SourceIO\source1\new_vtx\structs\strip_group.py", line 59, in read
strip.read(reader)
File "C:\blenderfolder\2.83\scripts\addons\SourceIO\source1\new_vtx\structs\strip.py", line 40, in read
assert self.bone_count < 255
AssertionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\blenderfolder\2.83\scripts\addons\SourceIO\source1_operators.py", line 51, in execute
mdl, vvd, vtx = import_model(directory / file.name, vvd, vtx)
File "C:\blenderfolder\2.83\scripts\addons\SourceIO\source1\new_model_import.py", line 110, in import_model
vtx.read()
File "C:\blenderfolder\2.83\scripts\addons\SourceIO\source1\new_vtx\vtx.py", line 34, in read
body_part.read(self.reader)
File "C:\blenderfolder\2.83\scripts\addons\SourceIO\source1\new_vtx\structs\bodypart.py", line 20, in read
model.read(reader)
File "C:\blenderfolder\2.83\scripts\addons\SourceIO\source1\new_vtx\structs\model.py", line 20, in read
model_lod.read(reader)
File "C:\blenderfolder\2.83\scripts\addons\SourceIO\source1\new_vtx\structs\lod.py", line 23, in read
mesh.read(reader)
File "C:\blenderfolder\2.83\scripts\addons\SourceIO\source1\new_vtx\structs\mesh.py", line 24, in read
strip_group.read(reader)
File "C:\blenderfolder\2.83\scripts\addons\SourceIO\source1\new_vtx\structs\strip_group.py", line 35, in read
assert index_count % 3 == 0
AssertionError
location: <unknown location>:-1
location: <unknown location>:-1
from sourceio.
Related Issues (20)
- Can't open mfs2020 mdl file - python traceback error HOT 2
- when trying to import hl1 map i get a "ValueError. too many values to unpack (expected 2). HOT 10
- Weird Error HOT 2
- Strange Install Issue HOT 2
- Flexcontrollers may fail to import due tuples
- Create drivers gets python traceback error when importing some models. HOT 6
- Model not loading when using flex drivers on 3.5 HOT 1
- Enabling Issue HOT 1
- would it be possible to add .gma support, or at least make a separate blender tool that serves the same purpose? HOT 15
- Error again HOT 3
- error HOT 3
- Decals spawned without rotation HOT 1
- Materials? HOT 3
- AttributeError: 'NoneType' object has no attribute 'read_struct' HOT 10
- Plugin will not install at all HOT 2
- Unable to import a certain .mdl file HOT 1
- What does this mean? HOT 4
- just downloaded the newer version and this keeps happening HOT 5
- Unable to check SourceIO addon in UPBGE HOT 2
- Problem when trying to load entities on source map import. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sourceio.