Ejemplo n.º 1
0
 static void Main(string[] args)
 {
     var root = new RAFMasterFileList(@"C:\Riot Games\League of Legends\RADS\projects\lol_game_client\filearchives");
     var ss = root.SearchFileEntries(@"LEVELS/Map1/AIPath.aimesh").First();
     var aimesh = new AIMesh(ss);
 }
Ejemplo n.º 2
0
        public bool init(string rootDirectory)
        {
            /* if (!Directory.Exists(rootDirectory))
                 return false;

             var dirs = Directory.EnumerateDirectories(rootDirectory);

             foreach (var dir in dirs)
             {
                 var files = Directory.GetFiles(dir, "*.raf");

                 foreach (var file in files)
                 {
                     if (!File.Exists(file))
                         continue;

                     var raf = RiotArchive.FromFile(file);
                     Files.Add(raf);
                 }
             }*/
            Root = new RAFMasterFileList(rootDirectory);
            Logger.LogCoreInfo("Loaded RAF files");
            return true;
        }