String loading has now been added to the game by default! Click here for an example of how to use it.
The original readme is left below.
📜 Simple mod resource for loading custom wanderer_strings.xml
files in Mount & Blade: Bannerlord.
Go to the Releases tab to download the compiled .dll file.
All source code can be found in SubModule.cs
.
To use it in your mod, drop WandererStringsLoader.dll
into
YourModuleDirectory\bin\Win64_Shipping_Client
. It will then automatically load any
wanderer_strings*.xml
files in the loaded modules.
You also need to add it to the SubModule.xml
file in your module, like this:
<SubModules>
<SubModule>
<Name value="WandererStringsLoader"/>
<DLLName value="WandererStringsLoader.dll"/>
<SubModuleClassType value="WandererStringsLoader.Main"/>
<Tags>
<Tag key="DedicatedServerType" value="none" />
<Tag key="IsNoRenderModeElement" value="false" />
</Tags>
</SubModule>
</SubModules>