捕获打开或创建文件的请求并重新路由它
前段时间我下载了一些Flash游戏,如果我发现自己没有工作可做并且有空闲的话,可以在学校离线玩。唯一的问题是他们总是尝试从应用程序数据保存/加载,而且我根本不相信这些文件被创建,更不用说下次我再次播放时加载了。
我没有反编译每一个并查找/更改保存和加载位置,而是考虑了 Windows API,特别是钩子。也许可以监视系统请求以创建此类文件,或者在尝试加载时打开它,然后告诉它在其他地方查找(即我的闪存驱动器)?
我不知道这个想法是否真的合理,但任何解决方案,或者一个可靠的“这是不可能的”都会很棒。
I downloaded some flash games some time ago to play offline at school if I find myself with no work to do and have a spare. The only problem is that they always attempt to save/load from the application data, and I don't believe the files are created at all, let alone loaded next time I would play it again.
Instead of decompiling each one and finding/changing the save and load location I thought about the Windows API, hooks in particular. Perhaps it may be possible to monitor system requests to create such a file, or open it if it's trying to load, and then tell it to look elsewhere (i.e. my flash drive)?
I don't know if the idea is actually plausible or not, but any solutions, or a solid "It's impossible" would be great.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我希望其中一些有所帮助:
WinAPIOverride32是一款高级API监控软件。
Deviare API
解构扑克客户端,第 1 部分
I hope some of these help:
WinAPIOverride32 is an advanced api monitoring software.
Deviare API
Deconstructing the Poker Client, Part 1