Have you used MapGen v2.2 in a project? Share your generated worlds on the official community showcase. For tutorials, API docs, and download links, visit the official MapGen documentation portal.
MapGen v2.2 is a legacy external tool used by the Hearts of Iron IV (HoI4)
It relies on strict hex color codes (e.g., Land: #9644c0 , Ocean: #051412 ) and 24-bit BMP formats; even a slight fade between colors can cause the generator to fail. Community Verdict
MapGen v2.2 is a community-developed tool designed for modders to automate the creation of custom game maps . Released around 2018, it quickly became a staple for creators who wanted to bypass the tedious process of manually drawing thousands of province pixels and writing the corresponding code. Key Features