Music in 2.0.4_RC1

Do you need help? Ask here!
Bugreporting tutorial inside!

Music in 2.0.4_RC1

Postby Terminator » 10 Aug 2006, 13: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... Shit Happens !

New Russian-speaking wz site http://warzone2100.ho.ua
Terminator
Elite

User avatar
 
Joined: August 2006
Location: Ukraine

Music in 2.0.4_RC1

Postby C01eMaN » 11 Aug 2006, 06: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!!!!!!!
C01eMaN
Trained

User avatar
 
Joined: August 2006
Location: UK

Music in 2.0.4_RC1

Postby Kalevispetke » 16 Aug 2006, 12: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

 
Joined: August 2006

Music in 2.0.4_RC1

Postby Suprano » 16 Aug 2006, 14: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

 
Joined: August 2006
Location: Bavaria

Music in 2.0.4_RC1

Postby Terminator » 17 Aug 2006, 11: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... Shit Happens !

New Russian-speaking wz site http://warzone2100.ho.ua
Terminator
Elite

User avatar
 
Joined: August 2006
Location: Ukraine

Music in 2.0.4_RC1

Postby Kalevispetke » 17 Aug 2006, 14:38

I made it just like that but still no music!

somethings wrong with your code I think.
Kalevispetke

 
Joined: August 2006

Music in 2.0.4_RC1

Postby DevUrandom » 17 Aug 2006, 19: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. ;)
DevUrandom
Inactive

User avatar
 
Joined: July 2006

Re: Music in 2.0.4_RC1

Postby madman2k » 01 Sep 2006, 10:17

didnt we have some music shipped with some early version of watzone already? what happened to that?
madman2k

 
Joined: August 2006

Re: Music in 2.0.4_RC1

Postby michaelb » 07 Oct 2006, 15: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, 15:55, edited 1 time in total.
michaelb
Rookie

 
Joined: October 2006

Re: Music in 2.0.4_RC1

Postby Watermelon » 08 Oct 2006, 10: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 152 times
tasks postponed until the trunk is relatively stable again.
Watermelon
Code contributor

User avatar
 
Joined: October 2006

Re: Music in 2.0.4_RC1

Postby ZellSF » 19 Nov 2006, 00: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

 
Joined: November 2006


Return to Help / Troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest