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

Optimize resources. #1868

Merged
merged 4 commits into from
Jan 19, 2025
Merged

Conversation

Lymia
Copy link
Contributor

@Lymia Lymia commented Jan 19, 2025

This PR reduces the size of the download from ~380MB to ~180MB, reducing it by about 200 megabytes. It makes two main changes to achieve this:

  • Reencode all music into OGG format with the Opus codec instead of MP3, which allows similar quality at much smaller file sizes.
  • Reencode all assets to use indexed color, then recompress them with zopflipng.

This PR requires #1867 to function, as otherwise OGG music does not function correctly.

Seems this PR breaks github by changing >5000 files at once, sorry. Only resources files are changed, I split #1867 into a separate PR to avoid this preventing code review.

@Robosturm Robosturm merged commit 933e8e8 into Robosturm:master Jan 19, 2025
2 checks passed
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.

2 participants