diff --git a/launcher/src/squareenixlogin.cpp b/launcher/src/squareenixlogin.cpp index a26a2c5..2e18125 100644 --- a/launcher/src/squareenixlogin.cpp +++ b/launcher/src/squareenixlogin.cpp @@ -18,6 +18,10 @@ #include "launchercore.h" #include "utility.h" +// Support for the 32-bit DX9 client was removed in March 2024 +// TODO: we should probably detect this automatically +#define SUPPORT_32BIT 0 + using namespace Qt::StringLiterals; SquareEnixLogin::SquareEnixLogin(LauncherCore &window, QObject *parent) @@ -374,12 +378,19 @@ QCoro::Task SquareEnixLogin::registerSession() QCoro::Task SquareEnixLogin::getBootHash() { +#if SUPPORT_32BIT const QList fileList = {QStringLiteral("ffxivboot.exe"), QStringLiteral("ffxivboot64.exe"), QStringLiteral("ffxivlauncher.exe"), QStringLiteral("ffxivlauncher64.exe"), QStringLiteral("ffxivupdater.exe"), QStringLiteral("ffxivupdater64.exe")}; +#else + const QList fileList = {QStringLiteral("ffxivboot.exe"), + QStringLiteral("ffxivboot64.exe"), + QStringLiteral("ffxivlauncher64.exe"), + QStringLiteral("ffxivupdater64.exe")}; +#endif const auto hashFuture = QtConcurrent::mapped(fileList, [this](const auto &filename) -> QString { return getFileHash(m_info->profile->gamePath() + QStringLiteral("/boot/") + filename);