Opened 18 months ago

Last modified 8 months ago

#14454 new defect

AGI: Winnie the Pooh unable to parse wind sound (sound 10)

Reported by: dshell102 Owned by:
Priority: normal Component: Engine: AGI
Version: Keywords:
Cc: Game:

Description (last modified by sluicebox)

--- Updated Description by sluicebox ---

The wind sound, sound 10, is not playing. AgiSound::createFromRawResource is rejecting it because its first two bytes are 00 9F and that doesn't match what it expects. This affects at least the DOS version. I have confirmed that these are the correct bytes for this sound.

--- Original Description ---

I only find 9 items every time. When the wind blows, it should allow you to keep playing with the items moved, but instead the program shuts down.

I try to play in dosbox but it only does 4 colors.

With scummvm, is there a way to prevent the program from closing?

Thank you.

Attachments (1)

savegame (54 bytes ) - added by dshell102 18 months ago.
save game - only 9 items

Download all attachments as: .zip

Change History (7)

by dshell102, 18 months ago

Attachment: savegame added

save game - only 9 items

comment:1 by tag2015, 18 months ago

Component: --Unset--Engine: AGI
Summary: Winnie the Pooh Hundred Acre Wood shutdownAGI: Winnie the Pooh Hundred Acre Wood shutdown

comment:2 by dshell102, 18 months ago

Is this something I need to do, an update made or just a note someone made?

Thank you!

comment:3 by tag2015, 18 months ago

Hi, you don't need to do anything, I just changed the component/title so it's easier to find in the bugtracker.
Hopefully somebody who knows both the engine and the game can take a look :)

comment:4 by somaen, 12 months ago

Priority: normalhigh

comment:5 by sluicebox, 8 months ago

Description: modified (diff)
Priority: highnormal
Summary: AGI: Winnie the Pooh Hundred Acre Wood shutdownAGI: Winnie the Pooh unable to parse wind sound (sound 10)

This was a segfault due to not testing for errors when attempting to parse an AGI sound. For some reason, the wind sound (sound 10) is failing to play. Our code is rejecting it because of the first two bytes. I don't know why, I don't know this game at all.

Crash is fixed in: https://github.com/scummvm/scummvm/commit/198e28bdd9b3097286a030dab6060f63e7bc1217

The sound still doesn't play, so I'm leaving this open, renaming it, and lowering the priority.

comment:6 by sluicebox, 8 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.