public static void List(string[] args) { if (!File.Exists(args[1])) { Console.Error.WriteLine("File '{0}' doesn't exist!", args[1]); } GT3DemoVol vol = new GT3DemoVol(args[1]); vol.List(); }
public static void Explode(string[] args) { if (!File.Exists(args[1])) { Console.Error.WriteLine("VOL file '{0}' doesn't exist!", args[1]); return; } GT3DemoVol volFile = new GT3DemoVol(args[1]); volFile.Extract(args[2], args.Length >= 4); }