protected void doOpenFileAction() { DatOpenFileDialog.ShowDialog(this); if (Archive != null) Archive.Dispose(); Archive = new DatSupport.DatArchive(DatOpenFileDialog.FileName); // Do a swift refresh. RefreshTreeview(); }
public static void TestDatExtraction() { DatSupport.DatArchive df = new DatSupport.DatArchive(); df.OpenFile(@"D:\git\Anachronox\Anchronox\DebugApp\SPRITES.dat"); List<string> stuff = df.GetDirectories(); foreach (string s in stuff) { Console.WriteLine(s); } df.ExtractAll(@"D:\sprites"); }