Hack Forums
[.NET] RenderSpy - Universal graphical hook for a D3D9-D3D12, OpenGL and Vulkan based games. - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] RenderSpy - Universal graphical hook for a D3D9-D3D12, OpenGL and Vulkan based games. (/showthread.php?tid=6254357)



RenderSpy - Universal graphical hook for a D3D9-D3D12, OpenGL and Vulkan based games. - fisica638 - Oct 20, 2023

RenderSpy

Universal graphical and input hook for a D3D9-D3D12, OpenGL and Vulkan based games.

RenderSpy allows you to hook up any supported graphics API, really easily. It also allows you several Hooks to Inputs. such as DirectInput.

The real use of RenderSpy is in the construction of cheats. or imgui implementation.

Graphics:

DirectX9 ✅
DirectX10 ✅
DirectX11 ✅
DirectX12 ❌ Work in Progress
OpenGL ✅
Vulkan ❌

Inputs:

✅DirectInputHook
✅GetRawInputData
✅DefWindowProc
✅GetWindowLongPtr
✅SetWindowLongPtr
✅SetCursorPos

How to use?

Implement RenderSpy and Inject your dll into the target process, You can Use: "NETBuilderInjection" , to convert your .NET assembly into an injectable dll (follow the instructions in the repository).

Source Code: https://github.com/DestroyerDarkNess/RenderSpy



Internal Examples:

Universal.FPS.Counter A Universal FPS Counter for games

[Image: 251877560-895e1397-5936-4ef1-8526-6e8220fbbfd6.png]

RenderSpy.Imgui Easily use imgui in your favorite game

[Image: 251977797-a0afbac7-30c9-43d5-b94c-1cc7b16d63a7.png]

External Examples:

d3d11 SpriteText Render Create a window with sharDX and render text in directx 11 using SpriteTextRenderer




Remember to leave a star for the Github repository. 😎



RE: RenderSpy - Universal graphical hook for a D3D9-D3D12, OpenGL and Vulkan based games. - Wacatac - Oct 20, 2023

Can you add a wrapper for Desktop Duplication(DXGI)?


RE: RenderSpy - Universal graphical hook for a D3D9-D3D12, OpenGL and Vulkan based games. - fisica638 - Oct 21, 2023

(Oct 20, 2023 08:11 PM)Tentco Wrote:  Can you add a wrapper for Desktop Duplication(DXGI)?

It's not necessary for my project, but here's a good starting point anyway:

https://github.com/microsoft/Windows-classic-samples/tree/main/Samples/DXGIDesktopDuplication#dxgi-desktop-duplication-sample

https://ponherm.wordpress.com/2021/06/17/direct3d12-%E3%82%92-c-%E3%81%8B%E3%82%89%E4%BD%BF%E3%81%86dxgi%E7%B7%A8/



Right now my goal is to implement hooks for dx12 and vulkan, in addition, to also make some small classes that make drawing easier, since drawing text in dx11 and 12 is very complicated.

If you can help me create small classes for drawing, text, lines, circles, etc. using sharpdx in dx11 and dx12, I will be very grateful.


RE: RenderSpy - Universal graphical hook for a D3D9-D3D12, OpenGL and Vulkan based games. - Wacatac - Oct 21, 2023

(Oct 21, 2023 07:50 AM)fisica638 Wrote:  It's not necessary for my project, but here's a good starting point anyway:

https://github.com/microsoft/Windows-classic-samples/tree/main/Samples/DXGIDesktopDuplication#dxgi-desktop-duplication-sample

https://ponherm.wordpress.com/2021/06/17/direct3d12-%E3%82%92-c-%E3%81%8B%E3%82%89%E4%BD%BF%E3%81%86dxgi%E7%B7%A8/



Right now my goal is to implement hooks for dx12 and vulkan, in addition, to also make some small classes that make drawing easier, since drawing text in dx11 and 12 is very complicated.

If you can help me create small classes for drawing, text, lines, circles, etc. using sharpdx in dx11 and dx12, I will be very grateful.

Already used it in c++ was looking for a .NET wrapper thanks anyway.


RE: RenderSpy - Universal graphical hook for a D3D9-D3D12, OpenGL and Vulkan based games. - fisica638 - Oct 21, 2023

(Oct 21, 2023 07:55 AM)Tentco Wrote:  Already used it in c++ was looking for a .NET wrapper thanks anyway.

The second link you post has a wrapper in c#, if you try it, let me know if it works.


RE: RenderSpy - Universal graphical hook for a D3D9-D3D12, OpenGL and Vulkan based games. - Wacatac - Oct 21, 2023

(Oct 21, 2023 08:22 AM)fisica638 Wrote:  The second link you post has a wrapper in c#, if you try it, let me know if it works.

Yeah saw it Thank You.


RE: RenderSpy - Universal graphical hook for a D3D9-D3D12, OpenGL and Vulkan based games. - Local Celeb - Oct 23, 2023

Nice work! What was the reason you needed this? 😁


RE: RenderSpy - Universal graphical hook for a D3D9-D3D12, OpenGL and Vulkan based games. - fisica638 - Oct 24, 2023

(Oct 23, 2023 02:50 AM)Islati Wrote:  Nice work! What was the reason you needed this? 😁

Reason: Internal Cheats, entirely written in C# or VB.NET.

[Image: ssad.png]


RE: RenderSpy - Universal graphical hook for a D3D9-D3D12, OpenGL and Vulkan based games. - Local Celeb - Oct 24, 2023

(Oct 24, 2023 06:03 AM)fisica638 Wrote:  Reason: Internal Cheats, entirely written in C# or VB.NET.

[Image: ssad.png]

Could I ask you to post a thread here on Hackforums about it sometime? That's the shit people like 😁


RE: RenderSpy - Universal graphical hook for a D3D9-D3D12, OpenGL and Vulkan based games. - Immortal - Oct 28, 2023

This is pretty cool I wanna find some time to play with this.


RE: RenderSpy - Universal graphical hook for a D3D9-D3D12, OpenGL and Vulkan based games. - fisica638 - Oct 29, 2023

(Oct 28, 2023 02:00 PM)Immortal Wrote:  This is pretty cool I wanna find some time to play with this.

I left several examples, but if you find it difficult to use it, write to me. 😁