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.
This commit is contained in:
Torbjörn Andersson 2021-08-10 22:33:26 +02:00 committed by Eugene Sandulenko
parent 2946efb050
commit 327e183eab
No known key found for this signature in database
GPG key ID: 014D387312D34F08
2 changed files with 16 additions and 0 deletions

View file

@ -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;
}

View file

@ -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);