Mount & Blade II: Bannerlord

File information

Last updated

Original upload

Created by

admiralnelson

Uploaded by

berthold32dll

Virus scan

Safe to use

About this mod

This mods will report a detailed error.
New feature: Emergency save, XML linter, auto mod disabler, and mods inspector.

Requirements
Permissions and credits
This mods will report a detailed error.
Instead of infinite loading/freezing or any weird behaviour, the game should throws an error window so you can identify the cause. You can also save the error logs as well.

Make sure to unblock the all of DLLs before playing (Newtonsoft.Json.dll and BetterExecptionWindow.dll)


Source code: https://github.com/admiralnelson/bannerlord-error-detector

[IMPORTANT]
There is problem with Harmony. A new update is planned, for workaround please see the sticky post. 
Thank you.

Your load order should be like this. A Harmony library must be installed for Bannerlord version 1.5.9 and up to maintain compatibility with new mods. Harmony must be placed first, then BEW, and so on....



THIS DEBUGGER/REPORTER CANNOT CATCH EXCEPTION, ENGINE CORRUPTION, and NATIVE CODE (C/C++) RELATED ERRORS. BEW ONLY CATCHES EXCEPTION IN .NET VM.

Harmony is now MANDATORY, install it here: Harmony

Q: Why is this mod never gets updated?
A: Because the core engine/library remain the same. If this mod breaks, I'm sure other mods break too, because that means core engine functionality has been changed.

Please download the latest version in Files section, or compile it yourself in github repository.

Woah, it's been a while I played this game. I wish it was finished already....
I have implemented quite lots of features in this update for the past couple weeks, I'm quite busy IRL lol.
Anyway, here's the latest update for Bannerlord version e1.5+. Enjoy.

Emergency save only works if the game crashed:
- not related to party/item error or corruption (this may lead to save corruption or broken save)
- must be in the campaign (not in the battle)



For butterlib user:
To restore BEW functionality go to Modules/BetterExceptionWindow  and rename config.json.bl.bak to config.json
It's compatible with latest Butterlib ;)

Latest (v2.3):
- removed internal Harmony library.

v2.2:
- the module inspector should only shows loaded DLL in Submodule section
- improved error parsing for detecting faulty module
- restored ctrl+c and ctrl+v in iexplorer window
- restored html export instead PDF or print

v2.1:
- added bugcheck for main program loop, so this should catch any related .Net runtime error in the game
- UI bugfixes
- prevented mod disabler to disable any Native modules

v2.0:
- Implemented more loop checks for Bannerlord version e1.5+
- Implemented Emergency saves (only works in campaigns)
- Implemented XML linter to checks for XML errors and typos
- Implemented auto mods disablers in a single click
- Implemented mods inspector (see their dependencies, which mods were the cause of the crash)

v1.4:
- shows loaded game dlls (mods dlls, taleworlds dlls, except system dlls such as mscorlibs)

v1.3.1:
- Removed a taleworlds view dll from the project

v1.3:
- Compliance with Community Patch module.   
- Source code refactor.  
- Catch inner exception.   
- Triggers on ScreenManager, Mission, MissionView, and Module loop