ChaosMarc / PlugY

PlugY, The Survival Kit - Plug-in for Diablo II Lord of Destruction
GNU General Public License v3.0
179 stars 40 forks source link

sss file bigger and bigger, game loading slower and slower ,is there any optimize way? #51

Open 3594302 opened 3 years ago

3594302 commented 3 years ago

is there any way to make big sss file loading more quickly?

ChaosMarc commented 3 years ago

can you upload such a file? I have a stash with a couple hundred pages and it's loading fine :) are you using the latest version? we had this behavior in the past, but it's long fixed

3594302 commented 2 years ago

_LOD_SharedStashSave.zip take long time to finish character loading

ChaosMarc commented 2 years ago

Hey @3594302, sorry for the late reply but I've been away from home for 3 weeks until yesterday. I can observe the slow loading with your stash file too. There are MANY 1x1 items in this stash. This is a lot to load if everything has to be loaded upfront which it apparently does. On your very last page are some "hacked" small charms. The one on the bottom does crash my game when hovering it (1.14d) though. Could you please remove this one and upload the stash again so we can rule out this charm as the culprit for the long loading times. Thank you 😃

3594302 commented 2 years ago

_LOD_SharedStashSave_0606.zip Hi , I removed those charms in this 0606 zip, wish it useful for debugging.

ChaosMarc commented 2 years ago

Thanks for uploading! I can reproduce the slow loading. I guess having like 5000 pages full of items just takes this long to parse. I'd say the only fix would be some kind of lazy loading for the stashes. This is way beyond my paygrade so it has to wait until someone (perhaps even Yohann himself) finds the time to implement it.