Opened 3 years ago

Closed 3 years ago

#9795 closed defect (fixed)

SCI: KQ7 Demo: missing sound effects

Reported by: dafioram Owned by: csnover
Priority: low Component: Engine: SCI
Keywords: sci32 Cc:
Game: King's Quest 7

Description

Just watched the non-interactive Kings Quest 7 Demo on ScummVMs website and the demo is missing some sound effects. Two examples are the princesses dress being ripped and the bunny being twirled. Both of which can be heard when running the game in dosbox. It has music working and I hear some speech.

Change History (3)

comment:1 by dafioram, 3 years ago

Summary: Demo, missing sound effectsSCI: KQ7 Demo: missing sound effects

comment:2 by dafioram, 3 years ago

Tester OS: win7-64
ScummVM version: 1.10.0git-3043-g074e466

comment:3 by csnover, 3 years ago

Keywords: sci32 added
Owner: set to csnover
Resolution: fixed
Status: newclosed

Thanks for your report!

This problem occurred because the demo’s game scripts conditionally only play (most) sounds based on a call to kPlatform(2). This call is bogus in SCI2.1early (which is the interpreter version used by this demo) and should just return 0, but ScummVM had only implemented SCI2.1mid+ kPlatform where kPlatform(2) is a valid call that returns 2.

The SCI2.1early implementation of kPlatform has been added in 14a521a21177361184fee38242065a64c5fcdf05 which fixes this bug. It will be available in daily builds 1.10.0git-3289 and later.

Note: See TracTickets for help on using tickets.