[Scummvm-tracker] [ScummVM :: Bugs] #14454: AGI: Winnie the Pooh unable to parse wind sound (sound 10) (was: AGI: Winnie the Pooh Hundred Acre Wood shutdown)
ScummVM :: Bugs
trac at scummvm.org
Wed Mar 6 21:40:31 UTC 2024
#14454: AGI: Winnie the Pooh unable to parse wind sound (sound 10)
----------------------+--------------------------
Reporter: dshell102 | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: AGI
Version: | Resolution:
Keywords: | Game:
----------------------+--------------------------
Changes (by sluicebox):
* priority: high => normal
* summary: AGI: Winnie the Pooh Hundred Acre Wood shutdown => AGI: Winnie
the Pooh unable to parse wind sound (sound 10)
Old 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.
New description:
--- 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. Unknown if this is due to a corrupt copy.
--- 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.
--
Comment:
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.
--
Ticket URL: <https://bugs.scummvm.org/ticket/14454#comment:5>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list