Req error crash

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
ARCTroopaNate
Jedi
Jedi
Posts: 1161
Joined: Mon Mar 21, 2011 8:12 pm
Projects :: Star Wars Battlefront - Tides of War
Games I'm Playing :: SWBF2 RC EAW
xbox live or psn: I have ps4
Location: STALKER!
Contact:

Req error crash

Post 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
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Req error crash

Post by DarthD.U.C.K. »

would you mind posting the mentioned reqfiles?
ARCTroopaNate
Jedi
Jedi
Posts: 1161
Joined: Mon Mar 21, 2011 8:12 pm
Projects :: Star Wars Battlefront - Tides of War
Games I'm Playing :: SWBF2 RC EAW
xbox live or psn: I have ps4
Location: STALKER!
Contact:

Re: Req error crash

Post 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.
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: Req error crash

Post 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.
User avatar
willinator
Major
Major
Posts: 517
Joined: Sun Mar 13, 2011 3:11 pm
Projects :: [Coming of the Sentinels]
Games I'm Playing :: SWBF2 Minecraft Halo
xbox live or psn: PC pwns all!
Location: The rings of Saturn...

Re: Req error crash

Post 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.
ARCTroopaNate
Jedi
Jedi
Posts: 1161
Joined: Mon Mar 21, 2011 8:12 pm
Projects :: Star Wars Battlefront - Tides of War
Games I'm Playing :: SWBF2 RC EAW
xbox live or psn: I have ps4
Location: STALKER!
Contact:

Re: Req error crash

Post 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.
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: Req error crash

Post 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.
ARCTroopaNate
Jedi
Jedi
Posts: 1161
Joined: Mon Mar 21, 2011 8:12 pm
Projects :: Star Wars Battlefront - Tides of War
Games I'm Playing :: SWBF2 RC EAW
xbox live or psn: I have ps4
Location: STALKER!
Contact:

Re: Req error crash

Post by ARCTroopaNate »

Thanks, going to test all of these things right now.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Req error crash

Post 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.
User avatar
willinator
Major
Major
Posts: 517
Joined: Sun Mar 13, 2011 3:11 pm
Projects :: [Coming of the Sentinels]
Games I'm Playing :: SWBF2 Minecraft Halo
xbox live or psn: PC pwns all!
Location: The rings of Saturn...

Re: Req error crash

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