Page 1 of 1

Req error crash

Posted: Sun Jan 08, 2012 11:10 am
by ARCTroopaNate
So I'm working on my era mod and a it's working fine and all of a sudden my mod starts crashing. I get these munge errors.

My error log is below from the debug version. Not sure what to do now, everything was working fine, I'm not sure what the problem is.
Hidden/Spoiler:
ERROR[levelpack req\cis_inf_trooper_federation.req]:Unexpected end of file while searching for closing quote.
File : {Unknown}(5)...
ERROR[levelpack req\cis_inf_trooper_federation.req]:Unexpected end of file while searching for closing quote.
File : {Unknown}(5)...
[continuing]
ERROR[levelpack req\imp_inf_trooper_airborne.req]:Unexpected end of file while searching for closing quote.
File : {Unknown}(5)...
ERROR[levelpack req\imp_inf_trooper_airborne.req]:Unexpected end of file while searching for closing quote.
File : {Unknown}(5)...
[continuing]
ERROR[levelpack req\rep_inf_trooper_41st.req]:Unexpected end of file while searching for closing quote.
File : {Unknown}(5)...
ERROR[levelpack req\rep_inf_trooper_41st.req]:Unexpected end of file while searching for closing quote.
File : {Unknown}(5)...
[continuing]
6 Errors 0 Warnings

ERROR[levelpack BFE.req]:Expecting bracket, but none was found.
File : munged\pc\cis_inf_trooper_federation.lvl.req(1)...

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

ucft <--
[continuing]
2 Errors 0 Warnings
I looked over my unit reqs 1,000 times and I still couldn't find the error, I tried cleaning and munual cleaning, no success.

Hidden/Spoiler:
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1010)
Data in F:\Program Files\LucasArts\Star Wars Battlefront II\GameData\AddOn\BFE\Data\_lvl_pc\SIDE\BFE.lvl is not a binary UCF file.

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)
Unable to find level chunk rep_inf_trooper_41st in F:\Program Files\LucasArts\Star Wars Battlefront II\GameData\AddOn\BFE\Data\_lvl_pc\SIDE\BFE.lvl


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)
Unable to find level chunk cis_inf_trooper_federation in F:\Program Files\LucasArts\Star Wars Battlefront II\GameData\AddOn\BFE\Data\_lvl_pc\SIDE\BFE.lvl


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1019)
Unable to find level chunk in dc:SIDE\BFE.lvl

uf_updateClassIndex(): Added class: rep_inf_trooper_41st

Re: Req error crash

Posted: Sun Jan 08, 2012 11:47 am
by DarthD.U.C.K.
would you mind posting the mentioned reqfiles?

Re: Req error crash

Posted: Sun Jan 08, 2012 2:25 pm
by ARCTroopaNate
Sure thing

CIS Trooper

ucft
{
REQN
{
"class"
"cis_inf_trooper_federation"
}
}

Imperial Trooper

ucft
{
REQN
{
"class"
"imp_inf_trooper_airborne"
}
}

Republic Trooper

ucft
{
REQN
{
"class"
"rep_inf_trooper_41st"
}
}

EDIT: Tried Cleaning again. Didn't work.

Re: Req error crash

Posted: Sun Jan 08, 2012 6:36 pm
by Teancum
Those REQ errors aren't actually a problem with the REQs, but with the files themselves. What happens is that the LVL REQ is built while munging. If an ODF, texture, MSH or anything else has an issue the REQ can't finish building, and so you get a REQ error. I would look into the side files first.

Re: Req error crash

Posted: Sun Jan 08, 2012 6:40 pm
by willinator
Since it is a side problem, I would recommend manual cleaning, even though it's a pain. However, before you do that, move all of the files that you added for those units to somewhere like the desktop. Then, introduce the units one at a time to see which one is the problem. Then, just keep narrowing it down until you find the culprit. Also, see which files, if any, all those units share.

Re: Req error crash

Posted: Sun Jan 08, 2012 7:08 pm
by ARCTroopaNate
I tried adding new units to see if they work but I get the same error for every unit. I've tried manual cleaning... twice. I'll do what you suggested, and try to narrow down the culprit.

Re: Req error crash

Posted: Sun Jan 08, 2012 7:27 pm
by Teancum
Some things to check on your side:

*Are your textures a power of two (128x128, 256x256, 512x512, etc)?
*If you edited a texture, did you make sure that RLE Compression was turned off when saving?
*Have you hex edited any MSH files?
*Have you done any ODF editing? If so check to make sure that you didn't leave out an =, accidentally delete part of a parameter, etc.

Re: Req error crash

Posted: Sun Jan 08, 2012 8:05 pm
by ARCTroopaNate
Thanks, going to test all of these things right now.

Re: Req error crash

Posted: Sun Jan 08, 2012 8:51 pm
by Marth8880
You cannot, as far as I am aware. The best way to "check", though, is to open up the TGA and resave it with RLE set to off.

Re: Req error crash

Posted: Sun Jan 08, 2012 10:14 pm
by willinator
Marth8880 wrote:You cannot, as far as I am aware. The best way to "check", though, is to open up the TGA and resave it with RLE set to off.
With the TGA's, all you have to do is load it into MSH Viewer. If RLE is on, it will appear all squiggly and static-y. This helps you from opening every single tga.