/// <summary> /// Unlocks all achievements either Online or Offline /// </summary> /// <param name="MinutesBetween"></param> /// <returns></returns> public bool UnlockAll(uint MinutesBetween) { if (!ParseCheck()) { return(false); } if (!HasDashGPD) { return(false); } try { foreach (TitlePlayedEntry xTitle in UserGPD.TitlesPlayed) { FileEntry flent; GameGPD x = ReadGame(xTitle.TitleID, out flent); if (x == null) { continue; } x.UnlockAll(MinutesBetween); uint data1 = 0; uint data2 = 0; x.FixCredAndCount(); if (flent.Replace(x.xIO)) { xTitle.EarnedCount = data1; xTitle.EarnedWorth = data2; xTitle.PossibleWorth = x.xCalcGSP(); xTitle.xUpdate(); } } xUserGPD.UpdateGamerScore(); xSaveDash(); return(true); } catch { return(false); } }