lulzsun / RePlays

Open-source game recording management software
GNU General Public License v3.0
162 stars 18 forks source link

Recording indicator / fps counter overlay #208

Open aeefkay opened 5 months ago

aeefkay commented 5 months ago

I use RePlays as a replacement for GeForce Exp. and with the new Instant Clipping feature it's a good replacement however two features that are still missing are a visual recoding indicator and I thought that it can also double as an fps counter on the corner of the screen. In the settings you should be able to replace the FPS counter for a static icon that turns red when recording is happening. Also as long as I'm requesting things it would be awesome to add a screenshot tool that just saves one freeze frame from the recording on a press of a button and saves it with a timestamp in the same folder. Recent updates have been awesome and I'd be very happy to help out more in terms of testing and other features if need be.

Segergren commented 3 months ago

Does anyone have a good method for implementing this? I've been working on it today, but it's very challenging to implement when the games are in fullscreen mode. I attempted to use ImGui.NET.

lulzsun commented 3 months ago

The best way to handle an overlay is by hooking into the graphics of a game and drawing upon it, we could use ImGui for that. This is the standard way that all other game overlays do, there is really no other better way of doing game overlays without hooking graphics. Transparent windows and such tricks will not allow us to draw over exclusive fullscreen mode.

But this would definitely cause issues with anti-cheats if we don't sign our files for hook injection to prevent any false cheat detections. I'm not sure if we would see this feature properly implemented in the future unless we do so.

And also, I don't see us going through the application signing process anytime soon, because our project is way too small for that kind of stuff at the moment.