Page 2 of 2

Re: Battlefront II crashes with new core.lvl

Posted: Tue Dec 15, 2015 2:51 pm
by Anakin
shell_interface: Found custom_gc_0.lvl
game_interface: Found user_script_0.lvl
user_script_10: Found user_script_11.lvl

ff_rebuildFakeConsoleList(): Adding in modder's custom commands...
ff_rebuildFakeConsoleList(): Finished adding in modder's custom commands.
fakeconsole_functions: AddCommand: Not adding command: Unlock Vehicles
fakeconsole_functions: AddCommand: Not adding command: Force No Views
fakeconsole_functions: AddCommand: Not adding command: Allow CP Capture
fakeconsole_functions: AddCommand: Not adding command: Not Immune To Mines
fakeconsole_functions: AddCommand: Not adding command: Disable Tumble Recovery
fakeconsole_functions: AddCommand: Not adding command: Allow AI Spawn 1
fakeconsole_functions: AddCommand: Not adding command: Allow AI Spawn 2
fakeconsole_functions: AddCommand: Not adding command: Team Auto-assign On
fakeconsole_functions: AddCommand: Not adding command: Heros SP Rules Off
fakeconsole_functions: AddCommand: Not adding command: Heros SP Scripted Off
fakeconsole_functions: AddCommand: Not adding command: Menu Sounds On
fakeconsole_functions: AddCommand: Not adding command: No Flee Just Die
fakeconsole_functions: AddCommand: Not adding command: Restore Award Effects
fakeconsole_functions: AddCommand: Not adding command: Allow Victory
fakeconsole_functions: AddCommand: Not adding command: AI AutoBalance Off
fakeconsole_functions: AddCommand: Not adding command: AI BlindJetJumps Off
fakeconsole_functions: AddCommand: Not adding command: Hide Team Points
fakeconsole_functions: AddCommand: Not adding command: Remove JetPacks
are you sure you removed all mods completely??

Mods do not only install in addon folder. The more important things are the scripts that are loaded always no matter whether you load the map/mod it came with or not

Re: Battlefront II crashes with new core.lvl

Posted: Wed Dec 16, 2015 7:47 am
by TheMastermindOfMaom
I have removed customgc scripts,user_scripts,the Skin Changer and changed core...still crashes.

Re: Battlefront II crashes with new core.lvl

Posted: Sat Dec 19, 2015 2:56 am
by [RDH]Zerted
The point of removing everything is so you can single out what individual change breaks something and make sure things don't conflicting with other. The debug log shows that you haven't removed all the mods, excluding v1.3. I suggest you reinstall SWBF2 (clear out the virtual folder contents too) and use a blank profile on v1.0 of the game (play a map to make sure it doesn't crash). Remake a core.lvl from a new mod map to make sure there aren't any accidental changes in your current mod. Follow the tutorials to remake the core.lvl step by step. Don't change anything in the core, not even some text, just get it working first. Make sure that your mod map isn't copied to the addon folder after you munge. If a map has a shell core.lvl it will crash. Test the core on two different, non-space maps.

If it doesn't work post your debug log, size of the modified core.lvl, core.req, size of the retail core.lvl, a description of when it crashed, and what language you have the game in. If you want to list every step you took to make and deploy your core.lvl that would be great too.

Re: Battlefront II crashes with new core.lvl

Posted: Sat Dec 19, 2015 6:18 am
by TheMastermindOfMaom
After Anakin told me I didn't remove all mods,I removed all scripts and the 1.3 patch. Still crashes.

I tried the re-install,delete the virtual folder thing and still crashes.

Game does not crash with the stock core.lvl. Modded one crashes even if not changed.

I followed Ace's tutorial.

Changed core.req
Got his sounds,copied the ones from Assets and put them where the tutorial told me.
Munged with Common ticked.
Changed a name in editlocalize.
Munged with both common/localize ticked.
Changed the core.lvl on my bf2 folder.
Crashes when opening a map.

Re: Battlefront II crashes with new core.lvl

Posted: Sat Dec 19, 2015 7:46 am
by [RDH]Zerted
Could you post a new debug log? I want to make sure something isn't there.

Re: Battlefront II crashes with new core.lvl

Posted: Sat Dec 19, 2015 8:02 am
by Anakin
Does it crash if you do not change anything, just rebuild the stock core?

Re: Battlefront II crashes with new core.lvl

Posted: Fri Dec 25, 2015 10:44 am
by TheMastermindOfMaom
Removed everything,all mods and custom scripts. Here is the log.
Changed Snowspeeder to Snowspeedor. Tried to play Hoth.

Log: http://pastebin.com/kMiFitx3

Re: Battlefront II crashes with new core.lvl

Posted: Fri Dec 25, 2015 1:22 pm
by AceMastermind
Image

Either your tools are broken or your method needs refining.

Re: Battlefront II crashes with new core.lvl

Posted: Fri Dec 25, 2015 1:57 pm
by TheMastermindOfMaom
Didn't the log say anything? I saw severity 3 problems in there.

Munge works and I can make maps with ZeroEditor. So no way they are broken.

I followed your tutorial.

Re: Battlefront II crashes with new core.lvl

Posted: Fri Dec 25, 2015 2:25 pm
by [RDH]Zerted
So we're getting closer to the problem. The maps aren't trying to load any moddb moves any more which is good, but you defiantly shouldn't be getting severity 3 problems, especially from ifs_login_EnterInterface*. Your install is screwed up. I recommend purging SWBF2 and reinstalling. Make sure there aren't any files hiding in Windows' virtual store version of SWBF2, even an uninstall won't get rid of those. If you don't know how to access that, ask or search online.

Also, could you list the sizes of the primary .lvl files? (ingame.lvl, common.lvl, shell.lvl, core.lvl, etc...)

*
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaHelper.cpp(312)
CallProc failed: (none):0: attempt to compare two nil values
stack traceback:
(none): in function `ifs_login_EnterInterface'
(none): in function <(none):598>

Re: Battlefront II crashes with new core.lvl

Posted: Fri Dec 25, 2015 2:38 pm
by AceMastermind
TheMastermindOfMaom wrote:I followed your tutorial.
There really is no tutorial because it is just a single step, all you have to do is overwrite the default core.req with the complete one, then you just make your edits and munge. It'll work even without the sound stuff, you just won't have menu sounds.

Re: Battlefront II crashes with new core.lvl

Posted: Fri Dec 25, 2015 10:45 pm
by AnthonyBF2
Another thing that helps me get rid of deep issues is taking out specific assets from my mod folder, then rebuild a mod folder with the same name/ID and toss the assets back in.

In your case, you'll want to save data_mod\common\localize folder and all it's contents then trash the rest and restart.

Re: Battlefront II crashes with new core.lvl

Posted: Sat Dec 26, 2015 9:44 pm
by TheMastermindOfMaom
Re-installed BF2 and have no mods on it,only the 1.3 patch.

Changed the core.lvl (no localization edited)

Log: http://pastebin.com/7H8kpSKF