[Scummvm-git-logs] scummvm master -> 746ec5ce360d87247ce5c4884733d7741f46eea7

sev- sev at scummvm.org
Tue Aug 25 20:07:23 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
746ec5ce36 SCUMM: Show warning on unsupported Pajama2 Russian localization


Commit: 746ec5ce360d87247ce5c4884733d7741f46eea7
    https://github.com/scummvm/scummvm/commit/746ec5ce360d87247ce5c4884733d7741f46eea7
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-08-25T22:07:04+02:00

Commit Message:
SCUMM: Show warning on unsupported Pajama2 Russian localization

Changed paths:
    devtools/scumm-md5.txt
    engines/scumm/detection.cpp
    engines/scumm/scumm-md5.h


diff --git a/devtools/scumm-md5.txt b/devtools/scumm-md5.txt
index f87ea139e7..c80535be07 100644
--- a/devtools/scumm-md5.txt
+++ b/devtools/scumm-md5.txt
@@ -694,7 +694,7 @@ pajama2	Pajama Sam 2: Thunder and Lightning Aren't so Frightening
 	f8be685007a8b425ba2a455da732f59f	-1	fr	Mac	HE 99	-	-	alamaz
 	2328be0317008ef047eed7912a4b0850	-1	gb	Windows	HE 99	-	-	Saleck
 	7477bc23d0383516c5e310cd8771dcc9	-1	fr	Windows	HE 99	-	-	Strangerke
-	32709cbeeb3044b34129950860a83f14	-1	ru	Windows	HE 99	-	-	sev
+	32709cbeeb3044b34129950860a83f14	-1	ru	Windows	HE 99	Russobit	-	sev
 	1af4eb581a33d808707d66d50e084dca	-1	he	Windows	HE 99	-	-	Matan Bareket
 
 	36a6750e03fb505fc19fc2bf3e4dbe91	58749	en	All	-	Demo	-	sev
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp
index 781e46724b..899af3fce6 100644
--- a/engines/scumm/detection.cpp
+++ b/engines/scumm/detection.cpp
@@ -1159,6 +1159,13 @@ Common::Error ScummMetaEngine::createInstance(OSystem *syst, Engine **engine) co
 		return Common::kUnsupportedGameidError;
 	}
 
+	// We don't support yet the
+	// the full game.
+	if (!strcmp(res.game.gameid, "pajama2") && !strcmp(res.extra, "Russobit")) {
+		GUIErrorMessage(_("The Russian version of Pajama Sam 2 is not supported yet due to incomplete code."));
+		return Common::kUnsupportedGameidError;
+	}
+
 	// If the GUI options were updated, we catch this here and update them in the users config
 	// file transparently.
 	Common::updateGameGUIOptions(res.game.guioptions, getGameGUIOptionsDescriptionLanguage(res.language));
diff --git a/engines/scumm/scumm-md5.h b/engines/scumm/scumm-md5.h
index caaffa9f9f..57353abfe1 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 Tue Oct 22 12:22:35 2019
+  This file was generated by the md5table tool on Tue Aug 25 20:01:05 2020
   DO NOT EDIT MANUALLY!
  */
 
@@ -160,7 +160,7 @@ static const MD5Table md5table[] = {
 	{ "319a4dde52c7960b5aae8a1ec348d918", "monkey", "VGA", "", -1, Common::DE_DEU, Common::kPlatformAmiga },
 	{ "31aa57f460a3d12429f0552a46a90b39", "puttputt", "Demo", "Demo", 6150, Common::EN_ANY, Common::kPlatformDOS },
 	{ "31b8fda4c8c7413fa6b39997e776eba4", "loom", "FM-TOWNS", "", -1, Common::JA_JPN, Common::kPlatformFMTowns },
-	{ "32709cbeeb3044b34129950860a83f14", "pajama2", "HE 99", "", -1, Common::RU_RUS, Common::kPlatformWindows },
+	{ "32709cbeeb3044b34129950860a83f14", "pajama2", "HE 99", "Russobit", -1, Common::RU_RUS, Common::kPlatformWindows },
 	{ "32a433dea56b86a55b59e4ff7d755711", "ft", "Demo", "Demo", -1, Common::EN_ANY, Common::kPlatformDOS },
 	{ "330f631502e381a4e199a3f7cb483c20", "indy3", "EGA", "EGA", -1, Common::DE_DEU, Common::kPlatformAmiga },
 	{ "33e989f85da700e2014d00f345cab3d7", "puttrace", "HE 98.5", "", -1, Common::FR_FRA, Common::kPlatformWindows },




More information about the Scummvm-git-logs mailing list