SCI32: Use modified attenuation for QFG4 CD

Thanks to @tsoliman for discovering this obscure discrepancy.

Confirmed in disassembly. Also confirmed that MOTHERGOOSEHIRES uses
modified attenuation, and discovered that floppy QFG4 and PQ4 do not,
and that one version of SQ6 does and one does not.
This commit is contained in:
sluicebox 2024-05-18 09:48:50 -07:00
parent 441d8eb80e
commit 9b58b79ad1
2 changed files with 9 additions and 4 deletions

View File

@ -6068,6 +6068,7 @@ static const struct ADGameDescription SciGameDescriptions[] = {
// Space Quest 6 - English DOS/Win3.11 CD (from the Space Quest Collection)
// Executable scanning reports "2.100.002", VERSION file reports "1.0"
// This is a different interpreter than in version 1.11, though both say "May 24 1995"
{"sq6", "", {
{"resource.map", 0, "6dddfa3a8f3a3a513ec9dfdfae955005", 10528},
{"resource.000", 0, "c4259ab7355aead07773397b1052827d", 41150806},
@ -6075,7 +6076,8 @@ static const struct ADGameDescription SciGameDescriptions[] = {
Common::EN_ANY, Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO_SQ6 },
// Space Quest 6 - English DOS/Win3.11 CD ver 1.11 (from FRG)
// SCI interpreter version 2.100.002 (just a guess)
// Executable scanning reports "2.100.002", VERSION file reports "1.11"
// This is a different interpreter than in version 1.0, though both say "May 24 1995"
{"sq6", "", {
{"resource.map", 0, "e0615d6e4e10e37ae42e6a2a95aaf145", 10528},
{"resource.000", 0, "c4259ab7355aead07773397b1052827d", 41150806},

View File

@ -98,11 +98,14 @@ public:
inline bool usesModifiedAudioAttenuation() const {
switch (g_sci->getGameId()) {
// Assuming MGDX uses modified attenuation since SQ6 does and it was
// released earlier, but not verified (Phar Lap Windows-only release)
case GID_MOTHERGOOSEHIRES:
case GID_PQ4:
case GID_QFG4:
return g_sci->isCD();
case GID_MOTHERGOOSEHIRES:
case GID_SQ6:
// SQ6 1.0 uses modified attenuation, 1.11 does not.
// The interpreters are different even though they both have the
// same date and version string. ("May 24 1995", "2.100.002")
return true;
case GID_KQ7:
// KQ7 1.51 (SCI2.1early) uses the non-standard attenuation, but