forked from Mirrors/openclonk
Unpack Music.ocg in Windows installer.
Currently, all music pieces are kept in memory to avoid random group access, which is a bit excessive for the larger music pack. This change will allow runtime music loads without too much delay.lights3
parent
49a3dd56cd
commit
c588fe79c9
|
@ -234,6 +234,10 @@ Section
|
||||||
; Do this after the other installation tasks so everything is in order if the user cancels during downloading.
|
; Do this after the other installation tasks so everything is in order if the user cancels during downloading.
|
||||||
Call MusicPackDownload
|
Call MusicPackDownload
|
||||||
Call MusicPackInstall
|
Call MusicPackInstall
|
||||||
|
|
||||||
|
; Unpack Music.ocg for faster music switching (regardless if it's the regular or the extended pack)
|
||||||
|
DetailPrint "Unpacking Music file..."
|
||||||
|
ExecShell "open" "$INSTDIR\c4group.exe" "Music.ocg -u" SW_HIDE
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue