I present to your attention the map generator based on the picture (made by russian community). The picture should have provinces drawn each with its own color, except white, without holes and not interrupted, an example is attached.  Instruction: open img2ame, write the file name of the image lying in the folder with the program, then pull the resulting ame file to totext, the province files appear in the provs folder. Then proceed with them according to the standard instructions, as if