From dbf5662ce687d2a7bbbe6ccb7f9dafc2af3929e3 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sat, 8 May 2021 04:37:59 +0200 Subject: [PATCH] :note: Update MPQ error messages --- Source/appfat.cpp | 2 +- Source/qol/monhealthbar.cpp | 4 +++- Source/qol/xpbar.cpp | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Source/appfat.cpp b/Source/appfat.cpp index adcfb1d11..d385de64d 100644 --- a/Source/appfat.cpp +++ b/Source/appfat.cpp @@ -160,7 +160,7 @@ void InsertCDDlg() "%s", _("Unable to open main data archive (diabdat.mpq or spawn.mpq).\n" "\n" - "Make sure that it is in the game folder and that the file name is in all lowercase.")); + "Make sure that it is in the game folder.")); UiErrorOkDialog(_("Data File Error"), text); app_fatal(nullptr); diff --git a/Source/qol/monhealthbar.cpp b/Source/qol/monhealthbar.cpp index 2bb43ab1f..0a242b968 100644 --- a/Source/qol/monhealthbar.cpp +++ b/Source/qol/monhealthbar.cpp @@ -32,7 +32,9 @@ void InitMonsterHealthBar() if ((healthBox.surface == nullptr) || (health.surface == nullptr) || (resistance.surface == nullptr)) { - app_fatal("%s", _("Failed to load UI resources. Is devilutionx.mpq accessible and up to date?")); + app_fatal("%s", _("Failed to load UI resources.\n" + "\n" + "Make sure devilutionx.mpq is in the game folder and that it is up to date.")); } } diff --git a/Source/qol/xpbar.cpp b/Source/qol/xpbar.cpp index 44c84f24c..14182a713 100644 --- a/Source/qol/xpbar.cpp +++ b/Source/qol/xpbar.cpp @@ -49,7 +49,9 @@ void InitXPBar() LoadMaskedArt("data\\xpbar.pcx", &xpbarArt, 1, 1); if (xpbarArt.surface == nullptr) { - app_fatal("%s", _("Failed to load UI resources. Is devilutionx.mpq accessible and up to date?")); + app_fatal("%s", _("Failed to load UI resources.\n" + "\n" + "Make sure devilutionx.mpq is in the game folder and that it is up to date.")); } } }