- shortened the message for not found game data and restrict to non-Windows systems.

This commit is contained in:
Christoph Oelckers 2021-06-26 12:10:46 +02:00
parent a10018bc36
commit e9b2bf9e4e

View file

@ -653,11 +653,12 @@ static TArray<GrpEntry> SetupGame()
{ {
// Abort if no game data found. // Abort if no game data found.
G_SaveConfig(); G_SaveConfig();
I_Error("Unable to find any game data. Please verify your settings.\n" I_Error("Unable to find any game data. Please verify your settings."
"Install game data files in subfolders of: " + M_GetAppDataPath(false) + "\n\n" #ifdef WIN32
"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" #else
"Subfolders can have any name. The name has no bearing on game recognition."); "\nInstall game data files in subfolders of '%s'\n\n", M_GetAppDataPath(false).GetChars());
#endif
} }
decltype(groups) usedgroups; decltype(groups) usedgroups;