
Higher FPS Guide
After a bit of reverse engineering, I found where the game calls the setter for UnityEngine.Application.targetFrameRate. You can find this in the file called GameAssembly.dll. The array of bytes in question is
C7 40 44 1E 00 00 00 E8 48 11 23 00 33 C9 B8 02 00 00 00 85 FF 0F 44 C8 33 D2 48 8B 5C 24 30 48 83 C4 20 5F
To change the framerate cap, modify the “1E 00 00 00” to be whatever number you want the cap to be. Unfortunately, some game systems are not scaled to the frametime, and as a result they run faster. For example, the most notable thing that is not at the right speed is the physics. This means that at this point, the game is unplayable at a framerate higher than 30.
Things that I have tried to fix this
I found the timeScale value (UnityEngine.Time.timeScale) and reduced it to 30 / DesiredFramerate, which my naive brain thought might pace the game down to the correct speed. Unfortunately, this messed with things that were correctly scaled, and had no effect on things that were not correctly scaled.
Fun Stuff
Disable the auto-pause when you tab out:
40 53 48 83 EC 20 80 3D 84 5F B9 00
->
C3 90 90 90 90 90 80 3D 84 5F B9 00
Be the first to comment