Jump to content
Age of History Games

[Tool] Image to Province Converter

Recommended Posts

1 hour ago, Alkanores said:

doesn't work :classic_mellow:

Run the program with cmd.

Your picture shouldn't contain provinces, or a blob of a single color, which are a single pixel big. You shouldn't have a province, which enclaves another province comlete. Most probably, you have to split your ocean into two provinces.

Share this post

Link to post
Share on other sites
25 minutes ago, Alkanores said:

"Could not find or load main class Main", if I run .jar, zero reaction.

Are you really sure, that you inputted the command right?

java -cp AoC2_Conv_0.2.jar Main "Path to image" 1


Share this post

Link to post
Share on other sites


(generating takes a few minutes, depending on number of provinces, mine took about three)



Gives me this error with the following image:image.thumb.png.ac6f66c477a63a78c09f25a947d53391.png

Edited by Asmo

Share this post

Link to post
Share on other sites


I try to use this app to make a map of Iberian Peninsula with over 1400 provinces (water and some tiny islands not finished), but I got this error in log:

Start Comapre #586
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: -1, Size: 0
        at java.util.LinkedList.checkElementIndex(Unknown Source)
        at java.util.LinkedList.get(Unknown Source)
        at Main.returnEdgeByDirection(Main.java:647)
        at Main.returnEdgeByDirection(Main.java:622)
        at Main.start(Main.java:69)
        at Main.main(Main.java:21)

Anyone know how to fix it? Previously I've made a map with Catalonia and it worked just fine...



Edited by mumia

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.

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 aunitydevteam
      the original Europe map from the old game plus map editor download
      -all original Scenarios 
      -Map editor

      Next i will be doing Americas 
      Download PC
      Map editor
      INSTALLER (note that install doesn't make a new folder you have to create a new folder for it)
      Will be available soon to download
    • By Dolphin General
      What do it does?
      Delete null provinces; Rename ALL provinces in numerical order Defects that can be solved soon
      You need to run until all the files are all in order and all the null provinces are deleted; If you run it too much times the provinces can be renamed for some random numbers (if you run one more time after the wrong renaminmg, you solve the problem) Qualities
      Open source; Much more faster than manually; Solve a lot of problems - I guess Requirements
      Python 3: From python 3: OS; Glob  
      DOWNLOAD LINK: https://github.com/GolfinhoDoAlaska/aoc2-map-editor-auxiliar
    • By Sarekreiz
      Hi, I have a problem. Namely: when I replace a map file in the map editor with a map with dimensions of 21600x10800, this does not start, can this problem be solved without reducing the map resolution?
    • By CZowerzerYT
      Hi! This is my first map I making that because some mapper with name "Janislaw" maked new series from mapping so I do he's map for AoC2.
      I don't know when I can finish that but I can make some provinces with time...

      *sorry for my grammaly because I'm bad from English* 😞

      By: CZowerzerYT (CZowerzer Mapping)

      09.19.2020 14:18 AM
      I made 137 provinces
      (later I making more but I don't know how I do)


    • By LasanhaVonW
      I created a tool that allows you to basically delete a province from a map, just put the IDs for the provinces in the "provinces.txt" file, and run the exe, and you'll get basically empty files with the province IDs you wrote as the name inside the "provincefiles" folder. it's mostly just a tool for lazy people like me that don't want to copy and rename files for an eternity when making simple edits like deleting a continent.

      the program and provinces txt file have a tutorial inside them.
      Happy map editing. I guess.
      Province Deleter for AoC2.zip
  • Our picks

  • Tell a friend

    Love Age of History Games? Tell a friend!

  • Posts

  • Create New...