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: Debugger, Emergency save, XML linter, auto mod disabler, 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, BetterExecptionWindow.dll, DotNetZip.dll, BetterExceptionWindowConfigUI.dll)


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

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.

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)




It's compatible with latest Butterlib ;)

v4.2:
-ONLY COMPATIBLE WITH 1.8.0 only! (otherwise you will get hard crash)

- fixed patching issues
- fixed emergency save game function for 1.8.0
- implemented dedicated console window for console.writeline output and game debug output

e4.1:
-backport from v4.1 to maintain compatibility with 1.7.1 (DO NOT INSTALL except this game version)

v4.1.1:
-ONLY COMPATIBLE WITH 1.7.2+ (otherwise you will get hard crash)

-minor patch for butterlib detection

v4.1:
-ONLY COMPATIBLE WITH 1.7.2+(otherwise you will get hard crash)

-option to disable Butterlib exception
-bugfix in MCM dependency detection <- was causing crash

v4.0  Major update:
-ONLY COMPATIBLE WITH 1.7.2+  (otherwise you will get hard crash)

- Screen.Tick was moved to ScreenManager.Tick <- this was crashing the game before
- MCM UI support (optional)

v3.3.1:
-ONLY COMPATIBLE WITH 1.7.0+ (otherwise you will get hard crash)
-UI bugfixes, in version 3.3.0, user can't open "Harmony Patches","Installed mods", and "Loaded DLLs" section in exported HTML report
-fixed a typo : attched -> attached

v3.3 Major update:
- ONLY COMPATIBLE WITH 1.7.0+ (otherwise you will get hard crash upon start)
- UNBLOCK DotNetZip.dll in Win64_Shipping_Client
- implemented integrated dnspy debugger tool
- small UI revamp
- emergency save bugfix because underlying API changes, it's now working as usual

v3.1 Major update:
- ONLY COMPATIBLE WITH 1.6.5 onward!
- implemented harmony debugger
- implemented game engine log display
- bugfix in emergency save system
- replace old APIs with new ones

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