Page 1 of 1

Help getting music to work

Posted: 06 Apr 2007, 05:27
by Azraiel
I followed the instructions perfectly I think.

I made a folder in my warzone folder titled, music.

Inside I have music.wpl which looks like this inside.

[game]
path=.
shuffle=yes
gzt_rebirth.ogg
gzt-blackwinter.ogg
michaelb-battle_sequence.ogg
michaelb-fire_and_slaughter.ogg
tonaldiscrepancy-phlogiston.ogg
tonaldiscrepancy-sunrise_on_a_cloudy_day.mp3

[menu]
path=.
gzt_rebirth.ogg

All music files are inside the music folder as well. I don't understand why this isnt working right. Please help me.

Re: Help getting music to work

Posted: 06 Apr 2007, 05:46
by lav_coyote25
Azraiel wrote: I followed the instructions perfectly I think.

I made a folder in my warzone folder titled, music.

Inside I have music.wpl which looks like this inside.

[game]
path=.
shuffle=yes
gzt_rebirth.ogg
gzt-blackwinter.ogg
michaelb-battle_sequence.ogg
michaelb-fire_and_slaughter.ogg
tonaldiscrepancy-phlogiston.ogg
tonaldiscrepancy-sunrise_on_a_cloudy_day.mp3

[menu]
path=.
gzt_rebirth.ogg

All music files are inside the music folder as well. I don't understand why this isnt working right. Please help me.

you followed this graphic??

here...

Re: Help getting music to work

Posted: 06 Apr 2007, 14:37
by Azraiel
yes, near as I can tell. I have gone over it like ten times now looking for error.

I am also running the latest version and have windows XP.

Re: Help getting music to work

Posted: 06 Apr 2007, 16:56
by DevUrandom
Try starting with --debug all --debugfile warzone.log and post that file here.

Re: Help getting music to work

Posted: 06 Apr 2007, 20:38
by Azraiel
here you go

Re: Help getting music to work

Posted: 07 Apr 2007, 11:01
by DevUrandom
Directly after the sound initialisation (where it reports the OpenAL version) there should be a line similar too:
wz:          adding song music/Nexus.ogg
This line is even present when the file doesn't exist (eg. the path is wrong).

So what I think is that your music.wpl is in the wrong position.

Your Warzone's search paths are:
wz:        Search paths:
wz:            [C:\Documents and Settings\Jacob\My Documents\Warzone 2100\]
wz:            [C:\Program Files\Warzone 2100\mods/global\grim.wz]
wz:            [C:\Program Files\Warzone 2100\mp.wz]
wz:            [C:\Program Files\Warzone 2100\]
wz:            [C:\Program Files\Warzone 2100\warzone.wz]
Which means that you could put your playlist into one of the following paths:
C:\Documents and Settings\Jacob\My Documents\Warzone 2100\music\music.wpl
C:\Program Files\Warzone 2100\music\music.wpl
Make sure that the playlist's filename is exactly music\music.wpl. This is case __sensitive__ (i.e. mUSic\Music.WPL won't work).

Re: Help getting music to work

Posted: 07 Apr 2007, 14:58
by Azraiel
AH! Didn't know it is case sensitive. My music folder is spelt Music. Doh!

Re: Help getting music to work

Posted: 07 Apr 2007, 15:13
by DevUrandom
I assume it works now?

Generally all filenames in Warzone are case sensitive. There is some fallback code for Windows, but it doesn't work very well, is currently not used everywhere and will be removed at all in 2.1.

Re: Help getting music to work

Posted: 07 Apr 2007, 16:13
by Azraiel
no it still doesnt work.  :(
And I have it in both spots.

Re: Help getting music to work

Posted: 07 Apr 2007, 16:24
by DevUrandom
And still there is no sign of "adding song" in the debug output? That's really odd...

Re: Help getting music to work

Posted: 07 Apr 2007, 17:05
by Azraiel
here is new log

Re: Help getting music to work

Posted: 09 Apr 2007, 17:58
by Azraiel
OK, issue is resolved now. I fiddled with some stuff and it worked all of a sudden. Not sure why lol. Thanks for help, I really appreciate it.