Page 1 of 1

ZETools error during export

Posted: Sat Jun 11, 2016 4:00 am
by Spiret
Hi! I am trying to add new unit model in game using this tutorial - https://sites.google.com/site/swbf2modt ... tup-in-xsi
After setting envelopes I am trying to export the model, but in the final step "Processing Animation..." ZETools says "Encountered an error while exporting, copy error to clipboard?". Here is the text from clipboard:
Hidden/Spoiler:
Last 15 log lines:


DEBUG (916, get_index): ModelCollection.get_index: bone_r_thigh - 15
DEBUG (916, get_index): ModelCollection.get_index: bone_r_hand - 49
DEBUG (916, get_index): ModelCollection.get_index: bone_r_forearm - 46
DEBUG (916, get_index): ModelCollection.get_index: bone_r_foot - 19
DEBUG (916, get_index): ModelCollection.get_index: bone_r_clavicle - 42
DEBUG (916, get_index): ModelCollection.get_index: bone_r_calf - 16
DEBUG (916, get_index): ModelCollection.get_index: bone_neck - 28
DEBUG (916, get_index): ModelCollection.get_index: bone_l_upperarm - 35
DEBUG (916, get_index): ModelCollection.get_index: bone_l_toe - 12
DEBUG (916, get_index): ModelCollection.get_index: bone_l_thigh - 7
DEBUG (916, get_index): ModelCollection.get_index: bone_l_hand - 39
DEBUG (916, get_index): ModelCollection.get_index: bone_l_forearm - 36
DEBUG (916, get_index): ModelCollection.get_index: bone_l_foot - 11
DEBUG (916, get_index): ModelCollection.get_index: bone_root - 4
DEBUG (916, get_index): ModelCollection.get_index: bone_pelvis - 5


Traceback:


Traceback (most recent call last):
File "<Script Block 2>", line 28, in exportbutton_OnClicked
File "C:\Users\Spiret\Autodesk\Softimage_2015\Addons\xsizetools-1.3.0029\Application\Core\zetexport.py", line 899, in export
self.do_export()
File "C:\Users\Spiret\Autodesk\Softimage_2015\Addons\xsizetools-1.3.0029\Application\Core\zetexport.py", line 984, in do_export
if not self.write_msh(self.msh.pack()):
File "C:\Users\Spiret\Autodesk\Softimage_2015\Addons\xsizetools-1.3.0029\Application\Modules\msh2.py", line 235, in pack
msh2_data.append(self.models.pack())
File "C:\Users\Spiret\Autodesk\Softimage_2015\Addons\xsizetools-1.3.0029\Application\Modules\msh2.py", line 943, in pack
data = [model.pack() for model in self.models]
File "C:\Users\Spiret\Autodesk\Softimage_2015\Addons\xsizetools-1.3.0029\Application\Modules\msh2.py", line 743, in pack
data.append(self.pack_GEOM())
File "C:\Users\Spiret\Autodesk\Softimage_2015\Addons\xsizetools-1.3.0029\Application\Modules\msh2.py", line 773, in pack_GEOM
data.append(self.segments.pack())
File "C:\Users\Spiret\Autodesk\Softimage_2015\Addons\xsizetools-1.3.0029\Application\Modules\msh2.py", line 1087, in pack
data.append(segment.pack())
File "C:\Users\Spiret\Autodesk\Softimage_2015\Addons\xsizetools-1.3.0029\Application\Modules\msh2.py", line 1174, in pack
data.append(self.faces.pack())
File "C:\Users\Spiret\Autodesk\Softimage_2015\Addons\xsizetools-1.3.0029\Application\Modules\msh2.py", line 1741, in pack
data.append(face.pack())
File "C:\Users\Spiret\Autodesk\Softimage_2015\Addons\xsizetools-1.3.0029\Application\Modules\msh2.py", line 1554, in pack
index_map[self.vertices[2]])
error: ushort format requires 0 <= number <= USHRT_MAX
I tried to use another model and export works, so problem is in the model, but how I can fix this?

Re: ZETools error during export

Posted: Sat Jun 11, 2016 5:17 am
by ANDEWEGET
It seems like your mesh has more than 65,535 vertices, which isn't supported by the .msh format.

Re: ZETools error during export

Posted: Sat Jun 11, 2016 5:35 am
by Spiret
Thank you! I knew that problem might be in this, polygon reduction fixed this problem. Sorry for the dumb question.

Re: ZETools error during export

Posted: Tue Jun 14, 2016 5:31 am
by giftheck
Spiret wrote:Thank you! I knew that problem might be in this, polygon reduction fixed this problem. Sorry for the dumb question.
What did you have that was more than that?