aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/detection.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-09-01 19:40:29 +0000
committerFilippos Karapetis2009-09-01 19:40:29 +0000
commitfd92b494865fa254cdb9450c10c5acb84c1614a5 (patch)
treea7b9563e89cb56bb795abd59c807ea865b1ad56a /engines/sci/detection.cpp
parentcf112f9a433e98edd0e529a03bb20033fa3e15db (diff)
downloadscummvm-rg350-fd92b494865fa254cdb9450c10c5acb84c1614a5.tar.gz
scummvm-rg350-fd92b494865fa254cdb9450c10c5acb84c1614a5.tar.bz2
scummvm-rg350-fd92b494865fa254cdb9450c10c5acb84c1614a5.zip
- Reverted the *vga targets back to *sci, and used the extras field again for VGA remakes
- The extras field is now filled by the fallback detector for VGA games svn-id: r43893
Diffstat (limited to 'engines/sci/detection.cpp')
-rw-r--r--engines/sci/detection.cpp16
1 files changed, 12 insertions, 4 deletions
diff --git a/engines/sci/detection.cpp b/engines/sci/detection.cpp
index a61c364bad..6e0754c8c4 100644
--- a/engines/sci/detection.cpp
+++ b/engines/sci/detection.cpp
@@ -67,7 +67,7 @@ static const PlainGameDescriptor SciGameTitles[] = {
{"kq6", "King's Quest VI: Heir Today, Gone Tomorrow"},
{"laurabow", "Laura Bow: The Colonel's Bequest"},
{"laurabow2", "Laura Bow 2: The Dagger of Amon Ra"},
- {"lsl1vga", "Leisure Suit Larry in the Land of the Lounge Lizards, VGA Remake"},
+ {"lsl1sci", "Leisure Suit Larry in the Land of the Lounge Lizards"},
{"lsl2", "Leisure Suit Larry 2: Goes Looking for Love (in Several Wrong Places)"},
{"lsl3", "Leisure Suit Larry 3: Passionate Patti in Pursuit of the Pulsating Pectorals"},
{"lsl5", "Leisure Suit Larry 5: Passionate Patti Does a Little Undercover Work"},
@@ -76,15 +76,14 @@ static const PlainGameDescriptor SciGameTitles[] = {
{"mothergoose", "Mixed-Up Mother Goose"},
{"msastrochicken", "Ms. Astro Chicken"},
{"pepper", "Pepper's Adventure in Time"},
- {"pq1vga", "Police Quest: In Pursuit of the Death Angel, VGA Remake"},
+ {"pq1sci", "Police Quest: In Pursuit of the Death Angel"},
{"pq2", "Police Quest II: The Vengeance"},
{"pq3", "Police Quest III: The Kindred"},
{"qfg1", "Quest for Glory I: So You Want to Be a Hero"},
- {"qfg1vga", "Quest for Glory I: So You Want to Be a Hero, VGA Remake"},
{"qfg2", "Quest for Glory II: Trial by Fire"},
{"qfg3", "Quest for Glory III: Wages of War"},
{"slater", "Slater & Charlie Go Camping"},
- {"sq1vga", "Space Quest I: The Sarien Encounter, VGA Remake"},
+ {"sq1sci", "Space Quest I: The Sarien Encounter"},
{"sq3", "Space Quest III: The Pirates of Pestulon"},
{"sq4", "Space Quest IV: Roger Wilco and the Time Rippers"},
{"sq5", "Space Quest V: The Next Mutation"},
@@ -353,6 +352,15 @@ const ADGameDescription *SciMetaEngine::fallbackDetect(const Common::FSList &fsl
if (!strcmp(s_fallbackDesc.desc.gameid, "kq6") && smallResource000Size)
s_fallbackDesc.desc.flags |= ADGF_DEMO;
+ // Fill in extras field
+ if (!strcmp(s_fallbackDesc.desc.gameid, "lsl1sci") ||
+ !strcmp(s_fallbackDesc.desc.gameid, "pq1sci") ||
+ !strcmp(s_fallbackDesc.desc.gameid, "sq1sci"))
+ s_fallbackDesc.desc.extra = "VGA Remake";
+
+ if (!strcmp(s_fallbackDesc.desc.gameid, "qfg1") && !Common::File::exists("resource.001"))
+ s_fallbackDesc.desc.extra = "VGA Remake";
+
SearchMan.remove("SCI_detection");
return (const ADGameDescription *)&s_fallbackDesc;