Skip to content

Commit

Permalink
Display game data path when no game data files are found
Browse files Browse the repository at this point in the history
This helps users find the location where they should place
game data files.
  • Loading branch information
Calinou authored and mjr4077au committed Jul 17, 2021
1 parent 416b941 commit e1b752f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/core/gamecontrol.cpp
Expand Up @@ -643,7 +643,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;
Expand Down

0 comments on commit e1b752f

Please sign in to comment.