public static CATFile getCatFile() { if (cat == null) { string path = GlobalStuff.FindSetting("gamepath"); path += "Data\\cas.cat"; cat = new CATFile(path); } return(cat); }
private EbxDataContainers loadEbx(string ebxGuid) { byte[] data = Tools.GetDataBySHA1(ebxGuid, GlobalStuff.getCatFile()); DAIEbx ebxFile = new DAIEbx(); ebxFile.Serialize(new MemoryStream(data)); var containers = EbxDataContainers.fromDAIEbx(ebxFile, statusConsumer); return(containers); }
public static void CheckIfScanIsNeeded() { if (GlobalStuff.FindSetting("isNew") == "1") { } }