[Scummvm-git-logs] scummvm master -> 7aadf63014855b5ac761f4b29caf7afa5e10013c
sev-
sev at scummvm.org
Thu Sep 2 11:14:45 UTC 2021
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:
7aadf63014 SCUMM: Add Spanish version of the MI1 Lemonhead patch
Commit: 7aadf63014855b5ac761f4b29caf7afa5e10013c
https://github.com/scummvm/scummvm/commit/7aadf63014855b5ac761f4b29caf7afa5e10013c
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-09-02T13:14:42+02:00
Commit Message:
SCUMM: Add Spanish version of the MI1 Lemonhead patch
I don't have this version of the game myself, so it's based on a YouTube
playthrough and walking through the process of extracting the necessary
data with timofonic. It has not been properly tested, though the
messages do look correct if I insert them into the English version.
Changed paths:
engines/scumm/resource.cpp
engines/scumm/script_v5.cpp
diff --git a/engines/scumm/resource.cpp b/engines/scumm/resource.cpp
index bb70552511..cecac1bf62 100644
--- a/engines/scumm/resource.cpp
+++ b/engines/scumm/resource.cpp
@@ -1879,6 +1879,17 @@ bool ScummEngine::tryPatchMI1CannibalScript(byte *buf, int size) {
lang[1] = 'T';
lang[2] = 'A';
break;
+ case Common::ES_ESP:
+ expectedSize = 82829;
+ scriptOffset = 73905;
+ scriptLength = 579;
+ expectedMd5 = "0e282d86f80d4e062a9a145601e6fed3";
+ patchOffset = 161;
+ patchLength = 21;
+ lang[0] = 'E';
+ lang[1] = 'S';
+ lang[2] = 'P';
+ break;
default:
return false;
}
diff --git a/engines/scumm/script_v5.cpp b/engines/scumm/script_v5.cpp
index 69504f8349..e86b3a62c2 100644
--- a/engines/scumm/script_v5.cpp
+++ b/engines/scumm/script_v5.cpp
@@ -2927,6 +2927,11 @@ void ScummEngine_v5::printPatchedMI1CannibalString(int textSlot, const byte *ptr
"Oooh, che bello.\xFF\x03"
"Semplice. Proprio come uno dei miei.\xFF\x03"
"E piccolo. Come il mio.";
+ } else if (strncmp((const char *)ptr, "/LH.ESP/", 8) == 0) {
+ msg =
+ "Oooh, qu\x82 bonito.\xFF\x03"
+ "Simple. Como uno de los m\xA1os.\xFF\x03"
+ "Y peque\xA4o, como los m\xA1os.";
}
printString(textSlot, (const byte *)msg);
More information about the Scummvm-git-logs
mailing list