aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2011-02-04 15:27:56 +0000
committerMatthew Hoops2011-02-04 15:27:56 +0000
commit2be57434a1f7381c19be06bd2af4d4bf64df360f (patch)
tree44dbd2f96b6e8de0acd3f3c9b857bef411802fc7 /engines
parent80bfecb6256d60d47e99db7b63f6c8e3878f8e7d (diff)
downloadscummvm-rg350-2be57434a1f7381c19be06bd2af4d4bf64df360f.tar.gz
scummvm-rg350-2be57434a1f7381c19be06bd2af4d4bf64df360f.tar.bz2
scummvm-rg350-2be57434a1f7381c19be06bd2af4d4bf64df360f.zip
COMMON: Only take the md5 of the resource fork data section
Since various apps can modify the type/creator of the files, we can't rely on the header of the resource fork to take the md5. I've therefore also recalculated all of the detector entries (all 5 of them) that use the Mac resource fork code. svn-id: r55764
Diffstat (limited to 'engines')
-rw-r--r--engines/advancedDetector.cpp2
-rw-r--r--engines/groovie/detection.cpp2
-rw-r--r--engines/sci/detection_tables.h20
3 files changed, 12 insertions, 12 deletions
diff --git a/engines/advancedDetector.cpp b/engines/advancedDetector.cpp
index 9be406d714..bf152ce90a 100644
--- a/engines/advancedDetector.cpp
+++ b/engines/advancedDetector.cpp
@@ -460,7 +460,7 @@ static ADGameDescList detectGame(const Common::FSList &fslist, const ADParams &p
if (macResMan->open(parent, fname)) {
tmp.md5 = macResMan->computeResForkMD5AsString(params.md5Bytes);
- tmp.size = macResMan->getResForkSize();
+ tmp.size = macResMan->getResForkDataSize();
debug(3, "> '%s': '%s'", fname.c_str(), tmp.md5.c_str());
filesSizeMD5[fname] = tmp;
}
diff --git a/engines/groovie/detection.cpp b/engines/groovie/detection.cpp
index ee2556762e..a74839da1c 100644
--- a/engines/groovie/detection.cpp
+++ b/engines/groovie/detection.cpp
@@ -75,7 +75,7 @@ static const GroovieGameDescription gameDescriptions[] = {
{
{
"t7g", "",
- AD_ENTRY1s("T7GMac", "6bdee8d0f9eef6d58d02fcd7deec3fb2", 1830783),
+ AD_ENTRY1s("T7GMac", "acdc4a58dd3f007f65e99b99d78e0bce", 1814029),
Common::EN_ANY, Common::kPlatformMacintosh, ADGF_MACRESFORK,
Common::GUIO_MIDIADLIB | Common::GUIO_MIDIMT32 | Common::GUIO_MIDIGM
},
diff --git a/engines/sci/detection_tables.h b/engines/sci/detection_tables.h
index 3a378320f3..2e23c79db0 100644
--- a/engines/sci/detection_tables.h
+++ b/engines/sci/detection_tables.h
@@ -681,10 +681,10 @@ static const struct ADGameDescription SciGameDescriptions[] = {
// Gabriel Knight - English Macintosh
{"gk1", "", {
- {"Data1", 0, "7a89c96365a4da5d3b3efdc3a94bab3e", 5831362},
- {"Data2", 0, "db70638e972c3706e4dc9e01ef3a30ea", 6696048},
- {"Data3", 0, "d740126293aea176c4f8a6c71634cff4", 3683997},
- {"Data4", 0, "f6cbf2605f618ce035bed162d66b2b8a", 3233086},
+ {"Data1", 0, "044d3bcd7e5b5bb0393d954ade8053fe", 5814918},
+ {"Data2", 0, "99a0c63febf9e44e12a00f99c00eae0f", 6685352},
+ {"Data3", 0, "f25068b408b09275d8b698866462f578", 3677599},
+ {"Data4", 0, "1cceebbe411b26c860a74f91c337fdf3", 3230086},
AD_LISTEND},
Common::EN_ANY, Common::kPlatformMacintosh, ADGF_MACRESFORK, GUIO_NONE },
@@ -892,8 +892,8 @@ static const struct ADGameDescription SciGameDescriptions[] = {
// Hoyle 4 (Hoyle Classic Card Games) - English Macintosh Floppy
// VERSION file reports "2.0"
{"hoyle4", "", {
- {"Data1", 0, "afad082944d36ce4d2a9e646efc49da1", 7731536},
- {"Data2", 0, "615ed2efe969f845cd8f0686af0b06f2", 1543825},
+ {"Data1", 0, "99575fae4579540a314bbedd72d51e8c", 7682887},
+ {"Data2", 0, "7d4bf5bdf3c02edbf35cb8471c84ec13", 1539134},
AD_LISTEND},
Common::EN_ANY, Common::kPlatformMacintosh, ADGF_MACRESFORK, GUIO_NOSPEECH },
@@ -1400,8 +1400,8 @@ static const struct ADGameDescription SciGameDescriptions[] = {
// King's Quest 6 - English Macintosh Floppy
// VERSION file reports "1.0"
{"kq6", "", {
- {"Data1", 0, "f3c38a33c94293b8ff0337c1090a4973", 3916479},
- {"Data2", 0, "b255edf327d7b366dce816b7debf3b94", 15046256},
+ {"Data1", 0, "a183fc0c22fcbd9be4c8800d974b5599", 3892124},
+ {"Data2", 0, "b3722460dfd3097a1fbaf99a21ad8ea5", 15031272},
AD_LISTEND},
Common::EN_ANY, Common::kPlatformMacintosh, ADGF_MACRESFORK, GUIO_NOSPEECH },
@@ -2750,8 +2750,8 @@ static const struct ADGameDescription SciGameDescriptions[] = {
// Quest for Glory 1 VGA Remake - English Macintosh Floppy
// VERSION file reports "2.0"
{"qfg1vga", "VGA", {
- {"Data1", 0, "14f26bc75f24bb1ecc94532df17b5371", 1768155},
- {"Data2", 0, "a7aee8bd46fc9cef7fd3bea93ef173e0", 6586422},
+ {"Data1", 0, "106527ff8756e4e1a795d63d23e8b833", 1752358},
+ {"Data2", 0, "5cdd92033231159c6e9c71d43e9f194d", 6574746},
AD_LISTEND},
Common::EN_ANY, Common::kPlatformMacintosh, ADGF_MACRESFORK, GUIO_NOSPEECH },