Mount and blade 2 bannerlord harmony как установить

Обновлено: 06.07.2024

Fixed version of the Launcher for Bannerlords that orders mods correctly and saves the mod order on reload.

This mod does not have any known dependencies other than the base game.

Mods requiring this file

Mod name Notes
COMPANION HOARDER
Cool's ModPack (1.5.2) Needed for the Fixed Launcher File.
Dead Clans Deactivate If your game is crashing, try using the Fixed Launcher. The native Launcher does not always load mods in the correct order.
LG's OP Endgame Wanderers This is required to run the modules in correct order, Make sure to go to mods tab in the launcher after downloading this mod and click "Sort Mods" button.
Low Tier Troops Revamp optional if you in 1.0.8 and use the module version
Redheads A launcher which allows you to reorder mods is required, as this mod needs to load before Native
Repopulate Calradia This will ensure that the mods load in the correct order.
Spawn Non-Vanilla Companions Only Will help out with making sure the mods are in the right order

Credits and distribution permission

  • Other user's assets All the assets in this file belong to the author, or are from free-to-use modder's resources
  • Upload permission You are not allowed to upload this file to other sites under any circumstances
  • Modification permission You must get permission from me before you are allowed to modify my files to improve it
  • Conversion permission You are not allowed to convert this file to work on other games under any circumstances
  • Asset use permission You must get permission from me before you are allowed to use any of the assets in this file
  • Asset use permission in mods/files that are being sold You are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
  • Asset use permission in mods/files that earn donation points You are not allowed to earn Donation Points for your mods if they use my assets

Author notes

This author has not provided any additional notes regarding file permissions

File credits

This author has not credited anyone else in this file

Donation Points system

This mod is opted-in to receive Donation Points

Version 2.4.1

Version 2.4.0

Version 2.3.0

  • Fixed crash source in 1.4.3 and fixed minor bugs.

Version 2.2.2

Version 2.2.1

Version 2.2.0

Version 2.1.3

Version 2.1.2

  • Added even more notifications for errors while loading modules. This should help in identifying broken mods in the loading phase of the game even further.
  • Asks you directly if you want to sort the mods when changes were detected.

Version 2.1.1

  • Added notification when a submodule creates problems on startup and would cause a crash. Don't ignore these warnings, game will be unstable if you continue.

Version 2.1.0

  • By popular demand: no longer automatically reorders mods when modlist changed. Fixes mods getting unticked.
  • Added "<LoadAfterModules>" extension for mod authors: read below for instructions

Version 2.0.0

  • Full rework, no longer requires reinstalling after updates, requires 1.1.0 game version

Version 1.1.0

  • Update for 1.1.0, compatible with older game versions, no longer has click/right click functionality to sort mods, instead now drag&drop.

Version 1.0.4

Version 1.0.3

  • I added some code to use the saved load order if all mod ids stayed the same. I won't bother writing a complicated merge algorithm, when you add new mods you have to redo the mod order.

Version 1.0.2

  • Added right-click to mod ordering to send mod down.

Version 1.0.1

  • Added the possibility to manually override mod order. This is not drag&drop yet (too complicated for now), instead you simply click the rearrange button and it will move the mod 1 up. That should be sufficient, even though it's not nice yet. Better than nothing!

This is a fixed version of the Launcher for Bannerlords. Since the original does not order mods correctly, I fixed that for myself and am now sharing with everyone, in the hopes that the devs will integrate the fixes eventually.

Features (compared to vanilla launcher)

-Mod Ordering
->Correctly orders mods, given that the mods provide their dependencies correctly

----------> Beta 1.4.1 now finally orders mods without breaking the game, but it will crash when there are dependencies missing

->Asks for reordering after changing mods, alternatively, you can always use the sort mods button

-Load Previous Order
->Loads the load order from the last time you closed the game.

-Detect missing and circular dependencies
->Mods that have missing dependencies or depend on each other will be unable to be activated

-Detect common crashing errors from loaded mods
->Injects itself before any mod's (modules) load and checks the most common places that they could fail and displays error messages

-Expanded Load Order Metadata
->Mod Authors can use additional XML to enhance the ordering behaviour.

INSTALL GUIDE

If you are on game versions prior to 1.1.0, use the older version of this mod provided in the optional files. That file needs to be reinstalled after every steam update.

When your launcher's version says "community-fix", everything works correctly.

Troubleshooting

If you cannot enable a mod in the launcher, that means that the mod requires things that the launcher couldn't find. Check out the corresponding mod to see if you installed all dependencies necessary to run it.

If you experience crashes, you can try the following:

Compatibility and Alternatives

Compatible with everything except Antijank.
Vortex has recently updated their Bannerlord tools and now provide their own launcher, too. So If you start from Vortex, you will probably not even see this launcher.
Alternatively you can use Bannerlord Mod Launcher, which completely replaces the launcher.

FOR MOD AUTHORS:

You can now specify that you want your mod to load after a specific other mod without requiring it, for example to apply compatibility patches. To do this, you add a new XML Tag to the SubModule.xml which looks like this:

<LoadAfterModules>
<LoadAfterModule />
</LoadAfterModules>

You add this xml in the same place you add <DependedModuleIds> , so it looks like this (example):

.
<Official value="false" />
<DependedModules>
<DependedModule />
<DependedModule />
<DependedModule />
<DependedModule />
<DependedModule />
</DependedModules>
<LoadAfterModules>
<LoadAfterModule />
</LoadAfterModules>
<SubModules>
.

This will ensure that your mod will load after the specified mod if the user has that mod installed, but it will otherwise do nothing.

Примечание
Это неофициальный дистрибутив библиотеки Harmony, поддерживаемый сообществом, чтобы иметь более простой способ управления зависимостями внешних библиотек.
Хранилище мода - Bannerlord.Harmony.

Для Игроков
Этот модуль предназначен для того, чтобы все моды из списка модов игрока, использовали его для минимизации конфликтов между собой.

Для Моддеров
Мы добавили отладочный интерфейс! Доступен через CTRL+ALT+H.
Вам все равно нужно ссылаться на Harmony как на пакет NuGet, он не обязательно должен включать 0Harmony.dll в final/bin вашего модуля.
Вам нужно добавить это к вашему SubModule.xml
<DependedModules>
<DependedModule />
</DependedModules>
Таким образом, игра гарантирует, что библиотека Harmony будет загружена перед вашим модом.

Документация
Пожалуйста, ознакомьтесь с документацией.

Помощь
pardeike вложил тысячи часов в этот проект и его поддержку. Таким образом, каждое небольшое действие окажет помощь:
• Поддержать этот ответ stackoverflow
• Распространить информацию в ваших сообществах разработчиков
• Стать спонсором GitHub или Patreon

От переводчика
Не совсем понятно, кого тут указывать в качестве автора; pardeike, BUTR или Aragasas-а. Aragasas автор МСМ и член команды BUTR, именно ему принадлежат страницы Harmony, ButterLib, UIExtenderEx и МСМ на Нексусе, поэтому тут укажу его как автора. Автором перевода на русский язык, также является он. Я лишь слегка дополнил и поработал ручками, перенося его перевод к старой версии МСМ на новые версии этих модулей. Очень надеюсь, что я нигде не накосячил при переводе Описания.

We changed the archive format from .zip to .7z, now when extracting you won't have the .dll unlock problem!
To extract the archive, download 7-zip. DO NOT USE ANYTHING FROM THE WINDOWS APP STORE.

We also added an article on how to install and use 7-zip!

You are probably having issues with the wrong 0Harmony.dll version being loaded in the game. I've dealt with lots of user reports lately and in most cases people solved their problems by doing the following:

First , make sure NOT to use Vortex launcher or Fixed Launcher. Vortex is fine for mods installing, but often has problems when used as a game launcher, so it's better use other tools for mod ordering and launching the game. As for the Fixed Launcher, it still has problems with Harmony because it adds an older version of 0Harmony.dll to the core game files (see below).

  • premium
  • 759 posts
  • 64 kudos

The CAUTION screen that you get when you launch the game with mods should be ignored! It gives misleading info!

The game developers assume that we target specific dependency versions in our mods (like, we require Harmony 2.0.2 SPECIFICALLY), but in reality, the standard practice is to declare the minimum supported dependency version for a mod (like, we require Harmony 2.0.2 or NEWER).
Because the game developers do not follow this practice, you get this CAUTION screen that gives you misleading information.
Do not follow it's recommendation and do not downgrade dependency versions!

  • premium
  • 759 posts
  • 64 kudos

We released BUTRLoader - a new native launcher extension that works like Fixed Launcher, but that does not cause any Harmony related issues!
It will automatically sort correctly mods that support our DependedModuleMetadatas xml tag that UIExtenderEx, ButterLib and MCM uses!

The initial release only fixes mod load order related issues, but we plan on extending it functionality!

can someone explain , what is this thing? , (i am not a moder, or smth im just surfing for modes and instaling the ones i need, so my question what is this and , how can it benefit me?)

A lot of mods use a tool named "Harmony" to change something in the game code. This tool is an open-sourced library that is regularly updated, so there may be a lot of versions of the tool in your mod list, some of which would be up to date and some not. Thing is, Bannerlord forces every mod to use only one version of each tool - the one that was loaded first. So if at the top your mod list would be a mod that uses outdated version of Harmony, every other mod would be forced to use this outdated version which is obviously very bad and may lead to unexpected errors that would depend exclusively on player's mod order.

To address said issue, this mod was created. It automatically updates with every Harmony release and should be above any other mod that is using Harmony - thus it would be guaranteed that every mod in your assembly do use latest version of Harmony.

Is there a workaround to subvert the need for the Harmony mod? At least until the author addresses the issue with Harmony causing the game to crash on startup? It seems to be the root cause of all this and from what I can gather of what it does, I'm not entirely sure it is needed given how few mods exist for Bannerlord.

If all that is impossible, then I will simply ask that my voice be added to the chorus of people who can't use mods that rely on harmony anymore thanks to harmony crashing the game on startup with only itself loaded.

There is no "issue" in Harmony that is causing the game to crash on startup. What makes you so certain? What could be causing my problem then?

Also, for the record, the game returns a small error message that says:

The application faced a problem. We need to collect necessary files to fix this problem. Would you like to upload these files now?

Selecting either yes or no then closes the game and potentially launches the bug-tracking upload program in Bannerlord's files.

I reinstalled again, following all instructions. Harmony, by itself, still causes problems loading the game. Im very new to modding on here. How can we play this on 1.6.3, if it requires harmony, which hasnt been updated yet? Harmony does not require an update for e1.6.3 or e1.6.4. You should be able to remove this mod without having to reinstall the entire game, that seems like negligence on your part. Why would you make a mod without knowing how to safely remove it? Harmony mod does not require the game to be reinstalled when removed. i think an update would be nice ^^^^ my harmony is not working with any mods that require it it seems like. and im too tech illiterate to understand a ruddy thing about it. and yes, all the dll files and all are unblocked and everything. no vortex at all. it only works when it doesnt have any mods trying to link up with it. Can't deploy mod through Vortex. Says mod is redundant, even after purging/uninstalling all mods (only have like 5). Can't change load order and I've confirmed that there are files in the mod folders since that seems to be a problem sometimes.
I'm not very familiar with Vortex, but judging by the message, you should check if there is a manually installed copy of the mod in the Modules folder.

IT BE AWESOME IF SOMEONE COULD PIN OR TEST THIS FURTHER 2ND OPINION WOULD BE AWESOME

so after about a week of testing bouncin between 160 161 162 163 i THINK i have found the issue most people are experiancing with crashing on loading a saved game your games arent corrupted and you dont need to verify your games. just roll back your game to 161 0r 160 sounds like a cop out but hear me out.

if you roll back to 160/161 and your game DOESNT crash on save load its because between 160/160 they laid the ground work for a new NPC API script mods effecting NPCs (AI marriage, true prisoners, ect) allowing NPC to do a specific thing or allow more free thinking worked because the api wasnt changed in 162+ it was mostly initiated and 163 its fully implimented its the AI lords can die in simulation changes that script change IS NOT compatable with anything directly effecting AI thinking process if you have any mods like that disable them and you will be able to load your saves once again.

personally i was getting a crash the sympton was harmony but harmony isnt the root of the problem harmony is crashing because these other mods use harmony as a root and run through harmony there fore causing a harmony false red flag. in your crash log if it says harmony is the cause or native/sandbox with a inventory / gauntlet / state manager or void crash or more importantle boolean crash disable any and all NPC thinking mods such as ai marriage, true nobles, custom culture/troop mods (not expanded kingdoms they re coded to work with the new api i mean mods that add one specific culture or troop tree such as remnant of endoria or custom troop) and you can use your saves once again.

to test this theory i have found in my list of mods the "problem children" they were all the same type of mods claiming to be 162+ compatible i started digging in the game files and found the script change after re scripting the ai adjustin mods myself my loads are saving again. i wont release the fixes without the authors approval obviously cuz its their work but i did send the fix to alot of authors so they should be aware of the issue

hopefully this doesnt get lost in the comments im a former early warband modder so i recognized the pattern bannerlord has been following since 155. instead of just adjusting the current coding TW is rewriting the code entirely every major update just like they did in early warband days causing un neccesary extra leg work for modders

sorry for writing a book but hope this helps you guys its 100% not harmony thats the problem. harmony is JUST the translator between mods and bannerlord so alot of times its "causing a crash" its actually a different mod red flagin harmony. to be honest harmonys mod authors do a great job pre emptive coding the issue and fixes are out there and i have asked last night for permission to upload my fixes for alot of problem children just gotta wait for approval from them. but ya just wanted to let people know its not really actually harmony thats the problem

25 сен в 4:50


3


1


2


1


1

Ничего нового не переводил. Просто переименовал файлы перевода для 1.6.2 под требования новой версии игры. Делал для себя и решил поделиться, если это кому пригодится.

Читайте также: