예제 #1
0
        private static void Main(string[] args)
        {
            if (args.Length > 1)
            {
                Console.WriteLine("Not a console app, really. Don't do that!");
                Console.ReadLine();
            }

            var paths = new GameDataPaths
            {
                UnpackedAPKPath = @"D:\Kurt\Desktop\masters",
                DownloadPath    = @"D:\Kurt\Desktop\masters\dl\data\com.dena.a12026418\files\downloaded-resource-dir",
                ShardPath       = @"D:\Kurt\Desktop\masters\dl\downloaded-resource-dir\downloaded-resource-dir\assetdb_shard",
                OutputPath      = @"D:\masterdump",
            };

            var settings = new DumpSettings(paths)
            {
                DumpStringsDL  = true,
                DumpStringsAPK = true,

                DumpResources = true,
                DumpProto     = true,
            };

            settings.DumpGameData();
        }
예제 #2
0
        private static void Main(string[] args)
        {
            if (args.Length > 1)
            {
                Console.WriteLine("Not a console app, really. Don't do that!");
                Console.ReadLine();
            }

            var paths = new GameDataPaths
            {
                UnpackedAPKPath = @"E:\masters-inv\2.9.0\apk",
                DownloadPath    = @"E:\masters-inv\2.9.0\downloaded-resource-dir",
                ShardPath       = @"E:\masters-inv\2.9.0\downloaded-resource-dir\assetdb_shard",

                OutputPath = @"E:\masters-inv\2.9.0\dump",
            };

            var settings = new DumpSettings(paths)
            {
                DumpStringsDL  = true,
                DumpStringsAPK = true,

                DumpResources = true,
                DumpSound     = true,
                DumpVideo     = true,
                DumpProto     = false,
            };

            settings.DumpGameData();
        }