This is a setting hack that can be enabled on the "Settings" page of the Mods List.
This hack limits the frame rate of the game to an amount specified in the hack's settings with additional options to configure when and how this is done.
Settings
Target Frame Rate
The frame rate that the hack will attempt to reach with the selected Method (see below for more details).
Defaults to 60.
Limit
While on Loading Screens
Set whether or not the frame rate will be limited on loading screens. This negatively impacts loading times.
Defaults to Disabled.
While on Menus
Set whether or not the frame rate will be limited on the main menu and the pause menu.
Defaults to Enabled.
Advanced
Method
The method to use to limit the frame rate. Available options are:
- Waitable Timer
- Sleep
- Busy Wait
- Sleep and Busy Wait
Defaults to Waitable Timer.
Compensation Limit (ms)
TODO
Defaults to 30.
High Resolution Timer
Makes the hack use a more precise waitable timer.
Defaults to Enabled.
Load Files While Waiting
This makes it so files can be loaded while the game is waiting for the next frame.
The Load Manager Thread Coordination hack is used to achieve this.
Defaults to Disabled.
Version History
Version 1.27
- Added a new High Resolution Timer setting.
- This is enabled by default.
- When enabled, the hack will use a more precise waitable timer. This change particularly matters on newer versions of Windows where the standard timer behavior has changed.
- Moved the Load Files While Waiting setting into the Advanced group.
- Added various console logs on startup pertaining to settings in this hack.
Version 1.23.9
Removed the Experimental title from the Load Files While Waiting setting.
Version 1.23.2
Added the experimental Load Files While Waiting setting. This makes it so files can be loaded while the game is waiting for the next frame.
Version 1.23
Updated the description of this hack.
Version 1.22
Made the loading screen used when returning to the main menu or going to the Bonus Game menu from the main menu uncapped when Limit > While on Loading Screens is disabled but not when Limit > While on Menus is disabled.
Version 1.21
Added a new Method setting for controlling how the frame limiting is done:
- Waitable Timer: The original method that's consistent but slightly inaccurate. This is still the default setting.
- Sleep: A different method that may work better but also may cause stuttering on some computers.
- Busy Wait: An extremely intensive but effective method.
- Sleep and Busy Wait: A combination of the previous 2 that sleeps for most of a frame and then busy waits for the rest.
Version 1.18
Moved this hack to the new Settings page.
Version 1.13
Made this hack default to being ticked as the game has issues of varying severity at frame rates above or below a certain range (the game runs best at 60 FPS).