justinstenning / Direct3DHook

DirectX Capture and Overlays by using Direct3D API hooks
http://spazzarama.com/2011/03/14/c-screen-capture-and-overlays-for-direct3d-9-10-and-11-using-api-hooks
MIT License
582 stars 176 forks source link

CaptureInterface.DisplayInGameText not working, cannot add overlay from program. #36

Closed sarpaykent closed 6 years ago

sarpaykent commented 8 years ago

I tested on "TestScreenshot", It's not sending "Screenshot captured..." text to game.

And another problem is I cant add (for example image) from CaptureProcess It self, cannot find another way to add too (without changing dll)

I'm using windows 10. Debug log: Debug: Autodetect found Direct3D 9 Debug: Autodetect found Direct3D 11 Information: Remote process is a 32-bit process. Information: Injected into process Id:27212.

alexalok commented 8 years ago

I can confirm that DisplayInGameText() is not working with DirectX9. OS: Windows 10 (x64) Game: Warface (x32)

Symbai commented 8 years ago

Its because its commented in DXHookD3D11 and DXHookD3D9 but on DX10 its availble. I don't know why this hasn't been fixed, there were new commits after this report.

justinstenning commented 8 years ago

@Symbai I have been working on a better approach that allows the host app to send through a full overlay to the injected assembly, rather than just text. This is why it hasn't been committed yet.

sarpaykent commented 8 years ago

@spazzarama, Awesome! cant wait :+1:

Ali-YousefiTelori commented 7 years ago

hi, please test motogp 13, textoverly not working on this game and i dont khnow why? font.DrawText do not return 0 but i cannot see anything in motogp 13, but another game i tested worked fine.