Mount & Blade II: Bannerlord

Mount & Blade II: Bannerlord

8,514 ratings
ButterLib
4
7
2
3
4
6
4
2
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
37.278 MB
5 Sep, 2022 @ 1:20pm
7 Oct, 2024 @ 1:44am
65 Change Notes ( view )

Subscribe to download
ButterLib

In 1 collection by Pinkie Arg
BUTR Stack
4 items
Description
For the Early Access version please visit this!

Sources available at GitHub[github.com]!

Installation
This module should be one of the highest in loading order and placed above native modules. Ideally, it should be second in load order after Bannerlord.Harmony.

Important information for v1.2.0
ButterLib's and BEW Crash Reporters are broken by TW. We are not able to do something here via ButterLib, so we suggest to download BLSE v1.4.0 or higher from NexusMods to make Crash Reports work again!

For Players
.This mod is a dependency mod that does not provide anything by itself. You need to additionaly install mods that use it.

For Modders
Distributed libraries:
ButterLib 2.1.0 distributes with itself some libraries. Unfortunately, the game has a strict dependency system and if the versions don't match the game will crash. So here's the list of packages:
  • Microsoft.Extensions.DependencyInjection - 2.0.0
  • Microsoft.Extensions.DependencyInjection.Abstractions - 2.0.0
  • Microsoft.Extensions.Logging - 2.0.0
  • Microsoft.Extensions.Logging.Abstractions - 2.0.0
  • Microsoft.Extensions.Options - 2.0.0
  • Microsoft.Extensions.Primitives - 2.0.0
  • System.Reflection.Metadata - 5.0.0
  • System.Collections.Immutable - 5.0.0
  • System.Memory - 4.5.4
  • System.Buffers - 4.5.4
  • System.Runtime.CompilerServices.Unsafe - 4.5.3
  • Serilog - 2.10.0
  • Serilog.Extensions.Logging - 3.1.0
  • Serilog.Sinks.File - 5.0.0
We are unfortunately enforcing everyone to use exactly these versions. Microsoft.Extensions.* are 2.0.0 because Serilog is compiling against 2.0.0 versions of the libraries and the game is enforcing exact version match! Same for System.Reflection.Metadata, System.Runtime.CompilerServices.Unsafe is enforcing it.

Highlighted features:
  • ExceptionHandler - Catches all exceptions in BEW style and gives the ability to save the crash report
  • CrashUploader - Uploads those crash reports to https://butr.dev for creating tiny url's for sharing!
  • CampaignIdentifier[butr.github.io] - Associates unique string ID with every campaign based on the initial character.
  • DistanceMatrix[butr.github.io] - A generic class that pairs given objects of type MBObject and for each
    pair calculates the distance between the objects that formed it.
  • DelayedSubModule[butr.github.io] - Execute code after specific SubModule method.
  • SubModuleWrappers[butr.github.io] - Wraps MBSubModulebase for easier calling of protected internal metods.
Check the /Articles[butr.github.io] section in the documentation to see all available features!

FAQ
CTD After an Update:
Steam is not always updating all mods. We suggest to manually resubscribe to Harmony, UIExtenderEx, ButterLib and MCM if you experience crashes!
Wrong ButterLib Version:
Check that the Modules folder (C:\Program Files (x86)\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules) does not contain a Bannerlord.ButterLib folder!
Popular Discussions View All (8)
33
13 Jun @ 8:33am
butterlib is crashing bannerlord
M1L1T4NTM1ND3D
20
1
20 Sep, 2023 @ 12:32am
update from sept 9 causes crashes
Dr.Licor
10
29 Feb, 2024 @ 8:30am
Nov 5 @ 11:03am Update
Echo
683 Comments
Ksarkin 5 Jul @ 1:31am 
Игровое сообщество STURGIA ищет новых игроков.
Наш основной проект - Bannerlord online. Сотни игроков на глобальной карте, отряды НПС, боссы, клановые войны, рейды и битвы за ресурсы. Одним словом ванильный банерлорд, только в онлайне, все лорды - игроки, а одновременный онлайн достигает 400 человек.
Наш дискорд: {LINK REMOVED}
Why does this not update
megalovania 3 Jun @ 8:48am 
u can search Bannerlord Software Extender or just BLSE to download this
megalovania 3 Jun @ 8:47am 
@EliteGot_Owned ur solution didnt work for me. but i did fix this problem by using BLSE launcher on nexusmod. i recommend everyone encounter crash try this
EliteGot_Owned 12 May @ 11:39am 
WINDOWS\system32> gci -Path 'D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules' -Recurse | Unblock-File
EliteGot_Owned 12 May @ 11:30am 
you all need to unblock ur dll's....

, go to your START > Windows Powershell > gci -Path 'E:\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules' -Recurse | Unblock-File

NOTE: YOUR PATH MAY BE DIFFERENT THAN THE ABOVE!!!! FIND YOUR CORRECT PATH!!!

If it returns to a blank line, it worked
If it returns a block of red text. READ THE TEXT
Normally it will say your path doesn’t exist
If that is the case, go back to your module folder
Right Click on the Address Bar
Copy Address as Text
Paste into PowerShell
EliteGot_Owned 12 May @ 11:30am 
you all need to unblock ur dll's....

, go to your START > Windows Powershell > gci -Path 'E:\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules' -Recurse | Unblock-File

NOTE: YOUR PATH MAY BE DIFFERENT THAN THE ABOVE!!!! FIND YOUR CORRECT PATH!!!

If it returns to a blank line, it worked
If it returns a block of red text. READ THE TEXT
Normally it will say your path doesn’t exist
If that is the case, go back to your module folder
Right Click on the Address Bar
Copy Address as Text
Paste into PowerShell
test 11 May @ 4:42am 
It causes errors for me too
Steven 4 May @ 5:34am 
I haven't had any crashes due to this mod but it would be nice to get this updated so dont get error mis match.
Changa 1 May @ 6:05pm 
I guess we're all going to be waiting a while. Probably won't be an update till War Sails comes out, if the modauthor comes back.