Reflexil icon indicating copy to clipboard operation
Reflexil copied to clipboard

[Request] Automatic operations

Open DaZombieKiller opened this issue 9 years ago • 6 comments

I'm not all that great with introductions, so I'll jump right into it. Imagine I have a .NET dll, and I want to apply the same operations to it every time a new version comes out, but it takes a significant amount of time to do so.

Would it be possible for Reflexil to introduce a scripting language of sorts, for automatically executing a series of operations like adding references, renaming/injecting methods and fields, etc?

DaZombieKiller avatar Jun 23 '16 09:06 DaZombieKiller

Hey, maybe I could interest you in my (somewhat abandoned) ilpatcher I wrote once but never finished: https://github.com/Splamy/ILPatcher It's probably not (yet) as convenient as reflexil but with some work it might get a reasonable patcher.

Splamy avatar Jun 23 '16 12:06 Splamy

Yes I always wanted to have something to "replay" in a logical manner all alterations done through the GUI.

sailro avatar Jun 23 '16 16:06 sailro

Alternatively, the ability to use Reflexil as a general-purpose C# library could work too, if that isn't supported already

@Splamy That certainly looks cool, looks like it doesn't have enough functionality for what I'll need to do, though

DaZombieKiller avatar Jun 24 '16 00:06 DaZombieKiller

@DaZombieKiller This is what I did, when I needed to patch the assembly programmatically: https://github.com/beatcracker/GUILess-Reflexil

beatcracker avatar Feb 25 '17 09:02 beatcracker

I ended up just writing my own program using Mono.Cecil to get the job done, but if I ever need to do something much more complex I'll definitely take a look at that.

DaZombieKiller avatar Feb 25 '17 10:02 DaZombieKiller

@DaZombieKiller It's outdated and I'm Ops guy, not Dev. But it's something I'd like to see in Reflexil: standalone NuGet package for easy IL hacking.

beatcracker avatar Feb 25 '17 10:02 beatcracker