Page 1 of 1

Model is crashing Zero Editor, but not the game [Solved]

Posted: Mon Jan 02, 2012 10:06 pm
by Marth8880
Alright, so I have a model that I'm making for my Mass Effect Mod. The model itself isn't completely finished yet, I still have to make it efficient and whatnot, but I have it (sloppily) UV'd and all already. I exported it using the new XSI ZE Tools, which all went well. When I opened it up in SWBF Viewer, everything looked just right, no problems there. I created an ODF for it, set its ClassLabel to "building" since it's the base structure of the map, saved it, and exited. Next, I launched Zero Editor, loaded up my map, browsed for the ODF, and when I opened it, Zero Editor froze for a second and crashed without any errors or dialogues.

This is where it gets freaky. :o

I edited the ODF to reference a different, working model, saved, launched Zero Editor and placed the object which all worked out fine. Then, I closed Zero Editor after saving, opened up the ODF again and changed it to reference the model that was crashing Zero Editor. I munged the map, launched Battlefront, loaded the map, and BAM!, there the model was, perfectly fine, no crashes. Confused, I launched Zero Editor, loaded up my map, but it crashed.

Does anybody know what could possibly be causing this odd Zero Editor crash? The model is only at 908 tris right now, so there's no way that could be the issue. Exporting the model using MshEx3 didn't fix or alter the problem, nor did changing the ClassLabel to "prop".

Re: Model is crashing Zero Editor, but not the game

Posted: Mon Jan 02, 2012 10:27 pm
by AQT
In my experience, removing SEGMs from MODLs without resizing the GEOMs properly will cause the model to crash ZE, but the model would show up fine in-game. So faulty hex editing or something related could be the problem.

Re: Model is crashing Zero Editor, but not the game

Posted: Mon Jan 02, 2012 10:38 pm
by Marth8880
Hmm. But I haven't done any hex edits to the model though. :?

Re: Model is crashing Zero Editor, but not the game

Posted: Mon Jan 02, 2012 11:12 pm
by Teancum
Sometimes folks put ".msh" in both the geometryname for their [GameObjectClass] and [Properties] sections. Doing this in the ODF might have caused a crash.

Re: Model is crashing Zero Editor, but not the game

Posted: Mon Jan 02, 2012 11:24 pm
by Marth8880
I only have the .msh file extension in the GeometryName parameter under [GameObjectClass].

Re: Model is crashing Zero Editor, but not the game

Posted: Tue Jan 03, 2012 12:05 am
by AQT
Teancum wrote:Sometimes folks put ".msh" in both the geometryname for their [GameObjectClass] and [Properties] sections. Doing this in the ODF might have caused a crash.
That only causes the game to crash, not ZE.

Re: Model is crashing Zero Editor, but not the game

Posted: Tue Jan 03, 2012 12:21 am
by Marth8880
All of the models I am exporting are contained in the same scene. Could this be the issue?

Re: Model is crashing Zero Editor, but not the game

Posted: Tue Jan 03, 2012 12:36 am
by Cerfon Rournes
Marth8880 wrote:All of the models I am exporting are contained in the same scene. Could this be the issue?
I once fixed a model problem by using a fresh dummyroot. Try that and see what happens. :)

Re: Model is crashing Zero Editor, but not the game

Posted: Tue Jan 03, 2012 12:40 am
by Marth8880
Cerfon Rournes wrote:
Marth8880 wrote:All of the models I am exporting are contained in the same scene. Could this be the issue?
I once fixed a model problem by using a fresh dummyroot. Try that and see what happens. :)
What do you mean?


EDIT:

Oh, deleting the old dummyroot and making a new one. Well, the thing is, I am not using one in the first place since the ZE Tools produces the same error that TNA and Cerfon are getting if the model is exported under one.

Re: Model is crashing Zero Editor, but not the game

Posted: Tue Jan 03, 2012 9:45 am
by ANDEWEGET
This error should be fixed now.
Could you send me the .msh? It might not be directly caused by my exporter but maybe Rep and me did something wrong? Id very much like to take a look at it. :)

Re: Model is crashing Zero Editor, but not the game

Posted: Tue Jan 03, 2012 2:52 pm
by DarthD.U.C.K.
how large is the models texture? zero editor will crash when attempting to load 2048px textures or higher.

Re: Model is crashing Zero Editor, but not the game

Posted: Tue Jan 03, 2012 4:11 pm
by Marth8880
@ANDE: Sure, I will when I get home.
@D.U.C.K.: The first model that crashed Zero Editor has a texture resolution of 2048px, but the ones after that which crashed were lower res.


EDIT:

Cutting the texture's resolution in half seemed to fix the problem for all of my crashing models for some reason. :o Thanks guys! :D