mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
GRIM: Add detection and md5-check for french demo
This commit is contained in:
parent
2e65f7f48b
commit
08384af329
@ -255,12 +255,32 @@ static const GrimGameDescription gameDescriptions[] = {
|
||||
},
|
||||
GType_GRIM
|
||||
},
|
||||
{
|
||||
// Grim Fandango French demo version
|
||||
{
|
||||
"grim",
|
||||
"Demo",
|
||||
{
|
||||
{"gfdemo01.lab", 0, "7df813f3809f2c0234213cfa4f6da062", 29533695},
|
||||
{"voice001.lab", 0, "7df474e03c23692ed02e4ce45f1a6b30", 13764168},
|
||||
},
|
||||
Common::FR_FRA,
|
||||
Common::kPlatformWindows,
|
||||
ADGF_DEMO,
|
||||
GUIO1(GAMEOPTION_LOAD_DATAUSR)
|
||||
},
|
||||
GType_GRIM
|
||||
},
|
||||
|
||||
{
|
||||
// Grim Fandango German demo version
|
||||
{
|
||||
"grim",
|
||||
"Demo",
|
||||
AD_ENTRY1s("gfdemo01.lab", "7df813f3809f2c0234213cfa4f6da062", 29533695),
|
||||
{
|
||||
{"gfdemo01.lab", 0, "7df813f3809f2c0234213cfa4f6da062", 29533695},
|
||||
{"voice001.lab", 0, "2788dc7fd226787f3a68ac9c853d2580", 16561196},
|
||||
},
|
||||
Common::DE_DEU,
|
||||
Common::kPlatformWindows,
|
||||
ADGF_DEMO,
|
||||
|
@ -161,6 +161,9 @@ const char *gdemo001[] = {
|
||||
const char *gfdemo01ger[] = {
|
||||
"fd728f040557118b7ca436f8205029e5"
|
||||
};
|
||||
const char *gfdemo01fra[] = {
|
||||
"fd728f040557118b7ca436f8205029e5" // Same as german
|
||||
};
|
||||
const char *grimdemo[] = {
|
||||
"3ba28e7e36a49b5fd01ba98e3c772fe8"
|
||||
};
|
||||
@ -173,6 +176,9 @@ const char *voice001[] = {
|
||||
const char *voice001ger[] = {
|
||||
"d1d68735ae10148ecccb6b5000a4db96"
|
||||
};
|
||||
const char *voice001fra[] = {
|
||||
"43f56fca727e117b724051c740202c26"
|
||||
};
|
||||
|
||||
// EMI retail PC version
|
||||
|
||||
@ -368,6 +374,9 @@ void MD5Check::init() {
|
||||
if (g_grim->getGameLanguage() == Common::DE_DEU) {
|
||||
MD5SUM("gfdemo01.lab", gfdemo01ger)
|
||||
MD5SUM("voice001.lab", voice001ger)
|
||||
} else if (g_grim->getGameLanguage() == Common::FR_FRA) {
|
||||
MD5SUM("gfdemo01.lab", gfdemo01fra)
|
||||
MD5SUM("voice001.lab", voice001fra)
|
||||
} else {
|
||||
// Check which version we have
|
||||
Common::File test;
|
||||
|
Loading…
Reference in New Issue
Block a user