Ejemplo n.º 1
0
 static Task TOCBasegameAsync(string tocLoc, MEGame game)
 {
     return(Task.Run(() =>
     {
         var TOC = TOCCreator.CreateBasegameTOCForDirectory(tocLoc, game);
         TOC.WriteToFile(Path.Combine(tocLoc, "PCConsoleTOC.bin"));
     }));
 }
Ejemplo n.º 2
0
 static void CreateDLCTOC(string tocLoc, MEGame game)
 {
     try
     {
         var TOC = TOCCreator.CreateDLCTOCForDirectory(tocLoc, game);
         TOC.WriteToFile(Path.Combine(tocLoc, "PCConsoleTOC.bin"));
     }
     catch (Exception e)
     {
         Console.WriteLine($"No TOCable files in {tocLoc}, may just be packed DLC.");
     }
 }