在Windows游戏全屏模式下覆盖单词/数字(例如在Fraps中) [英] Overlay the word/number in the Windows game fullscreen (like in Fraps)

查看:94
本文介绍了在Windows游戏全屏模式下覆盖单词/数字(例如在Fraps中)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我认为很多人使用应用程序"Fraps"来录制游戏视频.我用它来显示游戏中的FPS(每秒帧数).游戏运行时,Fraps可以在屏幕的一角显示数字.

I think a lot of people used application "Fraps" for recording video from game. I use it for displaying FPS (frames per second) in the games. Fraps can show digits at the corner of screen when game runs.

我想显示处理器的核心温度.我会发现温度,但我需要知道如何在游戏中显示?(我需要它来测试游戏中的核心温度,因为Everest/AIDA64的压力测试不会给系统带来太大的负担.

I want to display core temperature of processor. The temperature I will find, but I need to khow, how can I display it in the game? (I need it for testing core temperatures in the game, because stress tests of Everest/AIDA64 doesn't much load the system).

想使用C#(但可以收听所有解决方案,C ++,Java)
范例游戏:Dirt2,Duty of Duty 5(DirectX)

Want to use C# (but can listen to all solutions, C++, Java)
Example games: Dirt2, Call of Duty 5 (DirectX)

P.S.这个帖子是相似的... c#text/winForm覆盖视频xfire,PIX,steam,fraps等游戏

P.S. This post was similar... c# text/winForm overlay video games like xfire,PIX,steam,fraps etc

推荐答案

您想要做的事情比您想象的要复杂一些.网上有很多关于此的资料,有些可能已经过时了.一个很好的搜索词是"Hook direct 3d",关于此主题在stackoverflow上还有其他线程..

What you want to do is a bit more complex than you might think. There are different sources on the web about this, some might be a bit outdated. A good search Term is "Hook direct 3d", there are also other threads on stackoverflow about this topic. A good thread is also this.

一个建议:您正在更改游戏的运行时代码,可以通过防作弊机制检测到该代码,并且如果该游戏是多人游戏,则可能会禁止该游戏.甚至有可能将诸如fraps之类的广为人知的应用程序列入针对这些检查的某种白名单上,但我不确定.

One advice: You are changing the runtime code of the game, which can be detected by anti cheat mechanism and can cause banning if the game is a multiplayer game. It is even possible that widely known applications like fraps are on some sort of whitelist against these checks, but i'm not sure about that.

这篇关于在Windows游戏全屏模式下覆盖单词/数字(例如在Fraps中)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆