Exemple #1
0
        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();
        }
Exemple #2
0
        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);
        }