22sec
Posts: 976
Joined: 12/11/2004 From: Jackson, MS Status: offline
|
A few years ago, when Armored Brigade was freeware and custom maps were first added, Veitikka wrote a neat little program called Command-Lines to fill in the missing pixels that resulted from exporting spatial data sets, such as the data from OSM in to a bmp file. It also works to remove blobs that are formed. Veitikka has agreed to let me share here for those that are interested. Please remember this is a program written three plus years ago, well before the commercial version, and as such it is not officially supported by Veitikka Studios or Matrix Games. Also note, you use it at your own risk. 1. To run you need to first enter Window's Command Prompt. 2. You then need to change the directory to whichever folder you have saved Connect-Lines to. 3. To use you simply type connect-lines file1.bmp file2.bmp, where file1 is your raw exported data and file2 will be the end result. So for example, connect-lines hwys.bmp abhwys.bmp. When it runs, the resulting abhwys.bmp is the file you would use going forward. **There have been some changes to the RGB of roads used since Connect-Lines was originally written. The three colors currently used for autobahns does not work in CL. I change my autobahns to a different color, run CL, and then change them back to the current autobahn color I need them to be. A few other pointers: I prefer to run CL for separate types of roads, i.e. one file for dirt tracks, one for residential roads, one for highways, one for autobahns and one for water, and then use GIMP to place each layer in the order I want. I would recommend using the in-game editor from there to make any other necessary edits to tidying up roads and water. There are some parameters that can be added to the end of the command prompt, but I don't remember what they are. If and when I remember I will update this post. Please let me know if you have any quesitons. https://drive.google.com/open?id=1PyqPFbybdU8w6bTXbLExj31dnscZ8TMk
Attachment (1)
_____________________________
Mapping Specialist
|