From 1579e4dcb088be971c5d780062c5d7449536f23c Mon Sep 17 00:00:00 2001 From: Tannin Date: Wed, 25 Feb 2015 17:50:57 +0100 Subject: - bugfix: detection of support for direct loading load mechanism was broken - proxy dll load mechanism disabled since it seems to have been bugged for ages and nobody noticed so it appears to be unneeded --- src/loadmechanism.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/loadmechanism.cpp') diff --git a/src/loadmechanism.cpp b/src/loadmechanism.cpp index 913d018c..4d06bea9 100644 --- a/src/loadmechanism.cpp +++ b/src/loadmechanism.cpp @@ -65,7 +65,7 @@ void LoadMechanism::removeHintFile(QDir &targetDirectory) bool LoadMechanism::isDirectLoadingSupported() { IPluginGame *game = qApp->property("managed_game").value(); - if (game->gameName().compare("oblivion", Qt::CaseInsensitive)) { + if (game->gameName().compare("oblivion", Qt::CaseInsensitive) == 0) { // oblivion can be loaded directly if it's not the steam variant return !game->gameDirectory().exists("steam_api.dll"); } else { @@ -87,8 +87,13 @@ bool LoadMechanism::isScriptExtenderSupported() bool LoadMechanism::isProxyDLLSupported() { - IPluginGame *game = qApp->property("managed_game").value(); - return game->gameDirectory().exists(QString::fromStdWString(AppConfig::proxyDLLTarget())); + // using steam_api.dll as the proxy is way too game specific as many games will have different + // versions of that game. + // plus: the proxy dll hasn't been working for at least the whole 1.12.x versions of MO and + // noone reported it so why maintain an unused feature? + return false; +/* IPluginGame *game = qApp->property("managed_game").value(); + return game->gameDirectory().exists(QString::fromStdWString(AppConfig::proxyDLLTarget()));*/ } -- cgit v1.3.1