Display game data path when no game data files are found

This helps users find the location where they should place
game data files.
This commit is contained in:
Hugo Locurcio 2021-06-17 23:00:09 +02:00 committed by Christoph Oelckers
parent 4dd293d551
commit a10018bc36

View file

@ -653,7 +653,11 @@ static TArray<GrpEntry> 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;