Open Animation Replacer 0.4 (Patreon)
Downloads
Content
Hey!
It appears that I've found all the places I needed to fix up to double the max animation limit in a project from 32k to 64k.
The default value is still 32k but you can increase that through the ingame settings menu (press insert to open, the key can be changed in the ini that's generated after the first run). Requires a game restart to take effect, of course.
When increasing the limit to the maximum, increase the havok heap size as well, as it'll crash when it's too small.
Both values can be set to the maximum allowed value by the settings menu, but I'm not sure whether that's a good idea to set them to max by default. That amount of animations is a lot. I don't think most people will hit the 32k limit.
I tried to figure out replacing the synchronized animations (killmoves) but still no dice. There's a lot of weird stuff happening there, the synchronized animation clips have their own index in the animation bindings, separate from the actual animation clips used in the synchronized animation. It's all very strange. They also contribute to the overall maximum animation limit (along with possibly other unknown stuff) so the animation counter in the ingame menu now shows the size of the animation bindings array - should be more correct and avoid edge cases where you're almost at the animation limit and trample over the space that needs to be reserved for the synchronized clips, and break everything.
I've reverted the changes from 0.3 (the ones that skipped the anim queue) and put them behind an experimental setting that's disabled by default, because of the issues some of you were experiencing. Seems it's not the way to go generally, at least for now - I can't find a way to reproduce these issues on my side (seems to work perfectly fine) so I don't know where to look - and even then I wouldn't be sure.
There's also a setting, enabled by default, that loads the male/female behavior projects right when you enter the main menu - so the animations get queued for loading as early as possible.
EDIT 0.4.1: Attempted to fix the random crash caused by bLoadDefaultBehaviorsInMainMenu, uncommented the code that loaded female behaviors (oops). Also found another place I missed related to the anim limit patch, and fixed it.