aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tinsel')
-rw-r--r--engines/tinsel/detection.cpp22
-rw-r--r--engines/tinsel/tinsel.cpp15
2 files changed, 25 insertions, 12 deletions
diff --git a/engines/tinsel/detection.cpp b/engines/tinsel/detection.cpp
index cbc96f09d4..2bcf45e582 100644
--- a/engines/tinsel/detection.cpp
+++ b/engines/tinsel/detection.cpp
@@ -289,12 +289,11 @@ static const TinselGameDescription gameDescriptions[] = {
"dw",
"CD",
{
- {"dw.scn", 0, "bb78992e3c1cb088e30cc00ad18fc1d7", 339768},
- {"english.smp", 0, NULL, -1},
- {"french.txt", 0, NULL, -1},
- {"german.txt", 0, NULL, -1},
- {"italian.txt", 0, NULL, -1},
- {"spanish.txt", 0, NULL, -1},
+ {"french.txt", 0, "e7020d35f58d0d187052ac406d86cc87", 273918},
+ {"german.txt", 0, "6e2c0f0655bc3cec5a6b3552164ec984", 263942},
+ {"italian.txt", 0, "15f0703f85477d7fab4280bf938b61c1", 239830},
+ {"spanish.txt", 0, "bda9bea9078d1483409082a3e180378a", 236702},
+ {"english.txt", 0, "7526cfc3a64e00f223795de476b4e2c9", 230326},
{NULL, 0, NULL, 0}
},
Common::EN_ANY,
@@ -312,12 +311,11 @@ static const TinselGameDescription gameDescriptions[] = {
"dw",
"CD demo",
{
- {"dw.scn", 0, "6247d8cd742fd0c56534e8eb71552a8b", 339784},
- {"english.smp", 0, NULL, -1},
- {"french.txt", 0, NULL, -1},
- {"german.txt", 0, NULL, -1},
- {"italian.txt", 0, NULL, -1},
- {"spanish.txt", 0, NULL, -1},
+ {"french.txt", 0, "e7020d35f58d0d187052ac406d86cc87", 273914},
+ {"german.txt", 0, "52f0a01e0ff0d340b02a36fd5109d705", 263942},
+ {"italian.txt", 0, "15f0703f85477d7fab4280bf938b61c1", 239834},
+ {"spanish.txt", 0, "c324170c3f1922c605c5cc09ba265aa5", 236702},
+ {"english.txt", 0, "7526cfc3a64e00f223795de476b4e2c9", 230326},
{NULL, 0, NULL, 0}
},
Common::EN_ANY,
diff --git a/engines/tinsel/tinsel.cpp b/engines/tinsel/tinsel.cpp
index 5241459e9e..cdd6f1ffb7 100644
--- a/engines/tinsel/tinsel.cpp
+++ b/engines/tinsel/tinsel.cpp
@@ -836,6 +836,21 @@ TinselEngine::TinselEngine(OSystem *syst, const TinselGameDescription *gameDesc)
// Add DW2 subfolder to search path in case user is running directly from the CDs
Common::File::addDefaultDirectory(_gameDataDir.getChild("dw2"));
+ // Add subfolders needed for psx versions of Discworld 1
+ if(TinselV1PSX) {
+ Common::File::addDefaultDirectory(_gameDataDir.getChild("MIDI"));
+ Common::File::addDefaultDirectory(_gameDataDir.getChild("SAMPLES"));
+ Common::File::addDefaultDirectory(_gameDataDir.getChild("GFX"));
+ Common::File::addDefaultDirectory(_gameDataDir.getChild("GFX").getChild("GFXAB"));
+ Common::File::addDefaultDirectory(_gameDataDir.getChild("GFX").getChild("GFXC"));
+ Common::File::addDefaultDirectory(_gameDataDir.getChild("GFX").getChild("GFXDG"));
+ Common::File::addDefaultDirectory(_gameDataDir.getChild("GFX").getChild("GFXHL"));
+ Common::File::addDefaultDirectory(_gameDataDir.getChild("GFX").getChild("GFXMO"));
+ Common::File::addDefaultDirectory(_gameDataDir.getChild("GFX").getChild("GFXP"));
+ Common::File::addDefaultDirectory(_gameDataDir.getChild("GFX").getChild("GFXRS"));
+ Common::File::addDefaultDirectory(_gameDataDir.getChild("GFX").getChild("GFXTW"));
+ }
+
const GameSettings *g;
const char *gameid = ConfMan.get("gameid").c_str();