Core.lvl is ONE KB! Need help!

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
Omega_007
Private
Posts: 32
Joined: Tue Dec 04, 2007 6:55 am

Core.lvl is ONE KB! Need help!

Post by Omega_007 »

I munged a map, checking the english.cfg(or uk_englich.cfg, it depends) was in the right place(Localise in Common within data_%%%); I munged the map and when I investigated the folder of the map I found the core.lvl was only 1 KB in size, has anyone experienced this and any ideas on what to do?
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Core.lvl is ONE KB! Need help!

Post by [RDH]Zerted »

Omega_007 wrote:...checking the english.cfg(or uk_englich.cfg, it depends) was in the right place...
It doesn't depend on anything. You should have all the different language config files there. All of them should be munged together.

Did you have any munge errors? How big are your cfg files? What is in your core.req?
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: Core.lvl is ONE KB! Need help!

Post by MercuryNoodles »

Are you munging the Common folder? It's been a while, but I believe just munging Localize doesn't actually do anything, or somesuch.
Omega_007
Private
Posts: 32
Joined: Tue Dec 04, 2007 6:55 am

Re: Core.lvl is ONE KB! Need help!

Post by Omega_007 »

[RDH]Zerted wrote:
Omega_007 wrote:...checking the english.cfg(or uk_englich.cfg, it depends) was in the right place...
It doesn't depend on anything. You should have all the different language config files there. All of them should be munged together.

Did you have any munge errors? How big are your cfg files? What is in your core.req?
I cant remember as regards the errors, I think I mayve gotten 1 or 2; the content of the 1 KB core.lvl was what's below plus some hex trimmings(using PSPad to open it), because in it is pretty well what's in core.req:
ucft
{
REQN
{
"loc"
"english"
"spanish"
"italian"
"french"
"german"
"uk_english"
}
}
CGF files are all over 1 MB except for comments, japanese and spanish(those CGFs within Localise that is), I expect the ones within Localise/PC don't matter much; localise.req within Localise has the same as quoted for core.req, I hope SOMETHING can be done.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Core.lvl is ONE KB! Need help!

Post by [RDH]Zerted »

MercuryNoodles is right that Localize doesn't munge a core.lvl. I though a plain munge munged it, but I could be wrong. Try it with Common checked.

But even before that, if you had a munge error, then you can assume your entire map is broken. If there was an error, then VisualMunge failed to correctly create all your lvls. You should do a manual clean, then munge Common and see what happens. If you get any munge errors, fix them before continuing.

Your req files are fine.
Omega_007
Private
Posts: 32
Joined: Tue Dec 04, 2007 6:55 am

Re: Core.lvl is ONE KB! Need help!

Post by Omega_007 »

Fix the Errors how? Manually clean how?

I already munged with Common checked, but not with it unchecked.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Core.lvl is ONE KB! Need help!

Post by [RDH]Zerted »

Check the Modding FAQ topic (also called the 'Everything You Need To Know Thread') for info on how to do a manual clean. As for fixing the errors, I can't tell you how to do that without knowing what they are. Do the manual clean, then re-munge with Common check. Make a note of any errors that show up again.
Omega_007
Private
Posts: 32
Joined: Tue Dec 04, 2007 6:55 am

Re: Core.lvl is ONE KB! Need help!

Post by Omega_007 »

Righto.

Just so you know, I munged with all those boxes checked and there's no change in core.lvl.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Core.lvl is ONE KB! Need help!

Post by [RDH]Zerted »

I said only to check Common. Nothing else should have been selected/checked.

Create a new map, start VisualMunge, check Common, press Munge. In the Munge Output, at some point you should see:

Code: Select all

Munging water_shader.xml
Munging specularlighting_shader.xml
Munging specular_shader.xml
Munging sprite_shader.xml
Munging stencilshadow_shader.xml
Munging terrain_shader.xml
Munging terrain_shader2.xml
Munging zprepass_shader.xml
Merging ..\..\Common\Localize\PC\English.cfg...
Merging ..\..\Common\Localize\PC\French.cfg...
Merging ..\..\Common\Localize\PC\german.cfg...
Merging ..\..\Common\Localize\PC\Italian.cfg...
Merging ..\..\Common\Localize\PC\japanese.cfg...
Merging ..\..\Common\Localize\PC\spanish.cfg...
Merging ..\..\Common\Localize\PC\uk_english.cfg...
Merging ..\..\Common\Localize\Comments.cfg...
Merging ..\..\Common\Localize\english.cfg...
Merging ..\..\Common\Localize\french.cfg...
Merging ..\..\Common\Localize\german.cfg...
Merging ..\..\Common\Localize\italian.cfg...
Merging ..\..\Common\Localize\japanese.cfg...
Merging ..\..\Common\Localize\spanish.cfg...
Merging ..\..\Common\Localize\uk_english.cfg...

Munging Comments.cfg
Munging English.cfg
Munging French.cfg
Munging german.cfg
Munging Italian.cfg
Munging japanese.cfg
Munging spanish.cfg
Munging uk_english.cfg

D:\development\BF2_ModTools\data_XXX\_BUILD\Common>levelpack -inputfile core.req -writefiles MUNGED\PC\core.files -checkdate -continue -platform PC -sourcedir  ..\..\Common -inputdir MUNGED\PC -outputdir ..\..\_LVL_PC  2>>"D:\development\BF2_ModTools\data_XXX\_BUILD\PC_MungeLog.txt" 
Munging core.req
        1 file(s) moved.
If the core.lvl in the data_XXX/_LVL_PC folder of your new map is still too small you need to uninstall then reinstall the mod tools (backup your existing mod maps first).
Omega_007
Private
Posts: 32
Joined: Tue Dec 04, 2007 6:55 am

Re: Core.lvl is ONE KB! Need help!

Post by Omega_007 »

Hidden/Spoiler:
[code]Common\munge PC
Copying premunged files from MUNGED...
Copying premunged files from MUNGED\PC...
'xcopy' is not recognized as an internal or external command,
operable program or batch file.

......(down abit)

Munging bump_shader.xml
Munging decal_shader.xml
Munging detail_shader.xml
Munging filtercopy_shader.xml
Munging flare_shader.xml
Munging foliage_shader.xml
Munging hdr_shader.xml
Munging interface_shader.xml
Munging lightbeam_shader.xml
Munging normalmapadder_shader.xml
Munging normal_shader.xml
Munging normal_terrain_shader.xml
Munging ocean_shader.xml
Munging particle_shader.xml
Munging perpixeldiffuselighting_shader.xml
Munging pervertexdiffuselighting_shader.xml
Munging prereflection_shader.xml
Munging rain_shader.xml
Munging refraction_shader.xml
Munging sample_shader.xml
Munging scroll_shader.xml
Munging shadowquad_shader.xml
Munging shield_shader.xml
Munging skyfog_shader.xml
Munging specularlighting_shader.xml
Munging specular_shader.xml
Munging sprite_shader.xml
Munging stencilshadow_shader.xml
Munging terrain_shader.xml
Munging terrain_shader2.xml
Munging water_shader.xml
Munging zprepass_shader.xml
Merging ..\..\Common\Localize\PC\English.cfg...
Merging ..\..\Common\Localize\PC\French.cfg...
'more' is not recognized as an internal or external command,
operable program or batch file.
'more' is not recognized as an internal or external command,
operable program or batch file.
Merging ..\..\Common\Localize\PC\german.cfg...
Merging ..\..\Common\Localize\PC\Italian.cfg...
'more' is not recognized as an internal or external command,
operable program or batch file.
Merging ..\..\Common\Localize\PC\japanese.cfg...
'more' is not recognized as an internal or external command,
operable program or batch file.
Merging ..\..\Common\Localize\PC\spanish.cfg...
'more' is not recognized as an internal or external command,
operable program or batch file.
Merging ..\..\Common\Localize\PC\uk_english.cfg...
'more' is not recognized as an internal or external command,
operable program or batch file.
Merging ..\..\Common\Localize\Comments.cfg...
'more' is not recognized as an internal or external command,
operable program or batch file.
'more' is not recognized as an internal or external command,
operable program or batch file.
Merging ..\..\Common\Localize\english.cfg...
Merging ..\..\Common\Localize\french.cfg...
'more' is not recognized as an internal or external command,
operable program or batch file.
Merging ..\..\Common\Localize\german.cfg...
Merging ..\..\Common\Localize\italian.cfg...
'more' is not recognized as an internal or external command,
operable program or batch file.
'more' is not recognized as an internal or external command,
operable program or batch file.
'more' is not recognized as an internal or external command,
operable program or batch file.
Merging ..\..\Common\Localize\japanese.cfg...
Merging ..\..\Common\Localize\spanish.cfg...
'more' is not recognized as an internal or external command,
operable program or batch file.
Merging ..\..\Common\Localize\uk_english.cfg...
'more' is not recognized as an internal or external command,
operable program or batch file.
'more' is not recognized as an internal or external command,
operable program or batch file.

Munging Comments.cfg
Munging English.cfg
Munging French.cfg
Munging german.cfg
Munging Italian.cfg
Munging japanese.cfg
Munging spanish.cfg
Munging uk_english.cfg

C:\BF2_ModTools\data_ABC\_BUILD\Common>levelpack -inputfile core.req -writefiles MUNGED\PC\core.files -checkdate -continue -platform PC -sourcedir ..\..\Common -inputdir MUNGED\PC -outputdir ..\..\_LVL_PC 2>>"C:\BF2_ModTools\data_ABC\_BUILD\PC_MungeLog.txt"
Munging core.req

C:\BF2_ModTools\data_ABC\_BUILD\Common>levelpack -inputfile common.req -writefiles MUNGED\PC\common.files -common MUNGED\PC\core.files -checkdate -continue -platform PC -sourcedir ..\..\Common -inputdir MUNGED\PC -outputdir ..\..\_LVL_PC 2>>"C:\BF2_ModTools\data_ABC\_BUILD\PC_MungeLog.txt"
Munging common.req

C:\BF2_ModTools\data_ABC\_BUILD\Common>levelpack -inputfile ingame.req -writefiles MUNGED\PC\ingame.files -common MUNGED\PC\core.files MUNGED\PC\common.files -checkdate -continue -platform PC -sourcedir ..\..\Common -inputdir MUNGED\PC -outputdir ..\..\_LVL_PC 2>>"C:\BF2_ModTools\data_ABC\_BUILD\PC_MungeLog.txt"
Munging ingame.req

C:\BF2_ModTools\data_ABC\_BUILD\Common>levelpack -inputfile inshell.req -writefiles MUNGED\PC\inshell.files -common MUNGED\PC\core.files MUNGED\PC\common.files -checkdate -continue -platform PC -sourcedir ..\..\Common -inputdir MUNGED\PC -outputdir ..\..\_LVL_PC 2>>"C:\BF2_ModTools\data_ABC\_BUILD\PC_MungeLog.txt"
Munging inshell.req

C:\BF2_ModTools\data_ABC\_BUILD\Common>levelpack -inputfile MISSION\*.req -common MUNGED\PC\core.files MUNGED\PC\common.files MUNGED\PC\ingame.files -checkdate -continue -platform PC -sourcedir ..\..\Common -inputdir MUNGED\PC -outputdir MUNGED\PC 2>>"C:\BF2_ModTools\data_ABC\_BUILD\PC_MungeLog.txt"
[/code]
WHat do you make of this?
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11079
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: Core.lvl is ONE KB! Need help!

Post by Teancum »

Do a manual clean and then munge again. I've seen that error before and I'm not sure what it means, but manual cleans always fix it for me.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Core.lvl is ONE KB! Need help!

Post by [RDH]Zerted »

Assuming the manual clean doesn't work, do a search on your entire computer for a file named xcopy. I'm guessing your PATH environment variable some how got messed up. I'm not on a Windows machine right now, so I can't tell you where its supposed to be. If that is the problem, it is solvable.
Omega_007
Private
Posts: 32
Joined: Tue Dec 04, 2007 6:55 am

Re: Core.lvl is ONE KB! Need help!

Post by Omega_007 »

Sorry for the bump cause I've been busy, I found 4 xcopy programs, one's in C:\Windows\system32, they're all in the Windows folder anyway.

Any ideas anyone?
Post Reply