PD2-Singleplayer
PD2-Singleplayer copied to clipboard
Modifying PlugyRun to decrease loading time 10x
Plugy source code is available here. In order to load Plugy modifications, it creates the process with a debug flag. This is the cause of the slow loading times when a loot filter is enabled.
This can be negated by setting the environment variable _NO_DEBUG_HEAP
=1.
The distribution zip could be changed to a new version with this single line change PlugYRun.cpp:470:
SetEnvironmentVariable("_NO_DEBUG_HEAP", "1");
Or a bat/ps1 file to set the variable as an alternate to a shortcut. Or changing the shortcut to set the variable before creating the Plugy process.