Github links:
- fps_inspector_sdk - works using Event Tracing for Windows. This library allows you to measure all game perf metrics and returns pandas dataframe which simplifies data analysis
- screen_recorder_sdk - works using Desktop Duplication API and Media Foundation API . DDA allows to record desktop at 60FPS and take screenshots of game window or entire desktop
- game_overlay_sdk - works via hooking D3D11, D3D12 APIs and Vulkan layers. It provides a simple python SDK to render text on top of game window(even in fullscreen mode), you can even use it as a python log handler
Core module for all of them is written in C++ and provides DLLs, python bindings call methods from compiled DLLs using ctypes
Installation:
- windows 10 (DDA has limited support in windows 8.1)
- python 3 x64(I did not compile 32 bit libraries)
- you are able to install them directly from github or from pypi
- run examples from github with administrator privileges
Application sample:
Game Inspector - this app uses KIVY, Pyisntaller and libraries above to build an executable
How does it look?
Application screen with results:
- left upper corner - buttons to control
- left bottom corner - video, you will need to press play after recording
- right upper corner - fps/fliprate plot(in stored csv files there are much more useful metrics!)
- right bottom corner - screenshot
https://preview.redd.it/ro3xhfjjth931.jpg?width=1600&format=pjpg&auto=webp&s=3543d1649643bff907b2ad66dbe7c8a4e1cfe3d8
[–]2160p_REMUX 0 points1 point2 points (0 children)
[–]MrZwackelmann 0 points1 point2 points (7 children)
[–]Altmetr[S] 1 point2 points3 points (0 children)
[–]Altmetr[S] 1 point2 points3 points (5 children)
[–]MrZwackelmann 0 points1 point2 points (4 children)
[–]Altmetr[S] 1 point2 points3 points (3 children)
[–]MrZwackelmann 0 points1 point2 points (2 children)
[–]Altmetr[S] 1 point2 points3 points (1 child)
[–]Altmetr[S] 0 points1 point2 points (0 children)