Harmony
Documentation
Harmony | Documentation | |
---|---|---|
26 | 10 | |
4,835 | 251 | |
- | 0.4% | |
8.9 | 2.8 | |
8 days ago | 4 months ago | |
C# | ||
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Harmony
- How to make mods?
- Learning how to mod
- [Gordianquest] Mod amplificateur de butin
-
Fast Script Reload - Hot Reload implementation for Unity is now open source!
Some more details https://github.com/pardeike/Harmony/issues/424
-
Set return value of method called by method in unit test
Here's what you're looking for.
-
Why use { get; set; } at all?
Probably a little out of your scope but the library Harmony you can write patches (detours) on methods. Using get/set instead of a field would allow you to override the property's method. Let's say you wanted to write something to always have the name uppercase. You could patch the constructor and set this.name = this.name.ToUpper() but that field is publicly assignable so you can't really enforce that. On the other hand with a property you can override the set method to say this._name = value.ToUpper().
-
Python's "Disappointing" Superpowers
It's kind of a subtle distinction that I think was lost between the posted article and the original article it was responding to, but I don't think the kinds of reflection capabilities that Roslyn provides is what the author intended. The specific example given in the referenced article for "Higher-order programs" specifically refers to the ability to replace function implementations at runtime without interrupting the program, and specifically calls out hot-code reloading (such as what Java provides) as a deficient form of similar functionality. This is closer to the type of functionality libraries like Harmony provide, but even that solution requires including the library and instrumenting your code ahead of time.
-
Reverse engineering integrity checks in Black Ops 3
https://github.com/pardeike/Harmony harmony lets you patch functions at runtime, kind of like a dll injection / memory edit
-
Loot amplifier mod
Download Harmony 2 and put net472 version of the library into GordianQuest_Data\Managed
-
Replace class method from DLL with my own
I'd recommend looking into Harmomy and seeing if you're able to use it. It makes modifying DLLs pretty convenient.
Documentation
- How do I make a Mount & Blade Warband mod?
- GitHub - Bannerlord-Modding/Documentation: Community Documentation for Mount Blade II: Bannerlord
-
A question
Well it’s not difficult if you know modding and programming in C#. If you are interested in it then you can go to community modding document or official modding documents. It’s impossible without modding and even no perfect solution by modding because Taleworlds has never thought about adding settlement mid-campaign.
-
Change bonus stats upon forge a Masterwork weapon
It's not too difficult, the community made guide is here: https://github.com/Bannerlord-Modding/Documentation
-
Finding base game's classes/functions implementations
I'm trying to make a mod using the new Deployment function, more specifically the camera part. It it very easy to use the Mission class to activate the flying camera, but it is confined to the Deployment boundaries that seem to be governed by the DeploymentHandler. The Mission class is relatively well documented in some websites, like on https://docs.bannerlordmodding.com/, but the Deployment system is new, so there's nothing there about it.
-
Where can I learn to mod this game?
You should start here: https://docs.bannerlordmodding.com
- Need help with Modding
-
Discord for modders
I found this documentation that helped me a lot but it stays a lot of unclear things.
- Mod when you own a fief and are a ruler sitting on a throne
What are some alternatives?
Mono.Cecil - Cecil is a library to inspect, modify and create .NET programs and libraries.
Bannerlord.Harmony - Module that includes the latest version of Harmony.
Fody - Extensible tool for weaving .net assemblies
SliceThrough - SliceThrough is a mod for Mount and Blade II Bannerlord. It allows your weapon to cut through multiple enemies rather than stopping after the first enemy.
Extenject - Dependency Injection Framework for Unity3D [Moved to: https://github.com/modesttree/Zenject]
Hero-Encyclopedia-Entry-Fix - Fixes an issue where heroes under the age of 18 but are considered adults do not have their entries easily searchable.
UnrealCLR - Unreal Engine .NET 6 integration
ExtendedFamily - Bannerlord mod that shows extended family members instead of just direct family members in the encyclopedia.
UniTask - Provides an efficient allocation free async/await integration for Unity.
bannerlord-error-detector
InjectFix - InjectFix is a hot-fix solution library for Unity
BannerlordCoop