[Scummvm-git-logs] scummvm master -> f10afb8d162826235b96f5acc8f31c9b6f901a29
bluegr
bluegr at gmail.com
Mon Sep 30 06:46:17 CEST 2019
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
1fe75a631b SCUMM: Don't limit Steam MD5 of DIG to english
f10afb8d16 SCUMM: Detect language file of Steam version of DIG, fixes bug #10697
Commit: 1fe75a631bde418137d7228a4a812f7da3b82113
https://github.com/scummvm/scummvm/commit/1fe75a631bde418137d7228a4a812f7da3b82113
Author: Ben Castricum (github at bencastricum.nl)
Date: 2019-09-30T07:46:12+03:00
Commit Message:
SCUMM: Don't limit Steam MD5 of DIG to english
Steam also allows other languages to be downloaded. Those have the same MD5.
Changed paths:
devtools/scumm-md5.txt
engines/scumm/scumm-md5.h
diff --git a/devtools/scumm-md5.txt b/devtools/scumm-md5.txt
index 755593a..901c71d 100644
--- a/devtools/scumm-md5.txt
+++ b/devtools/scumm-md5.txt
@@ -373,8 +373,8 @@ ft Full Throttle
dig The Dig
d8323015ecb8b10bf53474f6e6b0ae33 16304 All All - - - Fingolfin
- aad201302286c1cfee92321cd406e427 811008 en Windows Steam Steam Steam Version Ben Castricum, Filippos Karapetis
- d93cc8be628ed5d3b3a29188fc7105d3 1061296 en Mac Steam Steam Steam Version Filippos Karapetis
+ aad201302286c1cfee92321cd406e427 811008 All Windows Steam Steam Steam Version Ben Castricum, Filippos Karapetis
+ d93cc8be628ed5d3b3a29188fc7105d3 1061296 All Mac Steam Steam Steam Version Filippos Karapetis
d62047a6729349ab36f7ee065bf26509 -1 ru All - - - sev
ebdd2fbc995a321605375dc57766db79 16304 ru All - With Subtitles - sev
35a2d3040fa512f8232d9e443319d84d 659335495 en Mac - - Mac bundle Fingolfin
diff --git a/engines/scumm/scumm-md5.h b/engines/scumm/scumm-md5.h
index 8a09bbb..3c1835c 100644
--- a/engines/scumm/scumm-md5.h
+++ b/engines/scumm/scumm-md5.h
@@ -1,5 +1,5 @@
/*
- This file was generated by the md5table tool on Wed Aug 15 18:14:50 2018
+ This file was generated by the md5table tool on Sun Sep 29 13:53:18 2019
DO NOT EDIT MANUALLY!
*/
@@ -506,7 +506,7 @@ static const MD5Table md5table[] = {
{ "aa8a0cb65f3afbbe2c14c3f9f92775a3", "monkey", "CD", "CD", 8955, Common::FR_FRA, Common::kPlatformDOS },
{ "aaa587701cde7e74692c68c1024b85eb", "puttrace", "HE 99", "Demo", -1, Common::NL_NLD, Common::kPlatformUnknown },
{ "aaa7f36a253f277dd29dd1c051b0e4b9", "indy3", "No AdLib", "EGA", -1, Common::DE_DEU, Common::kPlatformAtariST },
- { "aad201302286c1cfee92321cd406e427", "dig", "Steam", "Steam", 811008, Common::EN_ANY, Common::kPlatformWindows },
+ { "aad201302286c1cfee92321cd406e427", "dig", "Steam", "Steam", 811008, Common::UNK_LANG, Common::kPlatformWindows },
{ "ab0693e9324cfcf498fdcbb12acf8bb4", "puttcircus", "", "", 36655, Common::EN_USA, Common::kPlatformUnknown },
{ "ac1642b6edfb8521ca03760126f1c250", "tentacle", "", "Demo", -1, Common::DE_DEU, Common::kPlatformDOS },
{ "ac62d50e39492ee3738b4e83a5ac780f", "freddi2", "HE 80", "", -1, Common::NL_NLD, Common::kPlatformWindows },
@@ -617,7 +617,7 @@ static const MD5Table md5table[] = {
{ "d7b247c26bf1f01f8f7daf142be84de3", "balloon", "HE 99", "Updated", -1, Common::EN_ANY, Common::kPlatformWindows },
{ "d8323015ecb8b10bf53474f6e6b0ae33", "dig", "", "", 16304, Common::UNK_LANG, Common::kPlatformUnknown },
{ "d917f311a448e3cc7239c31bddb00dd2", "samnmax", "", "CD", 9080, Common::EN_ANY, Common::kPlatformUnknown },
- { "d93cc8be628ed5d3b3a29188fc7105d3", "dig", "Steam", "Steam", 1061296, Common::EN_ANY, Common::kPlatformMacintosh },
+ { "d93cc8be628ed5d3b3a29188fc7105d3", "dig", "Steam", "Steam", 1061296, Common::UNK_LANG, Common::kPlatformMacintosh },
{ "d9d0dd93d16ab4dec55cabc2b86bbd17", "samnmax", "", "Demo", 6478, Common::EN_ANY, Common::kPlatformDOS },
{ "da09e666fc8f5b78d7b0ac65d1a3b56e", "monkey2", "FM-TOWNS", "", 11135, Common::EN_ANY, Common::kPlatformFMTowns },
{ "da6269b18fcb08189c0aa9c95533cce2", "monkey", "CD", "CD", 8955, Common::IT_ITA, Common::kPlatformDOS },
Commit: f10afb8d162826235b96f5acc8f31c9b6f901a29
https://github.com/scummvm/scummvm/commit/f10afb8d162826235b96f5acc8f31c9b6f901a29
Author: Ben Castricum (github at bencastricum.nl)
Date: 2019-09-30T07:46:12+03:00
Commit Message:
SCUMM: Detect language file of Steam version of DIG, fixes bug #10697
Changed paths:
engines/scumm/detection.cpp
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp
index fccb30b..a5bba29 100644
--- a/engines/scumm/detection.cpp
+++ b/engines/scumm/detection.cpp
@@ -434,6 +434,15 @@ static Common::Language detectLanguage(const Common::FSList &fslist, byte id) {
&& searchFSNode(tmpList, filename, langFile)) {
tmp.open(langFile);
}
+ // The Steam version of Dig has the LANGUAGE.BND in the DIG sub dir...
+ if (!tmp.isOpen()
+ && id == GID_DIG
+ && searchFSNode(fslist, "DIG", resDir)
+ && resDir.isDirectory()
+ && resDir.getChildren(tmpList, Common::FSNode::kListFilesOnly)
+ && searchFSNode(tmpList, filename, langFile)) {
+ tmp.open(langFile);
+ }
}
if (tmp.isOpen()) {
uint size = tmp.size();
More information about the Scummvm-git-logs
mailing list