PoPRuns / SandsTrilogyKiller

Quits and restarts games of the Prince of Persia Sands Trilogy for consistency in speedruns
4 stars 2 forks source link

Option to set Priority and Affinity #6

Closed GMPranav closed 2 years ago

GMPranav commented 2 years ago

When the checkbox is enabled, process priority is set to realtime and affinity will be set to one core. This apparently helps with avoiding crashes, more consistent tricks, etc.

GMPranav commented 2 years ago

Finally got around to look into this. Now the user has the option to set any priority and any core by right clicking the checkbox item. The default priority is set to high, default affinity is first core.

Also, if someone accidentally presses "Ready" for SoT when the launcher is already open accidentally, it would be stuck in infinite loop after the "Copy of the launcher is already open" message. Now that's fixed by killing any open instances of the launcher.