2 possible bugs in r6428

Warzone 2.1.x series. (Unsupported--read only!)
Locked
User avatar
EVIL386
Trained
Trained
Posts: 80
Joined: 05 Jan 2007, 02:11

2 possible bugs in r6428

Post by EVIL386 »

Not sure wether these are bugs or not
  1. Music does not play in game, but it plays in the menus
  2. The game will not load data from warzone.wz
  1. Firstly when I got WZ running I found there is no music, here is my stderr with debug sound on

    Code: Select all

    sound   |000000000000: [PrintOpenALVersion] OpenAL Vendor: Creative Labs Inc.
    sound   |000000000000: [PrintOpenALVersion] OpenAL Version: 1.1
    sound   |000000000000: [PrintOpenALVersion] OpenAL Renderer: Software
    sound   |000000000000: [PrintOpenALVersion] OpenAL Extensions: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE AL_EXT_EXPONENT_DISTANCE
    sound   |000000000000: [PrintOpenALVersion] available openAL device(s) are: Generic Hardware
    sound   |000000000000: [PrintOpenALVersion] available openAL device(s) are: Generic Software
    sound   |000000000000: [PlayList_Read] Added song [game] to playlist
    sound   |000000000000: [PlayList_Read] Added song path=music to playlist
    sound   |000000000000: [PlayList_Read] Added song track1.ogg to playlist
    sound   |000000000000: [PlayList_Read] Added song track2.ogg to playlist
    sound   |000000000000: [PlayList_Read] Added song track3.ogg to playlist
    sound   |000000000000: [PlayList_Read] Added song [menu] to playlist
    sound   |000000000000: [PlayList_Read] Added song path=music to playlist
    sound   |000000000000: [PlayList_Read] Added song menu.ogg to playlist
    sound   |000000000000: [cdAudio_Open] called(music)
    sound   |000000000002: [cdAudio_PlayTrack] called(0)
    sound   |000000000002: [cdAudio_OpenTrack] called(music/menu.ogg)
    sound   |000000000002: [cdAudio_Stop] called, cdStream=0
    sound   |000000000002: [cdAudio_OpenTrack] successful(music/menu.ogg)
    sound   |000000001700: [cdAudio_Pause] called
    error   |000000001700: [seq_Play] unable to open 'sequences/cam1/c001.ogg' for playback
    sound   |000000001700: [cdAudio_Resume] called
    error   |000000001716: [rebuildSearchPath] Failed to remove path E:\Code/data/\ again
    error   |000000001716: [rebuildSearchPath] Failed to remove path E:\Code/share/warzone2100/\ again
    sound   |000000000002: [scrPlayIngameCDAudio] Script wanted music to start
    sound   |000000000002: [cdAudio_PlayTrack] called(1)
    sound   |000000000002: [cdAudio_OpenTrack] called(music/[game])
    sound   |000000000002: [cdAudio_Stop] called, cdStream=0x2355e40
    sound   |000000005789: [__sound_GetError] OpenAL raised an error: "AL_INVALID_NAME: Invalid name parameter passed"; at openal_track.c:1153
    sound   |000000006524: [cdAudio_Stop] called, cdStream=0
    sound   |000000006524: [__sound_GetError] OpenAL raised an error: "AL_INVALID_OPERATION: Illegal call"; at openal_track.c:551
    sound   |000000000002: [cdAudio_PlayTrack] called(0)
    sound   |000000000002: [cdAudio_OpenTrack] called(music/menu.ogg)
    sound   |000000000002: [cdAudio_Stop] called, cdStream=0
    sound   |000000000002: [cdAudio_OpenTrack] successful(music/menu.ogg)
    sound   |000000002468: [cdAudio_Close] called
    sound   |000000002468: [cdAudio_Stop] called, cdStream=0x2341ab0
    sound   |000000002468: [sound_ShutdownLibrary] starting shutdown
    sound   |000000002468: [sound_ShutdownLibrary] make default context NULL
    sound   |000000002468: [sound_ShutdownLibrary] destroy previous context
    sound   |000000002468: [sound_ShutdownLibrary] close device
    
  2. Secondly if i try and use warzone.wz I get this from stderr

    Code: Select all

    error   |000000000000: [scanDataDirs] Could not find game data. Aborting.
    Although if I extract warzone.wz into the data folder in the dir the exe is in, it works fine O_o strange eh?
Just my observations :)
User avatar
lav_coyote25
Professional
Professional
Posts: 3434
Joined: 08 Aug 2006, 23:18

Re: 2 possible bugs in r6428

Post by lav_coyote25 »

just a dumb question - have you tried setting the sound when in game.... i believe there is a slider and it will sometimes not be engaged... no matter what the slider is in the start menu..
User avatar
EVIL386
Trained
Trained
Posts: 80
Joined: 05 Jan 2007, 02:11

Re: 2 possible bugs in r6428

Post by EVIL386 »

Just loaded up and did a quick check and yes I can confirm they were indeed up. :)
Have there been any changes to the music.wpl format?
but as my stderr shows, it recognises the three tracks so i'm guessing it's not an issue there.
fisk0
Trained
Trained
Posts: 245
Joined: 17 Aug 2008, 16:59
Location: Stockholm, Sweden

Re: 2 possible bugs in r6428

Post by fisk0 »

I've had the problem with the music in most of the nightly builds. I think the only one I have not had the problem in (and that is the latest one I've tried recently) was r6376.
I also only got the menu music, but everywhere else in the game there were no music playing.
Desktop: AMD Athlon X3 440 3.0ghz, 4GB RAM, Radeon HD4200, Windows 7 Professional 64-bit
Laptop: AMD Athlon X2 QL-64 2.1Ghz, 3GB RAM, Radeon HD3200, Windows Vista Home Basic 32-bit & Ubuntu 9.04 64-bit
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: 2 possible bugs in r6428

Post by Buginator »

fisk0 wrote:I've had the problem with the music in most of the nightly builds. I think the only one I have not had the problem in (and that is the latest one I've tried recently) was r6376.
I also only got the menu music, but everywhere else in the game there were no music playing.
Which directory is the music located in?

Try moving it to your ~/.warzone2100/music directory.

And yes, the format was modified (for trunk), I don't recall the specifics.
and it ends here.
Locked