Used to bypass around GameRanger limitation of not being able to launch Warcraft III in windowed mode.
CreateProcessA second argument lpCommandLine is game Path
D:\Application\Warcraft III\war3.exe
append -window
and return CreateProcessA
D:\Application\Warcraft III\war3.exe -window
Other Game maybe work not test
Only tested for Warcraft III: Frozen Throne.
Will automatically be loaded by the GameRanger itself if the dll is in the GameRanger directory.
The configuration file WindowedConfig.txt settings:
- true or false, windowed mode or fullscreen
if pop up error please install Microsoft Visual C++ 2015 Redistributable
https://www.microsoft.com/en-us/download/details.aspx?id=53840
https://guidedhacking.com/threads/ghb0-game-hacking-bible-introduction.14450/
https://guidedhacking.com/threads/ghb1-start-here-beginner-guide-to-game-hacking.5911/
https://guidedhacking.com/threads/how-to-hack-any-game-tutorial-c-trainer-3-first-internal.12142/
https://guidedhacking.com/threads/c-detour-hooking-function-tutorial.7930/
https://guidedhacking.com/threads/dll-injection-methods.14569/
https://cocomelonc.github.io/pentest/2021/09/24/dll-hijacking-1.html