I got the coordinates X and Y based on the name file maps
Example:
map X Y
000 23 32.map
created a bat file that runs the generator with the parameters.
static void Main(string[] args)
{
Console.Write("Enter the file size (in bytes) that must pass: ");
int size = int.Parse(Console.ReadLine());
using (StreamWriter sw = new StreamWriter("mmaps_convert.bat", false, Encoding.ASCII))
{
foreach (var file in new DirectoryInfo("maps").GetFiles("*.map").Where(n => (n.Length > size)))
{
string str = String.Format("generator.exe {0} {1} {2}", file.Name.Substring(0, 3), file.Name.Substring(3, 2), file.Name.Substring(5, 2));
sw.WriteLine(str);
Console.WriteLine(str);
}
}
Console.ReadLine();
}