Map Tool
Posted: Thu Mar 29, 2012 7:57 pm
Download MapTool
After downloading, extract the MapTool folder, and then run MapTool.exe to update it.
This tool has all of my mapmaking utilities, with options for running them from a batch file.
It includes my random map generator, minimap generator, and as of today a tool for checking terrain bmp files for road errors.
The batch files are in the Work folder.
I have two example uses included:
Road Check Example
Run road_check_example.bat. This will run MapTool.exe from the command line and check the antietam bmp found in the road_check_example folder, and print out the locations where road errors were found. For me it finds errors in these places:
1772, 1768
3490, 2767
2236, 1175
2197, 807
2338, 1618
2529, 1730
2258, 1466
If you use it on another map that has a different csv file, you might need to update the roads.txt file which specifies what grayscale values are used for the centers of roads, since these are what the tool looks at to find errors.
Hopefully this will help mapmakers catch road errors in the future, and maybe to fix antietam.
Random Map Example
Run randommap_example.bat. This will generate a random map terrain bmp and minimap in the randommap_example folder.
There are a lot of random map settings that can be tweaked in the randommap_example.ini file.
After downloading, extract the MapTool folder, and then run MapTool.exe to update it.
This tool has all of my mapmaking utilities, with options for running them from a batch file.
It includes my random map generator, minimap generator, and as of today a tool for checking terrain bmp files for road errors.
The batch files are in the Work folder.
I have two example uses included:
Road Check Example
Run road_check_example.bat. This will run MapTool.exe from the command line and check the antietam bmp found in the road_check_example folder, and print out the locations where road errors were found. For me it finds errors in these places:
1772, 1768
3490, 2767
2236, 1175
2197, 807
2338, 1618
2529, 1730
2258, 1466
If you use it on another map that has a different csv file, you might need to update the roads.txt file which specifies what grayscale values are used for the centers of roads, since these are what the tool looks at to find errors.
Hopefully this will help mapmakers catch road errors in the future, and maybe to fix antietam.
Random Map Example
Run randommap_example.bat. This will generate a random map terrain bmp and minimap in the randommap_example folder.
There are a lot of random map settings that can be tweaked in the randommap_example.ini file.