warbler / SharpMonoInjector

A tool for injecting assemblies into Mono embedded applications, commonly Unity Engine based games
MIT License
310 stars 108 forks source link

Can't find any active process #16

Open MatheusSw opened 4 years ago

MatheusSw commented 4 years ago

I've been running Enter the Gungeon on the background, but the GUI injector is unable to recognize it as a process, and when I click Refresh, the injector just crashes.

1999foxes commented 4 years ago

same for me

MysteryMan36090 commented 4 years ago

same here

d0gkiller87 commented 4 years ago

Use CLI version instead, GUI version is a little broken and slow to fetch all processes, not even say some of them missed. You can write a script to invoke smi.exe everytime with parameters for convenient.

Example (Game: Gungeon Fight.exe): (Remember to add "" if the parameter contains space) Inject: smi.exe inject -p "Gungeon Fight.exe" -a Hax.dll -n MyNamespace -c MyClass -m MyInjectMethod Eject: smi.exe eject -p (address provided by smi after successfully injected) -a Hax.dll -n MyNamespace -c MyClass -m MyEjectMethod