From a10018bc36f30294526857e8fa42eb8fa2e38af6 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 17 Jun 2021 23:00:09 +0200 Subject: [PATCH] Display game data path when no game data files are found This helps users find the location where they should place game data files. --- source/core/gamecontrol.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/core/gamecontrol.cpp b/source/core/gamecontrol.cpp index 12e5952a3..7abe11f17 100644 --- a/source/core/gamecontrol.cpp +++ b/source/core/gamecontrol.cpp @@ -653,7 +653,11 @@ static TArray SetupGame() { // Abort if no game data found. G_SaveConfig(); - I_Error("Unable to find any game data. Please verify your settings."); + 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."); } decltype(groups) usedgroups;