首页
社区
课程
招聘
[推荐]CPU Core Faker / Dual-Core Fix v3 & Source Code
2015-1-2 07:00 3442

[推荐]CPU Core Faker / Dual-Core Fix v3 & Source Code

2015-1-2 07:00
3442
CPU Core Faker aka Dual Core Fix is a DLL that overrides a few kernel32 functions to give the impression to the
library user that the system has a different number of CPU cores. It was originally developed for Far Cry 4, which
won't load if executed on a CPU with less than four logical cores.
This fix is really generic and could work with other games, there is no FC4 specific code.

I've uploaded the source code to CodePlex: https://cpucorefaker.codeplex.com/
There you can find a brief explanation, here are the returned values from Dual Core Fix v1/v2/v3:

API function / Original (DC) / DC Fix v3 / DC Fix v2 / DC Fix v1
---------------------------------------------------------------------
[GetSystemInfo]
> dwNumberOfProcessors / 2 / 8 / 4 / 8
> dwActiveProcessorMask / 3 / 255 / unmodified / unmodified
---------------------------------------------------------------------
[SetThreadAffinityMask]
mask > actual mak / (1,2,3) / 3 (actual max) / 3 / 3
mask <= actual max / mask / 3 / mask / 3
---------------------------------------------------------------------
[GetLogicalProcessorInformation]
As described in "documentation"
---------------------------------------------------------------------

The code contains some C++11 features so compile with VS2013. You'll also need EasyHook.

[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

收藏
点赞0
打赏
分享
最新回复 (1)
雪    币: 86
活跃值: (12)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
estelle 2015-1-2 10:14
2
0
https://cpucorefaker.codeplex.com/
游客
登录 | 注册 方可回帖
返回