Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out


View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Armored Brigade >> MODS and Scenarios >> Connect-Lines Page: [1]
Message << Older Topic   Newer Topic >>
Connect-Lines - 12/30/2018 6:26:53 PM   


Posts: 719
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.

Attachment (1)


Post #: 1
RE: Connect-Lines - 12/30/2018 8:50:54 PM   
storm rider

Posts: 214
Joined: 3/13/2013
Status: offline
Thank you very much! Works great!

(in reply to 22sec)
Post #: 2
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Armored Brigade >> MODS and Scenarios >> Connect-Lines Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts

Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI