aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins
diff options
context:
space:
mode:
authorStrangerke2012-11-17 00:43:05 +0100
committerStrangerke2012-11-17 00:43:05 +0100
commit03468b17187c2d8d30085927491674d93ad631a8 (patch)
tree826f407ab52a4aafcbfb41e1d585ae2c0154718d /engines/hopkins
parent3b878fc4c52a91034ff921cde00c868162d7e600 (diff)
downloadscummvm-rg350-03468b17187c2d8d30085927491674d93ad631a8.tar.gz
scummvm-rg350-03468b17187c2d8d30085927491674d93ad631a8.tar.bz2
scummvm-rg350-03468b17187c2d8d30085927491674d93ad631a8.zip
HOPKINS: Add voice to detection, except for the Win95 demo (to be fixed)
Diffstat (limited to 'engines/hopkins')
-rw-r--r--engines/hopkins/detection.cpp8
-rw-r--r--engines/hopkins/detection_tables.h22
2 files changed, 30 insertions, 0 deletions
diff --git a/engines/hopkins/detection.cpp b/engines/hopkins/detection.cpp
index 8724802552..684854bb45 100644
--- a/engines/hopkins/detection.cpp
+++ b/engines/hopkins/detection.cpp
@@ -66,9 +66,17 @@ static const PlainGameDescriptor hopkinsGames[] = {
#include "hopkins/detection_tables.h"
+const static char *directoryGlobs[] = {
+ "hopdata",
+ "voice",
+ 0
+};
+
class HopkinsMetaEngine : public AdvancedMetaEngine {
public:
HopkinsMetaEngine() : AdvancedMetaEngine(Hopkins::gameDescriptions, sizeof(Hopkins::HopkinsGameDescription), hopkinsGames) {
+ _maxScanDepth = 3;
+ _directoryGlobs = directoryGlobs;
}
virtual const char *getName() const {
diff --git a/engines/hopkins/detection_tables.h b/engines/hopkins/detection_tables.h
index 58fa088b94..54c0fc9cbb 100644
--- a/engines/hopkins/detection_tables.h
+++ b/engines/hopkins/detection_tables.h
@@ -30,6 +30,7 @@ static const HopkinsGameDescription gameDescriptions[] = {
"Linux Demo v1.00",
{
{"Hopkins-PDemo.bin", 0, "88b4d6e14b9b1407083cb3d1213c0fa7", 272027},
+ {"RES_VAN.RES", 0, "29414c05be8f9fe794c61572a65def12", 16060544},
AD_LISTEND
},
Common::EN_ANY,
@@ -46,6 +47,7 @@ static const HopkinsGameDescription gameDescriptions[] = {
"Linux Demo v1.02",
{
{"Hopkins-PDemo.bin", 0, "f82f4e698f3a189419351be0de2b2f8e", 273760},
+ {"RES_VAN.RES", 0, "29414c05be8f9fe794c61572a65def12", 16060544},
AD_LISTEND
},
Common::EN_ANY,
@@ -62,6 +64,7 @@ static const HopkinsGameDescription gameDescriptions[] = {
0,
{
{"Hopkins.exe", 0, "63d45f882278e5a9fa1027066223e5d9", 292864},
+ {"ENG_VOI.RES", 0, "fa5789d1d8c19d160bce44a33e742fdf", 66860711},
AD_LISTEND
},
Common::EN_ANY,
@@ -72,6 +75,7 @@ static const HopkinsGameDescription gameDescriptions[] = {
},
{
// Hopkins FBI Win95 Demo, provided by Strangerke
+ // CHECKME: No voice! a second file is required though... Also, it has multi-language support
{
"hopkins",
"Win95 Demo",
@@ -92,6 +96,7 @@ static const HopkinsGameDescription gameDescriptions[] = {
0,
{
{"Hopkins.exe", 0, "277a5c144bf9ec7d8450ae37afb85090", 419281},
+ {"RES_VAN.RES", 0, "f1693ac0b0859c8ecd8cb30ff43cf55f", 38296346},
AD_LISTEND
},
Common::EN_ANY,
@@ -107,6 +112,23 @@ static const HopkinsGameDescription gameDescriptions[] = {
0,
{
{"Hopkins.bin", 0, "71611380cb31744bf909b8319a65e6e6", 275844},
+ {"RES_VFR.RES", 0, "0490d4d1aa71075ebf71cc79e5dc7894", 39817945},
+ AD_LISTEND
+ },
+ Common::FR_FRA,
+ Common::kPlatformLinux,
+ ADGF_NO_FLAGS,
+ GUIO1(GUIO_NONE)
+ },
+ },
+ {
+ // Hopkins FBI Linux, provided by Strangerke
+ {
+ "hopkins",
+ 0,
+ {
+ {"Hopkins.bin", 0, "71611380cb31744bf909b8319a65e6e6", 275844},
+ {"RES_VAN.RES", 0, "29414c05be8f9fe794c61572a65def12", 38832455},
AD_LISTEND
},
Common::EN_ANY,