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

Add: --no-32bpp and --no-extra-zoom option to skip some alternative sprites #286

Merged
merged 1 commit into from
May 21, 2023

Conversation

glx22
Copy link
Contributor

@glx22 glx22 commented Apr 19, 2023

Following a discord conversation.

  • zephyris
    Hey, nmlc question for you all. Is there an argument which makes it ignore alternate zoom sprites? Similarly, make it ignore 32bpp alternates of sprites?
  • zephyris
    I'm hoping to make multiple versions of a grf at build time - file sizes get pretty enormous when including 32bpp and not everyone will need/want that.
  • glx
    I think it should be possible to add nozoom and no32bpp flags to nmlc

And it is indeed possible :)


bit_depths = {"BIT_DEPTH_8BPP": 8, "BIT_DEPTH_32BPP": 32.0}
allow_32pbb = True
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
allow_32pbb = True
allow_32bpp = True

And everywhere where it was transposed I guess.

@glx22 glx22 merged commit bcf815d into OpenTTD:master May 21, 2023
21 checks passed
@glx22 glx22 deleted the noEZ-no32 branch May 21, 2023 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants