Mount & Blade II: Bannerlord

Mount & Blade II: Bannerlord

10,315 valoraciones
Harmony
46
19
5
12
10
4
7
12
3
11
11
4
7
4
2
2
2
   
Premio
Favoritos
Favorito
Quitar
Tamaño
Publicado el
Actualizado el
5.278 MB
5 SEP 2022 a las 11:48 a. m.
5 MAY 2024 a las 1:19 a. m.
31 notas sobre cambios ( ver )

Suscríbete para descargar
Harmony

En 1 colección creada por Pinkie Arg
BUTR Stack
4 artículos
Descripción
For the Early Access version please visit this!

A library for patching, replacing and decorating .NET and Mono methods during runtime. Intended to ensure that all mods in a player's modlist are using the latest version of Harmony to minimize conflicts. We also added a Debug UI! Available via CTRL+ALT+H.

Notes
This is an unofficial distribution of the Harmony[github.com] library maintained by the community to have an easier way to manage external library dependencies.
The repository of the mod - Bannerlord.Harmony[github.com].

Installation
This module should be the highest in loading order. Any other module that requires to be set at the top (Better Exception Window, ButterLib, MCM, etc.) should be loaded after this mod.

For Players
This mod is intended to ensure that all mods in a player's modlist are using the latest version of Harmony to minimize conflicts.

For Modders
We added a Debug UI! Available via CTRL+ALT+H.

You still need to reference Harmony as a NuGet package, it is not required to include 0Harmony.dll in the final /bin output of your module.
You do need to add this to your SubModule.xml
<DependedModules> <DependedModule Id="Bannerlord.Harmony" /> </DependedModules>
This way the game will ensure that the Harmony library is loaded before your mod.

Versioning
The Module combines the Harmony version used and the Build Id that published the Module. The Build Id is simply added to the end.
2.0.2.22 indicates that Harmony 2.0.2.0 is used and 22 is the Build Id.
2.0.0.1025 indicates that Harmony 2.0.0.10 is used and 25 is the Build Id.

We considered using the Rimworld approach with introducing our own version system, but it won't give a clear way to detect which Harmony version the Module contains. It's easier for the user to report the version of the Module used than to check the assembly version/send it.

Troubleshooting
  • Steam is not always updating all mods. We suggest to manually resubscribe to Harmony if you experience crashes!
  • Check that the Modules folder (C:\Program Files (x86)\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules) does not contain a Bannerlord.Harmony folder!
  • If the game crashes on start, might have used Fixed Launcher. When installed, it copies 0Harmony.dll which prevents Bannerlord.Harmony from working.
  • If Fixed Launcher was uninstalled or never installed, check that the following files are not in the game's main /bin folder (Mount & Blade II Bannerlord\bin\Win64_Shipping_Client)
    • TaleWorlds.MountAndBlade.Launcher.exe.config (if BUTRLoader was installed, reinstall it after)
    • 0Harmony.dll
    • LauncherPatcher.dll
    • LauncherPatcher.pdb

About
Harmony gives you an elegant and high level way to alter the functionality in applications written in C#. It works great in games and is well established in titles like 7 Days To Die, BattleTech, Besiege, Cities:Skylines, Kerbal Space Program, Oxygen Not Included, Ravenfield, Rimworld, Sheltered, Stardew Valley, Staxel, Subnautica, The Ultimate Nerd Game, Total Miner, Unturned and many more.

It is also used in unit testing WFP controls and in many other areas.

How it works
If you develop in C# and your code is loaded as a module/plugin into a host application, you can use Harmony to alter the functionality of all the available assemblies of that application. Where other patch libraries simply allow you to replace the original method, Harmony goes one step further and gives you:
  • A way to keep the original method intact
  • Execute your code before and/or after the original method
  • Modify the original with IL code processors
  • Multiple Harmony patches co-exist and don't conflict with each other
  • Works at runtime and does not touch any files

Documentation
Please check out the documentation[harmony.pardeike.net].

Contribute
pardeike put thousands of hours into this project and its support. So every little action helps:
• Upvote this stackoverflow answer[stackoverflow.com]
• Spread the word in your developer communities
• Become a GitHub sponsor[github.com] or a Patreon[www.patreon.com]

This project uses the great MonoMod.Common[github.com] library by 0x0ade[github.com].
Discusiones populares Ver todo (6)
32
31 ENE a las 4:58 p. m.
Crash
jerome_lacey1888
11
1
1 OCT 2024 a las 3:02 a. m.
How to i change the version of the mod
SexLord Farquaad
2
1
25 OCT 2023 a las 4:14 p. m.
Harmony.PatchClassProccssor error
Gaming4ever
1,003 comentarios
Parabellum168 19 ENE a las 8:10 a. m. 
working on 1.2.12
catbox99 10 ENE a las 10:05 a. m. 
It would appear the Russians have set a bot on this thread. Typical.
nearyou 9 ENE a las 5:09 p. m. 
Клан Дорн предлагает поиграть в своей компании в модификацию bannerlord online . Это ммо по нашей с вами любимой игре где мы будем вместе драться армиями против врагов(до 5 игроков и 740 воинов с каждой стороны ) , захватывать караваны с ценными ресурсами, учавствовать как в пеших так и конных турнирах , удерживать асерайские земли.

Мы с радостью научим вас всем механикам модификации и поможем стартовым снаряжением в кротчайшие сроки вы станете великим воином и полководцем

{ENLACE ELIMINADO}
catbox99 6 ENE a las 6:48 p. m. 
First thing: these mods have been checked with Single Player, "Play," NOT "Resume" or "Continue" and SANDBOX. They have been played through creation, battle, and tournaments. I have loaded the save game from the proper menu (NOT CONTINUE) several times, and it seems to be working correctly. The mods have not and will not be verified in MP or in the campaign. it is up to the mod author whether or not they support that. Crashing, after a while, during playing the game has nothing to do directly with Harmony.
catbox99 6 ENE a las 6:41 p. m. 
A lot of people are having trouble because they do not understand what Harmony does and what it does not do. It DOES change the mod load order so that types of mods go in the right places to reduce conflicts. Once your game loads into the selection screen, it's finished. That's it. It's nothing you couldn't actually do by hand. You can still override the order Harmony places the mods in by hand.
catbox99 6 ENE a las 6:41 p. m. 
There ARE some things that Bannerlord doesn't always do. Bannerlord sometimes doesn't DL all the files, meaning you may need to verify them. It also doesn't have a separate workshop call to check for mod updates. That means you may need to manually update files by uninstalling and reinstalling. ALSO, if you are DL from somewhere other than Steam, remember that you may need to "unlock/unblock" some files in the bin folder (dll's).

You don't need "variations" of the four major mods unless you have forced the game to an older version. This is what I am running ATM, and the exact order the mods load:
catbox99 6 ENE a las 6:40 p. m. 
(these are all Steam versions)
Harmony (May 5, 2024)
BetterExceptionWindow (Feb 11, 2024)
ButterLib (Oct 7, 2024)
UIExtenderEX (Jul 29, 2024)
MCM v5 (Sep 23, 2024)
(These are the current vanilla game files)
Native
Sandbox Core
Sandbox
StoryMode
CustomBattle
Birth and Aging Options
(These are all Steam Versions)
Open Source Armory (Aug 10, 2024)
Open Source Weaponry (Aug 10, 2024)
Open Source Saddlery (Aug 10, 2024)
Swadian Armoury (Feb 6, 2023)
Realistic Weather (Nov 24, 2024)
Agricultural Estate (Jun 15, 2024)
Leave on Click (Oct 14, 2022)
Death for All (Feb 22, 2023)
Take Both (Sep 15, 2024)
Distinguished Service (Nov 27, 2023)
Useful Companions (Dec 15, 2023)
Governors Handle Issues (Feb 13, 2024)
Large Bag of Balanced Modifier (Oct 26, 2022)
Remove Fog of War (Nov 7, 2024)
Surrender Tweaks (Nov 24, 2024)
Tournaments Give Full XP (Oct 14, 2022)
Unlimited CAP (Jan 1, 2024)
Wealthy Workshops - Fixed 1.2.7-1.2.9 (Apr 5, 2024)
catbox99 6 ENE a las 6:40 p. m. 
(These are from Nexus Mods)
Donate to Granary (ReRevived) (19 December 2023)
Family Control (August 2, 2024)
LogRaam's Battle Loot (13 March, 2023)
NPC Fixes Collection - No More Clones (21 June 2024)
Better Core (30 December 2024)
Better Prisoners (01 January 2025)
Phulex 5 ENE a las 12:32 p. m. 
Have done everything you've said so far, i've downloaded multiple different variations of every one of the mods and none of them change the crash at start up.

I know you say "works for me" but you have to achknowledge the fact that there is a vast amount of people trying to use harmony with the full game, and it does NOT work.

It sound like you dont wanna face the fact that it is faulty. Either you need to give out some more exact details on how to make it work for you or it needs to be updated/looked into cause as of now, its not working as intended for a lot of people.
nearyou 5 ENE a las 3:15 a. m. 
Клан Дорн предлагает поиграть в своей компании в модификацию bannerlord online . Это ммо по нашей с вами любимой игре где мы будем вместе драться армиями против врагов(до 5 игроков и 740 воинов с каждой стороны ) , захватывать караваны с ценными ресурсами, учавствовать как в пеших так и конных турнирах , удерживать асерайские земли.

Мы с радостью научим вас всем механикам модификации и поможем стартовым снаряжением в кротчайшие сроки вы станете великим воином и полководцем

{ENLACE ELIMINADO}