public override bool IsPatched() { if (!base.IsPatched()) return false; var graphicsFilePath = Path.Combine(Directory.FullName, @"Data\XML\GRAPHICDETAILS.XML"); if (!File.Exists(graphicsFilePath)) return false; var hashProvider = new HashProvider(); return hashProvider.GetFileHash(graphicsFilePath) == GraphicdetailsUpdateHash; }
public virtual bool IsPatched() { var gameConstantsFilePath = Path.Combine(Directory.FullName, @"Data\XML\GAMECONSTANTS.XML"); if (!File.Exists(gameConstantsFilePath)) { return(false); } var hashProvider = new HashProvider(); return(hashProvider.GetFileHash(gameConstantsFilePath) == GameConstantsMd5Hash); }