如何从PC游戏中提取实时数据 [英] How to extract live data from PC games

查看:305
本文介绍了如何从PC游戏中提取实时数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

让我们假设我在PC上玩游戏,很可能是离线,我可以设计一个可以与这个游戏互动的代码吗?例如,如果我正在玩Fifa,我想要实现一个vb代码或任何其他可以打印乐谱的语言,或者刻录球的球员的名字。



有可能吗? ,如果是这样,怎么做,或者至少在哪个领域我应该开始寻找答案(写搜索的话)?



我真的很感激提前帮助。



我尝试了什么:



很遗憾,没有关于谷歌的结果!!

Let's assume that I'm playing a game on PC, most likely off-line, is it possible for me to design a code that can interact with this game??, for example if I'm playing Fifa, and I want to implement a vb code or any other language that can print the score, or the name of the player who has the ball at a moment.

is it possible?, if so, how to do it, or at least in what field should I start looking for the answer (the write words for the search)?

I really appreciate your help in advance.

What I have tried:

unfortunately, no close results on google!!

推荐答案

这是可能的,但是......这是不切实际的。

首先,你需要访问该游戏的记忆 - 这不是不可能的,但并不容易。谷歌会在那里扼杀你。

然后乐趣开始......你无法使它成为通用应用程序:并非所有游戏都是相同的。所以你必须让它专门用这个游戏 - 在你的情况下FIFA。但即便如此,你必须使它与特定版本的FIFA一起使用,因为游戏背后的代码在版本之间不一定相同。所以你必须为FIFA 14和FIFA 15等不同版本编写它。也许,您需要根据用户应用的补丁级别更改这些...



然后是真正的工作!

我们不知道FIFA如何在内部运作。所以我们不知道它如何使用它的内存,你将不得不在游戏中发生事件时如何改变内存,以了解游戏如何使用特定的内存。



对于某些游戏来说,这是微不足道的 - 但对于实时的wendyball模拟器?根本不是那么简单...



可能这是一项非常复杂的任务,需要花费你相当长的时间来解决问题,保持得分!

祝你好运 - 你将需要它 - 但我们无法向你提供有关任何游戏内部的任何具体信息来帮助你。不是因为我们讨厌 - 只是我们不知道,因为他们没有告诉任何人!
It's possible, but...it's impractical.
First off, you'd need to access the memory of that game - which isn't impossible, but isn't easy. Google will hep you there.
Then the fun begins...you can't make it a "generic" application: not all games are the same. So you'd have to make it work specifically with "this game" - in your case FIFA. But even then, you'd have to make it work with your specific version of FIFA, because the code "behind the game" isn't necessarily the same between versions. So you have to write it for "FIFA 14" and a different version for "FIFA 15" and so on. And probably, you'll need to change those depending on the patch level the user has applied...

And then comes the real work!
We have no idea how FIFA works internally. So we don't know how it uses its memory and you will have to work backwards from how the memory has changed when an event happens in game, to find out how the game uses specific bits of memory.

For some games, that's trivial - but for a real-time wendyball simulator? Not so simple at all...

Probably, this is a very complex task that is going to take you some considerable time to work out, just to find where the score is kept!
Good luck - you are going to need it - but we can't give you any specific information on any game internals to help you along. Not because we're being nasty - just we don't know because they don't tell anyone!


一些可能性:

- 游戏有一个已发布的界面仅适用于此类事物。您只需找到该文档/库并开始编程。相当不可能。

- 你必须入侵游戏。这包括获得对游戏非共享内存的访问权限,操作系统可能会让您的生活变得困难,直到您获得必要的权限。然后你必须破解内存包含并理解内存的使用方式和一切的含义。繁琐的工作。

- 有人已经完成了这项工作,你只需要利用这项工作。
A few possibilities:
- The game have a published interface made just for this kind of things. You just have to find that documentation/library and start programming. Rather unlikely.
- You have to hack in the game. This include gaining access to the game unshared memory, the OS may make your life difficult until you get necessary privilege. Then you have to hack the memory contain and understand how the memory is used and the meaning of everything. Tedious work.
- Someone already done the job, you just have to leverage this work.


这篇关于如何从PC游戏中提取实时数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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