View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0002062 | OpenClonk | Engine | public | 2019-04-22 06:38 | 2019-04-22 17:49 | ||||||||
Reporter | Foaly | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||
Status | new | Resolution | open | ||||||||||
Product Version | 8.1 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0002062: Packed Music.ocg delays start by several seconds. | ||||||||||||
Description | When the Music.ocg is packed, the engine takes more than 10 seconds extra to start up. This can be caused e. g. by downloading the full soundtrack manually. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files |
|
![]() |
|
Foaly (developer) 2019-04-22 09:07 |
Seems like the problem is that all music files are loaded into memory completely when it is packed. |
Luchs (administrator) 2019-04-22 17:49 |
I think the full soundtrack file is the only way of getting a packed Music.ocg right now, so it's not too bad. The Windows installer and the `make install` target both install the music unpacked. Maybe we could add code that tries to unpack Music.ocg on startup, and if that fails, show a message that warns the user? |