ameisen / SV-SpriteMaster

SpriteMaster Mod for Stardew Valley
Mozilla Public License 2.0
13 stars 11 forks source link

SpriteMaster with StardewValley 1.5 causes Lag on opening the Inventory #4

Closed friederschueler closed 3 years ago

friederschueler commented 3 years ago

There is some massive lag, everytime I open my inventory. On my fast PC it is barely a second but on my slower multimedia machine it can be 1-2sec with local coop multiplayer (2 players).

The interesting part is, opening the inventory on the second screen in local coop doesn't trigger any lag.

It is spamming

[15:46:34 TRACE game] Window_ClientSizeChanged(); Window.ClientBounds={X:0 Y:0 Width:2048 Height:1152}
[15:46:45 TRACE game] Window_ClientSizeChanged(); Window.ClientBounds={X:0 Y:0 Width:2048 Height:1152}
[15:46:46 TRACE game] Window_ClientSizeChanged(); Window.ClientBounds={X:0 Y:0 Width:2048 Height:1152}
[15:46:47 TRACE game] Window_ClientSizeChanged(); Window.ClientBounds={X:0 Y:0 Width:2048 Height:1152}

in the Log everytime I open the inventory

friederschueler commented 3 years ago

Is a duplicate of #2 and it is fixed after pull from repo and rebuild. Thank you!

ameisen commented 3 years ago

It's always nice when an issue is opened, resolved, and closed entirely without my input :).

Schön gut!

I am debating releasing a SDV 1.5 hotfix or waiting until I have all the issues properly resolved.

Unfortunately, I only really have time to work on this over weekends, which limits my progress. I'm leaning towards a hotfix as the caching subsystem and the resampling mediator desperately need to be refactored - I've been trying to add CPA support, but a lot of the assumptions made by those systems aren't working well with it.