Opened 15 years ago

Closed 15 years ago

#4239 closed defect (fixed)

WINCE: DW2 (and DW1): Music not audible on WM 6 device

Reported by: SF/pncfreak Owned by: SF/knakos
Priority: normal Component: Engine: Tinsel
Version: Keywords:
Cc: Game: Discworld II

Description

The music is not audible on my TyTN II using Lostechs latest build for the WinCE/Pocket PC Port (there are no daily SVN snapshots available for WinCE so the latest is: ScummVM_ARM_STATIC_2009_02_23 ) The music works fine on my (pncFreak) WinXP laptop and eriktorbjorns Linux box. Talk and sound effects works fine, I can hear these sounds quite well, but the music is inaudible.

Seems like the music is playing without any sound coming out, and as I wrote above, I hear all sound effects and speech. When starting in debugmode with the debug music flag I get this:

User picked target 'dw2-gb' (gameid 'tinsel')... Looking for a plugin supporting this gameid... Tinsel Engine Starting 'Tinsel engine game' Starting detection in dir '\Lagringskort\Programfiler\Scummgames\DW2\' + dw2.scn > 'dw2.scn': 'c6d15ce9720a9d8fef06e6582dcf3f34' + english1.smp > 'english1.smp': '009de30f6510e545ad69c8bcb088e713' Matched file: dw2.scn Matched file: english1.smp Found game: dw2 (CD DOS/English (GB)) (10) ... new best match, removing all previous candidates Running Discworld 2: Missing Presumed ...!? (CD/DOS/English (GB)) Sound opened OK, mixing at 11025 Hz Opening hashed: THEMERC Opening hashed: english1.txt Opening hashed: english1.idx Opening hashed: english1.smp Opening hashed: index Opening hashed: dw2.scn Opening hashed: objects.scn Opening hashed: gdata Opening hashed: rw10.scn Opening hashed: rw09.scn Opening hashed: rw08.scn Opening hashed: rw07.scn Opening hashed: rw06.scn Opening hashed: rw05.scn Opening hashed: rw04.scn Opening hashed: rw03.scn Opening hashed: rw02.scn Opening hashed: rw01.scn Opening hashed: lug10.scn Opening hashed: lug09.scn Opening hashed: lug08.scn Opening hashed: lug07.scn Opening hashed: lug06.scn Opening hashed: lug05.scn Opening hashed: lug04.scn Opening hashed: lug03.scn Opening hashed: lug02.scn Opening hashed: lug01.scn Lost mouse focus. Opening hashed: shades.scn Setting music scene details: shades.mus restoreThatTune Opening hashed: ankh.scn Setting music scene details: ankh.mus Playing PCM music ankh.mus, index 0 Opening hashed: ankh.mus Fading out music... Opening hashed: fools.scn Setting music scene details: fools.mus Playing PCM music fools.mus, index 0 Opening hashed: fools.mus Key down D81 unknown key Key up D81 unknown key Opening hashed: fools.cdp Key down 11A softkey A Key up 11A softkey A Key down 11A softkey A Key up 11A softkey A

Ticket imported from: #2694722. Ticket imported from: bugs/4239.

Attachments (3)

scummvm_stdout.txt (5.0 KB ) - added by SF/pncfreak 15 years ago.
Debug log with DrMCoys extended debug output
scummvm_stdout.2.txt (11.0 KB ) - added by SF/pncfreak 15 years ago.
DW1: debug log with DrMcCoys extended debug output
scummvm_stdout.3.txt (1.9 KB ) - added by SF/pncfreak 15 years ago.
DW1: debug log with DrMcCoys extended debug output and renamed Woodcock .ogg-files

Download all attachments as: .zip

Change History (20)

comment:1 by fingolfin, 15 years ago

Owner: set to SF/knakos
Summary: WinCE: DW2: Music not audible on WM 6 deviceWINCE: DW2: Music not audible on WM 6 device

by SF/pncfreak, 15 years ago

Attachment: scummvm_stdout.txt added

Debug log with DrMCoys extended debug output

comment:2 by DrMcCoy, 15 years ago

Please, just let the title screen show for some time (i.e. several minutes, not just a few seconds :P). From the debug output I can see that you've been at the docks, the shades, etc.. I don't care for that just now, only let the title screen show for a few minutes, then close ScummVM. Because I'd like to see whether the music "state machine" runs correctly.

comment:3 by SF/pncfreak, 15 years ago

I left it on for several minutes at the splash screen (the one with the 'New Game', 'Resume', and 'options' buttons). I then chose 'New Game' and the startup cutscenes commenced. After that I went hurriedly to the sites you mention.

comment:4 by DrMcCoy, 15 years ago

Hmm, ahh, okay, then that answers my question as well: The state machine apparently does not work then. At all. :/

comment:5 by SF/pncfreak, 15 years ago

Bummer, just let me know if you want me to try out other things. I might be slow in my replies this weekend because I'm in the Norwegian mountains at the moment (amongst grouse and reindeers)

comment:6 by SF/knakos, 15 years ago

All I can offer at this point is that I have noticed this one too. Any helpful pointers for debugging Doc will be highly appreciated.

And let's hope the reindeer are friendly toward scummvm folk this weekend :-)

comment:7 by SF/pncfreak, 15 years ago

Yassou file mou Knakos! Nice to see that you and the Dr are on the job. The reindeer left the neighbouring peak some hours ago, I suppose they are doing fine. I'm not mistreated :) Right now I'm lying in a cabin listening to the clinking noises from the wooden stove cooling down, hoping that the aces in the scummVM code world are doing all right. Kalinichta!

by SF/pncfreak, 15 years ago

Attachment: scummvm_stdout.2.txt added

DW1: debug log with DrMcCoys extended debug output

comment:8 by SF/pncfreak, 15 years ago

I just remembered that the missing music could be an issue for DW1 as well, and guess what? No music in DW1 either. The music works just fine on my laptop w/WinXP but not on my WM 6 device. Seems like music in Tinsel is defunct for WinCE devices.

I have attached a debug log from the DW1 game.

comment:9 by DrMcCoy, 15 years ago

Hmm? Now that's strange, because the music in DW1 is MIDI-based and uses completely different classes within tinsel.

Maybe it's a general problem with the AudioStream class on WinCE? But then, other sounds shouldn't work either... o_O

comment:10 by SF/pncfreak, 15 years ago

Summary: WINCE: DW2: Music not audible on WM 6 deviceWINCE: DW2 (and DW1): Music not audible on WM 6 device

comment:11 by SF/pncfreak, 15 years ago

In the attached scummvm_stdout.txt for DW1 it seems like scummvm is looking for .flac, .fla, .ogg or .mp3 files when the music, according to drmccoy, is midi. Why? Seems like the program opens midi.dat and then looks for these files.

comment:12 by DrMcCoy, 15 years ago

The DW1 code also searches for digital audio files because of James Woodcock's music enhancement project. :) I.e. if it finds those files, they are played instead of the MIDI files.

comment:13 by SF/pncfreak, 15 years ago

Ahh! Enhanced music, looking forward to try it :) Could adjustment of the original code, in order to enable Woodcock's enchanced music, cause the absence of music? Since soundFX and speech is working great?

comment:14 by SF/pncfreak, 15 years ago

I downloaded Woodcock's enhanced music for DW1 (from his website), renamed them with what the ARM compilation looks for (track7.ogg instead of 07.ogg, according to the debug output), and - lo and behold! Music can be heard!

So, my interpretation: something is wrong with the tinsel code for DW1 and DW2 when it comes to accessing the original music (in the ARM build). And I would very much like to have the option to use the original music (and I suppose those with smaller memory cards would as well).

So, it's up to you skilled codewarriors to sort this one out now :)

by SF/pncfreak, 15 years ago

Attachment: scummvm_stdout.3.txt added

DW1: debug log with DrMcCoys extended debug output and renamed Woodcock .ogg-files

comment:15 by sev-, 15 years ago

What is the status of this item?

comment:16 by SF/knakos, 15 years ago

fixed in commits 43003 & 43004. thanks for the report.

comment:17 by SF/knakos, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.