[Scummvm-git-logs] scummvm master -> e00d8affef08a590ff18f57663629198ce46ea01
sluicebox
noreply at scummvm.org
Mon Apr 10 06:37:14 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
e00d8affef SCI32: Mark PQ:SWAT demo as unsupported
Commit: e00d8affef08a590ff18f57663629198ce46ea01
https://github.com/scummvm/scummvm/commit/e00d8affef08a590ff18f57663629198ce46ea01
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2023-04-09T23:37:09-07:00
Commit Message:
SCI32: Mark PQ:SWAT demo as unsupported
See bug #14388: this demo requires version 4 robot decoding, which is not
implemented yet.
Changed paths:
engines/sci/detection_tables.h
engines/sci/video/robot_decoder.cpp
diff --git a/engines/sci/detection_tables.h b/engines/sci/detection_tables.h
index 9ae231d2bae..d41fc1a7f1a 100644
--- a/engines/sci/detection_tables.h
+++ b/engines/sci/detection_tables.h
@@ -4470,11 +4470,13 @@ static const struct ADGameDescription SciGameDescriptions[] = {
// Police Quest: SWAT - English DOS/Windows Demo (from jvprat)
// Executable scanning reports "2.100.002", VERSION file reports "0.001.200"
- {"pqswat", "Demo", {
+ // Currently unsupported, since this demo uses Version 4 of Robot videos,
+ // which we haven't implemented yet in RobotDecoder (bug #14388)
+ {"pqswat", _s("This demo uses an unimplemented version of Robot videos"), {
{"resource.map", 0, "8c96733ef94c21526792f7ca4e3f2120", 1648},
{"resource.000", 0, "d8892f1b8c56c8f7704325460f49b300", 3676175},
AD_LISTEND},
- Common::EN_ANY, Common::kPlatformDOS, ADGF_DEMO, GUIO_PQSWAT_DEMO },
+ Common::EN_ANY, Common::kPlatformDOS, ADGF_DEMO | ADGF_UNSUPPORTED, GUIO_PQSWAT_DEMO },
// Police Quest: SWAT - English DOS (from GOG.com)
// Executable scanning reports "2.100.002", VERSION file reports "1.0c"
diff --git a/engines/sci/video/robot_decoder.cpp b/engines/sci/video/robot_decoder.cpp
index d9d90abb186..04d9f248e16 100644
--- a/engines/sci/video/robot_decoder.cpp
+++ b/engines/sci/video/robot_decoder.cpp
@@ -372,6 +372,7 @@ void RobotDecoder::initStream(const GuiResourceId robotId) {
_robotId = robotId;
const uint16 id = stream->readUint16LE();
+ // TODO: id 0x3d for PQ:SWAT demo?
if (id != 0x16) {
error("Invalid robot file %s", fileName.c_str());
}
More information about the Scummvm-git-logs
mailing list