Image to h3m (v0.0.0)| Convert images into maps for Heroes 3
This tool allows you to convert images into terrain in downloadable, editable h3m files for Heroes of Might and Magic 3. Use the settings in the sidebar to map the image's color clusters to terrain types and more. (Note: Map outputs are in Horn of the Abyss format by default. Disable HotA in the sidebar for Shadow of Death compatibility.)
📥 Input
Overworld
Underground
Source map
Note: Source maps with terrain that overrides the usual editor restrictions will likely result in outputs that cause the editor and game to crash. For the safest results, upload maps that were not made using special editing techniques.
Common maps folder:
Unchecked = stretch to map size.
⛰️ Terrain
Note: Water and rock are disabled for existing map inputs. Existing water and rock from the source map are preserved.
Note: Rivers may fragment, disappear, or become distorted at larger scales.
Terrain category mapping
Choose which Heroes III terrain each real-world terrain category should be converted to.
Maze palette
Choose which Heroes III terrain to use for maze paths and walls.
🏛️ Map content
Checked = map will include towns using real city names and locations.
📦 Export settings
Checked = map will include inert events containing the source image(s) in base64.
Note: When you export a map with an encoded image, you can then upload that map as a source image, and the tool will use the image's base64 as the image input. You can also convert the base64 back into an image using online tools.
Preview
Source
Overworld
Underground
Uploaded map terrain
Overworld
Underground
Center 0.00, 0.00
Selection —
1:1
64%
Map output
Overworld
Underground
Load an image to begin.
License info and attributions
License info will be clarified soon when the project migrates to GitHub.
This tool uses derived and processed geographic data from the following sources:
- Natural Earth — land, lake, river, and physical map vector/raster data. Made with Natural Earth. Free vector and raster map data at naturalearthdata.com.
- GeoNames — city and populated-place data. GeoNames data is provided under a Creative Commons Attribution license.
- RESOLVE Ecoregions 2017 — terrestrial ecoregion data used for real-world terrain category mapping.
- Beck et al. Köppen-Geiger climate classification maps — climate classification data used for real-world terrain category mapping.
Thanks for using this tool.
If it saved you time or helped you make something cool, please consider supporting it.