TerrainMunge crashing

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Rikino

TerrainMunge crashing

Post 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?
Last edited by Rikino on Wed Dec 20, 2006 1:15 pm, edited 1 time in total.
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Elmo »

in your PAB req file you are missing a bracket somewhere...
Rikino

RE: TerrainMunge crashing

Post 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.
Last edited by Rikino on Wed Dec 20, 2006 1:21 pm, edited 1 time in total.
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

RE: TerrainMunge crashing

Post 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...
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: RE: TerrainMunge crashing

Post 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:
Rikino

Post 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.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: RE: TerrainMunge crashing

Post 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.
Rikino

RE: Re: RE: TerrainMunge crashing

Post 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.
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

RE: Re: RE: TerrainMunge crashing

Post 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? :|
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

RE: Re: RE: TerrainMunge crashing

Post 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.
Rikino

RE: RE: Re: RE: TerrainMunge crashing

Post 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!
Post Reply