[Scummvm-git-logs] scummvm master -> 3e7abf974de8c296a1b890534f1bfddd245c2137

bluegr bluegr at gmail.com
Sat Jan 2 09:41:41 UTC 2021


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:
373673c2d6 SCI: Add City Torin translation to detection list
3e7abf974d SCI: Patch invalid picture in Russian translation of Torin's passage


Commit: 373673c2d6049368c9d377cd0152ccb67899f9dd
    https://github.com/scummvm/scummvm/commit/373673c2d6049368c9d377cd0152ccb67899f9dd
Author: Vladimir Serbinenko (phcoder at google.com)
Date: 2021-01-02T11:41:37+02:00

Commit Message:
SCI: Add City Torin translation to detection list

Changed paths:
    engines/sci/detection_tables.h


diff --git a/engines/sci/detection_tables.h b/engines/sci/detection_tables.h
index cc949367f8..46fabb18f2 100644
--- a/engines/sci/detection_tables.h
+++ b/engines/sci/detection_tables.h
@@ -5699,6 +5699,15 @@ static const struct ADGameDescription SciGameDescriptions[] = {
 	AD_LISTEND },
 	Common::RU_RUS, Common::kPlatformWindows, ADGF_DROPPLATFORM, GUIO_TORIN },
 
+	// Torin's Passage - Russian Windows CD (Dyadushka Research + City)
+	// VERSION file "1.0"
+	{ "torin", "",{
+		  {"resource.aud", 0, "142a523ee8b79cbe5ef8be7e557ddd55", 181100846},
+		  {"ressci.000", 0, "693a259d346c9360f4a0c11fdaae430a", 56974537},
+		  {"resmap.000", 0, "bb3b0b22ff08df54fbe2d06263409be6", 9799},
+	AD_LISTEND },
+	Common::RU_RUS, Common::kPlatformWindows, ADGF_DROPPLATFORM, GUIO_TORIN },
+
 	// Torin's Passage - English Macintosh
 	{"torin", "", {
 		{"Data1", 0, "63887e33cc282c92dc1f916f54aea8eb", 700786},


Commit: 3e7abf974de8c296a1b890534f1bfddd245c2137
    https://github.com/scummvm/scummvm/commit/3e7abf974de8c296a1b890534f1bfddd245c2137
Author: Vladimir Serbinenko (phcoder at google.com)
Date: 2021-01-02T11:41:37+02:00

Commit Message:
SCI: Patch invalid picture in Russian translation of Torin's passage

Changed paths:
    engines/sci/resource/resource_patcher.cpp


diff --git a/engines/sci/resource/resource_patcher.cpp b/engines/sci/resource/resource_patcher.cpp
index ee4bab5081..63d3f974a9 100644
--- a/engines/sci/resource/resource_patcher.cpp
+++ b/engines/sci/resource/resource_patcher.cpp
@@ -471,6 +471,19 @@ static const byte qfg1vgaPalette904[] = {
 	END
 };
 
+#pragma mark -
+#pragma mark Torin passage Russian
+
+// Picture 61101 is truncated in Russian version by city is truncated by
+// 7 bytes. Just put black. Other Russian versions also get patched as we don't
+// have a way to specify only one version but it ends up in appending few bytes
+// with no effect
+static const byte torinPassageRussianPic61101[] = {
+	SKIP(199705),
+	INSERT_FILL(0, 7),
+	END
+};
+
 #pragma mark -
 #pragma mark Patch table
 
@@ -482,7 +495,8 @@ static const GameResourcePatch resourcePatches[] = {
 	{ GID_LSL3,           Common::PL_POL,   ResourceId(kResourceTypeFont,      9), lsl2Lsl3PolishFont,         false },
 	{ GID_PHANTASMAGORIA, Common::UNK_LANG, ResourceId(kResourceTypeView,  64001), phant1View64001Palette,     false },
 	{ GID_PQ4,            Common::EN_ANY,   ResourceId(kResourceTypeView,  10988), pq4EnhancedAudioToggleView, true  },
-	{ GID_QFG1VGA,        Common::UNK_LANG, ResourceId(kResourceTypePalette, 904), qfg1vgaPalette904,          false }
+	{ GID_QFG1VGA,        Common::UNK_LANG, ResourceId(kResourceTypePalette, 904), qfg1vgaPalette904,          false },
+	{ GID_TORIN,          Common::RU_RUS,   ResourceId(kResourceTypePic,   61101), torinPassageRussianPic61101,false }
 };
 
 #pragma mark -




More information about the Scummvm-git-logs mailing list