Page 1 of 1

TerrainMunge crashing

Posted: Wed Dec 20, 2006 1:07 pm
by Rikino
I've made my map 512x512. Added units, edited it, it was working great. Then, after a few benign edits, I munged again.

Only this time, TerrainMunge.exe crashes halfway through itself.

Image
(Just a gratuitous unhelpful image)

Here's PC_MungeLog.txt:
ERROR[levelpack PAB.req]:Expecting bracket, but none was found.
File : munged\pc\pab.terrain.req(1)...

ucft <--
ERROR[levelpack PAB.req]:Expecting bracket, but none was found.
File : munged\pc\pab.terrain.req(1)...

ucft <--
[continuing]
2 Errors 0 Warnings

ERROR[levelpack PAB_conquest.mrq]:Could not open munged\pc\mz.files for input. DOS reports:
No such file or directory
ERROR[levelpack PAB_conquest.mrq]:Could not open munged\pc\mz.files for input. DOS reports:
No such file or directory
[continuing]
2 Errors 0 Warnings

ERROR[levelpack PAB.req]:Expecting bracket, but none was found.
File : munged\pc\pab.terrain.req(1)...

ucft <--
ERROR[levelpack PAB.req]:Expecting bracket, but none was found.
File : munged\pc\pab.terrain.req(1)...

ucft <--
[continuing]
2 Errors 0 Warnings
I have not edited the actual files of the map, only through Zeroedit.

I've tried re-saving the map and munging, didn't work. And yes, I have tried cleaning and re-munging, to no avail.
Now, I'm guessing it stems from the map being 512x512. Does that make it unstabler?

Posted: Wed Dec 20, 2006 1:14 pm
by Elmo
in your PAB req file you are missing a bracket somewhere...

RE: TerrainMunge crashing

Posted: Wed Dec 20, 2006 1:17 pm
by Rikino
No, no I'm not.
It might be somthing else in there, though? I don't think so, though. Tell me if I should post it.

RE: TerrainMunge crashing

Posted: Wed Dec 20, 2006 1:20 pm
by Darth_Z13
Ya but that's not why terrain munge is crashing. It happened to me once as well but it was only a side mod, not a full map so I didn't bother looking into it....

It seems like it couldn't open certain files. That could be your problem...

Re: RE: TerrainMunge crashing

Posted: Wed Dec 20, 2006 1:23 pm
by Elmo
Rikino wrote:No, no I'm not.
It might be somthing else in there, though? I don't think so, though. Tell me if I should post it.
yes you are... hence the error :wink:

Posted: Wed Dec 20, 2006 1:31 pm
by Rikino
So you can see for yourself, here's my PAB.req, missing bracket-free.
ucft
{
REQN
{
"config"
}

REQN
{
"texture"
"PAB_map"
}
REQN
{
"path"
"PAB"
}
REQN
{
"congraph"
"PAB"
}
REQN
{
"envfx"
"PAB"
}
REQN
{
"world"
"PAB"
}
REQN
{
"prop"
"PAB"
}
REQN
{
"class"
"bluelight"
"redlight"
"greenlight"
"whitelight"
}
REQN
{
"config"
"flyerspray"
"walkerstomp"
"hailfire_wake"
}
REQN
{
"lvl"
"PAB_conquest"
}
}
Like I said, I haven't edited it at all.

Anyways, I did a mass 'un-read only' on the entire folder, like Darth_Z13 said. Didn't crash, but still didn't work. I'ma doing a clean/munge now to see if it works un-read only-fied.

EDIT: Nope. Still crashes.

Re: RE: TerrainMunge crashing

Posted: Wed Dec 20, 2006 3:01 pm
by Teancum
Elmo wrote:
Rikino wrote:No, no I'm not.
It might be somthing else in there, though? I don't think so, though. Tell me if I should post it.
yes you are... hence the error :wink:
No, he's not. That req file in question is creating during the munge, and it can't create the req completely because something is wrong with the terrain.

In answer to your question -- try browsing to data_XXX/_BUILD_PC/Worlds/XXX/PC and deleting everything in that folder (these are the munged files) then re-munging. Sometimes if you stop a munge a file will get corrupted.

RE: Re: RE: TerrainMunge crashing

Posted: Wed Dec 20, 2006 3:39 pm
by Rikino
Teancum wrote: In answer to your question -- try browsing to data_XXX/_BUILD_PC/Worlds/XXX/PC and deleting everything in that folder (these are the munged files) then re-munging. Sometimes if you stop a munge a file will get corrupted.
Again with the crash. That didn't help.

I'd survive without it, but I just wanted to know what sort of thing would cause the crash, for future refrence.

RE: Re: RE: TerrainMunge crashing

Posted: Wed Dec 20, 2006 3:47 pm
by trainmaster611
This is a common problem with people who try to add terrains to space maps...you'r not trying to do that are you? :|

RE: Re: RE: TerrainMunge crashing

Posted: Wed Dec 20, 2006 6:30 pm
by Teancum
You might also see if you have any sharp inclines on your terrain, and check to see how many layers of textures you're using too.

RE: RE: Re: RE: TerrainMunge crashing

Posted: Wed Dec 20, 2006 8:12 pm
by Rikino
Yep, it was the textures. I did two things (now I'm kicking myself; should have done them one at a time to see which was the problem):

-I didn't have a texture on the first square thingy, so I filled that in.
-I made pretty much the whole map one texture, instead of having mixed spots all over the entire 512x512 area. That might've taken up too much memory or somthing.

Thanks for the help, guys!