All Projects → pardeike → Harmony

pardeike / Harmony

Licence: mit
A library for patching, replacing and decorating .NET and Mono methods during runtime

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to Harmony

Melonloader
The World's First Universal Mod Loader for Unity Games that is Compatible with both Il2Cpp and Mono
Stars: ✭ 306 (-89.39%)
Mutual labels:  unity, mono
Minject
Mono Framework Interaction / Injection Library for .NET (C++/CLI)
Stars: ✭ 42 (-98.54%)
Mutual labels:  unity, mono
Monomod
A C# modding swiss army knife, powered by cecil.
Stars: ✭ 322 (-88.84%)
Mutual labels:  unity, mono
UniversalUnityHooks
A framework designed to hook into and modify methods in unity games via dlls
Stars: ✭ 78 (-97.3%)
Mutual labels:  mono, patcher
Unity Ui Examples
📚 A collection of UI examples for Unity.
Stars: ✭ 152 (-94.73%)
Mutual labels:  unity, mono
Unityruntimespritesheetsgenerator
Unity – generate SpriteSheets at runtime!
Stars: ✭ 286 (-90.09%)
Mutual labels:  unity, runtime
Bepinex
Unity / XNA game patcher and plugin framework
Stars: ✭ 1,001 (-65.3%)
Mutual labels:  unity, mono
Mono.Cecil.Inject
An extension to Mono.Cecil that provides helper methods for simple method injection.
Stars: ✭ 65 (-97.75%)
Mutual labels:  mono, cil
Rapidgui
Unity OnGUI(IMGUI) extensions for Rapid prototyping/development
Stars: ✭ 144 (-95.01%)
Mutual labels:  unity, runtime
Unityandroidhotupdate
(Unity3D热更新) provide a way to hot update Unity app on Android, support code&resources, not need lua js or IL runtime etc..., will not disturb your project development; just loading the new version apk file to achieve.
Stars: ✭ 85 (-97.05%)
Mutual labels:  unity, mono
Centrifuge
Cross-platform runtime mod loader and API for any Unity-based game. Supports Unity 5 and up!
Stars: ✭ 27 (-99.06%)
Mutual labels:  mono, cil
Cecil
Cecil is a library to inspect, modify and create .NET programs and libraries.
Stars: ✭ 2,112 (-26.79%)
Mutual labels:  mono, cil
Centrifuge
Cross-platform runtime mod loader and API for any Unity-based game. Supports Unity 5 and up!
Stars: ✭ 18 (-99.38%)
Mutual labels:  unity, mono
Escapefromtarkov Trainer
Escape from Tarkov Trainer
Stars: ✭ 59 (-97.95%)
Mutual labels:  unity, mono
Unitydoorstop
Doorstop -- run C# before Unity does!
Stars: ✭ 157 (-94.56%)
Mutual labels:  unity, mono
Ilspy
.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
Stars: ✭ 14,011 (+385.65%)
Mutual labels:  unity, mono
Egocs
EgoCS: An Entity (GameObject) Component System framework for Unity3D
Stars: ✭ 211 (-92.69%)
Mutual labels:  unity
Hololens facial recognition
A Unity hololens app to detect faces and display their attributes
Stars: ✭ 217 (-92.48%)
Mutual labels:  unity
Umvvm
a simple unity mvvm framework
Stars: ✭ 209 (-92.76%)
Mutual labels:  unity
Unity Tweens
An extremely light weight, extendable and customisable tweening engine made for script-based animations for user-interfaces and world-spaces objects optimised for all platforms.
Stars: ✭ 208 (-92.79%)
Mutual labels:  unity

Harmony
Version 2
A library for patching, replacing and decorating
.NET and Mono methods during runtime.

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, SCP: Secret Laboratory and many more.

It is also used in unit testing WPF 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

Installation

Installation is done by using 0Harmony.dll in your project or by using the Lib.Harmony nuget package.

Documentation

Please check out the documentation and join the official discord server.

Contribute

I put thousands of hours into this project and its support. So every little action helps:

• Upvote this stackoverflow answer
• Spread the word in your developer communities
• Become a GitHub sponsor or a Patreon

This project uses the great MonoMod.Common library by 0x0ade.

Harmony 1

Harmony 1 is deprecated and not under active development anymore. The latest version of it (v1.2.0.1) is stable and contains only minor bugs. Keep using it if you are in an environment that exclusively uses Harmony 1. Currently Harmony 1.x and 2.x are NOT COMPATIBLE with each other and SHOULD NOT BE MIXED. The old documentation can still be found at the Wiki.


 

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].