Esempio n. 1
0
        private void ToXbox(string image, bool flip_bytes = false)
        {
            if (!File.Exists(image))
            {
                return;
            }

            imgCounter++;
            Log("Converting file " + imgCounter + " of " + (imageCount + imagesDDS.Count() + imagesPS3.Count()));
            Log(" - " + Path.GetFileName(image));

            var success = flip_bytes ? Tools.ConvertPS3toXbox(image, image, chkCleanUpXbox.Checked) : Tools.ConvertImagetoRB(image, image, chkCleanUpXbox.Checked);

            Log(success? "Converted to png_xbox format successfully" : "Error converting to png_xbox format");
        }