public static string GetSavePath(GameType game) { List <string> result = new List <string>(); var appID = SteamUtils.GetGameID(game); try { var dirs = Directory.GetDirectories(SteamUtils.GetSteamDir() + "\\userdata", "*", SearchOption.AllDirectories); foreach (var dir in dirs) { if (!dir.Contains(appID.ToString())) { continue; } return(dir.Replace("/", "\\")); } } catch { return(""); } return(""); }