Example #1
0
        private void ToPS3(string image, bool flip_bytes = false)
        {
            if (!File.Exists(image))
            {
                return;
            }

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

            var success = flip_bytes ? Tools.ConvertXboxtoPS3(image, image, chkCleanUpPS3.Checked) : Tools.ConvertImagetoRB(image, image, chkCleanUpPS3.Checked, true);

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