bruhmoment21 / UniversalHookX

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

Red Dead Redemption 2 Vulkan #9

Closed JIStream closed 1 year ago

JIStream commented 1 year ago

It seems ImGUI menu is not showing in RDR 2 with Vulkan. Hooks fine but pressing insert doesn't bring up the menu. As far as I can tell, Async Compute is an option in RDR 2 and can be disabled in settings.xml which I did.

Unrelated but might help someone: if you are trying to use this hook with ScriptHookRDR2, you'll probably need to add some delay before hooking Vulkan since ScriptHook attaches your asi as soon as the game starts and that crashes (debug console just closes) UniversalHookX.

Console Log: image

JIStream commented 1 year ago

Also worth noting that I've added LOG() messages to both the function that calls Menu::Render() and Menu::Render() itself and those messages don't appear in the console at all.

bruhmoment21 commented 1 year ago

let me know if the last commit fixed it (not sure about the second issue tho)

JIStream commented 1 year ago

Yes, it did. Thank you.

JIStream commented 1 year ago

Spoke too soon. It renders the menu now but I can't interact with it in any way. Do I need to implement something on my side to make it work?