Vadru93 / LevelMod

THPS3 LevelMod
Other
21 stars 2 forks source link

Longer load times when (re)starting a level #88

Closed buvk closed 3 years ago

buvk commented 3 years ago

In vanilla THPS3, starting or re-starting a level is almost instant. In LevelMod, there is roughly a 1 to 2 second pause.

DCxDemo commented 3 years ago

it's a trade-off for the new features. at the very least it generates mip maps for all textures now and it can't be instant. i wouldn't consider that a bug, but rather a low priority optimization request.

Vadru93 commented 3 years ago

Level loading can be optimized, they reload the level several times and I tried to fix it but then the bug appeared in competition. But it also like demo said, new features = longer loading. Also make sure debug mode is not enabled. Also it depends on hardware, for me it’s pretty much instant.

Vadru93 commented 3 years ago

Does disable filtering reduce loading times?

buvk commented 3 years ago

Doesn't appear to make a difference.

Vadru93 commented 3 years ago

Do you have the same issue in this commit https://github.com/Vadru93/LevelMod/commit/2beb1ee1b3d580980eca7cd25d1fb37f9ba57444

buvk commented 3 years ago

The issue occurs in that commit as well

Vadru93 commented 3 years ago

Btw it seems that you need to restart game after disabling filtering to really disable it

buvk commented 3 years ago

Btw it seems that you need to restart game after disabling filtering to really disable it

Yep, I made sure to do this.

Vadru93 commented 3 years ago

Well then I really don't know what can be the cause of it. And probably it cannot be optimized to be much faster than it already is.

buvk commented 3 years ago

The issue started on this commit https://github.com/Vadru93/LevelMod/commit/30112355884c9252d735ef09856c2d0d40bb953a

Tagging you since the issue is closed and I'm not sure if you are notified of every comment.

@Vadru93

Vadru93 commented 3 years ago

So I already know what it is. It’s some debug info code that I will move to debug version of levelmod. Thanks for the find!