Since I just saw ck's ogg loading optimization commit: ogg files are only preloaded at program startup if the Music.ocg is packed (because otherwise extreme lag is caused on music switches). I have already modified the windows installer to unpack the global Music.ocg after installation (also if ala's bonus music pack is downloaded).
Maybe snapshots should also have unpacked Music.ocg? I don't know if that causes any other problems.
Maybe snapshots should also have unpacked Music.ocg? I don't know if that causes any other problems.
I'm playing from the repo with unpacked Music.ocg, so this is probably something else. I think it's the sounds being loaded that takes so long, not the music. By the way, even after my commit 60% of startup time is still spent decoding ogg files. I was thinking about loading them in memory in compressed form at startup and decoding them lazily as they are actually being played.
I can make snapshots have unpacked Music.ocg, but the snapshots don't contain ala's music pack anyway...
I can make snapshots have unpacked Music.ocg, but the snapshots don't contain ala's music pack anyway...
Attachment: oc_startup.png (192k)
The problem is the huge packed Music.ocg that you get from the downloads section. :o
Oh, and I think playing the same 3 songs over and over again is worse than having no music at all. So the snapshots and installer should contain no music at all.
Oh, and I think playing the same 3 songs over and over again is worse than having no music at all. So the snapshots and installer should contain no music at all.
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill