Well, i recently stumbled across this incredibly awesome library with which i can just take my cheat engine script and pass it to that library to use it within a custom c++ program. F**** year.
So i thought i might just test it by turning my copy-slot hack (hack that allows you to copy multiple objects at once in the object editor) into a fancy executable. Well, and here is the problem I'm suddenly facing: how would i inject the code?
I personally see the following possibilities:
- hardpatching the exe, which is not actually a possibility, as the library doesn't support that, and that library is the only reason i want to write an exe at all
- Manually choosing the world editor from a list of processes, which would not deliver any additional comfort besides a fancy GUI
- Automatically searching for the world editor
-> by window name, which might change for different languages
-> by class name, which is called "Warcraft III"; make an educated guess what other window(s) might use that class name
- opening the world editor in my program and then injecting. That would have the awesome side effect that i would just click on the executable and it would open the world editor with additional features, like a patch, while still allowing me to open the original one. One the other hand, if i ever decide to translate other hacks (like my currently paused only-save-new-files-hack) into exes, they would collide and i could only use one of them at a time.
Any possibilities i missed? what would you do? i really dont have a clue right now
So i thought i might just test it by turning my copy-slot hack (hack that allows you to copy multiple objects at once in the object editor) into a fancy executable. Well, and here is the problem I'm suddenly facing: how would i inject the code?
I personally see the following possibilities:
- hardpatching the exe, which is not actually a possibility, as the library doesn't support that, and that library is the only reason i want to write an exe at all
- Manually choosing the world editor from a list of processes, which would not deliver any additional comfort besides a fancy GUI
- Automatically searching for the world editor
-> by window name, which might change for different languages
-> by class name, which is called "Warcraft III"; make an educated guess what other window(s) might use that class name
- opening the world editor in my program and then injecting. That would have the awesome side effect that i would just click on the executable and it would open the world editor with additional features, like a patch, while still allowing me to open the original one. One the other hand, if i ever decide to translate other hacks (like my currently paused only-save-new-files-hack) into exes, they would collide and i could only use one of them at a time.
Any possibilities i missed? what would you do? i really dont have a clue right now