• Stars
    star
    377
  • Rank 112,921 (Top 3 %)
  • Language
    C++
  • License
    MIT License
  • Created over 5 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

为unity-il2cpp提供在手机上设置FPS的模块

UnityFPSUnlocker

README_JP

安装需求

使用

下载并刷入模块。在重启之前,先下载TargetList.json放入/data/local/tmp/TargetList.json,并修改你的配置。
插件会通过判断是否存在/sdcard/Android/data/{package_name}/files/il2cpp来自动加载。

{
  "global": {
    "delay": 10,
    "mod_opcode": true,
    "fps": 90
  },
  "custom": {
    "com.random.package.name.a": {
      "fps": 60
    },
    "com.random.package.name.b": {
      "mod_opcode": false
    },
    "com.random.package.name.c": {
      "delay": 5
    }
  }
}

其中,global节点中的配置为:

  • fps 需要设置的fps
  • delay 游戏载入后等待delay秒执行
  • mod_opcode 是否修改opcode,如果你发现游戏会重新锁定fps,可以把这项改为true,但由于修改内存,可能会被反作弊检测到

然后,custom节点中的配置会覆盖global中的配置单独生效:

  • key 包名,比如com.random.package.name.a
  • fps 同上
  • mod_opcode 同上
  • delay 同上

TargetList.json修改后可以搜索json 格式校验校验是否完整。修改后立即生效(>=1.8)。
可以在终端模拟器输入logcat -s UnityFPSUnlocker查看输入日志。