From e9b2bf9e4edbf18374af749a402ab4030495cd2f Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 26 Jun 2021 12:10:46 +0200 Subject: [PATCH] - shortened the message for not found game data and restrict to non-Windows systems. --- source/core/gamecontrol.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/source/core/gamecontrol.cpp b/source/core/gamecontrol.cpp index 7abe11f17..fb6bb415f 100644 --- a/source/core/gamecontrol.cpp +++ b/source/core/gamecontrol.cpp @@ -653,11 +653,12 @@ static TArray SetupGame() { // Abort if no game data found. G_SaveConfig(); - I_Error("Unable to find any game data. Please verify your settings.\n" - "Install game data files in subfolders of: " + M_GetAppDataPath(false) + "\n\n" - "For example, you can create a 'duke' folder inside the above folder\n" - "and place DUKE3D.GRP and DUKE.RTS (case-insensitive) in the 'duke' folder.\n" - "Subfolders can have any name. The name has no bearing on game recognition."); + I_Error("Unable to find any game data. Please verify your settings." +#ifdef WIN32 + ); +#else + "\nInstall game data files in subfolders of '%s'\n\n", M_GetAppDataPath(false).GetChars()); +#endif } decltype(groups) usedgroups;