diff --git a/engines/grim/detection.cpp b/engines/grim/detection.cpp index 1ac8c64f332..11fb21da6f2 100644 --- a/engines/grim/detection.cpp +++ b/engines/grim/detection.cpp @@ -289,6 +289,23 @@ static const GrimGameDescription gameDescriptions[] = { GType_GRIM }, + { + // Grim Fandango Italian demo version + { + "grim", + "Demo", + { + {"gfdemo01.lab", 0, "7df813f3809f2c0234213cfa4f6da062", 29533695}, + {"voice001.lab", 0, "3b8ace62584380c66b73981e014ea40e", 14907410}, + }, + Common::IT_ITA, + Common::kPlatformWindows, + ADGF_DEMO, + GUIO1(GAMEOPTION_LOAD_DATAUSR) + }, + GType_GRIM + }, + { // Grim Fandango Spanish demo version { diff --git a/engines/grim/localize.cpp b/engines/grim/localize.cpp index 9618aee42b1..18f09d91a4f 100644 --- a/engines/grim/localize.cpp +++ b/engines/grim/localize.cpp @@ -38,8 +38,9 @@ Localizer::Localizer() { bool isGrimDemo = g_grim->getGameType() == GType_GRIM && isAnyDemo; bool isGerman = g_grim->getGameLanguage() == Common::DE_DEU; bool isFrench = g_grim->getGameLanguage() == Common::FR_FRA; + bool isItalian = g_grim->getGameLanguage() == Common::IT_ITA; bool isSpanish = g_grim->getGameLanguage() == Common::ES_ESP; - bool isTranslatedGrimDemo = (isGerman || isFrench || isSpanish) && isGrimDemo; + bool isTranslatedGrimDemo = (isGerman || isFrench || isItalian || isSpanish) && isGrimDemo; bool isPS2 = g_grim->getGamePlatform() == Common::kPlatformPS2; if (isGrimDemo && !isTranslatedGrimDemo) diff --git a/engines/grim/md5check.cpp b/engines/grim/md5check.cpp index 71e187144a6..a6efdf6bfd8 100644 --- a/engines/grim/md5check.cpp +++ b/engines/grim/md5check.cpp @@ -164,6 +164,9 @@ const char *gfdemo01ger[] = { const char *gfdemo01fra[] = { "fd728f040557118b7ca436f8205029e5" // Same as german }; +const char *gfdemo01ita[] = { + "fd728f040557118b7ca436f8205029e5" // Same as german +}; const char *gfdemo01spa[] = { "fd728f040557118b7ca436f8205029e5" // Same as german }; @@ -182,6 +185,9 @@ const char *voice001ger[] = { const char *voice001fra[] = { "43f56fca727e117b724051c740202c26" }; +const char *voice001ita[] = { + "412bd831ec42d226fa173e0f55cb47cd" +}; const char *voice001spa[] = { "00cb825deca33b96719bc157a5427c40" }; @@ -384,6 +390,9 @@ void MD5Check::init() { } else if (g_grim->getGameLanguage() == Common::FR_FRA) { MD5SUM("gfdemo01.lab", gfdemo01fra) MD5SUM("voice001.lab", voice001fra) + } else if (g_grim->getGameLanguage() == Common::IT_ITA) { + MD5SUM("gfdemo01.lab", gfdemo01ita) + MD5SUM("voice001.lab", voice001ita) } else if (g_grim->getGameLanguage() == Common::ES_ESP) { MD5SUM("gfdemo01.lab", gfdemo01spa) MD5SUM("voice001.lab", voice001spa)