Music in 2.0.4_RC1

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket

Music in 2.0.4_RC1

Postby Terminator » 10 Aug 2006, 14:13

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
Terminator
Regular
Regular
 
Posts: 1062
Joined: 05 Aug 2006, 13:46
Location: Ukraine

Music in 2.0.4_RC1

Postby C01eMaN » 11 Aug 2006, 07:38

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!!!!!!!
User avatar
C01eMaN
Trained
Trained
 
Posts: 58
Joined: 11 Aug 2006, 07:17
Location: UK

Music in 2.0.4_RC1

Postby Kalevispetke » 16 Aug 2006, 13:17

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.
Kalevispetke
New user
 
Posts: 2
Joined: 16 Aug 2006, 13:12

Music in 2.0.4_RC1

Postby Suprano » 16 Aug 2006, 15:54

@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
Suprano
Rookie
Rookie
 
Posts: 31
Joined: 04 Aug 2006, 11:44
Location: Bavaria

Music in 2.0.4_RC1

Postby Terminator » 17 Aug 2006, 12:45

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
User avatar
Terminator
Regular
Regular
 
Posts: 1062
Joined: 05 Aug 2006, 13:46
Location: Ukraine

Music in 2.0.4_RC1

Postby Kalevispetke » 17 Aug 2006, 15:38

I made it just like that but still no music!

somethings wrong with your code I think.
Kalevispetke
New user
 
Posts: 2
Joined: 16 Aug 2006, 13:12

Music in 2.0.4_RC1

Postby DevUrandom » 17 Aug 2006, 20:29

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. ;)
User avatar
DevUrandom
Regular
Regular
 
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Music in 2.0.4_RC1

Postby madman2k » 01 Sep 2006, 11:17

didnt we have some music shipped with some early version of watzone already? what happened to that?
madman2k
New user
 
Posts: 4
Joined: 31 Aug 2006, 14:50

Re: Music in 2.0.4_RC1

Postby michaelb » 07 Oct 2006, 16:06

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.
michaelb
Rookie
Rookie
 
Posts: 21
Joined: 07 Oct 2006, 15:56

Re: Music in 2.0.4_RC1

Postby Watermelon » 08 Oct 2006, 11:13

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 327 times
tasks postponed until the trunk is relatively stable again.
User avatar
Watermelon
Code contributor
Code contributor
 
Posts: 551
Joined: 08 Oct 2006, 09:37

Re: Music in 2.0.4_RC1

Postby ZellSF » 19 Nov 2006, 01:57

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.
ZellSF
New user
 
Posts: 1
Joined: 17 Nov 2006, 09:16


Return to Technical Help / Troubleshooting