I made this program because i had to make it lol and i made it in JavaScript.
This program exports provinces you have made with the Map Editor, so instead of using the Map Editor to export provinces and having to rename the provinces (which isn’t the case for Map Editor 2.0) or deleting and remaking the province files with the Map Editor, which is very time consuming. You could use this to export the provinces that are displayed in the Map Editor.
The Instructions of how to use it is in the program.
You can go to the website version here. (https://honsda.github.io/AOH2-ProvinceExporter/web)
Also i only made an executable version of the program for Windows, you’ll have to download the repository and run it by yourself.
cd <your-path-here>
.npm install
and wait for it to finish.node update.js
on the cmd prompt.