2016-03-16 18:36:48 +01:00
|
|
|
/* ScummVM - Graphic Adventure Engine
|
|
|
|
*
|
|
|
|
* ScummVM is the legal property of its developers, whose names
|
|
|
|
* are too numerous to list here. Please refer to the COPYRIGHT
|
|
|
|
* file distributed with this source distribution.
|
|
|
|
*
|
2021-12-26 18:47:58 +01:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
2016-03-16 18:36:48 +01:00
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2021-12-26 18:47:58 +01:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2016-03-16 18:36:48 +01:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "base/plugins.h"
|
|
|
|
#include "engines/advancedDetector.h"
|
|
|
|
|
2020-08-25 13:52:43 +05:30
|
|
|
#include "chewy/detection.h"
|
2016-03-16 18:36:48 +01:00
|
|
|
|
|
|
|
static const PlainGameDescriptor chewyGames[] = {
|
|
|
|
{"chewy", "Chewy: Esc from F5"},
|
2021-11-13 23:40:19 +02:00
|
|
|
{nullptr, nullptr}
|
2016-03-16 18:36:48 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
namespace Chewy {
|
|
|
|
|
|
|
|
static const ChewyGameDescription gameDescriptions[] = {
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"chewy",
|
2021-11-13 23:40:19 +02:00
|
|
|
nullptr,
|
2022-02-09 19:16:41 -08:00
|
|
|
AD_ENTRY1s("txt/atds.tap", "e6050c144dd4f23d79ea4f89a8ef306e", 218857),
|
2016-03-16 18:36:48 +01:00
|
|
|
Common::EN_ANY,
|
|
|
|
Common::kPlatformDOS,
|
2022-07-16 21:21:31 +02:00
|
|
|
ADGF_NO_FLAGS,
|
2022-03-21 22:27:36 +01:00
|
|
|
GUIO2(GUIO_NOMIDI, GAMEOPTION_ORIGINAL_SAVELOAD)
|
2016-03-16 18:36:48 +01:00
|
|
|
},
|
|
|
|
},
|
2018-05-22 16:03:56 +02:00
|
|
|
|
2021-07-25 16:40:34 +02:00
|
|
|
{
|
|
|
|
// Chewy - ESC from F5 - Spanish fanmade translation
|
|
|
|
{
|
|
|
|
"chewy",
|
2021-11-13 23:40:19 +02:00
|
|
|
nullptr,
|
2022-02-09 19:16:41 -08:00
|
|
|
AD_ENTRY1s("txt/atds.tap", "b1210066a524fe0f88862f44671ed97d", 226988),
|
2021-07-25 16:40:34 +02:00
|
|
|
Common::ES_ESP,
|
|
|
|
Common::kPlatformDOS,
|
2022-07-16 21:21:31 +02:00
|
|
|
ADGF_NO_FLAGS,
|
2022-03-21 22:27:36 +01:00
|
|
|
GUIO2(GUIO_NOMIDI, GAMEOPTION_ORIGINAL_SAVELOAD)
|
2021-07-25 16:40:34 +02:00
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2016-10-16 18:45:05 +02:00
|
|
|
{
|
|
|
|
{
|
|
|
|
"chewy",
|
2021-11-13 23:40:19 +02:00
|
|
|
nullptr,
|
2022-02-09 19:16:41 -08:00
|
|
|
AD_ENTRY1s("txt/atds.tap", "c117e884cc5b4bbe50ae1217d13916c4", 231071),
|
2016-10-16 18:45:05 +02:00
|
|
|
Common::DE_DEU,
|
|
|
|
Common::kPlatformDOS,
|
2022-07-16 21:21:31 +02:00
|
|
|
ADGF_NO_FLAGS,
|
2022-03-21 22:27:36 +01:00
|
|
|
GUIO2(GUIO_NOMIDI, GAMEOPTION_ORIGINAL_SAVELOAD)
|
2016-10-16 18:45:05 +02:00
|
|
|
},
|
|
|
|
},
|
2018-05-22 16:03:56 +02:00
|
|
|
|
2016-10-16 18:45:05 +02:00
|
|
|
{
|
|
|
|
{
|
|
|
|
"chewy",
|
2021-11-13 23:40:19 +02:00
|
|
|
nullptr,
|
2022-02-09 19:16:41 -08:00
|
|
|
AD_ENTRY1s("txt/atds.tap", "e22f97761c0e7772ec99660f2277b1a4", 231001),
|
2016-10-16 18:45:05 +02:00
|
|
|
Common::DE_DEU,
|
|
|
|
Common::kPlatformDOS,
|
2022-07-16 21:21:31 +02:00
|
|
|
ADGF_NO_FLAGS,
|
2022-03-21 22:27:36 +01:00
|
|
|
GUIO2(GUIO_NOMIDI, GAMEOPTION_ORIGINAL_SAVELOAD)
|
2016-10-16 18:45:05 +02:00
|
|
|
},
|
|
|
|
},
|
2016-03-16 18:36:48 +01:00
|
|
|
|
2021-09-02 10:02:55 -04:00
|
|
|
{
|
|
|
|
// Chewy - ESC von F5 - German demo
|
|
|
|
// Demo version 1.1 (CHEWY.EXE - offset 0x8A520)
|
|
|
|
// From Blue Byte News Version III/97
|
|
|
|
// The source CD-ROM has the Matrix code SONOPRESS T-2037 A
|
|
|
|
// CD-ROM has the label "DEMO"
|
|
|
|
{
|
|
|
|
"chewy",
|
2021-11-13 23:40:19 +02:00
|
|
|
nullptr,
|
2022-02-09 19:16:41 -08:00
|
|
|
AD_ENTRY1s("txt/atds.tap", "c3be5641e90dd01274309b778cf8146d", 230686),
|
2021-09-02 10:02:55 -04:00
|
|
|
Common::DE_DEU,
|
|
|
|
Common::kPlatformDOS,
|
2022-06-09 20:44:24 +02:00
|
|
|
ADGF_DEMO | ADGF_UNSUPPORTED,
|
2022-03-21 22:27:36 +01:00
|
|
|
GUIO2(GUIO_NOMIDI, GAMEOPTION_ORIGINAL_SAVELOAD)
|
2021-09-02 10:02:55 -04:00
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2016-03-16 18:36:48 +01:00
|
|
|
{ AD_TABLE_END_MARKER }
|
|
|
|
};
|
|
|
|
|
2019-11-04 22:24:37 +01:00
|
|
|
} // namespace Chewy
|
2016-03-16 18:36:48 +01:00
|
|
|
|
2020-10-11 23:14:39 +02:00
|
|
|
class ChewyMetaEngineDetection : public AdvancedMetaEngineDetection {
|
2016-03-16 18:36:48 +01:00
|
|
|
public:
|
2022-11-03 19:27:59 +00:00
|
|
|
ChewyMetaEngineDetection() : AdvancedMetaEngineDetection(Chewy::gameDescriptions, sizeof(Chewy::ChewyGameDescription), chewyGames) {
|
2016-09-17 22:34:05 +03:00
|
|
|
_maxScanDepth = 2;
|
2022-02-09 19:16:41 -08:00
|
|
|
_flags = kADFlagMatchFullPaths;
|
2016-03-16 18:36:48 +01:00
|
|
|
}
|
|
|
|
|
2022-01-13 20:34:25 +00:00
|
|
|
const char *getName() const override {
|
2016-09-15 18:23:35 +02:00
|
|
|
return "chewy";
|
|
|
|
}
|
|
|
|
|
2022-01-13 20:34:25 +00:00
|
|
|
const char *getEngineName() const override {
|
2016-09-15 20:04:14 +02:00
|
|
|
return "Chewy: Esc from F5";
|
2016-03-16 18:36:48 +01:00
|
|
|
}
|
|
|
|
|
2020-02-09 12:05:27 +01:00
|
|
|
const char *getOriginalCopyright() const override {
|
2016-09-15 20:04:14 +02:00
|
|
|
return "Chewy: Esc from F5 (C) 1995 New Generation Software";
|
2016-03-16 18:36:48 +01:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2020-10-11 23:14:39 +02:00
|
|
|
REGISTER_PLUGIN_STATIC(CHEWY_DETECTION, PLUGIN_TYPE_ENGINE_DETECTION, ChewyMetaEngineDetection);
|