Open hern0s-dev opened 1 year ago
what app/game?
I just noticed it only happens if I inject with my ManualMapper injector :/ Can you help ?
Game Name MW2 but it happens because of manual mapper I guess. Does it happen because I can't resolve imports or make TLS callbacks in my injector ?
Edit : Its not bc of my injector
Nvm. Its not because of my injector. I tried on other app it injects fine with my manual mapper. Its only problem that If i use your project MH_EnableHook doesnt work. Whats problem ? Other project uses kiero hook in hooks sucessfully but on your project Minhook cant enable hooks. Maybe pointers or methods table incorrect ?
[+] fnCreateSwapChain:-> 4 [+] fnCreateSwapChainForHwndChain:-> 4 [+] fnCreateSwapChainForCWindowChain:-> 4 [+] fnCreateSwapChainForCompChain:-> 4 [+] fnPresent:-> 4 [+] fnPresent1:-> 4 [+] fnResizeBuffers:-> 4 [+] fnResizeBuffers1:-> 4 [+] fnExecuteCommandLists:-> 4
These are MH_STATUS outputs which means 4 = MH_ERROR_NOT_CREATED = hook position cannot be found.
Directx12 library tried on 2 different games.
https://github.com/bruhmoment21/UniversalHookX/blob/1e5496720c0493a9b79360fb82f8cca512eff956/UniversalHookX/src/hooks/backend/dx12/hook_directx12.cpp#L246