Mount & Blade II: Bannerlord

Mount & Blade II: Bannerlord

57 ratings
ButterLib Early Access
   
Award
Favorite
Favorited
Unfavorite
Type: Utility
Game Mode: Singleplayer
Compatible Version: e1.8.1, e1.9.0
File Size
Posted
2.407 MB
Oct 27, 2022 @ 5:40am
1 Change Note ( view )

Subscribe to download
ButterLib Early Access

In 1 collection by Pinkie Arg
BUTR Stack Early Access
4 items
Description
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.

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!


Troubleshooting
Unblocking DLL's
You may need to right click on every Bannerlord.ButterLib.*\bin\Win64_Shipping_Client\*.dll files, click Properties, and click Unblock if you extracted the zip file with Windows Explorer or other programs that try to secure extracted files.
Harmony installation issues:
Check Harmony's Troubleshooting for more info on how to fix it.
7 Comments
Banana23 Mar 11, 2023 @ 1:44am 
hi, i tried to play the '' diplomacy mod'' i installed with all the mods that he asked for like harmony and butterlib and all of that. But!! it say that MBOptionScreen depends on buterlib V 1 6 2. And i have V 1 6 3. Where do i find v 1 6 2?
devonkerramsay Feb 22, 2023 @ 10:02am 
im really not good with computers i don't understand all these numbers do you guys have a YouTube channel that explains any of this because my game keeps crashing because i don't fully understand how to get the mods to work that i want to use and i don't understand all the different versions
Pinkie Arg  [author] Oct 31, 2022 @ 2:06pm 
If you use e1.7.x, e1.8x. or e1.9.x versions of the game, you use the Early Access mods. If you use v1.0.0 (basically without a beta branch), you use the standard mods
Lord Raso Oct 31, 2022 @ 8:07am 
I'm a little confused. Is this mod for if your install has been around since before Early Access or is this mod a legacy mod for if you never updated your game post official release?
Chase Mate Oct 27, 2022 @ 3:16pm 
ahhh ok got it, sorry pea brain over here xD
Pinkie Arg  [author] Oct 27, 2022 @ 3:09pm 
ButterLib's Release version doesn't support older EA versions, so we created this mod so users that use Early Access can still play without issues from our side!
Chase Mate Oct 27, 2022 @ 3:04pm 
So i have to sub to this one and unsub from the last one if I'm on 1.8 or 1.9?? whats the point of the other one than?