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
|
@ -235,6 +235,10 @@ Section
|
|||
Call MusicPackDownload
|
||||
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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue