Page 1 of 2

Battlefront II crashes with new core.lvl

Posted: Thu Dec 10, 2015 2:45 pm
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.

Re: BF2log error

Posted: Thu Dec 10, 2015 5:49 pm
by Anakin
what map/mod have you loaded?

Re: BF2log error

Posted: Thu Dec 10, 2015 5:50 pm
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.

Re: BF2log error

Posted: Thu Dec 10, 2015 6:05 pm
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??

Re: BF2log error

Posted: Thu Dec 10, 2015 6:07 pm
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.

Re: BF2log error

Posted: Thu Dec 10, 2015 8:19 pm
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.

Re: BF2log error

Posted: Fri Dec 11, 2015 4:31 am
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.

Re: BF2log error

Posted: Fri Dec 11, 2015 8:57 am
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

Re: BF2log error

Posted: Fri Dec 11, 2015 9:27 am
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?

Re: BF2log error

Posted: Fri Dec 11, 2015 9:37 am
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.

Re: BF2log error

Posted: Fri Dec 11, 2015 10:26 am
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.

Re: BF2log error

Posted: Fri Dec 11, 2015 10:32 am
by TheMastermindOfMaom
I did change the core.req and did everything needed with sounds.

Re: BF2log error

Posted: Fri Dec 11, 2015 2:46 pm
by Anakin
I think that is what Teancum is talking about. Did you everything descript there?? Can you show us your core.req??

Re: Battlefront II crashes with new core.lvl

Posted: Sun Dec 13, 2015 3:53 pm
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:

Re: Battlefront II crashes with new core.lvl

Posted: Sun Dec 13, 2015 9:01 pm
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.

Re: Battlefront II crashes with new core.lvl

Posted: Mon Dec 14, 2015 7:47 am
by TheMastermindOfMaom
6,81 MB

Edit:All information added to first post.

Re: Battlefront II crashes with new core.lvl

Posted: Tue Dec 15, 2015 12:42 pm
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.

Re: Battlefront II crashes with new core.lvl

Posted: Tue Dec 15, 2015 2:16 pm
by TheMastermindOfMaom
Crashed again. This time I changed the Tri-Fighter to ''trilmao'' btw.

Here is the log: http://pastebin.com/sPVxavyD

Re: Battlefront II crashes with new core.lvl

Posted: Tue Dec 15, 2015 2:42 pm
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.

Re: Battlefront II crashes with new core.lvl

Posted: Tue Dec 15, 2015 2:45 pm
by TheMastermindOfMaom
The stock core.lvl works for the game 100%.
I only have the AAA-1.3 Patch in my addon folder.