Is it possible to import Music in the Game like the Music of Clonk Endeavour or other Music on my PC?
Jep, you have to unpack Music.ocg and copy MIDI or *.ogg files into the Music.ocg folder.
You can unpack them with c4group.exe. Do you know how to operate command line tools?
You can unpack them with c4group.exe. Do you know how to operate command line tools?
If I try to unpack it, this happens:
C:\Program Files\OpenClonk>c4group.exe Music.ocg -x
Unpack failed
Closing: No Error
It worked.
Do I need to pack it again?
EDIT: I tried it, but there was no music. So I tried to pack it, but there was no music too
Do I need to pack it again?
EDIT: I tried it, but there was no music. So I tried to pack it, but there was no music too
The game works with the unpacked folders.
But everytime you host an internet game , it packs unpacked folders again automatically for the round. This can take some time if the folder is pretty big (like Objects.ocd)
For Music.ocg I'm not sure, if it gets packed again, since it doesn't really need to be sent over the network.
But yeah, you can leave it unpacked.
Did you try to hit F3 in the game?
But everytime you host an internet game , it packs unpacked folders again automatically for the round. This can take some time if the folder is pretty big (like Objects.ocd)
For Music.ocg I'm not sure, if it gets packed again, since it doesn't really need to be sent over the network.
But yeah, you can leave it unpacked.
Did you try to hit F3 in the game?
I tried the original .mid files, but they don't worked. Now I'want to convert them to OGG if it works.
EDIT: Now it works with the OGG files.
Thank You
EDIT: Now it works with the OGG files.
Thank You
I would suggest letting an external music player run in the background for now.
There are ways to playing music through Clonk even without modifying Music.ocg (at least in ClonkRage), but I guess an external music player is a lot less effort for you - what about Foobar2000? :)
There are ways to playing music through Clonk even without modifying Music.ocg (at least in ClonkRage), but I guess an external music player is a lot less effort for you - what about Foobar2000? :)
You can also use
MoreMusic.txt
to give Clonk more directories to look for music. See article here (German).
We have migrated the blog to clonkspot.org. The new location for said article is there, too.
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill