예제 #1
0
        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);
        }
예제 #3
0
 public static void CheckIfScanIsNeeded()
 {
     if (GlobalStuff.FindSetting("isNew") == "1")
     {
     }
 }