Jump to content
gerwin

Alternate TFD Terrain Tilemap editor/viewer

Recommended Posts

This evening I made a little tool that can open terrain tilemaps (TFD).

The intentention is to fix some strange tile placements in VietnamSEA.

Only tested it briefly, all seems to work well so far,

(I never had much luck with the official Thirdwire TerrainEditor myself.)

 

http://www.gb-homepage.nl

(click on the Strike Fighters page, there you can find the download)

 

Quote

Strike Fighters TFD Tilemap Tool v0.1

GB 6-11-2011

 

Alpha release, with only basic functionality.

Use at your own risk.

Requires the following files to be present in the same folder:

 

-alleg42.dll

-Desert_data.ini

-Desert.tfd (only 500x500 wide tilemaps are currently supported)

-plus all bmp and tga files that are referenced in Desert_data.ini

post-32175-0-25816600-1320541800.gif

Edited by gerwin
  • Like 2

Share this post


Link to post
Share on other sites

A couple things I noticed...

 

- The desert_data.ini has to be saved as ANSI. I get a CTD if it's saved as UNICODE.

 

- I was able to edit other terrains, but I had to rename their _data.ini and .tfd to desert_data.ini and desert.tfd.

 

- It doesn't like 1024x1024 tiles. It doesn't draw all of the tile.

 

- You can add new tiles to the end of desert_data.ini, and then place them

 

Very useful for quick edits. Thanks.

Share this post


Link to post
Share on other sites

all my SF2 terrain inis are in ANSI, and it causes no problems. Interestering little tool for the TE challenged!

Miht have to check it out meself!

Share this post


Link to post
Share on other sites

any higher zoom than the pathetic one TE allows?

Share this post


Link to post
Share on other sites

3200 isnt enough; shoot, even 6400 wouldn't be enough some times 128000 might be getting there... One of the reason I use the 'cheat' tiles in my TEs, with the painted borders for transion tiles

Share this post


Link to post
Share on other sites

but higher zoom could also help with targetareas... who I am talking this too :doh:

Share this post


Link to post
Share on other sites

Okay guys, a new version (0.2) is up on the location given in the first post.

 

Much has changed!

not even going to bother listing the changes.

 

I tried to listen to everyone's feedback, but haven't come to adding support for tiles other then 256x256 size.

Also still requires ansi data ini files.

 

The weekend is almost over, so for now this has to do.

post-32175-0-92993000-1320613572.gif

  • Like 1

Share this post


Link to post
Share on other sites

ohhh man... THAT's tool for some of us!:drinks:

Share this post


Link to post
Share on other sites

that's nice!!!

 

not to worry about tile size .. even the TE ckokes on 512xs some of the time

Share this post


Link to post
Share on other sites

that's nice!!!

 

not to worry about tile size .. even the TE ckokes on 512xs some of the time

 

Thanks for the good response!

 

At max zoom in you can see the 256x256 tiles full size.

The max zoom out is a seperate overview window showing the whole map.

 

The M key shows a map with tag values (0,1 or 2). I don't know much about these tag values.

GermanyCE does not even have them.

 

If I would add support for larger textures I would probably just go about it like this:

Resize tile to 256x256 right after loading the bmp/tga.

So it will then work with larger tiles without manual conversion, but will not show the full detail.

 

I adjusted some details in VietnamSEA and your Waterworld with this tool.

It works best using C to copy the necessary tile, then V to paste it somewhere, then HOME to rotate it.

Share this post


Link to post
Share on other sites

Very nice. This is the sort of third party development we really need for the SF series. Can't wait to use it.

Share this post


Link to post
Share on other sites

Can't wait to use it.

you don't have to ;) you can download it as it is now.

 

v0.3 is up:

-Shows coordinates in kilometers too.

-Uses bilinear scaling to smoothen the textures when zoomed out.

-R key also rotates

Share this post


Link to post
Share on other sites

you don't have to ;) you can download it as it is now.

 

v0.3 is up:

-Shows coordinates in kilometers too.

-Uses bilinear scaling to smoothen the textures when zoomed out.

-R key also rotates

 

Well, I'm on my laptop on my couch right now. My main PC is still in pieces, waiting for a new desk to arrive so I can start building my office tomorrow. Then I can get back to work on mods. :drinks:

 

Are there any plans for a GUI at some point? Not saying you have to do it, the tool looks great as it, just curious how far the scope of your plans are.

Edited by GrinchWSLG

Share this post


Link to post
Share on other sites

Are there any plans for a GUI at some point? Not saying you have to do it, the tool looks great as it, just curious how far the scope of your plans are.

There is not much 'planned' actually.

 

v0.4 is up.

Share this post


Link to post
Share on other sites

Wow, great work!

Now we only need an object placement tool. :grin:

Share this post


Link to post
Share on other sites

^ditto!

Share this post


Link to post
Share on other sites

v0.61 is up.

Y coordinates are now proper (reversed)

It can display targetarea's and targets.

 

Though with bigger Target.ini files, loading times are increasing.

A different method of parsing the ini file may be necessary.

Currently I use the stock config-file file parser from the allegro game programming library

 

There is a TFDtool.ini with a few options, mainly to allow people to set up a bigger

window depending on their screen limits.

 

Do me a favor and postpone feature request for a week or so, I really need to give this a break. ;)

 

At least one can now check target placement without running the game.

To some extend at least, as an even higher zoom may be required....

post-32175-0-57670700-1320936497.gif

  • Like 2

Share this post


Link to post
Share on other sites

Gerwin,

 

This is a super tool. Many Thanks

 

KRFRGE

Share this post


Link to post
Share on other sites

Gerwin,

 

This is a great utility, excellent work :good:

 

Slainthe :drinks:

 

Baltika

Share this post


Link to post
Share on other sites

TFDtool v0.64: Supports runway headings other then the default + Shows stock Airfield previews + New Fonts.

post-32175-0-81860700-1321232309.gif

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..