SWBFGamers

Modding for the Original SWBF1 and SWBF2 => 3D-Modeling, Animation and Texturing => Topic started by: i2Bros on September 15, 2016, 02:37:53 PM

Title: Very annoying crash during MSH Export...
Post by: i2Bros on September 15, 2016, 02:37:53 PM
When I start my msh export this message appears and the process suddenly stops working
(https://www.swbfgamers.com/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FXYQCLCl.jpg&hash=853390de79c682966dab287ed8127502178920d0)

What can I do?  :'( :'( :'(
Title: Re: Very annoying crash during MSH Export...
Post by: Ginev on September 15, 2016, 03:18:07 PM
Are you trying to rig and animate a soldier character of some sort?If so i have a tutorial for this purpose made by Sereja.I can upload it tomorrow for you and give you link.Everyting there is explained and there are also pictures+example scene file to watch. :)  Do you want them?

And one side question.Do you atleast know how to properly export a simple prop model into msh?
Title: Re: Very annoying crash during MSH Export...
Post by: i2Bros on September 15, 2016, 11:12:13 PM
Quote from: Ginev on September 15, 2016, 03:18:07 PM
Are you trying to rig and animate a soldier character of some sort?If so i have a tutorial for this purpose made by Sereja.I can upload it tomorrow for you and give you link.Everyting there is explained and there are also pictures+example scene file to watch. :)  Do you want them?

And one side question.Do you atleast know how to properly export a simple prop model into msh?

I'm following a tutorial step by step. Aldo this crash happens with everything even with pre-exported weapons mshs  :shrug:

Btw I'd like to check this tutorial.  ;)
Title: Re: Very annoying crash during MSH Export...
Post by: Sereja on September 16, 2016, 04:19:05 AM
It seems like you have incorrect destination coordinates in your ZETools navigation panel. You just send your trooper to nowhere. The destination coordinates should looks like this:
C:\Softimage\Softimage_Mod_Tool_7.5\Addons\ModTool_Database\Models\1.msh
Title: Re: Very annoying crash during MSH Export...
Post by: i2Bros on September 16, 2016, 05:25:54 AM
Quote from: Sereja on September 16, 2016, 04:19:05 AM
It seems like you have incorrect destination coordinates in your ZETools navigation panel. You just send your trooper to nowhere. The destination coordinates should looks like this:
C:\Softimage\Softimage_Mod_Tool_7.5\Addons\ModTool_Database\Models\1.msh

I'll try as soon as possible, thank you!

EDIT: I copy-pasted the directory and this is the result in the clipboard
[spoiler]Last 15 log lines:


   INFO (842, do_export): .msh file path: C:\Softimage\Softimage_Mod_Tool_7.5\Addons\ModTool_Database\Models\1.msh
   INFO (851, do_export): Processing material "_1Shirt".
   INFO (857, do_export): Finished processing.
   INFO (851, do_export): Processing material "Scene_Material".
   INFO (857, do_export): Finished processing.
   INFO (851, do_export): Processing material "AnakinSkywalkerHead_XSIPOLYCLS_anakinskywalkerhead".
   INFO (857, do_export): Finished processing.
   INFO (851, do_export): Processing material "AnakinSkywalkerBody_XSIPOLYCLS_anakinskywalkerbody".
   INFO (857, do_export): Finished processing.
   INFO (870, do_export): Processing model "DummyRoot".
   INFO (873, do_export): Finished processing.
   INFO (870, do_export): Processing model "override_texture".
   INFO (593, convert): Is geometry.
   INFO (253, get_vertices): Processed 4664 vertices.
   INFO (354, get_faces): Processed 1548 faces.


Traceback:


   Traceback (most recent call last):
     File "<Script Block >", line 35, in exportbutton_OnClicked
     File "C:\Users\Salvatore\Autodesk\Softimage_Mod_Tool_7.5\Application\Core\andezetexport.py", line 832, in export
       self.do_export()
     File "C:\Users\Salvatore\Autodesk\Softimage_Mod_Tool_7.5\Application\Core\andezetexport.py", line 872, in do_export
       self.msh.models.add(conv.convert())
     File "C:\Users\Salvatore\Autodesk\Softimage_Mod_Tool_7.5\Application\Core\andezetexport.py", line 595, in convert
       self.msh2_model.segments = self.get_segments()
     File "C:\Users\Salvatore\Autodesk\Softimage_Mod_Tool_7.5\Application\Core\andezetexport.py", line 397, in get_segments
       poly_mat_indices = self.export.xsi.CGA_GetPolyIndicesPerMaterial(self.geo)
     File "C:\Python26\lib\site-packages\win32comext\axscript\client\pyscript.py", line 105, in __getattr__
       return getattr(self._scriptItem_.dispatchContainer,attr)
     File "C:\Python26\lib\site-packages\win32com\client\dynamic.py", line 516, in __getattr__
       raise AttributeError("%s.%s" % (self._username_, attr))
   AttributeError: Application.CGA_GetPolyIndicesPerMaterial
   [/spoiler]
Title: Re: Very annoying crash during MSH Export...
Post by: Sereja on September 16, 2016, 07:28:05 AM
Well, those abracadabra tells me nothing, because such text lines is for programmers only. So what actually happens: did you get "red line" error, or when you check the Models folder, you didn't found there your 1.msh model? Did you try to export something simple for testing, like a cube or sphere?
Title: Re: Very annoying crash during MSH Export...
Post by: i2Bros on September 16, 2016, 07:57:30 AM
red line error and yes I tried, I have even tried to export pre-exported mshs.
Title: Re: Very annoying crash during MSH Export...
Post by: Sereja on September 16, 2016, 11:42:58 AM
It's weird... :confused:
Make sure you install all of the support staff: python, pywin32,  Visual C++
Title: Re: Very annoying crash during MSH Export...
Post by: Ginev on September 16, 2016, 11:53:43 AM
Listen to what Sereja is saying.He know best.He helped me too.So do you have python, pywin32,  Visual C++ installed too?
Title: Re: Very annoying crash during MSH Export...
Post by: Led on September 16, 2016, 11:54:51 AM
Yes, you must very carefully follow the directions.  Watch my youtube video.  You can not skip any steps.
Title: Re: Very annoying crash during MSH Export...
Post by: i2Bros on September 16, 2016, 12:12:11 PM
Quote from: Ginev on September 16, 2016, 11:53:43 AM
Listen to what Sereja is saying.He know best.He helped me too.So do you have python, pywin32,  Visual C++ installed too?

I installed each of them  :(

EDIT: The last time I downloaded the last version/ update as .zip and I unzipped it in the Addons folder as the instructions say. Then I tried with the tar.gz, but nothing changed. It keeps saying I installed the 1.3.0022 when I'm sure I installed the latest version on the top of the page as .zip

EDIT2:
FINALLY I SOLVED IT!
I've just installed the Tools from scratch and it worked! Thanks to all of you! You earned a place in  my mod final credits!
:cheer: :cheer: :cheer: :cheer: :cheer: :cheer: :cheer: :cheer: :cheer: :cheer: :cheer: :cheer:


But there are new obstacles: [spoiler](https://www.swbfgamers.com/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FWFRmtCn.jpg&hash=a83f0e44cf499f55a89572e724f60423de4862d0)[/spoiler]
- I have to set materials properly.
- I have to get rid of the clone.
I'm confident I'll make it even trough this ;)
Title: Re: Very annoying crash during MSH Export...
Post by: Ginev on October 01, 2016, 12:30:16 AM
Looks like you dont have your tga textures in your folder with this model also i am seeing that your lowrez version model of the trooper is inside the high rez main model.In XSI before export you can click on the lowrez model and then press H to hide it.So when you export he wont be visible.
Title: Re: Very annoying crash during MSH Export...
Post by: i2Bros on October 01, 2016, 05:12:38 AM
Quote from: Ginev on October 01, 2016, 12:30:16 AM
Looks like you dont have your tga textures in your folder with this model also i am seeing that your lowrez version model of the trooper is inside the high rez main model.In XSI before export you can click on the lowrez model and then press H to hide it.So when you export he wont be visible.
Sadly the texture won't appear in XSI too so i still cant figure out how do I apply materials in ze tools
Title: Re: Very annoying crash during MSH Export...
Post by: Hawk on January 07, 2017, 01:36:14 PM
Quote from: Ginev on September 15, 2016, 03:18:07 PM
Are you trying to rig and animate a soldier character of some sort?If so i have a tutorial for this purpose made by Sereja.I can upload it tomorrow for you and give you link.Everyting there is explained and there are also pictures+example scene file to watch. :)  Do you want them?

And one side question.Do you atleast know how to properly export a simple prop model into msh?

By any chance can you send me this tut? I'm really interested  :D
EhPortal 1.34 © 2025, WebDev