From e1b752f1b374b6ff5416076bd38575c522b3af9c 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 c109464819f..520a6fe4e7f 100644 --- a/source/core/gamecontrol.cpp +++ b/source/core/gamecontrol.cpp @@ -643,7 +643,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;