Patchwork
Patchwork copied to clipboard
A library for modifying .NET assemblies.
I recently implemented a way for Patchwork to launch a game through Steam or Galaxy, but because Steam or Galaxy does not exit with the game, the launcher stays resident....
Currently, when you try to patch multiple assemblies (with multiple PatchInfos), you get an error like this: ``` error CS0579: Duplicate 'PatchAssembly' attribute ``` Seems like a better approach would...
1. I created a second patch DLL that patches a different second assembly. 2. I added that DLL in the GUI for a total of two patch DLLs. 3. When...
In `LaunchManager.cs`, [Command_ChangeFolder](https://github.com/GregRos/Patchwork/blob/f3a3a6cebae7be3e597e588aac0c91fc6dc56a1d/PatchworkLauncher/GUI/LaunchManager.cs#L351) exits the application if the user presses the OK button.
When a ModifyMethod targets a method that isn't present in the target assembly (possibly because its signature is slightly different) it throws a not very helpful Null Reference Exception that...
### Exception Details ``` System.NullReferenceException: Object reference not set to an instance of an object. at Patchwork.Engine.Utility.CecilOverloadResolver.GetField(TypeDefinition typeDef, String name) in E:\projects\PatchworkPathfinder\Patchwork.Engine\Utility\Reflections and Cecil\CecilOverloadResolver.cs:line 20 at Patchwork.Engine.PatchingManifest.GetPatchedMember[T](TypeDefinition targetType, T yourMemberDef,...
In Win11, PatchworkLauncher stops working and frequently displays various errors. I checked several times to see if .NET Framework 4.5 was installed and used the .NET repair tool to be...
**Describe the bug** Unexpected patching failure of Tyranny's Assembly-CSharp.dll. I don't know why this happens; it's just a public class that I want to patch: ``public class UIConversationManager : UIHudWindow``...