Mapgen V2.2 !!top!! -
MapGen v2.2 is a widely used, though aging, tool designed to help modders create custom world maps for the grand strategy game Hearts of Iron IV (HOI4)
MapGen v2.2 – Write-Up
Can package generated files into a mod template ready for the HOI4 mod folder. Automated Generation: Capable of generating provinces.bmp heightmap.bmp world_normal.bmp , and basic state files. Critical Technical Requirements mapgen v2.2
Aging Software:
As of early 2026, MapGen v2.2 is considered a legacy tool. While still widely used for its simplicity, it has not received significant official updates in several years, leading to compatibility issues with the latest HOI4 DLCs and map formats. MapGen v2
Color Codes
: The tool uses specific hex codes for land (#9644c0), ocean (#051412), and lakes (#00ff00). Chunk Generation: Up to 40% faster on multi-core CPUs
Introduction
- Chunk Generation: Up to 40% faster on multi-core CPUs.
- Export Formats: Native support for 16-bit Raw heightmaps and OBJ/FBX mesh exports has been smoothed out. The previous "memory leak" issue when exporting 8k textures appears to be resolved.
Developed to streamline the tedious process of manual map creation, MapGen v2.2 functions by interpreting color-coded bitmaps. Modders provide "input" images—such as province maps, terrain maps, and heightmaps—and the tool generates the corresponding game data, including: