TazTxUK / MinimapAPI

15 stars 10 forks source link

Severe performance problems on alt path (mirrored world) #147

Open Tvangeste opened 4 months ago

Tvangeste commented 4 months ago

This happens almost every time, and esp. if I exit/save and return back a couple of times. Eventually, the game is loading for many minutes and very stuttery.

The minimapi/save1.dat quickly become HUGE. For example, my current one is 420KB when I spent some time in Downpour || in mirrored world. When looking into the file, I see the LevelData structure, consisting of two arrays, the first one is of length 1632 (!!!) and rapidly growing :)

The second array is of size 34, which seems to be normal.

Basically, with this problem it is close to impossible for me to complete the run. I had to disable the MinimapAPI mod when I am in Downpour II, which is a hassle.

Thank you!

P.S. Also, navigating the mirrored world's map is weird, the left switch with the right and the map is mirrored, makes it awkward to teleport :)

Tvangeste commented 4 months ago

Here's the save1.dat file with huge amount of data there:

jsonformatter.txt

Zamiell commented 4 months ago

does the problem happen with only minimap api enabled and all other mods disabled?

Tvangeste commented 4 months ago

The problem happens in both cases, when I disable all mods except the minimapAPI, and when I enable all my typical mods. Basically, as soon as minimapAPI mod is enabled, I see the problem.

I was removing mods one by one, and the only one that causes the problems in this scenario (mirror world with multiple pause-exits) was minimapAPI.

And as soon as I leave the level to the next one, the problem is gone altogether.

Lunastela commented 2 weeks ago

Would like to bring attention to this. It seems to be related to any dimensions that aren't the main dimension, Unsure if it is a direct result of rewinding/using Glowing Hourglass in Mirror World / Mines Puzzle, but that seems to be the easiest way to trigger it. It causes Save File data to increase until it begins to lag the game.