Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: NewGRF animated tiles can be very resource-intensive #10192

Open
maaaaaaaaaad opened this issue Nov 23, 2022 · 5 comments
Open

[Bug]: NewGRF animated tiles can be very resource-intensive #10192

maaaaaaaaaad opened this issue Nov 23, 2022 · 5 comments
Labels
bug Something isn't working component: NewGRF This issue is related to NewGRFs

Comments

@maaaaaaaaaad
Copy link

Version of OpenTTD

13.0 - Beta 1 - OS 13.0.1

Expected result

First of all, thank you to everyone who put work into this release and all the previous releases, and I apologize if this bug report doesn't belong here.

I started a new game in 13.0 Beta -1, and noticed a very low frame rate even though the save game still has relatively few vehicles. I'm not sure if the issue is caused by the latest beta or is a result of possibly incompatible GRFs?

Actual result

I expected a higher frame rate especially given that there are still very few vehicles in the save game.

Steps to reproduce

The save game is too large to upload but can be found here

@James103
Copy link
Contributor

The attached save includes a NewGRF which is not available on the ingame content downloader.
Are you able to reproduce this without such NewGRFs?

@JGRennison
Copy link
Contributor

That NewGRF is not essential to load the savegame and observe the issue.

In general you'd probably be better off with a smaller map size.

@maaaaaaaaaad
Copy link
Author

True, but that would make it less fun :) I've played same-size scenarios before but encountered frame rate issues much later in the gameplay when it included thousands of vehicles.

However, at that point, I used the Japanese TownSet (and not the RealHouses 32-bit version used here), which I suspect might be contributing to the lower frame rate?

@JGRennison
Copy link
Contributor

Yes, the Real Houses set is causing the issue due to its use of animation callbacks for detecting neighbouring roads for building orientation. I'd suggest using a different house set in future games.

@maaaaaaaaaad
Copy link
Author

Got it, that's a shame such a beautiful set, is there a way to possibly switch off the detecting mode?

JGRennison added a commit to JGRennison/OpenTTD-patches that referenced this issue Nov 24, 2022
JGRennison added a commit to JGRennison/OpenTTD-patches that referenced this issue Nov 24, 2022
@2TallTyler 2TallTyler changed the title [Bug]: Low frame rate ~ 11 frames/s [Bug]: NewGRF animated tiles can be very resource-intensive Nov 27, 2022
@2TallTyler 2TallTyler added component: NewGRF This issue is related to NewGRFs bug Something isn't working labels Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component: NewGRF This issue is related to NewGRFs
Projects
None yet
Development

No branches or pull requests

4 participants