diff options
author | Matthew Hoops | 2012-06-05 13:17:04 -0400 |
---|---|---|
committer | Matthew Hoops | 2012-06-05 13:17:04 -0400 |
commit | 2aeb883123d01bd1dacc05627b610f0d2d9e7d08 (patch) | |
tree | 7cc48d7dfcd6b7d4ab9a8952f4f05a696000542c /engines | |
parent | 4392e4d7aab9114ff66a1fcda34d21f404b4ebcd (diff) | |
download | scummvm-rg350-2aeb883123d01bd1dacc05627b610f0d2d9e7d08.tar.gz scummvm-rg350-2aeb883123d01bd1dacc05627b610f0d2d9e7d08.tar.bz2 scummvm-rg350-2aeb883123d01bd1dacc05627b610f0d2d9e7d08.zip |
SCUMM: Show an error dialog when trying to run puttzoo ios lite
The lite version contains the full game and we will not support it due to potential piracy.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/detection.cpp | 8 | ||||
-rw-r--r-- | engines/scumm/scumm-md5.h | 3 |
2 files changed, 10 insertions, 1 deletions
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp index cd878b49ae..95de1a8706 100644 --- a/engines/scumm/detection.cpp +++ b/engines/scumm/detection.cpp @@ -1079,6 +1079,14 @@ Common::Error ScummMetaEngine::createInstance(OSystem *syst, Engine **engine) co debug(1, "Using MD5 '%s'", res.md5.c_str()); } + // We don't support the "Lite" version off puttzoo iOS because it contains + // the full game. + if (!strcmp(res.game.gameid, "puttzoo") && !strcmp(res.extra, "Lite")) { + GUIErrorMessage("The Lite version of Putt-Putt Saves the Zoo iOS is not supported to avoid piracy.\n" + "The full version is available for purchase from the iTunes Store."); + return Common::kUnsupportedGameidError; + } + // If the GUI options were updated, we catch this here and update them in the users config // file transparently. Common::updateGameGUIOptions(res.game.guioptions, getGameGUIOptionsDescriptionLanguage(res.language)); diff --git a/engines/scumm/scumm-md5.h b/engines/scumm/scumm-md5.h index 946e954a46..9aac4a082f 100644 --- a/engines/scumm/scumm-md5.h +++ b/engines/scumm/scumm-md5.h @@ -1,5 +1,5 @@ /* - This file was generated by the md5table tool on Tue May 29 00:49:03 2012 + This file was generated by the md5table tool on Tue Jun 5 16:56:40 2012 DO NOT EDIT MANUALLY! */ @@ -215,6 +215,7 @@ static const MD5Table md5table[] = { { "4dbff3787aedcd96b0b325f2d92d7ad9", "maze", "HE 100", "Updated", -1, Common::EN_USA, Common::kPlatformUnknown }, { "4dc780f1bc587a193ce8a97652791438", "loom", "EGA", "EGA", -1, Common::EN_ANY, Common::kPlatformAmiga }, { "4e5867848ee61bc30d157e2c94eee9b4", "PuttTime", "HE 90", "Demo", 18394, Common::EN_USA, Common::kPlatformUnknown }, + { "4e859d3ef1e146b41e7d93c35cd6cc62", "puttzoo", "HE 100", "Lite", -1, Common::EN_ANY, Common::kPlatformIOS }, { "4edbf9d03550f7ba01e7f34d69b678dd", "spyfox", "HE 98.5", "Demo", -1, Common::NL_NLD, Common::kPlatformUnknown }, { "4f04b321a95d4315ce6d65f8e1dd0368", "maze", "HE 80", "", -1, Common::EN_USA, Common::kPlatformUnknown }, { "4f138ac6f9b2ac5a41bc68b2c3296064", "freddi4", "HE 99", "", -1, Common::FR_FRA, Common::kPlatformWindows }, |