[Scummvm-git-logs] scummvm master -> d3c20cc2dc74edda9dc3ea79836a6fddf7cd5667
yuv422
yuv422 at users.noreply.github.com
Thu Aug 27 13:13:59 UTC 2020
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:
d3c20cc2dc DRAGONS: Add detector entry for badly extracted US game version.
Commit: d3c20cc2dc74edda9dc3ea79836a6fddf7cd5667
https://github.com/scummvm/scummvm/commit/d3c20cc2dc74edda9dc3ea79836a6fddf7cd5667
Author: Eric Fry (yuv422 at users.noreply.github.com)
Date: 2020-08-27T23:12:39+10:00
Commit Message:
DRAGONS: Add detector entry for badly extracted US game version.
Show warning dialog and exit.
Changed paths:
engines/dragons/detection.cpp
engines/dragons/dragons.h
diff --git a/engines/dragons/detection.cpp b/engines/dragons/detection.cpp
index 92878a96de..595f4acf03 100644
--- a/engines/dragons/detection.cpp
+++ b/engines/dragons/detection.cpp
@@ -24,6 +24,7 @@
#include "engines/advancedDetector.h"
#include "common/savefile.h"
#include "common/system.h"
+#include "common/translation.h"
#include "base/plugins.h"
#include "graphics/thumbnail.h"
@@ -84,6 +85,20 @@ static const DragonsGameDescription gameDescriptions[] = {
kGameIdDragons
},
+ // BAD EXTRACTIONS
+ {
+ {
+ "dragons",
+ 0,
+ AD_ENTRY1s("bigfile.dat", "92b938703611789e1a007d6dfac7ef7e", 51668736),
+ Common::EN_USA,
+ Common::kPlatformPSX,
+ ADGF_DROPPLATFORM,
+ GUIO0()
+ },
+ kGameIdDragonsBadExtraction
+ },
+
{ AD_TABLE_END_MARKER, 0 }
};
@@ -195,6 +210,10 @@ bool DragonsMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADG
case Dragons::kGameIdDragons:
*engine = new Dragons::DragonsEngine(syst, desc);
break;
+ case Dragons::kGameIdDragonsBadExtraction:
+ GUIErrorMessageWithURL(_("Error: It appears that the game data files were extracted incorrectly.\n\nYou should only extract STR and XA files using the special method. The rest should be copied normally from your game CD.\n\n See https://wiki.scummvm.org/index.php?title=Datafiles#Blazing_Dragons"),
+ "https://wiki.scummvm.org/index.php?title=Datafiles#Blazing_Dragons");
+ break;
default:
error("Unknown game id");
break;
diff --git a/engines/dragons/dragons.h b/engines/dragons/dragons.h
index 2e5d59c808..a8671545f1 100644
--- a/engines/dragons/dragons.h
+++ b/engines/dragons/dragons.h
@@ -29,7 +29,8 @@
namespace Dragons {
enum {
- kGameIdDragons = 1
+ kGameIdDragons = 1,
+ kGameIdDragonsBadExtraction = 2
};
struct DragonsGameDescription {
More information about the Scummvm-git-logs
mailing list