diff options
author | Filippos Karapetis | 2011-01-04 19:46:18 +0000 |
---|---|---|
committer | Filippos Karapetis | 2011-01-04 19:46:18 +0000 |
commit | 34ae92033ce0235fa56f7b4282619cfbcdcfa4f5 (patch) | |
tree | 538821829218d1ac4b40e5c8c9f37163da4d2f64 | |
parent | 9fe6540dd9bd17ce68ed0b777f4ccd99d84e139b (diff) | |
download | scummvm-rg350-34ae92033ce0235fa56f7b4282619cfbcdcfa4f5.tar.gz scummvm-rg350-34ae92033ce0235fa56f7b4282619cfbcdcfa4f5.tar.bz2 scummvm-rg350-34ae92033ce0235fa56f7b4282619cfbcdcfa4f5.zip |
SCI: Moved the "SCI" bit to the extras field, to preserve the original naming of the games
svn-id: r55119
-rw-r--r-- | engines/sci/detection.cpp | 23 | ||||
-rw-r--r-- | engines/sci/detection_tables.h | 60 |
2 files changed, 44 insertions, 39 deletions
diff --git a/engines/sci/detection.cpp b/engines/sci/detection.cpp index 57fbbdb8f6..d6f45548f8 100644 --- a/engines/sci/detection.cpp +++ b/engines/sci/detection.cpp @@ -52,7 +52,7 @@ static const PlainGameDescriptor s_sciGameTitles[] = { {"funseeker", "Fun Seeker's Guide"}, {"hoyle1", "Hoyle Official Book of Games: Volume 1"}, {"hoyle2", "Hoyle Official Book of Games: Volume 2"}, - {"kq4sci", "King's Quest IV: The Perils of Rosella, SCI Remake"}, // Note: There was also an AGI version of this + {"kq4sci", "King's Quest IV: The Perils of Rosella"}, // Note: There was also an AGI version of this {"laurabow", "Laura Bow: The Colonel's Bequest"}, {"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"}, @@ -62,7 +62,7 @@ static const PlainGameDescriptor s_sciGameTitles[] = { {"sq3", "Space Quest III: The Pirates of Pestulon"}, // === SCI01 games ======================================================== {"qfg2", "Quest for Glory II: Trial by Fire"}, - {"kq1sci", "King's Quest I: Quest for the Crown, SCI Remake"}, // Note: There was also an AGI version of this + {"kq1sci", "King's Quest I: Quest for the Crown"}, // Note: There was also an AGI version of this // === SCI1 games ========================================================= {"castlebrain", "Castle of Dr. Brain"}, {"christmas1990", "Christmas Card 1990: The Seasoned Professional"}, @@ -77,13 +77,13 @@ static const PlainGameDescriptor s_sciGameTitles[] = { {"jones", "Jones in the Fast Lane"}, {"kq5", "King's Quest V: Absence Makes the Heart Go Yonder"}, {"longbow", "Conquests of the Longbow: The Adventures of Robin Hood"}, - {"lsl1sci", "Leisure Suit Larry in the Land of the Lounge Lizards, SCI Remake"}, // Note: There was also an AGI version of this + {"lsl1sci", "Leisure Suit Larry in the Land of the Lounge Lizards"}, // Note: There was also an AGI version of this {"lsl5", "Leisure Suit Larry 5: Passionate Patti Does a Little Undercover Work"}, {"mothergoose256", "Mixed-Up Mother Goose"}, {"msastrochicken", "Ms. Astro Chicken"}, - {"pq1sci", "Police Quest: In Pursuit of the Death Angel, SCI Remake"}, // Note: There was also an AGI version of this + {"pq1sci", "Police Quest: In Pursuit of the Death Angel"}, // Note: There was also an AGI version of this {"pq3", "Police Quest III: The Kindred"}, - {"sq1sci", "Space Quest I: The Sarien Encounter, SCI Remake"}, // Note: There was also an AGI version of this + {"sq1sci", "Space Quest I: The Sarien Encounter"}, // Note: There was also an AGI version of this {"sq4", "Space Quest IV: Roger Wilco and the Time Rippers"}, // floppy is SCI1, CD SCI1.1 // === SCI1.1 games ======================================================= {"christmas1992", "Christmas Card 1992"}, @@ -92,7 +92,7 @@ static const PlainGameDescriptor s_sciGameTitles[] = { {"hoyle4", "Hoyle Classic Card Games"}, {"kq6", "King's Quest VI: Heir Today, Gone Tomorrow"}, {"laurabow2", "Laura Bow 2: The Dagger of Amon Ra"}, - {"qfg1vga", "Quest for Glory I: So You Want to Be a Hero, VGA Remake"}, // Note: There was also a SCI0 version of this (further up) + {"qfg1vga", "Quest for Glory I: So You Want to Be a Hero"}, // Note: There was also a SCI0 version of this (further up) {"qfg3", "Quest for Glory III: Wages of War"}, {"sq5", "Space Quest V: The Next Mutation"}, {"islandbrain", "The Island of Dr. Brain"}, @@ -585,16 +585,21 @@ const ADGameDescription *SciMetaEngine::fallbackDetect(const Common::FSList &fsl // Fill in extras field - if (!strcmp(s_fallbackDesc.gameid, "lsl1sci") || - !strcmp(s_fallbackDesc.gameid, "sq1sci")) { + + if (gameId.hasSuffix("sci")) { + s_fallbackDesc.extra = "SCI"; + // Differentiate EGA versions from the VGA ones, where needed if (gameViews == kViewEga && s_fallbackDesc.platform != Common::kPlatformAmiga) + s_fallbackDesc.extra = "SCI/EGA"; + } else { + if (gameViews == kViewEga && s_fallbackDesc.platform != Common::kPlatformAmiga) s_fallbackDesc.extra = "EGA"; } // Add "demo" to the description for demos if (s_fallbackDesc.flags & ADGF_DEMO) - s_fallbackDesc.extra = "demo"; + s_fallbackDesc.extra = (gameId.hasSuffix("sci")) ? "SCI/Demo" : "Demo"; delete resMan; diff --git a/engines/sci/detection_tables.h b/engines/sci/detection_tables.h index c7abd226c2..3a378320f3 100644 --- a/engines/sci/detection_tables.h +++ b/engines/sci/detection_tables.h @@ -949,7 +949,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // King's Quest 1 SCI Remake - English Amiga (from www.back2roots.org) // Executable scanning reports "1.003.007" // SCI interpreter version 0.001.010 - {"kq1sci", "", { + {"kq1sci", "SCI", { {"resource.map", 0, "37ed1a05eb719629eba15059c2eb6cbe", 6798}, {"resource.001", 0, "9ae2a13708d691cd42f9129173c4b39d", 266621}, {"resource.002", 0, "9ae2a13708d691cd42f9129173c4b39d", 795123}, @@ -960,7 +960,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // King's Quest 1 SCI Remake - English DOS Non-Interactive Demo // Executable scanning reports "S.old.010" - {"kq1sci", "Demo", { + {"kq1sci", "SCI/Demo", { {"resource.map", 0, "59b13619078bd47011421468959ee5d4", 954}, {"resource.001", 0, "4cfb9040db152868f7cb6a1e8151c910", 296555}, AD_LISTEND}, @@ -969,7 +969,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // King's Quest 1 SCI Remake - English DOS (from the King's Quest Collection) // Executable scanning reports "S.old.010", VERSION file reports "1.000.051" // SCI interpreter version 0.000.999 - {"kq1sci", "", { + {"kq1sci", "SCI", { {"resource.map", 0, "7fe9399a0bec84ca5727309778d27f07", 5790}, {"resource.001", 0, "fed9e0072ffd511d248674e60dee2099", 555439}, {"resource.002", 0, "fed9e0072ffd511d248674e60dee2099", 714062}, @@ -979,7 +979,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // King's Quest 1 SCI Remake - English DOS (supplied by ssburnout in bug report #3049193) // 1.000.051 9x5.25" (label: INT#9.19.90) - {"kq1sci", "", { + {"kq1sci", "SCI", { {"resource.map", 0, "4dac689e98b2fa6806232fdd61e24712", 9936}, {"resource.001", 0, "fed9e0072ffd511d248674e60dee2099", 196027}, {"resource.002", 0, "fed9e0072ffd511d248674e60dee2099", 330278}, @@ -994,7 +994,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // King's Quest 4 - English Amiga (from www.back2roots.org) // Executable scanning reports "1.002.032" // SCI interpreter version 0.000.685 - {"kq4sci", "", { + {"kq4sci", "SCI", { {"resource.map", 0, "f88dd267fb9504d40a04d599c048d42b", 6354}, {"resource.000", 0, "77615c595388acf3d1df8e107bfb6b52", 138523}, {"resource.001", 0, "52c2231765eced34faa7f7bcff69df83", 44751}, @@ -1006,7 +1006,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // King's Quest 4 - English DOS Non-Interactive Demo // Executable scanning reports "0.000.494" - {"kq4sci", "Demo", { + {"kq4sci", "SCI/Demo", { {"resource.map", 0, "992ac7cc31d3717fe53818a9bb6d1dae", 594}, {"resource.001", 0, "143e1c14f15ad0fbfc714f648a65f661", 205330}, AD_LISTEND}, @@ -1014,7 +1014,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // King's Quest 4 - English DOS (original boxed release, 3 1/2" disks) // SCI interpreter version 0.000.247 - {"kq4sci", "", { + {"kq4sci", "SCI", { {"resource.map", 0, "042d54434174d8f9faf926ade2ffd805", 7416}, {"resource.001", 0, "851a62d00972dc4002f472cc0d84e71d", 491919}, {"resource.002", 0, "851a62d00972dc4002f472cc0d84e71d", 678804}, @@ -1026,7 +1026,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // King's Quest 4 - English DOS (from the King's Quest Collection) // Executable scanning reports "0.000.502" // SCI interpreter version 0.000.502 - {"kq4sci", "", { + {"kq4sci", "SCI", { {"resource.map", 0, "3164a39790b599c954ecf716d0b32be8", 7476}, {"resource.001", 0, "77615c595388acf3d1df8e107bfb6b52", 452523}, {"resource.002", 0, "77615c595388acf3d1df8e107bfb6b52", 536573}, @@ -1037,7 +1037,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // King's Quest 4 - English DOS (supplied by ssburnout in bug report #3049193) // 1.006.003 8x5.25" (label: Int.#0.000.502) - {"kq4sci", "", { + {"kq4sci", "SCI", { {"resource.map", 0, "a22b66e6fa0d82460b985e9f7e562950", 9384}, {"resource.001", 0, "6db7de6f93c6ea62dca78abee677f8c0", 174852}, {"resource.002", 0, "6db7de6f93c6ea62dca78abee677f8c0", 356024}, @@ -1051,7 +1051,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // King's Quest 4 - English DOS // SCI interpreter version 0.000.274 - {"kq4sci", "", { + {"kq4sci", "SCI", { {"resource.map", 0, "adbe267662a5915d3c89c9075ec8cf3e", 9474}, {"resource.001", 0, "851a62d00972dc4002f472cc0d84e71d", 188239}, {"resource.002", 0, "851a62d00972dc4002f472cc0d84e71d", 329895}, @@ -1065,7 +1065,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // King's Quest 4 - English DOS // SCI interpreter version 0.000.253 - {"kq4sci", "", { + {"kq4sci", "SCI", { {"resource.map", 0, "381d9dcb69c626f0a60631dbfec1d13a", 9474}, {"resource.001", 0, "0c8566848a76eea19a6d6220914030a7", 191559}, {"resource.002", 0, "0c8566848a76eea19a6d6220914030a7", 333345}, @@ -1081,7 +1081,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // Game version 1.003.006 (January 12, 1989) // SCI interpreter version 1.001.008 // Provided by fischersfritz in bug report #3110941 - {"kq4sci", "", { + {"kq4sci", "SCI", { {"resource.map", 0, "8800cd62b1eee93752099986dc704a16", 7416}, {"resource.001", 0, "a3cdb4848fb859fdd302976fff56490f", 450790}, {"resource.002", 0, "a3cdb4848fb859fdd302976fff56490f", 535276}, @@ -1580,7 +1580,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // Larry 1 EGA Remake - English DOS (from spookypeanut) // SCI interpreter version 0.000.510 (or 0.000.577?) - {"lsl1sci", "EGA", { + {"lsl1sci", "SCI/EGA", { {"resource.map", 0, "abc0dc50c55de5b9723bb6de193f8756", 3282}, {"resource.000", 0, "d3bceaebef3f7be941c2038b3565161e", 451366}, {"resource.001", 0, "38936d3c68b6f79d3ffb13955713fed7", 591352}, @@ -1592,7 +1592,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // Larry 1 VGA Remake - English Amiga (from www.back2roots.org) // Executable scanning reports "1.004.024" // SCI interpreter version 1.000.784 - {"lsl1sci", "", { + {"lsl1sci", "SCI", { {"resource.map", 0, "7d115a9e27dc8ac71e8d5ef33d589bd5", 3366}, {"resource.000", 0, "e67fd129d5810fc7ad8ea509d891cc00", 363073}, {"resource.001", 0, "24ed6dc01b1e7fbc66c3d63a5994549a", 750465}, @@ -1603,7 +1603,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // Larry 1 VGA Remake - English DOS (from spookypeanut) // Executable scanning reports "1.000.577", VERSION file reports "2.1" - {"lsl1sci", "", { + {"lsl1sci", "SCI", { {"resource.map", 0, "6d04d26466337a1a64b8c6c0eb65c9a9", 3222}, {"resource.000", 0, "d3bceaebef3f7be941c2038b3565161e", 922406}, {"resource.001", 0, "ec20246209d7b19f38989261e5c8f5b8", 1111226}, @@ -1613,7 +1613,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // Larry 1 VGA Remake - English DOS (from FRG) // SCI interpreter version 1.000.510 - {"lsl1sci", "", { + {"lsl1sci", "SCI", { {"resource.map", 0, "8606b083b011a0cc4a1fbfc2198a0a77", 3198}, {"resource.000", 0, "d3bceaebef3f7be941c2038b3565161e", 918242}, {"resource.001", 0, "d34cadb11e1aefbb497cf91bc1d3baa7", 1114688}, @@ -1623,7 +1623,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // Larry 1 VGA Remake - English DOS Non-Interactive Demo // SCI interpreter version 1.000.084 - {"lsl1sci", "Demo", { + {"lsl1sci", "SCI/Demo", { {"resource.map", 0, "434e1f6c39d71647b34f0ee57b2bbd68", 444}, {"resource.001", 0, "0c0768215c562d9dace4a5ca53696cf3", 359913}, AD_LISTEND}, @@ -1633,7 +1633,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // Executable scanning reports "1.SQ4.057", VERSION file reports "1.000" // This version is known to be corrupted // SCI interpreter version 1.000.510 - {"lsl1sci", "", { + {"lsl1sci", "SCI", { {"resource.map", 0, "4fbe5c25878d51d7b2a68b710de4491b", 3327}, {"resource.000", 0, "5e501a9bf8c753bf4c96158042422f00", 839172}, {"resource.001", 0, "112648995dbc194037f1e4ed2e195910", 1063341}, @@ -1645,7 +1645,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // Larry 1 VGA Remake - Russian DOS (also includes english language?!) // Executable scanning reports "1.000.510", VERSION file reports "2.0" // SCI interpreter version 1.000.510 - {"lsl1sci", "", { + {"lsl1sci", "SCI", { {"resource.map", 0, "b54413d35e206d21ae2b2bdb092bd13a", 3198}, {"resource.000", 0, "0d7b2afa666bd36d9535a15d3a837a66", 928566}, {"resource.001", 0, "bc8ca10c807515d959cbd91f9ba47735", 1123759}, @@ -1655,7 +1655,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // Larry 1 VGA Remake - Polish DOS (from Polish Leisure Suit Larry Collection, official release) // SCI interpreter version 1.000.577, VERSION file reports "2.1" (this release does NOT include english text) - {"lsl1sci", "", { + {"lsl1sci", "SCI", { {"resource.map", 0, "58330a85767e42a2487129913283ab5b", 3228}, {"resource.000", 0, "b6097ff35cdc8469f02150fe2f824198", 4781210}, AD_LISTEND}, @@ -2391,7 +2391,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // Police Quest 1 VGA Remake - English DOS (from the Police Quest Collection) // Executable scanning reports "1.001.029", VERSION file reports "2.000" - {"pq1sci", "", { + {"pq1sci", "SCI", { {"resource.map", 0, "35efa814fb994b1cbdac9611e401da67", 5013}, {"resource.000", 0, "e0d5ddf34eda903a38f0837e2aa7145b", 6401433}, AD_LISTEND}, @@ -2733,7 +2733,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // Quest for Glory 1 VGA Remake - English DOS // Executable scanning reports "2.000.411" - {"qfg1vga", "", { + {"qfg1vga", "VGA", { {"resource.map", 0, "a731fb6c9c0b282443f7027bc8694d4c", 8469}, {"resource.000", 0, "ecace1a2771846b1a8aa1afdd44111a0", 6570147}, AD_LISTEND}, @@ -2741,7 +2741,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // Quest for Glory 1 VGA Remake - English DOS Non-Interactive Demo (from FRG) // SCI interpreter version 1.001.029 - {"qfg1vga", "Demo", { + {"qfg1vga", "VGA/Demo", { {"resource.map", 0, "ac0257051c95a59c0cdc0be24d9b11fa", 729}, {"resource.000", 0, "ec6f5cf369054dd3e5392995e9975b9e", 768218}, AD_LISTEND}, @@ -2749,7 +2749,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // Quest for Glory 1 VGA Remake - English Macintosh Floppy // VERSION file reports "2.0" - {"qfg1vga", "", { + {"qfg1vga", "VGA", { {"Data1", 0, "14f26bc75f24bb1ecc94532df17b5371", 1768155}, {"Data2", 0, "a7aee8bd46fc9cef7fd3bea93ef173e0", 6586422}, AD_LISTEND}, @@ -3045,7 +3045,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // Space Quest 1 VGA Remake - English Amiga (from www.back2roots.org) // SCI interpreter version 1.000.510 (just a guess) - {"sq1sci", "", { + {"sq1sci", "SCI", { {"resource.map", 0, "106484b372af1d4cbf866472cc2813dc", 6396}, {"resource.000", 0, "cc9d6ace343661ae51ec8bd6e6b00a8c", 340944}, {"resource.001", 0, "59efcfa2268d2f8608f544e2674d8151", 761721}, @@ -3059,7 +3059,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // Space Quest 1 VGA Remake - English DOS (from the Space Quest Collection) // Executable scanning reports "T.A00.081", VERSION file reports "2.000" // SCI interpreter version 1.000.510 (just a guess) - {"sq1sci", "", { + {"sq1sci", "SCI", { {"resource.map", 0, "38a74d8f555a2da9ca4f21d14e3c1d33", 5913}, {"resource.000", 0, "e9d866534f8c84de82e25f2631ff258c", 1016436}, {"resource.001", 0, "a89b7b52064c75b1985b289edc2f5c69", 1038757}, @@ -3070,7 +3070,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { Common::EN_ANY, Common::kPlatformPC, 0, GUIO_NOSPEECH }, // Space Quest 1 VGA Remake - English Mac (from Fingolfin) - {"sq1sci", "", { + {"sq1sci", "SCI", { {"resource.map", 0, "5c6ad20407261b544238e8dce87afead", 5895}, {"resource.000", 0, "2c414644b23839069c8d1a93b721df16", 1017033}, {"resource.001", 0, "8744ae2ea6b316e91e2a35ab1aa301d2", 1024622}, @@ -3082,7 +3082,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // Space Quest 1 VGA Remake - English Non-Interactive Demo (from FRG) // SCI interpreter version 1.000.181 - {"sq1sci", "Demo", { + {"sq1sci", "SCI/Demo", { {"resource.map", 0, "5af709ac5e0e923e0b8174f49978c30e", 636}, {"resource.001", 0, "fd99ea43f57576ded7c86036996346cf", 507642}, AD_LISTEND}, @@ -3091,7 +3091,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // Space Quest 1 VGA Remake - Spanish DOS Floppy (from jvprat) // Executable scanning reports "T.A00.081", VERSION file reports "2.000" // SCI interpreter version 1.000.510 (just a guess) - {"sq1sci", "", { + {"sq1sci", "SCI", { {"resource.map", 0, "cee2a67fa7f8f1f520f398110ca1c37e", 6111}, {"resource.000", 0, "945081a73211e0c40e62f709edcd8d1d", 970657}, {"resource.001", 0, "94692dc84c85c93bb8850f58aebf3cfc", 1085687}, @@ -3104,7 +3104,7 @@ static const struct ADGameDescription SciGameDescriptions[] = { // Space Quest I 2.0 EGA DOS (6 x 3.5" disks) // Provided by ssburnout in bug report #3046805 - {"sq1sci", "EGA", { + {"sq1sci", "SCI/EGA", { {"resource.map", 0, "dc1bb935bf32da652b2e687617f50cd4", 6003}, {"resource.000", 0, "e9d866534f8c84de82e25f2631ff258c", 409145}, {"resource.001", 0, "a89b7b52064c75b1985b289edc2f5c69", 647747}, |