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)
- Download the Zip file from releases.
- Extract the Zip file.
- Run it and do what it says.
Also i only made an executable version of the program for Windows, you'll have to download the repository and run it by yourself.
- Download NodeJS for your OS.
- Download the repository. (Press "Code" and click "Download ZIP")
- Extract the Zip file.
- Open cmd prompt and redirect to the extracted folder using
cd <your-path-here>
. - Type
npm install
and wait for it to finish. - Run the program by typing
node update.js
on the cmd prompt.