philkr / gamehook

BSD 2-Clause "Simplified" License
123 stars 23 forks source link

Game crashes #12

Open RicardSilva opened 5 years ago

RicardSilva commented 5 years ago

Hi,

When I try to launch with gamehook injected the game just displays a black window. Sometimes it closes the window imediatly and others just hangs.

The full log I get: [ 18:20:11 ] Staring up (fake)\dxgi.dll [ 18:20:11 ] Initialized: C:\Windows\system32\dxgi.dll [ 18:20:11 ] Hooking d3d11 functions [ 18:20:11 ] Loading the API [ 18:20:11 ] Loading API [ 18:20:19 ] Hooking the device and device context

Do you have any ideas/suggestions on how to fix this?

Thanks in advance

RicardSilva commented 4 years ago

Fifa seems to use CreateSwapChainForHwnd() instead of CreateSwapChain().

I am trying to add this hook but not being successful so far

ricgao commented 4 years ago

Hi,

When I try to launch with gamehook injected the game just displays a black window. Sometimes it closes the window imediatly and others just hangs.

The full log I get: [ 18:20:11 ] Staring up (fake)\dxgi.dll [ 18:20:11 ] Initialized: C:\Windows\system32\dxgi.dll [ 18:20:11 ] Hooking d3d11 functions [ 18:20:11 ] Loading the API [ 18:20:11 ] Loading API [ 18:20:19 ] Hooking the device and device context

Do you have any ideas/suggestions on how to fix this?

Thanks in advance

Same error for me ... Do you find a way to fix it?