Washout asked me to make a new little tool for theater makers. There's already a working version, so expect to see it released soon.
If you have ideas of what this program should or should not do, it's time for you to let them know

Here's the readme :
Regards.quote:
Purpose of this program
This program was done mainly to ease the making of new theaters for Falcon4, at the request of C. « Washout » Carter.
The idea is to analyse a given Bitmap, and by reading a configuration file, transform certain colors into a CVS format. This can be used, for example, to retrieve the roads, powerlines, trees (etc. ... whatever) positions given by a bitmap and translate them into F4 coordinates.
The bitmaps supported are standard Windows BMP, with the following parameters :
Size : 1024x1024 or 2048x2048 or 4096x4096 (corresponding to the different F4 theater sizes)
Colors : 256
Installation of Bmp2Cvs
Just create a folder somewhere on your hard disk, and put all Bmp2Cvs files in this folder. You’ll need to have all Visual Basic 6 runtime files (Comdlg32.ocx included) installed on your Win98 PC for Bmp2Cvs to run. These files are not provided with Bmp2Cvs, but you’ll have no problem finding them on several web sites.
How to use Bmp2Cvs ?
First , configure it. Read the provided example configuration file, which is rather basic. The format is :
Keyword1=r1,g1,b1 r2,g2,b2
Keyword2=r3,g3,b3
Where keyword is a word describing the feature you want to retrieve, and « r,g,b » are of course the color(s) corresponding to these features.
The result will be a Cvs file with this format :
Keyword1,x1,y1
Keyword1,x2,y2
….
Keyword1,xn,yn
Keyword2,x3,y3
Keyword2,x4,y4
….
Keyword2,xm,ym
Where « x,y » are of course the coordinates in the F4 terrain.
When your conf file is done, launch Bmp2Cvs. Input the name of the BMP file, the name of your conf file, and the name of the result CVS file (there are tooltips on all buttons if you don’t know what they are supposed to do. Should be pretty obvious though).
You should see your conf file appearing in the middle text box.
Then click on Start, and wait until the program gives you the number of features found. Your CVS file should then be where you specified it should be …
Quick example
If you have a BMP showing roads and power lines in a F4 theater, and let’s say that roads are in plain blue, and power lines in plain white or in plain green, you should use a conf file looking like this :
Powerline=255,255,255 0,255,0
Road=0,0,255
Important note : You can use different colors for a same feature. But never use two times the same feature name, or the results could be strange. I did not test it, but you should be able to use the same color for different features.
Some thanks
Well, they’ll be quick: thanks to Washout who asked me to make this little utility. And thanks to Snake Man too, for whom I did my first F4 tool (known as CATE).
Version history
V 1.01 : 18 December 2002
Added a preview window of the Bmp you’re working on. Click on the appropriate checkbox to show it. For now, the picture is stretched to the size of this window (which is resizable), but will always stay square.
V 1.00 : 16 December 2002
Errhm, first version, I think![]()