Closed Archie-osu closed 2 years ago
After I conducted some research, I found a library that can create a process with the DLL preloaded. To do this, the library does this:
This probably isn't possible considering the launcher's written in C#, so I'll start considering a potential rewrite into C++.
Added.
Early Launch refers to injecting into the game before the runner even starts execution inside
WinMain
, which allows for hooking insanely early. This gives YYTK an edge on RNG initialization, which is currently impossible to manipulate.There are several issues with this currently. First is that not even Process Hacker launched with admin rights can inject - we'd need to investigate why.![Image1](https://user-images.githubusercontent.com/61205459/158521978-27897192-833b-4998-ab45-6c2b5e8676ca.png)
The second is an even bigger problem - YYToolkit would crash due to calling game functions before the hooks are even set-up, so we'd need some Pre-Init state, in which the tool waits before the runner initializes.