Page 1 of 1

.Req error

Posted: Sat Nov 08, 2014 1:11 pm
by ShadowGuard
Very new to BF2 modding, just encountered this error after using visual munge:

Code: Select all

ERROR[levelpack mission\BFGg_con.req]:Expecting bracket, but none was found.
File : munged\pc\bfgg_con.script.req(1)...

ucft <--
ERROR[levelpack mission\BFGg_con.req]:Expecting bracket, but none was found.
File : munged\pc\bfgg_con.script.req(1)...

ucft <--

   2 Errors    0 Warnings
Very confused, what should i do?

Re: .Req error

Posted: Sat Nov 08, 2014 4:33 pm
by AQT
Was that everything in the munge log? What did you do to bfgg_con.lua? Be specific.

Re: .Req error

Posted: Sat Nov 08, 2014 6:12 pm
by ShadowGuard
AQT wrote:Was that everything in the munge log? What did you do to bfgg_con.lua? Be specific.
Yes that is everything in the PC_MungeLog (weird i know). I don't rememeber anything about modifying the req file but this is what it looks like:

Code: Select all

ucft
{
	REQN
    	{

        "config"
        "cor_movies"	

    	}

	REQN
	{
		"script"
		"BFGg_con"
	}
}

Re: .Req error

Posted: Sun Nov 09, 2014 6:24 am
by Anakin
he asked for the lua file ;)

can you please post it, too?

Re: .Req error

Posted: Sun Nov 09, 2014 9:54 am
by ShadowGuard
Oops, didn't read read post correctly :? Doesn't matter now - found a solution. A manual clean of the pc/munged folder and scripts seemed to do the trick. On a different note, how do you get the Bfront2 log on the dvd version of the game? My map crashes despite no errors on the munge log.

Re: .Req error

Posted: Mon Dec 08, 2014 3:39 am
by [RDH]Zerted
The error was in munged\pc\bfgg_con.script.req which is a munged file. Meaning you had an error (so the munge process halted mid-munge), ignored it, then tried to munge again. Now your munged files are corrupted. Cleaning removes the corrupted files and re-munging tells you your original error.

There is a DVD version of the debug exe. I don't remember its name...