I've been trying to help track this down with the modders. The hang bug was happening to me a lot, but very few other people were reporting or could confirm that it happens. Not with Company Uniforms though. For me it was just when trying to draw previews when hovering over the girls in the room list.
Trist (the modder I've been working with) suggested using the option to clean memory "Every Time Slot" instead of "Each Game Day" (in preferences).
Apparently it has a lot to do with how much memory the game has to work with (for Textures I think Trist said).
I have a hack that works but probably only for high memory systems:
game\Mods\Core\Mechanics\Image_Handlers\zip_manager.rpy
Following changes:
Replace line 13:
And then re-enabled the commented out lines at the end of the file:Code:self.max_items = 1000
Still stable at day 49 now.Code:if not config.debug: # delays reload time (disable while debugging) zip_manager.preload()
Trist said that my hack crashes the game on his machine in short order since it runs out of mem, so not a good all around solution. My machine is pretty beefy with 32G ram, so your mileage may vary. His has only 8 (which is normally fine for such things).
So if you have 8 or less gigs or don't want to hack code, try Trist's recommendation:
Just got done testing the fixes described. Unfortunately, neither the hack nor changing the cache settings worked. Thank you for responding, though.I've been trying to help track this down with the modders. The hang bug was happening to me a lot, but very few other people were reporting or could confirm that it happens. Not with Company Uniforms though. For me it was just when trying to draw previews when hovering over the girls in the room list.
Trist (the modder I've been working with) suggested using the option to clean memory "Every Time Slot" instead of "Each Game Day" (in preferences).
Apparently it has a lot to do with how much memory the game has to work with (for Textures I think Trist said).
I have a hack that works but probably only for high memory systems:
game\Mods\Core\Mechanics\Image_Handlers\zip_manager.rpy
Following changes:
Replace line 13:
And then re-enabled the commented out lines at the end of the file:Code:self.max_items = 1000
Still stable at day 49 now.Code:if not config.debug: # delays reload time (disable while debugging) zip_manager.preload()
Trist said that my hack crashes the game on his machine in short order since it runs out of mem, so not a good all around solution. My machine is pretty beefy with 32G ram, so your mileage may vary. His has only 8 (which is normally fine for such things).
So if you have 8 or less gigs or don't want to hack code, try Trist's recommendation: