Jump to content
Age of History
Hons

[Tool] AOH2 Province Exporter for Map Editor

Recommended Posts

AOH2 Province Exporter

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 way it works is by using the Map Editor data / mapAoC2_v2.txt file and exporting it to generate provinces.

The Instructions of how to use it is in the program.

GitHub Download/Releases https://github.com/honsda/AOH2-ProvinceExporter/releases

Report bugs here https://github.com/honsda/AOH2-ProvinceExporter/issues

Exporting with the Website Version

image.thumb.png.d66795eda26710562053c658c5cecb52.png

1. Upload the Map Editor data. ( or mapAoC2_v2.txt file, which is located in editor_data folder in your Map Editor folder.)

Website Version of the Exporter: https://honsda.github.io/AOH2-ProvinceExporter/web

Running the program in Windows
1. Download the Zip file from releases in GitHub. or download from here (v1.0.3) 

AOH2-ProvinceUpdater-v1.0.3.rar
2. Extract the Zip file.
3. 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.

Running the program for Non-Windows users
1. Download NodeJS for your OS.
2. Download the repository in GitHub. (Press "Code" and click "Download ZIP")
3. Extract the Zip file.
4. Open cmd prompt and redirect to the extracted folder using `cd <your-path-here>`.
5. Type `npm install` and wait for it to finish.
6. Run the program by typing `node update.js` on the cmd prompt.

 

Edited by Hons

Share this post


Link to post
Share on other sites

46 minutes ago, aunitydevteam said:

nice I tried this out it works fine I'm making a map right now it can help

glad to hear that

Share this post


Link to post
Share on other sites

53 minutes ago, Emperor Zhang Zhongchang said:

I'm new to this tool, i tried following all the instructions and i got a file called "updated prov", can you tell me how to use this tool ? btw i use map editor 2.0 

after using the map editor, you could export the provinces with this tool. it uses mapAoC2_v2.txt file to export the provinces, so simply put the mapAoC2_v2.txt file in the editor_data folder, and then just run the program and it will generate the province files in updatedprov folder

obviously you have to extract the zip file first to some folder

Share this post


Link to post
Share on other sites

5 minutes ago, Hons said:

after using the map editor, you could export the provinces with this tool. it uses mapAoC2_v2.txt file to export the provinces, so simply put the mapAoC2_v2.txt file in the editor_data folder, and then just run the program and it will generate the province files in updatedprov folder

obviously you have to extract the zip file first to some folder

Ok, here's the updatedprov folder, now what to do with this folder ?

Screenshot (51).png

Share this post


Link to post
Share on other sites

4 minutes ago, Emperor Zhang Zhongchang said:

Ok, here's the updatedprov folder, now what to do with this folder ?

Screenshot (51).png

have you run the program? if you have done that just open the updatedprov folder, it has the generated province files there

Share this post


Link to post
Share on other sites

7 hours ago, OyunB/YT said:

Can you make a program that makes provinces (It's just like map editor, but let it has more features.)?

i  am thinking to make that with Java or JavaScript in a website interface but i don't think im going to make it since i have highschool aeaehjdjasadf

Share this post


Link to post
Share on other sites

On 6/21/2021 at 6:47 AM, Hons said:

AOH2 Province Exporter

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 way it works is by using the Map Editor data / mapAoC2_v2.txt file and exporting it to generate provinces.

The Instructions of how to use it is in the program.

GitHub Download/Releases https://github.com/honsda/AOH2-ProvinceExporter/releases

Report bugs here https://github.com/honsda/AOH2-ProvinceExporter/issues

Exporting with the Website Version

image.thumb.png.d66795eda26710562053c658c5cecb52.png

1. Upload the Map Editor data. ( or mapAoC2_v2.txt file, which is located in editor_data folder in your Map Editor folder.)

Website Version of the Exporter: https://honsda.github.io/AOH2-ProvinceExporter/web

Running the program in Windows
1. Download the Zip file from releases in GitHub. or download from here (v1.0.3) 

AOH2-ProvinceUpdater-v1.0.3.rar 9.23 MB · 50 downloads
2. Extract the Zip file.
3. 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.

Running the program for Non-Windows users
1. Download NodeJS for your OS.
2. Download the repository in GitHub. (Press "Code" and click "Download ZIP")
3. Extract the Zip file.
4. Open cmd prompt and redirect to the extracted folder using `cd <your-path-here>`.
5. Type `npm install` and wait for it to finish.
6. Run the program by typing `node update.js` on the cmd prompt.

 

Hello, I have a question, it may be a bit silly but I have never edited the map, so once the files are in updatedProv, where should I place them?

Share this post


Link to post
Share on other sites

I made a similar tool recently. At present, it is in Chinese language, and I can translate it into English if necessary.

Image_1736041155671.png

Share this post


Link to post
Share on other sites

Guest
Posted (edited)
On 1/4/2025 at 10:42 PM, AddPlck said:

I made a similar tool recently. At present, it is in Chinese language, and I can translate it into English if necessary.

Image_1736041155671.png

yo, i could use this actually. for you know, the vanilla aoh3 map.

Edited by bun_dha4

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.






  • Our picks

    • Age of History 3 - October 23rd, 2024 - Official release date
      Age of History 3 - Official release date

       

      Steam: October 23rd, 2024

      Android: When it's ready

      iOS: When it's ready

      Epic: When it's ready

       
    • Campaign: Small Scenarios
      In this topic, share your ideas for Campaign scenarios.

      These scenarios focus on a small part of the map, with the rest designated as wasteland.

       

      For example, a scenario of the Reconquista in 1054, where gameplay takes place only on the Iberian Peninsula.

      What are your ideas for small historical scenarios?

       


       
    • Events - Common events for every civilization in the game
      Hi,
      in this topic, I am interested in your ideas for events that can happen for every Civilization in the game.
      I'm also interested in Missions for every Civilization.

      Here is some example, have more than 10k army, have more than 5000 gold, build 10 buildings, recruit an Advisor, increase tax efficiency 20 times, be largest  producer of some resource in the world, unlock 5 Civilization legacies etc.
      • 196 replies
    • First preview of the Alpha version of Age of History 3
      First preview of the Alpha version of Age of History 3, YouTube.
      Release date: When it's ready 😛 Subscribe for more!



       





       
    • Land units - Ideas AoH3
      AoH3 will have different types of land units.

      In this topic we will write ideas for new land units. 

       

      So the AoH 3 will have new battle system.


      Representation of the battlefield in the game.


      Land units will be grouped into 3 types. Each unit will have a different recruitment cost, attack, defense, movement speed and upkeep.

      Groups determine the placement of units on the battlefield.


       

      Each unit can be unlocked by researching technology and then upgraded.

       

      Here is the current list of units with upgrades:

      First line:

      Warrior -> Light Footmen -> Heavy Infantry -> Infantry -> Line Infantry -> Modern Infantry

      Hoplites -> Spearmen -> Pikeman -> Elite Pikeman -> Musketeer -> Riflemen -> Mechanized Infantry -> Modern Mechanized Infantry

      First line side:

      Horseman -> Elite Horseman -> Cavalry -> Tank -> Modern Tank

      Second line:

      Archer -> Bowmen -> Crossbowman -> Elite Crossbowman

      Canon -> Field Cannon -> Artillery -> Modern Artillery

      Early Airplane -> Airplane -> Modern Airplane

       

      This is a very early version, so maybe something should be changed?

      Or maybe an idea for a new type of unit with upgrades? I'm waiting for your suggestions.

       
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Age of History Games