예제 #1
0
        public override void ExtractFile(string inputFile, string outputPath)
        {
            var fileName  = Path.GetFileName(inputFile);
            var extension = Path.GetExtension(inputFile);

            var unencryptedFiles = new[]
            {
                "film01_confront.unity3d",
                "film02_confront.unity3d",
            };

            if (!extension.StartsWith(".unity3d"))
            {
                return;
            }

            if (unencryptedFiles.Contains(fileName))
            {
                Unity3DFile.Extract(inputFile, outputPath);
            }
            else
            {
                EncryptedUnity3DFile.Extract(inputFile, outputPath);
            }
        }
예제 #2
0
        public override void ExtractFile(string inputFile, string outputPath)
        {
            string extension = Path.GetExtension(inputFile);

            if (AllowedExtensions.Contains(extension))
            {
                Unity3DFile.Extract(inputFile, outputPath);
            }
        }
예제 #3
0
        public virtual void ExtractFile(string inputFile, string outputPath)
        {
            var fileName  = Path.GetFileName(inputFile);
            var extension = Path.GetExtension(inputFile);

            if (AllowedExtensions.Contains(extension))
            {
                Unity3DFile.Extract(inputFile, outputPath);
            }
        }
예제 #4
0
        public override void ExtractFile(string inputFile, string outputPath)
        {
            string fileName  = Path.GetFileName(inputFile);
            string extension = Path.GetExtension(inputFile);

            if (fileName == "dialoguebundle")
            {
                UnityFsFile.Extract(inputFile, outputPath);
            }
            else if (AllowedExtensions.Contains(extension))
            {
                Unity3DFile.Extract(inputFile, outputPath);
            }
        }