Battlefront II crashes with new core.lvl

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

TheMastermindOfMaom
Private First Class
Posts: 314
Joined: Sun Nov 22, 2015 1:48 pm
Projects :: None.
xbox live or psn: #PCMasterRace
Location: Greece

Battlefront II crashes with new core.lvl

Post by TheMastermindOfMaom »

So,I changed the Y-Wing localization to ''wai weng'' (lol),munged,got the core.lvl file,replaced it and..crash

Full BF2log: http://pastebin.com/32f9rjyK

My core.req
Hidden/Spoiler:
[code]ucft
{
REQN
{
"bnk"
"align=2048"
"global"
}

REQN
{
"config"
"global"
}

REQN
{
"font"
"starwars_small"
"gamefont_large"
"gamefont_medium"
"gamefont_small"
"gamefont_super_tiny"
"gamefont_tiny"
}

REQN
{
"loc"
"english"
"spanish"
"italian"
"french"
"german"
"uk_english"
}

REQN
{
"texture"
"platform=pc"
"cube_normalizationmap"
"hemisphere_normalizationmap"
"specularspot"
"attenuation_volume"
"linear_ramp"
"specularcubemap"
}

REQN
{
"shader"
"platform=pc"
"normal_shader"
"interface_shader"
"particle_shader"
"terrain_shader"
"sprite_shader"
"skyfog_shader"
"foliage_shader"
"lightbeam_shader"
"scroll_shader"
"flare_shader"
"sample_shader"
"rain_shader"
"normalmapadder_shader"
"prereflection_shader"
"water_shader"
"stencilshadow_shader"
"shadowquad_shader"
"specular_shader"
"detail_shader"
"ocean_shader"
"refraction_shader"
"decal_shader"
"filtercopy_shader"
"shield_shader"
"bump_shader"
"zprepass_shader"
}

}[/code]
I have done everything needed with sound. Downloaded Ace's and put them in ''global'' and copied the ones from Assets to Common.
New core.lvl is 6,81MB.
Last edited by TheMastermindOfMaom on Mon Dec 14, 2015 5:48 pm, edited 7 times in total.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: BF2log error

Post by Anakin »

what map/mod have you loaded?
TheMastermindOfMaom
Private First Class
Posts: 314
Joined: Sun Nov 22, 2015 1:48 pm
Projects :: None.
xbox live or psn: #PCMasterRace
Location: Greece

Re: BF2log error

Post by TheMastermindOfMaom »

None. It is the localization thing. I replaced (backed up first) the core.lvl and then when I went to a map (Stock)..boom crash.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: BF2log error

Post by Anakin »

There are some more sev3 messages.


918.Message Severity: 3
919.C:\Battlefront2\main\Battlefront2\Source\HUDManager.cpp(619)
920.HUD unable to find HUD element type 0x16ce484a

They won't break the game, but I know these messages only from custom fpms.
You loaded mos Eisley hero attack. For me tat2 always crashes in the debugger. Have you tried an different map and mod??
TheMastermindOfMaom
Private First Class
Posts: 314
Joined: Sun Nov 22, 2015 1:48 pm
Projects :: None.
xbox live or psn: #PCMasterRace
Location: Greece

Re: BF2log error

Post by TheMastermindOfMaom »

It was not the debugger exe though,it was the full game. I changed the core.lvl to test if my localizing mod is working. Let me re-try.

Edit: All maps crash. Stock and modded.
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: BF2log error

Post by Teancum »

First things first - move all addon maps and mods out of the addon folder (you can just make another folder). See if that fixes it. If not, start with a fresh install of the game. Once you have it working, move the mod map that you think is the problem back into the addon folder. It's *probably* the map ID you listed above, so if you want to try just moving that first, you can.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: BF2log error

Post by Anakin »

TheMastermindOfMaom wrote:It was not the debugger exe though,it was the full game. I changed the core.lvl to test if my localizing mod is working. Let me re-try.

Edit: All maps crash. Stock and modded.
If the full game Crashs, but the debugger dies not, there would be no error log. Please delete the log and redo the crash (after you removed all addons the way Teancum told you) to be sure that the log is created new.
TheMastermindOfMaom
Private First Class
Posts: 314
Joined: Sun Nov 22, 2015 1:48 pm
Projects :: None.
xbox live or psn: #PCMasterRace
Location: Greece

Re: BF2log error

Post by TheMastermindOfMaom »

Did what you said...crashed again (Tried full game)

Tried Debugger exe (I changed Han Solo's blaster name to see if it works - Mos Eisley conquest)

Log: http://pastebin.com/32f9rjyK
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: BF2log error

Post by Anakin »

This looks much more like the log we want. Please make sure that you reproduce the crash with the debugger everytime!! the normal BF2 exe does not make an log.

Found this:
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(635)
Entity "FDL-2" not found

Wondering that this crash the game.

Is FDL-2 the new name of Han Solos weapon?? (btw he has a dl44)
If it is, can you describe your steps for changing the name?
TheMastermindOfMaom
Private First Class
Posts: 314
Joined: Sun Nov 22, 2015 1:48 pm
Projects :: None.
xbox live or psn: #PCMasterRace
Location: Greece

Re: BF2log error

Post by TheMastermindOfMaom »

Actually edited the Y-Wing to ''wai weng'' (to test if it works).

I went to editlocalize.bat,found the fly_ywing in entities and changed it. Saved and munged localizations.

P.S I did change the core.req files and added the new sounds.
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: BF2log error

Post by Teancum »

TheMastermindOfMaom wrote:Actually edited the Y-Wing to ''wai weng'' (to test if it works).

I went to editlocalize.bat,found the fly_ywing in entities and changed it. Saved and munged localizations.

P.S I did change the core.req files and added the new sounds.
There should be a topic on how to build a replacement core.lvl. If I remember right you can't just build a working game replacement it without following the instructions there. It's been a long time, so I might be wrong, but I'm pretty sure. Check the FAQ/Everything you Need thread at the top of this forum.
TheMastermindOfMaom
Private First Class
Posts: 314
Joined: Sun Nov 22, 2015 1:48 pm
Projects :: None.
xbox live or psn: #PCMasterRace
Location: Greece

Re: BF2log error

Post by TheMastermindOfMaom »

I did change the core.req and did everything needed with sounds.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: BF2log error

Post by Anakin »

I think that is what Teancum is talking about. Did you everything descript there?? Can you show us your core.req??
TheMastermindOfMaom
Private First Class
Posts: 314
Joined: Sun Nov 22, 2015 1:48 pm
Projects :: None.
xbox live or psn: #PCMasterRace
Location: Greece

Re: Battlefront II crashes with new core.lvl

Post by TheMastermindOfMaom »

Hidden/Spoiler:
[code]ucft
{
REQN
{
"bnk"
"align=2048"
"global"
}

REQN
{
"config"
"global"
}

REQN
{
"font"
"starwars_small"
"gamefont_large"
"gamefont_medium"
"gamefont_small"
"gamefont_super_tiny"
"gamefont_tiny"
}

REQN
{
"loc"
"english"
"spanish"
"italian"
"french"
"german"
"uk_english"
}

REQN
{
"texture"
"platform=pc"
"cube_normalizationmap"
"hemisphere_normalizationmap"
"specularspot"
"attenuation_volume"
"linear_ramp"
"specularcubemap"
}

REQN
{
"shader"
"platform=pc"
"normal_shader"
"interface_shader"
"particle_shader"
"terrain_shader"
"sprite_shader"
"skyfog_shader"
"foliage_shader"
"lightbeam_shader"
"scroll_shader"
"flare_shader"
"sample_shader"
"rain_shader"
"normalmapadder_shader"
"prereflection_shader"
"water_shader"
"stencilshadow_shader"
"shadowquad_shader"
"specular_shader"
"detail_shader"
"ocean_shader"
"refraction_shader"
"decal_shader"
"filtercopy_shader"
"shield_shader"
"bump_shader"
"zprepass_shader"
}

}[/code]
I have done everything done with sound. Got the ones from AceMastermind and copied the ones from Assets to my mod. Anything else left? I really want to make this mod and all this problems is making me go :runaway:
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Battlefront II crashes with new core.lvl

Post by AceMastermind »

What is the file size of your new core.lvl? Even if you didn't include the sounds it should still work, you just won't have menu sounds.
This core.lvl is meant to replace the game's core.lvl and should not be used in a map project. The instructions for building a new core.lvl are clear and it would be difficult to mess this up which is why I think the problem is caused by something else you may have done.
TheMastermindOfMaom
Private First Class
Posts: 314
Joined: Sun Nov 22, 2015 1:48 pm
Projects :: None.
xbox live or psn: #PCMasterRace
Location: Greece

Re: Battlefront II crashes with new core.lvl

Post by TheMastermindOfMaom »

6,81 MB

Edit:All information added to first post.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Battlefront II crashes with new core.lvl

Post by AceMastermind »

Empty your addon folder
Create a backup of your game's core.lvl
Create a new data_ABC project with the BF2_modtools
Make sure you have the bat files set up for munging sounds (I use Marvel4's Fixed and improved munge files)
Follow the instructions for rebuilding the game's core.lvl
Make your localization edits and save it
Munge with common ticked
Copy the core.lvl from addon\ABC\data\_LVL_PC to GameData\DATA\_LVL_PC
Delete the ABC project from addon
Run the game and play a space map in GCW era
If you look at a Y-wing in the hangar the name should now be "wai weng"


If that doesn't work then you have problems elsewhere that need attention.
Keep in mind big mods like +123 by [v] will override core localization from addon.
TheMastermindOfMaom
Private First Class
Posts: 314
Joined: Sun Nov 22, 2015 1:48 pm
Projects :: None.
xbox live or psn: #PCMasterRace
Location: Greece

Re: Battlefront II crashes with new core.lvl

Post by TheMastermindOfMaom »

Crashed again. This time I changed the Tri-Fighter to ''trilmao'' btw.

Here is the log: http://pastebin.com/sPVxavyD
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Battlefront II crashes with new core.lvl

Post by AceMastermind »

Your error log is inconclusive. Make sure your game works with the default core.lvl and clear out any mods that change other default files for the sake of troubleshooting. The crashing is not likely due to the custom core.lvl if it was done correctly.
TheMastermindOfMaom
Private First Class
Posts: 314
Joined: Sun Nov 22, 2015 1:48 pm
Projects :: None.
xbox live or psn: #PCMasterRace
Location: Greece

Re: Battlefront II crashes with new core.lvl

Post by TheMastermindOfMaom »

The stock core.lvl works for the game 100%.
I only have the AAA-1.3 Patch in my addon folder.
Post Reply