static Task TOCBasegameAsync(string tocLoc, MEGame game) { return(Task.Run(() => { var TOC = TOCCreator.CreateBasegameTOCForDirectory(tocLoc, game); TOC.WriteToFile(Path.Combine(tocLoc, "PCConsoleTOC.bin")); })); }
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."); } }