From 19d3f5ad9b9af7b1f03db35ca97aefef9010acf4 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Fri, 5 Feb 2010 03:29:04 +0000 Subject: Have SCI look through the patches directory (except in KQ6 where the patches in that directory are broken) to fix some GK1 Windows problems. Add the MSRLE codec to AVI (from DrMcCoy's Dark Seed II engine, with permission). GK1 Windows now will play the credits video. svn-id: r47894 --- engines/sci/sci.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'engines/sci') diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index 0bcc299162..60a6b2957e 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -90,11 +90,14 @@ SciEngine::SciEngine(OSystem *syst, const ADGameDescription *desc) SearchMan.addSubDirectoryMatching(_gameDataDir, "actors"); // KQ6 hi-res portraits SearchMan.addSubDirectoryMatching(_gameDataDir, "aud"); // resource.aud and audio files SearchMan.addSubDirectoryMatching(_gameDataDir, "avi"); // AVI movie files for Windows versions - //SearchMan.addSubDirectoryMatching(_gameDataDir, "patches"); // resource patches SearchMan.addSubDirectoryMatching(_gameDataDir, "seq"); // SEQ movie files for DOS versions SearchMan.addSubDirectoryMatching(_gameDataDir, "wav"); // speech files in WAV format SearchMan.addSubDirectoryMatching(_gameDataDir, "sfx"); // music/sound files in WAV format SearchMan.addSubDirectoryMatching(_gameDataDir, "robot"); // robot files + + // Add the patches directory, except in KQ6; KQ6 comes with broken patches. + if (getGameID() != "kq6") + SearchMan.addSubDirectoryMatching(_gameDataDir, "patches"); // resource patches } SciEngine::~SciEngine() { -- cgit v1.2.3