Skip to content

Commit 73566c1

Browse files
authored
Update README.md
1 parent e7e84c5 commit 73566c1

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
# SharpMonoInjector
2-
SharpMonoInjector is a tool for injecting assemblies into Mono embedded applications, commonly Unity Engine based games. The target process does not have to be restarted in order to inject an updated version of the assembly. Instead, you need to properly eject the assembly which this tool simplifies, and then inject again.
2+
SharpMonoInjector is a tool for injecting assemblies into Mono embedded applications, commonly Unity Engine based games. The target process *usually* does not have to be restarted in order to inject an updated version of the assembly. Your unload method must to destroy all of its resources (such as game objects).
33

4-
Support for x64 processes has now been added.
4+
SharpMonoInjector works by dynamically generating machine code, writing it to the target process and executing it using CreateRemoteThread. The code calls functions in the mono embedded API. The return value is obtained with ReadProcessMemory.
5+
6+
Both x86 and x64 processes are supported.
57

68
In order for the injector to work, the load/unload methods need to match the following method signature:
79

8-
```sh
9-
static void Method()
10-
```
11-
# Note
12-
Processes running the newer mono runtime (mono-2.0-bdwgc.dll) are currently not injectable with this tool. The process crashes when executing mono_thread_attach(), and that's about all I know at the moment. I will fix this whenever I have time for it.
10+
static void Method()
11+
12+
In [releases](https://github.com/warbler/SharpMonoInjector/releases), there is a console application and a GUI application available.
13+
14+
![The GUI application](https://i.imgur.com/mPMwlu1.png)
15+
![The console application](https://i.imgur.com/cz8Gyxa.png)

0 commit comments

Comments
 (0)