Game Development Community

Map2dif_plus_tgea crash...

by Sorin Daraban · in Torque Game Engine Advanced · 06/17/2008 (9:44 am) · 6 replies

Map2dif_plus_tgea keeps crashing when I try to export my map.
I get this error in the console:
"
map2dif - Torque .MAP file converter
Copyright (C) GarageGames.com, Inc.
Program version: 1.0r
Programmers: John Folliard, Dave Moore, and Matthew Fairfax
Built: Jun 10 2008 at 05:17:13


Loading C:\Program Files\Torque\Constructor\scenes\researchBldgtop\research_bldg
_just_top.map
Initial texture search path is set to "C:/Program Files/Torque/Constructor/scene
s/researchBldgtop/"

Successfully opened map file: C:/Program Files/Torque/Constructor/scenes/researc
hBldgtop/research_bldg_just_top.map
Parsing mapfile...
Error: Brush 427 - There are bad faces on this brush. This is most likely cau
sed by a flat or non-volumetric brush.
Error: Brush 431 - There are bad faces on this brush. This is most likely cau
sed by a flat or non-volumetric brush.
Error: Brush 433 - There are bad faces on this brush. This is most likely cau
sed by a flat or non-volumetric brush.
done.
Creating BSP...
Fatal-ISV: (..\tools\map2dif plus\bspNode.cpp @ 986) Error, bad assumption (pEnt
ry->windings.size() == 2, not 1) Go smack DMoore (portal 0)
"

#1
06/17/2008 (10:03 am)
You should rebuild your portals.

Portal information

More information on the error.
#2
06/17/2008 (3:01 pm)
I get a crash when it exports --- -but it does export my dif. Though Null face removal doesn't work. I should probably just reinstall constructor.

Map2dif_plus_tgea gives great frames per second.

Also I found out the hardway that it's best to make your portals thin, and not the same thickness as the wall/doorway.
#3
06/18/2008 (1:11 pm)
Thanks for the help but it seems to be more than just portals.
I have a few detail brushes too. Could that be the problem as well? Because when I delete them, the interior exports properly.
#4
06/18/2008 (9:32 pm)
Are you using the new-and-improved map2Dif_plus_tgea from the latest TGEA 1.7.1 update?
#5
06/19/2008 (2:43 pm)
If it exports fine without your detail brushes then I'd suggest the problem is somewhere amongst them. Make sure that they are all detail and you didn't accidentally make some structural/collision etc. And that they are not going into a structural brush or through a portal.

Try exporting with fewer detail brushes, kinda like a trial-by-error process of elimination - keep deleting them until it does export okay, and then check the last brush for problems.
#6
06/19/2008 (3:22 pm)
Thank you Steve.

To Eric: Yes, I am using the latest map2dif_plus_tgea.