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.
|
|
|
|
*
|
|
|
|
* 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 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* 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
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#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"},
|
|
|
|
{0, 0}
|
|
|
|
};
|
|
|
|
|
2016-09-17 22:34:05 +03:00
|
|
|
static const char *directoryGlobs[] = {
|
2016-10-09 23:34:51 +03:00
|
|
|
"txt",
|
2016-09-17 22:34:05 +03:00
|
|
|
0
|
|
|
|
};
|
2016-03-16 18:36:48 +01:00
|
|
|
|
|
|
|
namespace Chewy {
|
|
|
|
|
|
|
|
static const ChewyGameDescription gameDescriptions[] = {
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"chewy",
|
|
|
|
0,
|
2016-10-09 23:34:51 +03:00
|
|
|
AD_ENTRY1s("atds.tap", "e6050c144dd4f23d79ea4f89a8ef306e", 218857),
|
2016-03-16 18:36:48 +01:00
|
|
|
Common::EN_ANY,
|
|
|
|
Common::kPlatformDOS,
|
|
|
|
ADGF_NO_FLAGS,
|
2019-09-26 02:31:36 +02:00
|
|
|
GUIO1(GUIO_NOMIDI)
|
2016-03-16 18:36:48 +01:00
|
|
|
},
|
|
|
|
},
|
2018-05-22 16:03:56 +02:00
|
|
|
|
2016-10-16 18:45:05 +02:00
|
|
|
{
|
|
|
|
// Chewy - ESC von F5 - German
|
2016-11-01 13:38:34 +01:00
|
|
|
// Master version 1.1 (CHEWY.EXE - offset 0x8AB28)
|
2016-10-16 18:45:05 +02:00
|
|
|
// The source CD-ROM has the Matrix code SONOPRESS R-7885 B
|
2016-11-01 13:38:34 +01:00
|
|
|
// The disc contains several demos and files from 1996
|
2018-06-26 09:15:24 +02:00
|
|
|
// Provided by lotharsm
|
2016-10-16 18:45:05 +02:00
|
|
|
{
|
|
|
|
"chewy",
|
|
|
|
0,
|
|
|
|
AD_ENTRY1s("atds.tap", "c117e884cc5b4bbe50ae1217d13916c4", 231071),
|
|
|
|
Common::DE_DEU,
|
|
|
|
Common::kPlatformDOS,
|
|
|
|
ADGF_NO_FLAGS,
|
2019-09-26 02:31:36 +02:00
|
|
|
GUIO1(GUIO_NOMIDI)
|
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 - ESC von F5 - German
|
2016-11-01 13:38:34 +01:00
|
|
|
// Master version 1.0 (CHEWY.EXE - offset 0x8AB10)
|
2016-10-16 18:45:05 +02:00
|
|
|
// The source CD-ROM has the Matrix code SONOPRESS M-2742 A
|
|
|
|
// CD-ROM has the label "CHEWY_V1_0"
|
2018-06-26 09:15:24 +02:00
|
|
|
// Provided by lotharsm
|
2016-10-16 18:45:05 +02:00
|
|
|
{
|
|
|
|
"chewy",
|
|
|
|
0,
|
|
|
|
AD_ENTRY1s("atds.tap", "e22f97761c0e7772ec99660f2277b1a4", 231001),
|
|
|
|
Common::DE_DEU,
|
|
|
|
Common::kPlatformDOS,
|
|
|
|
ADGF_NO_FLAGS,
|
2019-09-26 02:31:36 +02:00
|
|
|
GUIO1(GUIO_NOMIDI)
|
2016-10-16 18:45:05 +02:00
|
|
|
},
|
|
|
|
},
|
2016-03-16 18:36:48 +01:00
|
|
|
|
|
|
|
{ AD_TABLE_END_MARKER }
|
|
|
|
};
|
|
|
|
|
|
|
|
} // End of namespace Chewy
|
|
|
|
|
2020-10-02 12:25:08 +05:30
|
|
|
class ChewyMetaEngineStatic : public AdvancedMetaEngineStatic {
|
2016-03-16 18:36:48 +01:00
|
|
|
public:
|
2020-10-02 12:25:08 +05:30
|
|
|
ChewyMetaEngineStatic() : AdvancedMetaEngineStatic(Chewy::gameDescriptions, sizeof(Chewy::ChewyGameDescription), chewyGames) {
|
2016-09-17 22:34:05 +03:00
|
|
|
_maxScanDepth = 2;
|
|
|
|
_directoryGlobs = directoryGlobs;
|
2016-03-16 18:36:48 +01:00
|
|
|
}
|
|
|
|
|
2020-02-05 14:53:11 +01:00
|
|
|
const char *getEngineId() const override {
|
2016-09-15 18:23:35 +02:00
|
|
|
return "chewy";
|
|
|
|
}
|
|
|
|
|
2020-02-09 12:05:27 +01:00
|
|
|
const char *getName() 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:12:32 +02:00
|
|
|
REGISTER_PLUGIN_STATIC(CHEWY_DETECTION, PLUGIN_TYPE_ENGINE_DETECTION, ChewyMetaEngineStatic);
|