-
Notifications
You must be signed in to change notification settings - Fork 8
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
Convert music files to OGG to save disk usage #1
Comments
Changes are in https://github.com/akien-mga/intrepid/tree/music-ogg if you want to test. |
BTW, final package size (which contains only the
So 59M saved in the final distribution. One would expect that the 700M worth of textures would make up more of the final package, but I assume they're exported compressed and end up much smaller than their 2k PNG originals. Size difference on the .pck itself:
(Interesting to see how much RPM can reduce the package size, I wouldn't expect |
Unrelated, but one thing I missed in the game or README so far is the attribution/copyright notice for Godot Engine itself as per the MIT license: https://github.com/godotengine/godot/blob/master/LICENSE.txt Including the legalese in the game is a bit boring, so what I recommend usually is to put a statement that the game is developed with Godot Engine somewhere with a link to https://godotengine.org/license. |
I spoke a bit too fast here, the door of the first room doesn't open on 3.1.1. I'll see if I can fix that while preserving compat with 3.0.6. |
@akien-mga Godot Engine's license has been added to README, sorry it took me so long ;) |
Hi Paweł,
I'm looking into packaging Intrepid for my Linux distro Mageia, and it seems to work well even with Godot 3.1.1.
The source tarball and exported .pck are both pretty heavy, and it seems like there are some low hanging fruits to reduce this disk usage and bandwidth requirement on install.
A first thing is that all sounds are in .wav format, while the music tracks could likely work just as well in .ogg with decent enough quality:
In the .pck, the .wav files are recompressed to Godot's proprietary
.sample
format, but the size difference is not big (60M formain_music_loop.wav-40af629615e14c1e1b8d4b2a30d791c4.sample
).After converting the ones which seem to be music tracks to me, I get:
With these changes I go from:
to:
In the tarball, I save 104 MB:
I played the main menu music, credits and intro, I don't notice much quality loss, though I'm not a very experienced audio person :)
I did changes locally, so I can PR them if you're interested.
The text was updated successfully, but these errors were encountered: