Just so, it's gone. The game runs at its usual pace again. And now that it is gone, it is gone for most of my saved games. No idea why. Here's what I checked and proved not to have an influence:
(1) It doesn't't depend on my system configuration, CPU speed, RAM, virtual memory, GPU, hard disk space or fragmentation etc. I optimized my system and had the system monitor running, and every part of my system still has reserves when running a
BWP-modded
BG2 with everything than can possibly affect performance like
SCS, Infinity Animations etc. Defrag didn't change anything.
(2) It doesn't depend on concurrently running other software, virus checkers, firewalls etc.. There was no change when I turned them off and ended all unnecessary tasks.
(3) It doesn't depend on script actions. I checked that with LSTest. It may depend on script condition checking, I have no way to test that.
(4) It doesn't depend on BGConfig settings, enabled/disabled ambient sound, cache size, pathfinding nodes, hardware and graphic settings etc.. I used different settings when the phenomenon was still present and there was no change at all.
(5) It doesn't depend on the number of creatures present on the current map, the number or kind of creatures/NPCs in combat, whether they have
SCS scripts or not. If the phenomenon is present, these things make it a lot worse, but not unless it's noticeable even without these elements.
One suspect I forgot to check while the game was slowed is the cache folder. I didn't think of it because some saved games showed the slowdown, others didn't. Or so it felt at the time. Now that it's completely gone I know all saved games showed it in different degrees, and now it's gone for all of them. I also changed my saving behavior: now, if I make a regular save, I always create a new one and delete the old one instead of overwriting the old one. It probably doesn't mean anything, but stranger things have happened...
This is just FYI for anyone who has similar problems. I hope if the phenomenon occurs again, it will turn out to be the cache folder that's responsible. If not, I'll be stumped.
Edited by Ieldra, 17 August 2010 - 11:54 PM.