View unanswered posts | View active topics It is currently Thu Dec 26, 2024 6:57 am



Reply to topic  [ 7 posts ] 
 .CON to .BMP Converter 
Author Message
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post .CON to .BMP Converter
Remember the olden days back when every scene was a Base.rte edit full of .CON, or "contour" files? Well, now you can relive them!
...with some editing.
Just choose all the files you want to convert and drag them onto this program's icon all at once. It will prompt you for a few things and spit out a brand-new terrain bitmap file in the proper palette, ready to be used on any scene.
If anybody wants to make a tutorial or anything, go ahead. I seriously doubt it's going to get a lot of use, but whatever.
Thanks to Data for a bit of debugging help. If I'm forgetting somebody else, let me know.


Attachments:
File comment: Put this in its own directory unless you want clutter.
Contour Converter.zip [545.26 KiB]
Downloaded 524 times
Tue Jun 02, 2009 5:19 am
Profile WWW

Joined: Sat Feb 03, 2007 7:11 pm
Posts: 1496
Reply with quote
Post Re: .CON to .BMP Converter
Woohoo! Now we can finally convert those pesky old scenes! Thank you!

EDIT: Wow, this is cool, just converted Tomato. Awesome.

EDIT: If anybody wants it, I also converted the Bunker Modules and stuff pixel by pixel too, so It's complete.

And the .inis.


Attachments:
File comment: Here you go.
tomato.rte.rar [760.91 KiB]
Downloaded 494 times
Fri Jun 05, 2009 1:03 am
Profile WWW
User avatar

Joined: Mon Feb 12, 2007 12:46 am
Posts: 1765
Location: ..............
Reply with quote
Post Re: .CON to .BMP Converter
Ok.
Now we can convert Desert Strike now like how everyone wants to.


Fri Jun 05, 2009 1:59 am
Profile
User avatar

Joined: Fri Oct 24, 2008 10:00 pm
Posts: 27
Location: Finland
Reply with quote
Post Re: .CON to .BMP Converter
Yes! i had tomato but i lost it somewere, but now i have it again.


Fri Jun 05, 2009 8:17 am
Profile
User avatar

Joined: Mon Jun 04, 2007 5:55 am
Posts: 1627
Location: Ohio
Reply with quote
Post Re: .CON to .BMP Converter
I feel like a noob. I joined in B13...

What is a .con? Does it use Vector graphics because If so, I'd like to use both this AND whatever the original contour editor instead of ms paint, so that if a map doesn't play right I can just re-size it.


Could you please explain, or give a link to an older topic?


Sat Jun 06, 2009 3:39 am
Profile YIM WWW
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: .CON to .BMP Converter
A .con (contour) file was what described the terrain of an old map. There's still a stickied topic somewhere here for a converter that turns bitmaps into contours, which was by Data. A contour file basically just states the height of the terrain for every single pixel on the X-axis. So for instance, a contour file would, if read by my program, state: "1800,1800,1804,1809,1815" and so on. This goes on for however wide the map is. If it is 5000 pixels wide, there are 5000 numbers. What this program does is take said numbers, draw terrain out of them, and convert them to palette so you can use it in current builds of CC.
So, simply put, no, they're not vector graphics.


Sat Jun 06, 2009 9:09 pm
Profile WWW

Joined: Fri Mar 16, 2007 1:28 pm
Posts: 328
Location: Finland
Reply with quote
Post Re: .CON to .BMP Converter
Miles_T3hR4t wrote:
I feel like a noob. I joined in B13...


Ehh, sorry but contour files were used during b13 too. Anyways, thanks for the tool TLB!


Sat Jul 04, 2009 11:02 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.081s | 15 Queries | GZIP : Off ]