public override void ValidateExportOptions(ExportOptions options, FileFormat format, ref bool valid, ASCData data) { if (options.ContainsFormat("MCA")) { bool sourceIs512 = (data.nrows == 512 && data.ncols == 512) || (options.exportRange.NumCols == 512 && options.exportRange.NumRows == 512); if (options.fileSplitDims != 512 && !sourceIs512) { Program.WriteError("File splitting dimensions must be 512 when exporting to minecraft regions!"); valid = false; } } }