bruhmoment21 / UniversalHookX

Universal graphical hook for Windows apps.
MIT License
191 stars 42 forks source link

Menu doesn't popup even though injection was "successful" #21

Open nisanb opened 2 months ago

nisanb commented 2 months ago

Hi ! Thanks for this! DLL loads fine, but menu does not open.

Game: Tarisland (PC) Direct X used: 9 Attempt 1: x64\Release\UE4Injector.exe Demo-Win64-Shipping.exe dxgi.dll "...\bin\UniversalHookX Release x64.dll" Attempt 2: x64\Release\UE4Injector.exe Demo-Win64-Shipping.exe d3d9.dll "...\bin\UniversalHookX Release x64.dll"

image

image

Rambolo commented 1 month ago

Does the game's renderer you're hooking into match your forced backend in UHX? I tried to make an edit on UHX myself (off of this branch) which auto-detects what the backend renderer is and it seems that DX12 sometimes doesn't display a menu although successful, but DX11 does. Here's a link to my hooks.cpp file for auto-detection (quite rough, but works)