Exetools  

Go Back   Exetools > General > Source Code

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-12-2024, 13:53
ahmadmansoor's Avatar
ahmadmansoor ahmadmansoor is offline
Coder
 
Join Date: Feb 2006
Location: Syria
Posts: 1,047
Rept. Given: 514
Rept. Rcvd 374 Times in 142 Posts
Thanks Given: 375
Thanks Rcvd at 410 Times in 119 Posts
ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399 ahmadmansoor Reputation: 300-399
Thumbs up Harmony A library for patching, replacing and decorating .NET and Mono methods during

It was mentioned by @Levis and it is a really good tool with src.

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

Harmony
Attached Files
File Type: zip Harmony.2.2.2.0-Lib.zip (3.90 MB, 19 views)
File Type: zip Harmony-2.2.2.0-src.zip (2.50 MB, 18 views)
__________________
Ur Best Friend Ahmadmansoor
Always My Best Friend: Aaron & JMI & ZeNiX
Reply With Quote
The Following User Gave Reputation+1 to ahmadmansoor For This Useful Post:
Levis (01-13-2024)
The Following 3 Users Say Thank You to ahmadmansoor For This Useful Post:
Levis (01-13-2024), niculaita (01-13-2024), uranus64 (01-12-2024)
  #2  
Old 01-12-2024, 15:06
atom0s's Avatar
atom0s atom0s is offline
Family
 
Join Date: Jan 2015
Location: 127.0.0.1
Posts: 421
Rept. Given: 26
Rept. Rcvd 128 Times in 65 Posts
Thanks Given: 54
Thanks Rcvd at 816 Times in 300 Posts
atom0s Reputation: 100-199 atom0s Reputation: 100-199
Here are some other projects that are similar:

- dnlib: https://github.com/0xd4d/dnlib
- Mono.Cecil: https://github.com/jbevain/cecil
- Fody: https://github.com/Fody/Fody
- Aspect Injector: https://github.com/pamidur/aspect-injector
- NConcern: https://github.com/Puresharper/NConcern
- Puresharp: https://github.com/Puresharper/Puresharp (Newer version of NConcern.)
__________________
Personal Projects Site: https://atom0s.com
Reply With Quote
The Following 2 Users Say Thank You to atom0s For This Useful Post:
ahmadmansoor (01-14-2024), niculaita (01-13-2024)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On



All times are GMT +8. The time now is 20:26.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )