Jump to content
Age of History Games
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

Join the conversation

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

Guest
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.


  • Similar Content

    • By PHZanoniGamer
      Hello everyone. As most of you know, the original version of Hearts of aoh2 had 16 thousand provinces, that is, until it suddenly disappeared. Well, no longer! I present you the ultimate version of Hearts of aoh2.. with old map, more civs, more ideologies, 10k+ flags and many more.
      Big thanks to @HillTainfor sending me the android Version. ❤️
      I plan to add:
       
      • New scenarios, such as;
      - Fictional scenarios such as Führerreich, Red Flood, Tno and much more.
      -Real scenarios such as seven years war, Cold war, collapse of the Soviet union etc.
      •New ideologies.
      •Merging the mod with other grand mods such as MEGAMOD.
      •Various mechanics to the codes, such as:
      -New tress to spend your technology points.
      -Capitulation system. (Conquer 60-80% of the enemy territory and it'll automatically surrender.)
      -Diplomacy points are no more necessary to assimilate provinces.
      -And much more.
      • Possibly it'll have both Android and pc versions.
      •And many more.
       
      If you took part in the development or own rhe Hearts of Aoh2 mod and don't wish the continuation of this project, contact me and I'll take down the topic.
       
      The mod do not has a precise that of release, it'll depend of my will to continue the developing. If i ever give up, i guarantee i will at least release the version i have with me when i give up. Images for the mod will come soon. Thanks for reading.







    • By Dosen512
      Does anyone know how to add new provinces? I've tried learning it but I just can't do it right...I just want to add a few provinces in the ''Europe'' map so if anyone who knows how and is willing to add them I would appreciate it. 




       
       
       
       
    • By OttomanAlan
      civilizations_editor.rar 1647217285732pdeinrda.rar
    • By Kingpvz
      Helo thare! I started to make a map in AoH2 called Alavida. Don't forget to follow and share your thoughts in the comments!
      I'll be also adding a lot of scenarios, that's a thing! Don't forget to follow to never miss an update!
      Download Latest Version (PC Only): https://bit.ly/ageofalavidaupdated
      Support me on patreon please (click here)
      Join my discord server if you want news: https://bit.ly/kingpvzdiscord
      Download (version 1.0) (PC only): https://bit.ly/ageofalavida
      PROVINCES: 2565 
      NATIONS: 119
      SCENARIOS: Test Scenario; 2022; 2013; Venostanian Civil War I; Mauritovanian Civil War; 1518; Stanovia; First Alavidian War 1946; Poprattian Civil War; First Alavidian War 1647; Second Alavidian War 1979; Second Alavidian War 1981; Second Alavidian War 1985; Second Alavidian War 1987; 1969; 1919; 1933; WW1; WW2 1939; WW2 1945; 1990; Help Fakoslovakia regain it's terriories!; ok wtf; Venostanian Civil War II - Phase 1; Venostanic Civil War II - Phase 2
      PROVINCES DONE:

       
      New in 1.1:
      - 2 New Scenarios (Venostanian Civil War II - Phase 1; Venostanic Civil War II - Phase 2)
      - Updated 2021 Scenario (to 2022)
      - 3 New Nations
      Some useless population stats (3/13/22)
      Stanovian Federation: 190.7M
      - General Stanovian State: 63.1M
      - Slavic Stanovian State: 63.8M
      - Venes: 1.4M
      - Lapytovian Stanovia: 1.1M
      - Fourthy Union: 28.8M
      - Protipalia: 2M
      - North Stanovia: 895k
      - Nalian Zelav Stanovia: 714k
      - East Spikc: 1.4M
      - West Spikc: 9.9M
      - North Keban: 3.5M
      - South Keban: 4.8M
      - Kespral-Towiiu: 2.3M
      - Central Towiiu: 2.2M
      - Tkebekh: 771K
      - Eastern Zi: 607k
      - Islandia: 3.5M
      Martinovia: 356k
      - Tromp Province: 135k
      - Southern Province: 25.1k
      - Guinea: 22.9k
      - Province of Kadiaen: 203k
      Venostan: 12.8M
      - Tzie Kakükm': 7.1M
      - Tzie Be'trkom: 1.3M
      - Piskowsze Region: 3M
      - Letran Bë'ge: 611k
      - Nakaii Bë'ge: 847k
      Other Countries
      - Jurovia (without Avar): 24.8M
      - Avar: 23.4M
      - Zuzanovia: 91.3M
      - Venistan: 3.9M
      - Venestan: 982k
      - Suchovia: 324k
      - Slovakoria: 797k
      - Slovakioria: 562k
      - Johanca: 21.7M
      - Ukrevol Kingdom: 1.3M
      - Retwonia (with Stanovian Retwonia): 2.9M
      - Zelavian Empire (without Colonies): 1.8M
      - Zelavian Empire (only Colonies): 792k
      - Scann': 3M
      - Mauritovania: 10.2M
      - Martinovian Kingdomen: 872k
      - Venostan Kingdom: 1.4M
       
  • Our picks

  • Tell a friend

    Love Age of History Games? Tell a friend!

  • Posts

×
×
  • Create New...