Mount & Blade II: Bannerlord

File information

Last updated

Original upload

Created by

BUTR Team

Uploaded by

Aragas

Virus scan

Safe to use

Mod articles

  • Reporting a Game Crash

    Generally, there are three cases of game crashes:


    Launcher Crash:

    If the standard Launcher is used, report to the game devs directly.
    If BLSE is used, check for BLSE_lasterror.log in the folder where BLSE is installed. Report it in BLSE's mod page.

    Game Standard Crash (The application faced a problem): follow these instructions

    ButterLib's Crash Report: follow these instructions.
    If you know what mod is responsible for the crash, report it in the Bugs section if it's available.
    If you don't know the mod that is responsible for the crash, check out the Involved Modules section in the crash report!

    ...

  • Using ButterLib's Crash Report For Reporting

    1. Click on Upload Report as a Permalink
    2. The URL is copied to your clipboard. You can Paste it on NexusMods and report the crash!

    ...

  • Using ButterLib's Crash Dump For Debugging

    Introduction
    Both the Vanilla Game and ButterLib provide dump (.dmp) files that modders can use to open in Visual Studio and see both the stacktrace, threads and stack variables to get more info about a crash.

    How to Get a Dump
    The game creates a dump file at C:\ProgramData\Mount and Blade II Bannerlord\crashes after agreeing with the game prompt to send to the developers the crash report. The dump is fairly big, because it has a lot of flags by default:MiniDumpWithDataSegs | MiniDumpWithHandleData | MiniDumpScanMemory | MiniDumpWithUnloadedModules | MiniDumpWithIndirectlyReferencedMemory | MiniDumpWithProcessThreadData | MiniDumpWithFullMemoryInfo | MiniDumpWithThreadInfo | MiniDumpWithFullAuxiliaryState | MiniDumpIgnoreInaccessibleMemory | MiniDumpWi...

  • Using TaleWorld's Crash Dump For Reporting

    Introduction
    TaleWorlds have their own Crash Reporing mechanism that we modders can use! It provides less info for us, but it's better than nothing.
    If ButterLib or Better Exception Window doesn't generate their Crash Reports, we recommend sending the TW dump files.

    How to Get a Dump
    The game creates a dump file at C:\ProgramData\Mount and Blade II Bannerlord\crashes after agreeing with the game prompt to send to the developers the crash report.


    After an UI with the file list will be shown, you don't need to interact with the interface.
    Go to `C:\ProgramData\Mount and Blade II Bannerlord\crashes`. There will be a folder with a name similar to `2022-11-02_08.55.12`. Open it and find a file called `dump.dmp`.

  • Advanced Stacktrace Analytics of Crash Reports

    Introduction
    ButterLib v2.2.4 added a new entry in its Crash Report section called Enhanced Stacktrace.
    It provides more info about the stacktrace of the exception -every frame (method call) provides more info:

    If the method is changed by Harmony, it shows the original method and any prefix, postfix, transpiler or finalizer that is added, included with the Module that introduces the patch;
    An IL Offset is added;

    IL Offsets
    You should be able to know now the line that caused the exception, even if no debug symbols were present at the time of the crash.
    This will be the most helpful when debugging vanilla game code.
    Here's how to use it:

    Download dnSpy or any other software that can show the IL code of a method;

  • Unpacking .7z files

    The first step to opening a non-zip mod is installing software on your computer that can open it. On Windows, you can use a program such as 7-Zip, which is free and open source, meaning you can check the code yourself and modify it before installing it.

    How to Install 7Zip
    After the 7Zip download and launching, you will be amazed by how easy and simple to navigate through its user interface. In downloading 7Zip for Mac or Linux, just follow the steps discussed.

    Go to 7Zip’s home page and choose the version you wish to download. 
    As of this writing, these are the versions available.
    Choose the version you want and click on the “Download” button.
    A new window appears which asks you what directory you like to install the program. Choose ...