AlwarrenSidh / ArmAToolbox

Arma Toolbox for Blender
GNU General Public License v3.0
86 stars 38 forks source link

LoW Van Model not complete when importing #37

Closed 100roj closed 1 year ago

100roj commented 2 years ago

LoW model only has LOD0 and LOD1 models when imported. No pilotview or cargoview models

AlwarrenSidh commented 2 years ago

What is a LoW model?

100roj commented 2 years ago

Sorry, missed a part. I meant the Laws of War DLC Van.

tfrieden commented 2 years ago

You can not import binarized models

100roj commented 2 years ago

The model has been unbinarized

All other models are opened with all meshes present (1st screenshot) But the Laws of war DLC Van (in all versions) doesn't open correctly

Screenshot 2022-02-21 094353 Screenshot 2022-02-22 161832

AlwarrenSidh commented 2 years ago

If you unbinarized the model there is no way of knowing what came out of this. The process is simply not supported, You can try to go Window -> Toggle System Console and see if there is an error message.

What I find weird is that the name of the model appears as a collection/LOD name. That should not happen.

As I said, check System Console for errors.

100roj commented 1 year ago

Sorry took so long to respond, was busy with IRL problems. The console types out this when importing one of the Van models:

ValueError: the return value must be None File "C:\Users\Username\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\cats-blender-plugin-0-19-0\tools\settings.py", line 249, in update_settings Signature = b'MLOD', version=257, numLods = 26 read lod normals... faces... taggs materials... sharp edges Normal calculation Add edge split set LOD type weight done reading lod read lod normals... faces... taggs File "C:\Users\Username\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\ArmaToolbox__init__.py", line 302, in execute error = importMDL(context, self.filepath, self.layeredLods) File "C:\Users\Username\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\ArmaToolbox..\ArmaToolbox\MDLImporter.py", line 577, in importMDL if loadLOD(context, filePtr, objName, materialData, layerFlag, i) != 0: File "C:\Users\Username\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\ArmaToolbox..\ArmaToolbox\MDLImporter.py", line 364, in loadLOD elif tagName[0] == '#': <traceback object at 0x0000018FE53A4EC0>

100roj commented 1 year ago

Also attaching the file I tried to open. The issue persists with all variants

EDIT: Removed link. These models are copyrighted.

AlwarrenSidh commented 1 year ago

This looks like a faulty file structure. Unbinarizing models is generally not a good idea, it's hard to say what kind of weirdness the unbinarizer spits out.