Trunk 6467 ignores playlistfile?

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Thyranim
Trained
Trained
Posts: 190
Joined: 20 Dec 2008, 16:35
Location: Germany

Trunk 6467 ignores playlistfile?

Post by Thyranim »

I've installed warzone2100_TRUNK-r6467.exe on WindowsXP
and created a "music.wpl" in the "warzone2100/music" folder
beginning with:

Code: Select all

menu/ut2004_ghosts_of_anubis.ogg
no problem until this point
but warzone is not playing anything ?!
setting debug to "all" and browsing the debug-file shows:

Code: Select all

wz      |000000000000: [PlayList_Read] Reading...[directory: .\] music/music.wpl
sound   |000000000000: [PlayList_Read] Added song menu/ut2004_ghosts_of_anubis.ogg to playlist
looks great, but afterwards it says:

Code: Select all

sound   |000000000002: [cdAudio_PlayTrack] called(0)
sound   |000000000002: [cdAudio_OpenTrack] called(music/menu.ogg)
sound   |000000000002: [cdAudio_Stop] called, cdStream=00000000
wz      |000000000002: [cdAudio_OpenTrack] Reading...[directory: (null)] music/menu.ogg
error   |000000000002: [cdAudio_OpenTrack] Failed opening file [directory: (null)] music/menu.ogg, with error File not found
what the ... O_o
why trying to open "music/menu.ogg" ???
i can write anything to the music.wpl, it always says "playlist_read added song" with the text of the line in the playlist file
like here:

Code: Select all

wz      |000000000000: [PlayList_Read] Reading...[directory: .\] music/music.wpl
sound   |000000000000: [PlayList_Read] Added song this is a test-line in the music-playlist-file to playlist
but when the game should load the music, it always tries to load "menu.ogg" in "music" directory ...
:(

where's my mistake ?!?

Edit:
Works ingame!
Problem only occurs when being in menu...
User avatar
Zi-Chan
Trained
Trained
Posts: 180
Joined: 12 Aug 2008, 01:06

Re: Trunk 6467 ignores playlistfile?

Post by Zi-Chan »

I think, the Game always wants to load a Track for the Menu, when being in Menu. Try to put another Track in your Folder and name it menu.ogg and then see, what happens. The Error-Message just says, that the Game doesn't find the File. And then it aborts. Typically.
:ninja:
Thyranim
Trained
Trained
Posts: 190
Joined: 20 Dec 2008, 16:35
Location: Germany

Re: Trunk 6467 ignores playlistfile?

Post by Thyranim »

That implies, that the playlist file only is used for the playing-time itself, and there's only 1 song in the menu...

hm, more liked the old format of the playlist-file :|