Music in 2.0.4_RC1

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Post Reply
User avatar
Terminator
Regular
Regular
Posts: 1077
Joined: 05 Aug 2006, 13:46
Location: Ukraine
Contact:

Music in 2.0.4_RC1

Post by Terminator »

Installing game doesnt creat folder "\music" and playlist file " music.wpl ".(its a problam for noobs)
===================================================
Anyway I think need to do somethink like "auto music search" > just put media files in folder "music" and warzone find and play it by himself.
Death is the only way out... sh*t Happens !

Russian-speaking Social network Group http://vk.com/warzone2100
User avatar
C01eMaN
Trained
Trained
Posts: 58
Joined: 11 Aug 2006, 07:17
Location: UK
Contact:

Music in 2.0.4_RC1

Post by C01eMaN »

Anyway I think need to do somethink like "auto music search" > just put media files in folder "music" and warzone find and play it by himself.
good idea. the only musc that really suits wz tho is its origional music
Im Addicted To Warzone!!!!!!!
Kalevispetke
New user
Posts: 2
Joined: 16 Aug 2006, 13:12

Music in 2.0.4_RC1

Post by Kalevispetke »

Hello, new member here.

I just found out that the good ole Warzone 2100 is still alive with this project. KEEP IT UP guys you rock!!

I Got the warzone music tracks as VBR MP3s and I have them in "\music" folder. I also have the music.wpl file in the same dir with the tracks and its contents are as follows:

[menu]
music\Title.mp3

[game]
music\CD1BGM.mp3


But I hear nothing ingame, what is wrong? Can you make this game play the cd automatically so I could hear the music straight off my WZ 2100 disc :P, Just like in the original game.
Suprano
Rookie
Rookie
Posts: 31
Joined: 04 Aug 2006, 11:44
Location: Bavaria
Contact:

Music in 2.0.4_RC1

Post by Suprano »

@auto music search-Idea:

hmm why not creating the subdir "menu" and put there all the menu music (no matter which name) and in the "music" dir the normal game music..

--Ano
User avatar
Terminator
Regular
Regular
Posts: 1077
Joined: 05 Aug 2006, 13:46
Location: Ukraine
Contact:

Music in 2.0.4_RC1

Post by Terminator »

Music works only in 2.0.4_RC1(in 2.0.3 its not work) mp3's files and music.wpl must be in "wz2100\music\" folder.

music.wpl must containe next : (in this exemple I have 4 tracks in ogg format)

[game]
path=.
shuffle=yes
wz1.ogg
wz2.ogg
wz3.ogg
wz4.ogg

[menu]
path=.
wz1.ogg
Death is the only way out... sh*t Happens !

Russian-speaking Social network Group http://vk.com/warzone2100
Kalevispetke
New user
Posts: 2
Joined: 16 Aug 2006, 13:12

Music in 2.0.4_RC1

Post by Kalevispetke »

I made it just like that but still no music!

somethings wrong with your code I think.
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Music in 2.0.4_RC1

Post by DevUrandom »

Music must be in ogg-vorbis or mp3 format.
It must be in the Warzone program folder's music folder (eg. C:\Program Files\Warzone\music) (otherwise you need to supply the full path).
The (source)code works. ;)
madman2k
New user
Posts: 4
Joined: 31 Aug 2006, 14:50

Re: Music in 2.0.4_RC1

Post by madman2k »

didnt we have some music shipped with some early version of watzone already? what happened to that?
michaelb
Rookie
Rookie
Posts: 21
Joined: 07 Oct 2006, 15:56
Contact:

Re: Music in 2.0.4_RC1

Post by michaelb »

Kalevispetke wrote: I made it just like that but still no music!
I have the same issue. I've followed your example exactly (I think ;) ), but no music. I tried it with both oggs and MP3s, but to no avail.

I think the idea of auto-detecting music in the music folder is probably best.
Last edited by michaelb on 07 Oct 2006, 16:55, edited 1 time in total.
User avatar
Watermelon
Code contributor
Code contributor
Posts: 551
Joined: 08 Oct 2006, 09:37

Re: Music in 2.0.4_RC1

Post by Watermelon »

I had the same problem:

I created a music.wpl file from scratch,but it didnt work.So I extracted a music.wpl from earlier version of wz package from sourceforge? site,I noticed the music.wpl in earlier version of wz package uses 'new line' mark,I guess the code expects the mark when reading the playlist,that explains the one I created didnt work.

Here is a little 'template' I created with proper format,replace [music1],[music2],[music3],[music4],[music5] and [menumusic] with your filename.extension,hope it will work for you.  :)
Attachments
music.zip
(187 Bytes) Downloaded 436 times
tasks postponed until the trunk is relatively stable again.
ZellSF
New user
Posts: 1
Joined: 17 Nov 2006, 09:16

Re: Music in 2.0.4_RC1

Post by ZellSF »

That template works, as long as you edit in an editor that supports said new line mark. Notepad will screw up on this one, so use wordpad. Or some other program.
Post Reply