Page 2 of 2

Re: Fatal cannot open mission.lvl

Posted: Mon Dec 05, 2011 3:05 pm
by FragMe!
If you go into the addon folder and then the VCM folder for your map are there files there in particular the VCM.lvl file if so what is the file size?

Also how many maps do you have in your addon folder?

Re: Fatal cannot open mission.lvl

Posted: Mon Dec 05, 2011 8:39 pm
by Tears2Roses
Javen wrote:THIS?:
Hidden/Spoiler:
Opened logfile BFront2.log 2011-12-04 2213
shell_interface: Entered
shell_interface: Reading in custom strings
ifs_era_handler - Entered
ifs_era_handler - Exited
custom_GetSPMissionList()
custom_GetMPMissionList()
custom_EraButtonList(): Building era button table
custom_EraButtonList(): Finished building era button table Known eras buttons: 28
custom_GetGMapEras(): Building era table
custom_GetGMapEras(): Finished building era table Known eras: 28
custom_GetGMapModes(): Building game mode table
custom_GetGMapModes(): Finished building game mode table Known Modes: 38
custom_GetMPGameModeList(): Building game mode list table
custom_GetMPGameModeList(): Finished building game mode list table List Length: 39
custom_SetMovieLocation()
custom_AddEraBoxes()
custom_SetMovieLocation()
custom_AddEraBoxes()
ingame stream movies\crawl.mvs
shell_interface: Opening movie: movies\shell.mvs
shell_interface: Leaving
Found side\rvs.lvl. Adding BRO's extra KotOR missions
Cannot find ..\..\addon\BDT\data\_LVL_PC\SIDE\dark.lvl. Skipping BRO's extra Dark Times missions
prev = none iLastPage = nil
prev = texture iLastPage = 1
prev = texture iLastPage = 2
prev = texture iLastPage = 3
ifs_legal.Exit

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\GameMovie.cpp(399)
Unable to find open movie segment shell_main

ifs_saveop_DoOps LoadFileList
ifs_saveop_DoOps LoadFileList
ifs_saveop_DoOps LoadProfile
ifs_saveop_DoOps LoadProfile
ifs_missionselect_pcMulti_fnSetMapPreview(): Defaulting index to 1
Checkbox for check_era7 clicked
this.CurButton = check_era7
cur_button = nil
this.CurButton = nil
cur_button = nil
this.CurButton = check_mode1
cur_button = nil
custom_AddMapNew()
custom_printTable(): table: 05456EA4
The key, value is: era_c 1
The key, value is: era_g 1
The key, value is: mode_con_c 1
The key is mapluafile, the formated value is: VCM<A>_<B>
The key, value is: mode_con_g 1
The key, value is: bSelected 1
The key, value is: isModLevel 1
custom_printTable(): Returning
custom_printTable(): table: 050966CC
The key, value is: key mode_con
The key, value is: subst con
The key, value is: showstr modename.name.con
The key, value is: descstr modename.description.con
The key, value is: icon mode_icon_con
custom_printTable(): Returning
gMapEras.key = era_g Era = era_g subst = g
Adding map: VCMg_con idx: 1
Adding map: VCMg_con idx: 2
this.CurButton = _map_add
cur_button = nil
this.CurButton = Launch
cur_button = nil

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


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaHelper.cpp(112)
OpenScript(VCMg_con): script (b2e38d0d) not found

Message Severity: 5
C:\Battlefront2\main\Battlefront2\Source\GameState.cpp(1283)
Could not open MISSION\VCMg_con.lvl


Yes, that. Did you touch anything other than visual munge when making your map? On a first munge unless visual munge is messed up it should work. In that case the vista munge fix is what you need and what WILL work.

Re: Fatal cannot open mission.lvl

Posted: Mon Dec 05, 2011 8:48 pm
by Javen
Tears2Roses wrote:
Javen wrote:THIS?:
Hidden/Spoiler:
Opened logfile BFront2.log 2011-12-04 2213
shell_interface: Entered
shell_interface: Reading in custom strings
ifs_era_handler - Entered
ifs_era_handler - Exited
custom_GetSPMissionList()
custom_GetMPMissionList()
custom_EraButtonList(): Building era button table
custom_EraButtonList(): Finished building era button table Known eras buttons: 28
custom_GetGMapEras(): Building era table
custom_GetGMapEras(): Finished building era table Known eras: 28
custom_GetGMapModes(): Building game mode table
custom_GetGMapModes(): Finished building game mode table Known Modes: 38
custom_GetMPGameModeList(): Building game mode list table
custom_GetMPGameModeList(): Finished building game mode list table List Length: 39
custom_SetMovieLocation()
custom_AddEraBoxes()
custom_SetMovieLocation()
custom_AddEraBoxes()
ingame stream movies\crawl.mvs
shell_interface: Opening movie: movies\shell.mvs
shell_interface: Leaving
Found side\rvs.lvl. Adding BRO's extra KotOR missions
Cannot find ..\..\addon\BDT\data\_LVL_PC\SIDE\dark.lvl. Skipping BRO's extra Dark Times missions
prev = none iLastPage = nil
prev = texture iLastPage = 1
prev = texture iLastPage = 2
prev = texture iLastPage = 3
ifs_legal.Exit

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\GameMovie.cpp(399)
Unable to find open movie segment shell_main

ifs_saveop_DoOps LoadFileList
ifs_saveop_DoOps LoadFileList
ifs_saveop_DoOps LoadProfile
ifs_saveop_DoOps LoadProfile
ifs_missionselect_pcMulti_fnSetMapPreview(): Defaulting index to 1
Checkbox for check_era7 clicked
this.CurButton = check_era7
cur_button = nil
this.CurButton = nil
cur_button = nil
this.CurButton = check_mode1
cur_button = nil
custom_AddMapNew()
custom_printTable(): table: 05456EA4
The key, value is: era_c 1
The key, value is: era_g 1
The key, value is: mode_con_c 1
The key is mapluafile, the formated value is: VCM<A>_<B>
The key, value is: mode_con_g 1
The key, value is: bSelected 1
The key, value is: isModLevel 1
custom_printTable(): Returning
custom_printTable(): table: 050966CC
The key, value is: key mode_con
The key, value is: subst con
The key, value is: showstr modename.name.con
The key, value is: descstr modename.description.con
The key, value is: icon mode_icon_con
custom_printTable(): Returning
gMapEras.key = era_g Era = era_g subst = g
Adding map: VCMg_con idx: 1
Adding map: VCMg_con idx: 2
this.CurButton = _map_add
cur_button = nil
this.CurButton = Launch
cur_button = nil

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


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaHelper.cpp(112)
OpenScript(VCMg_con): script (b2e38d0d) not found

Message Severity: 5
C:\Battlefront2\main\Battlefront2\Source\GameState.cpp(1283)
Could not open MISSION\VCMg_con.lvl


Yes, that. Did you touch anything other than visual munge when making your map? On a first munge unless visual munge is messed up it should work. In that case the vista munge fix is what you need and what WILL work.



I used the munge fix, didnt work

Re: Fatal cannot open mission.lvl

Posted: Mon Dec 05, 2011 9:39 pm
by AceMastermind
Javen wrote:...
...it munges pretty quick
...
What text is displayed in the VisualMunge window after munging the project map? Do you use Vista or Windows 7?
This usually means you need to run the vistamungefix. This fix does nothing for an existing data_ABC project, only new ones created after. If you already ran the fix correctly create a new map then munge it and test ingame to see if it works before you start editing anything.

Re: Fatal cannot open mission.lvl

Posted: Mon Dec 05, 2011 10:28 pm
by Javen
Im using vista, i tried a brand new map and got the samew problem. could it be that my mod tools are on disc F and SWBF2 is on disc C? This text?:
Hidden/Spoiler:
Munging spa9g_Diet Dr. Pepper.req
Munging tan1c_1flag.req
Munging tan1c_con.req
Munging tan1c_ctf.req
Munging tan1g_1flag.req
Munging tan1g_c.req
Munging tan1g_con.req
Munging tan1g_ctf.req
Munging tat1c_con.req
Munging tat1g_c.req
Munging tat1g_con.req
Munging tat2c_1flag.req
Munging tat2c_con.req
Munging tat2c_ctf.req
Munging tat2c_hunt.req
Munging tat2g_1flag.req
Munging tat2g_Diet Dr. Pepper.req
Munging tat2g_con.req
Munging tat2g_ctf.req
Munging tat2g_eli.req
Munging tat2g_hunt.req
Munging tat3c_1flag.req
Munging tat3c_con.req
Munging tat3c_ctf.req
Munging tat3g_1flag.req
Munging tat3g_con.req
Munging tat3g_ctf.req
Munging tat3g_hunt.req
Munging test1a.req
Munging Test1c.req
Munging Test1g.req
Munging test1r.req
Munging uta1c_1flag.req
Munging uta1c_c.req
Munging uta1c_con.req
Munging uta1c_ctf.req
Munging uta1g_1flag.req
Munging uta1g_con.req
Munging uta1g_ctf.req
Munging VMCc_con.req
Munging VMCg_con.req
Munging yav1c_1flag.req
Munging yav1c_con.req
Munging yav1g_1flag.req
Munging yav1g_c.req
Munging yav1g_con.req
Munging yav2c_1flag.req
Munging yav2c_con.req
Munging yav2c_ctf.req
Munging yav2g_1flag.req
Munging yav2g_con.req
Munging yav2g_ctf.req
Munging yav2g_eli.req
1 file(s) moved.

F:\BF2_ModTools\data_VMC\_BUILD\Common>levelpack -inputfile MISSION.req -checkdate -continue -platform PC -sourcedir ..\..\Common -inputdir MUNGED\PC -outputdir ..\..\_LVL_PC 2>>"F:\BF2_ModTools\data_VMC\_BUILD\PC_MungeLog.txt"
Munging mission.req
1 file(s) moved.
Munging comgntrt.req
Munging comgunnr.req
Munging comhview.req
Munging comunive.req
Munging comviewf.req
1 file(s) moved.
Worlds\munge PC
munge_world Common PC
Done
Done
Done
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
munge_world VMC PC
Done
sky_yav2 has 169 vertices and no collision geometry - using normal geometry
Munging sky_yav2.tga
Munging sky_yav2_trees.tga
Munging VMC.tga
Munging VMC_main_1.tga
Munging yav2.tga
Munging yav2_main_1.tga
Munging yav2_main_2.tga
Munging yav2_main_3.tga
Munging yav2_main_4.tga
Munging yav2_map.tga
Munging yav_detail.tga
Munging VMC.TER
Munging VMC_conquest.lyr
Munging VMC_conquest.lyr
Munging VMC_conquest.RGN
Munging VMC_conquest.BAR
File ..\..\..\worlds\vmc\world1\VMC_conquest.BAR not found; skipping
Munging VMC_conquest.HNT
File ..\..\..\worlds\vmc\world1\VMC_conquest.HNT not found; skipping
Finished Munging files, writing output
Done
Munging VMC.wld
Munging VMC.wld
Munging VMC.RGN
Munging VMC.BAR
Munging VMC.HNT
File ..\..\..\worlds\vmc\world1\VMC.HNT not found; skipping
Finished Munging files, writing output
Done
Munging VMC.PTH
Munging VMC_conquest.PTH
1 file(s) moved.
1 file(s) moved.
Munging VMC.sky
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
Munging VMC.BND
1 file(s) moved.
1 file(s) moved.
Munging VMC.LGT
1 file(s) moved.
1 file(s) moved.
Munging VMC.req
Munging VMC_conquest.mrq
0 file(s) moved.
The system cannot find the path specified.
Munging VMC.req
0 file(s) moved.
The system cannot find the path specified.
1 file(s) moved.
1 file(s) moved.
Munging addme.lua...done.
Copying files to Battlefront II directory:
"C:\Program Files\LucasArts\Star Wars Battlefront II\GameData"
Addon dir exists, continuing...
Creating mod dir "VMC" dir in addon dir...done.
Copying addme.script to mod dir...done
Copying "mission.lvl" to modDir\data\_LVL_PC\...done
Copying "core.lvl" to modDir\data\_LVL_PC\...done
Copying "VMC" to modDir\data\_LVL_PC\...done
Copying "SIDE" to modDir\data\_LVL_PC\...done
Munge process finished

EDIT
SHOULD I JUST COPY OUT MY WORLD DATA AND REINSTALL? or can i give the file to any one that could see whats wrong? its not finished but i want to test some things before i move on.

Re: Fatal cannot open mission.lvl

Posted: Tue Dec 06, 2011 12:06 am
by AceMastermind
That's not a normal first time Munge Output, there is definitely something wrong there. Check that you ran the vistamungefix from the correct location to be sure the files were copied to the right places. As far as having the modtools on a different drive than the game, I don't think it really matters but I wouldn't know for sure since I have everything in the default locations. Where did you download the BF2_modtools from? There have been cases in the past of corrupt installers.

Re: Fatal cannot open mission.lvl

Posted: Tue Dec 06, 2011 12:12 am
by Marth8880
AceMastermind wrote:As far as having the modtools on a different drive than the game, I don't think it really matters but I wouldn't know for sure since I have everything in the default locations.
I have the mod tools installed on my M:\ drive, whereas Windows and the game are installed on my F:\ drive. (I know, odd drive letters. :S)

Re: Fatal cannot open mission.lvl

Posted: Tue Dec 06, 2011 10:50 am
by Javen
AceMastermind wrote:That's not a normal first time Munge Output, there is definitely something wrong there. Check that you ran the vistamungefix from the correct location to be sure the files were copied to the right places. As far as having the modtools on a different drive than the game, I don't think it really matters but I wouldn't know for sure since I have everything in the default locations. Where did you download the BF2_modtools from? There have been cases in the past of corrupt installers.
ohh sorry thats not the first munge out put, thats the second. Ill do a first one and post it. :

Copying "data" folder to "data_DT1" - this may, and indeed *will*, take a while...done.
Creating new world for "DT1"...
Creating munged data folder...done.
Creating world data folders...done.
Copying template \Effects folder...done.
Copying template \MSH folder...done.
Copying template \ODF folder...done.
Copying template world files to new world folder...done.
Copying template files for conquest mode...done.
Rewriting LDX file...done.
Rewriting world REQ file...done.
Copying game-mode LUAs and LUA-REQs...done.
Adjusting mission.req to suit the needs of your discerning personality...all set.
Adjusting addme.lua in the same way, only moreso...all set, only moreso.
Adding world name and description to english.cfg...done.
Adding world name and description to french.cfg...done.
Adding world name and description to german.cfg...done.
Adding world name and description to italian.cfg...done.
Adding world name and description to spanish.cfg...done.
Adding world name and description to japanese.cfg...done.
Adding world name and description to uk_english.cfg...done.
World creation completed to complete completion.


and I think I got it from filefront.........but IDK it was like a year ago, every few months I try to make a map, fail and give up

Re: Fatal cannot open mission.lvl

Posted: Tue Dec 06, 2011 6:40 pm
by AceMastermind
No, the first one you posted was the one I wanted to see(the first project munge where the files get copied to your addon folder). Assuming you did everything else correct and nothing is corrupt, if you use antivirus software then try disabling it while you munge and see if it makes a difference.

Re: Fatal cannot open mission.lvl

Posted: Tue Dec 06, 2011 11:50 pm
by Javen
AceMastermind wrote:No, the first one you posted was the one I wanted to see(the first project munge where the files get copied to your addon folder). Assuming you did everything else correct and nothing is corrupt, if you use antivirus software then try disabling it while you munge and see if it makes a difference.
REINSTALLED AND IT WORKED!! .... now it just crashes every time I play it

Re: Fatal cannot open mission.lvl

Posted: Tue Dec 06, 2011 11:57 pm
by Marth8880
Copy over the debugger (BF2_modtools.exe) executable (if you haven't already) to the Star Wars Battlefront II\GameData directory and run it and run the crashing map. Then, open up BFront2.log (it's generated whenever you run the debugger) and copy all of its contents and paste it here (preferably in a hide or code tag).

Re: Fatal cannot open mission.lvl

Posted: Wed Dec 07, 2011 12:35 pm
by Javen
http://textbin.com/28g40

Next time, please use textbin.com for your extremely long error logs; there is no reason to triple post, which is against the site rules. -Staff

Re: Fatal cannot open mission.lvl

Posted: Thu Dec 08, 2011 12:09 pm
by DarthD.U.C.K.
it looks like there is an error in the lua:

Code: Select all

Message Severity: 3
C:Battlefront2mainBattlefront2SourceLuaHelper.cpp(312)
CallProc failed: (none):0: attempt to perform arithmetic on a nil value
stack traceback:
(none): in function `AddCommandPost'
(none): in function `ScriptPostLoad'
please post it here in hide-tags.