ocat icon indicating copy to clipboard operation
ocat copied to clipboard

OCAT crashes HITMAN

Open brunogm0 opened this issue 7 years ago • 8 comments

HITMAN v 1.14.2.0

win10 pro

Crash when enabling Overlay.

brunogm0 avatar Sep 19 '18 21:09 brunogm0

I pushed a fix, you can get the build here.

I noticed, that OCAT also hooks into the launcher, which can cause issues. To prevent these, you can do one of the following:

start the launcher -> (set your options as you like) -> enable the overlay -> start the game via the launcher or add Launcher.exe to the blackList.txt.

Hope this helps and the new build fixes your issue :)

aurolou avatar Sep 20 '18 12:09 aurolou

With OCAT open but no overlay active; the crash happens with message breakpoint. After this other attempts crashes with the old message but other address.

brunogm0 avatar Sep 20 '18 16:09 brunogm0

Unfortunately, I can't reproduce the crash locally, the fix in version 1.2.0.168 solved the issue for me. So I need some further information from you to figure out the root cause of the problem :)

Do I understand correctly, that you just start OCAT, and without even enabling the overlay, HITMAN crashes on launch, but when OCAT is not running, HITMAN does launch without problems?

And how do you enable the overlay? Do you click on 'Start Overlay' in the Capture tab, or do you use the Advanced tab by starting HITMAN via the OCAT-UI? If you use the 'Start Overlay' in the Capture tab option, when do you turn it on: before you start the Launcher, or after you start the launcher but before you start the actual Hitman game? Do you run Hitman using DX11 or DX12?

Thanks :)

aurolou avatar Sep 20 '18 16:09 aurolou

Do I understand correctly, that you just start OCAT, and without even enabling the overlay, HITMAN crashes on launch, but when OCAT is not running, HITMAN does launch without problems?

Yes, but with launcher.exe in blacklist it changes to only crash after few seconds in the game.
ocat_hitman

Silent crashes with DX11 instead of DX12 (error as in the picture); OCAT click "Start Overlay on" silent crash launcher at options click; OCAT open but overlay off, allows to change options in launcher.exe;

Usually "click on 'Start Overlay' " but also tested advanced tab. In this case the error dialog is immediate. Also, tested advanced without "inject overlay at start", same instant crash dialog; If using advanced but selecting Launcher.exe, the error dialog changes to "bad conversion";

If overlay off then game start, hitman.exe is allocating memory steadly; (then overlay on) -> crash dialog happens only at first image print; aka, hitman.exe still loads when "overlay on" after start. I have the impression that after a few tries OCAT behaves differently maybe it stores something. GameOverlayLog.txt PresentMonLog.txt

Other tests: Never show overlay in: hitman, skullgirls or FFXV; Showed on Superposition, Quake Champions

ps.: RX460 18.8.1

brunogm0 avatar Sep 21 '18 15:09 brunogm0

Thanks for the details! I could locally observe a thrown exception which I think is related to your issue, now I am looking for a way to solve it :)

aurolou avatar Sep 25 '18 11:09 aurolou

Hey, sorry for the delay. This version should work for FFXV, if you launch the game from OCAT (Launch App tab) and add as commandline argument: steam://run/637650

For Hitman, the global hook works for me, if not you can also try the explicit hook (launch the game directly from OCAT) with commandline argument: steam://run/236870

Make sure the steam client is running.

aurolou avatar Nov 22 '18 14:11 aurolou

Did that version fix your issue, @brunogm0?

rys avatar Dec 17 '18 15:12 rys

Sorry, my SSD failed and so i could not test it.

brunogm0 avatar Dec 19 '18 21:12 brunogm0