2011-02-20 02:31:34 -05: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-09-03 12:46:38 +02:00
|
|
|
*
|
2011-02-20 02:31:34 -05: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.
|
2016-09-03 12:46:38 +02:00
|
|
|
*
|
2011-02-20 02:31:34 -05:00
|
|
|
* 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/>.
|
2011-02-20 02:31:34 -05:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "base/plugins.h"
|
|
|
|
|
|
|
|
#include "engines/advancedDetector.h"
|
|
|
|
#include "common/config-manager.h"
|
|
|
|
#include "common/file.h"
|
|
|
|
|
2020-08-25 13:52:43 +05:30
|
|
|
#include "pegasus/detection.h"
|
2011-02-20 02:31:34 -05:00
|
|
|
|
|
|
|
static const PlainGameDescriptor pegasusGames[] = {
|
|
|
|
{"pegasus", "The Journeyman Project: Pegasus Prime"},
|
2021-11-13 23:40:35 +02:00
|
|
|
{nullptr, nullptr}
|
2011-02-20 02:31:34 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
namespace Pegasus {
|
|
|
|
|
|
|
|
static const PegasusGameDescription gameDescriptions[] = {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"pegasus",
|
|
|
|
"",
|
2021-10-19 14:57:35 +02:00
|
|
|
AD_ENTRY1s("JMP PP Resources", "d13a602d2498010d720a6534f097f88b", 2009687),
|
2011-02-20 02:31:34 -05:00
|
|
|
Common::EN_ANY,
|
|
|
|
Common::kPlatformMacintosh,
|
|
|
|
ADGF_MACRESFORK,
|
2019-09-28 01:14:12 +02:00
|
|
|
GUIO1(GUIO_NOMIDI)
|
2011-02-20 02:31:34 -05:00
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2021-03-17 17:27:40 +01:00
|
|
|
{
|
|
|
|
{
|
|
|
|
"pegasus",
|
|
|
|
"DVD",
|
2021-10-19 14:57:35 +02:00
|
|
|
AD_ENTRY1s("JMP PP Resources", "d13a602d2498010d720a6534f097f88b", 2075081),
|
2021-03-17 17:27:40 +01:00
|
|
|
Common::EN_ANY,
|
|
|
|
Common::kPlatformMacintosh,
|
|
|
|
ADGF_MACRESFORK|GF_DVD,
|
|
|
|
GUIO0()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
{ "pegasus",
|
|
|
|
"DVD",
|
2021-10-19 14:57:35 +02:00
|
|
|
AD_ENTRY1s("JMP PP Resources", "d13a602d2498010d720a6534f097f88b", 2075081),
|
2021-03-17 17:27:40 +01:00
|
|
|
Common::EN_ANY,
|
|
|
|
Common::kPlatformWindows,
|
|
|
|
ADGF_MACRESFORK|GF_DVD,
|
|
|
|
GUIO0()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"pegasus",
|
|
|
|
"DVD",
|
2021-10-19 14:57:35 +02:00
|
|
|
AD_ENTRY1s("JMP PP Resources", "d13a602d2498010d720a6534f097f88b", 2075081),
|
2021-03-17 17:27:40 +01:00
|
|
|
Common::EN_ANY,
|
|
|
|
Common::kPlatformLinux,
|
|
|
|
ADGF_MACRESFORK|GF_DVD,
|
|
|
|
GUIO0()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2021-09-10 17:01:33 -04:00
|
|
|
// The Next Generation Disc #31 - July 1997
|
|
|
|
// Mac Addict #12 - August 1997
|
|
|
|
// Publisher is Bandai Digital Entertainment Corporation
|
|
|
|
// File modified date is Mar 29 1997 (v1.0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"pegasus",
|
|
|
|
"v1.0 Demo",
|
2021-10-19 13:04:43 +03:00
|
|
|
AD_ENTRY1s("JMP PP Resources", "d13a602d2498010d720a6534f097f88b", 365329),
|
2021-09-10 17:01:33 -04:00
|
|
|
Common::EN_ANY,
|
|
|
|
Common::kPlatformMacintosh,
|
|
|
|
ADGF_MACRESFORK | ADGF_DEMO,
|
|
|
|
GUIO2(GUIO_NOLAUNCHLOAD, GUIO_NOMIDI)
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
// Official distribution from Presto website
|
|
|
|
// http://thejourneymanproject.com/presto/journeymanprime/demos.html
|
|
|
|
// File modified date is date is Dec 15 2011
|
2011-02-20 02:31:34 -05:00
|
|
|
{
|
|
|
|
{
|
|
|
|
"pegasus",
|
2012-04-02 20:15:49 -04:00
|
|
|
"Demo",
|
2021-10-19 13:04:43 +03:00
|
|
|
AD_ENTRY1s("JMP PP Resources", "d13a602d2498010d720a6534f097f88b", 359873),
|
2011-02-20 02:31:34 -05:00
|
|
|
Common::EN_ANY,
|
|
|
|
Common::kPlatformMacintosh,
|
2013-03-17 19:46:23 -04:00
|
|
|
ADGF_MACRESFORK | ADGF_DEMO,
|
2019-09-28 01:14:12 +02:00
|
|
|
GUIO2(GUIO_NOLAUNCHLOAD, GUIO_NOMIDI)
|
2013-03-17 19:46:23 -04:00
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"pegasus",
|
|
|
|
"DVD Demo",
|
2021-10-17 20:11:02 +03:00
|
|
|
AD_ENTRY1s("JMP PP Resources", "d0fcda50dc75c7a81ae314e6a813f4d2", 93495), // FIXMEMD5
|
2013-03-17 19:46:23 -04:00
|
|
|
Common::EN_ANY,
|
|
|
|
Common::kPlatformMacintosh,
|
|
|
|
ADGF_MACRESFORK | ADGF_DEMO | GF_DVD,
|
2019-09-28 01:14:12 +02:00
|
|
|
GUIO2(GUIO_NOLAUNCHLOAD, GUIO_NOMIDI)
|
2011-02-20 02:31:34 -05:00
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2021-03-17 17:27:40 +01:00
|
|
|
{
|
2013-04-02 16:31:30 -04:00
|
|
|
{
|
|
|
|
"pegasus",
|
|
|
|
"DVD Demo",
|
|
|
|
AD_ENTRY1s("JMP PP Resources", "d0fcda50dc75c7a81ae314e6a813f4d2", 93495),
|
|
|
|
Common::EN_ANY,
|
|
|
|
Common::kPlatformWindows,
|
|
|
|
ADGF_MACRESFORK | ADGF_DEMO | GF_DVD,
|
2019-09-28 01:14:12 +02:00
|
|
|
GUIO2(GUIO_NOLAUNCHLOAD, GUIO_NOMIDI)
|
2013-04-02 16:31:30 -04:00
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2011-02-20 02:31:34 -05:00
|
|
|
{ AD_TABLE_END_MARKER }
|
|
|
|
};
|
|
|
|
|
|
|
|
} // End of namespace Pegasus
|
|
|
|
|
|
|
|
|
2020-10-11 23:14:39 +02:00
|
|
|
class PegasusMetaEngineDetection : public AdvancedMetaEngineDetection {
|
2011-02-20 02:31:34 -05:00
|
|
|
public:
|
2020-10-11 23:14:39 +02:00
|
|
|
PegasusMetaEngineDetection() : AdvancedMetaEngineDetection(Pegasus::gameDescriptions, sizeof(Pegasus::PegasusGameDescription), pegasusGames) {
|
2011-06-13 13:20:15 -04:00
|
|
|
}
|
2011-02-20 02:31:34 -05:00
|
|
|
|
2022-01-13 20:34:25 +00:00
|
|
|
const char *getName() const override {
|
2016-09-15 18:23:35 +02:00
|
|
|
return "pegasus";
|
|
|
|
}
|
|
|
|
|
2022-01-13 20:34:25 +00:00
|
|
|
const char *getEngineName() const override {
|
2011-06-13 13:20:15 -04:00
|
|
|
return "The Journeyman Project: Pegasus Prime";
|
2011-02-20 02:31:34 -05:00
|
|
|
}
|
|
|
|
|
2020-02-09 12:05:31 +01:00
|
|
|
const char *getOriginalCopyright() const override {
|
2011-02-20 02:31:34 -05:00
|
|
|
return "The Journeyman Project: Pegasus Prime (C) Presto Studios";
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2020-10-11 23:14:39 +02:00
|
|
|
REGISTER_PLUGIN_STATIC(PEGASUS_DETECTION, PLUGIN_TYPE_ENGINE_DETECTION, PegasusMetaEngineDetection);
|