(Updated) Heroine Rumble 0.401 experimental - optimization (Patreon)
Content
Edit:
Updated to v0.401 that fixes these issues. In addition, I have tested with the ModpackSlimOctober and it seems to loaded correctly (but there's some errors that could be a problem with the mods themselves)
Changelog (v0.401):
fixed the layout(140) shader compilation error
fixed a possible crash
(the new path for) loading animations is now done by checking skeleton layout rather than just by name
added error reporting when loading animation failed / grab preprocessing failed
console ui (F1) is now resizable
added additional user error fallback when failing to extract mod folders/packs correctly
This is an experimental build with a whole bunch (and I do mean it) of internal changes to make loading faster and the game run smoother. The concurrent loading system I talked about previously is still in the works and is not included in this build, but many of the other optimizations are in.
I expect there is a significant reduction in loading times and the game should be significantly smoother, especially for players with large mod folders. However... it's very possible (and likely TBH) that this patch introduced bugs, hence why it's an experimental build.
A bunch of other bugfixes and feature requests are also included, but if those don't interest you and you don't want to help test out this build's stability, feel free to skip it.
TECHNICAL - SKIP TO END UNLESS CURIOUS
The problem with Blender's glTF export is that it's meant for flexibility and not for runtime performance. Everything in the scene is exported together as one big node hierarchy that is shared between bones, skeletons, meshes and others. This is great for flexibility. For example, the hierarchy data makes it possible to actually define animations of meshes attached to a skeleton (skinned mesh) independently of the skeleton rig's influence. (The game doesn't support that)
What the game did previously: when loading multiple node hierarchy files (jsons), it merged those hierarchies together into one mega hierarchy. So when instantiating a skeleton, instead of only allocating the 100 bones that the skeleton actually has, it would allocate something like 200-300 nodes because of the extra nodes attached to the hierarchy. (One more outfit mesh -> one more node, plus extra nodes from the export)
It didn't seem like that would be a problem at the time, as I figured that even if it's wasteful, at most there would be like 4 active skeletons at once and the extra cost could be absorbed. And TBH that was mostly true... until the modders came. When there's lots of mods, and lots of outfits, the 200-300 nodes assumption doesn't hold anymore, and the 100-bone skeleton that was costing 200-300 nodes now suddenly costs 500+, 1000+ nodes. That's when performance tanks. Updating nodes takes a lot of computation and each node requires additional GPU memory too. Yikes.
The new system does away with all of that. Instead of blindly just reusing the exported glTF node hierarchy, it will first extract the actual skeletal data from the hierarchy. So skeletal data for 100 bones bundled in a 120-node hierarchy will now allocate exactly 100 bones and no more. Then an entirely new system was created to handle outfit (skinned mesh) attachment/detachment and animations.
I believe that's where most of the CPU slowdown and waste lies; that's why I believe this patch should have significant performance gains.
The memory consumption is still an issue though, because of this game's current "never evict loaded assets" policy. The upcoming concurrent loading will address this, but it's a big change, and many, many parts need to be converted from a purely synchronous model to an asynchronous one, which is why the concurrent loading stuff is still WIP.
END OF TECHNICAL
Changelog:
Tweaked the JSON loader, improving error message reporting
Game now loads glTF data into optimized skeleton data instead of using the raw glTF hierarchy
Optimized loading (should load into main screen faster)
Optimized the clustering lighting system
Tweaked the volumetric lighting system
Tweaked the bloom system
Tweaked graphics, overall should be brighter
Made some UI text smaller
Modernized the Options menu UI + Escape key menu UI
Added loading screen
Added disclaimer
Added new options to select male/female/f*** weights for randomly generated characters
Added option to tweak grab hit pause
Added new pose option for KNOCKDOWN_ON_GROUND
Added options to copy/paste grab loadouts in H-lab
Added experimental? support for Material Groups
Merchant inventory increased to 100 from 40
Breaking grabs may now cap the lust meter at 99% instead of 95%
MapData SpeakerData can now use .angleOffset and .yOffset even when not in grabs
Game is now compiled with no RTTI, no exceptions and LTO is enabled
Added DLL files check (but no .exe integrity check, so... if you know, you know)
Fixed feet Y placement being incorrect for non-standard size characters
Fixed missing interface in Voice/Dialogues screen
Fixed a particular crash when loading audio files
Fixed a particular crash in the map editor
Fixed bug in DialogueEditor where menus like "Player Choice" would appear in the background when opened
Fixed bugs in particle system
Fixed errors related to handling non-ASCII paths in mod folders
Fixed a floating point precision issue in shaders that causes black strips to appear on certain maps
Fixed damage_to_health_ratio being applied twice to the physical_damage -> lust_damage conversion when greater than 0
Download LINK Below:
Download LINK.