UnityFPSUnlocker
June 4, 2024 · View on GitHub
Installation requirements
- The device has already installed Magisk / KernelSU / APatch
- Enable
Zygisk(For KernelSU / APatch user, Need installZygisk Next)
Additional requirements
- Enable
Shamikofor the target game (Shamiko can avoid detected Zygisk injection or SafetyNet in some games)
Use now
If your device does not have Zygisk enabled, please enable Zygisk first and then reboot your device. After the above requirements are prepared, the 'UnityFPSUnlocker' module can be install in. Before rebooting, download TargetList.json and place it to /data/local/tmp/TargetList.json, and modify configuration by yourself.
The module will automatically load by checking if the game data directory contains /sdcard/Android/data/{package_name}/files/il2cpp.
{
"global": {
"delay": 10,
"mod_opcode": true,
"fps": 90,
"scale": 1.0
},
"custom": {
"com.random.package.name.a": {
"fps": 60
},
"com.random.package.name.b": {
"mod_opcode": false
},
"com.random.package.name.c": {
"delay": 5
}
}
}
Among them, the configuration in the global node is:
fpsRequired settings forfps,Set to0to disable module injectiondelayWait fordelayseconds to execute after the game is loadedmod_opcodeDo you want to modifyopcode, If you find that the game will lock fps again, you can change this totrue, But due to modifying memory, it maybe detected by anti-cheatscaleSet the multiplier of resolution, Generally, it keep1.0, and which must be a decimal number.Current screen width * scale x Current screen height * scale
Then, the configuration in the custom node will override the configuration in the global and take effect separately:
keypackage name, likecom.random.package.name.afpsSame as abovemod_opcodeSame as abovedelaySame as abovescaleSame as above
TargetList.json effective immediately after modification (Module version>=1.8)。
And you can input logcat - s UnityFPSUnlocker in the shell to view the input logs.