bruhmoment21 / UniversalHookX

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

Linux, Vulkan: Game Freeze after Injection in rdr2 #14

Open tim-gromeyer opened 1 year ago

tim-gromeyer commented 1 year ago

Description: Hello, I'm currently facing an issue with UniversalHookX when trying to inject it into rdr2. While the injection process itself seems to work, the game unfortunately freezes shortly after.

System Details:

Click to expand - **Operating System:** openSUSE Tumbleweed - **Kernel:** 6.4.11-1-default - **CPU:** 11th Gen Intel Core i5-11300H @ 3.10GHz - **GPU:** NVIDIA GeForce RTX 3050 Ti Laptop GPU - **GPU Driver:** NVIDIA 535.86.05 - **RAM:** 16 GB

I run the game with Proton Experimental

Steps to Reproduce:

  1. Launch any injector (I'm using Guided Hacking Injector 1.7)
  2. Inject into rdr2 process with LoadLibraryA as injection method
  3. Observe the game freeze

Expected Behavior: I expect the injection to be successful without any negative impact on the game's performance

Actual Behavior: Upon successful injection, the game freezes after a short period of normal gameplay

Additional Notes:

Screenshots/Logs:

https://github.com/bruhmoment21/UniversalHookX/assets/58736434/1a7f612c-f8b5-451b-a040-cae868d33fba

bruhmoment21 commented 1 year ago

hello, i can't test this sadly but i don't think injection works at all? the output console should have at least something in there?

does the freeze happen if lets say you compile a dummy dll (only prints hello world) and inject it?

tim-gromeyer commented 1 year ago

hello, i can't test this sadly but i don't think injection works at all? the output console should have at least something in there?

I think it does, I'm using the same injector for a GTAV mod menu and it works fine. Currently "we" (I don't actually do anything) are creating a mod menu for rdr2, the injector works and I get output, see the picture below:

Bildschirmfoto vom 2023-08-31 21-32-52

The way the menu works in terms of injecting, hooking and rendering is the same as this example... and both freeze the game.

does the freeze happen if let's say you compile a dummy dll (only prints hello world) and inject it?

I don't know. I'm on Linux, I can't compile a .dll for a windows game (at least it would be very hard to set everything up, and wine and actually windows are not the same)

Are there any info's I can provide to get the issue solved? We can also get in touch to get the issue solved. My name is benutzername_tim on Discord. Maybe we investigate the issue more and you send some dll's for me to test