+gerwin Posted November 6, 2011 Posted November 6, 2011 (edited) 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 Edited January 11, 2021 by gerwin 2 Quote
+JSF_Aggie Posted November 6, 2011 Posted November 6, 2011 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. Quote
Icarus999 Posted November 6, 2011 Posted November 6, 2011 This might be exactly what i need thanks Gerwin! Quote
Wrench Posted November 6, 2011 Posted November 6, 2011 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! Quote
+Stary Posted November 6, 2011 Posted November 6, 2011 any higher zoom than the pathetic one TE allows? Quote
Wrench Posted November 6, 2011 Posted November 6, 2011 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 Quote
+Stary Posted November 6, 2011 Posted November 6, 2011 but higher zoom could also help with targetareas... who I am talking this too Quote
+gerwin Posted November 6, 2011 Author Posted November 6, 2011 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. 1 Quote
Wrench Posted November 6, 2011 Posted November 6, 2011 that's nice!!! not to worry about tile size .. even the TE ckokes on 512xs some of the time Quote
+gerwin Posted November 6, 2011 Author Posted November 6, 2011 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. Quote
+GrinchWSLG Posted November 7, 2011 Posted November 7, 2011 Very nice. This is the sort of third party development we really need for the SF series. Can't wait to use it. Quote
+gerwin Posted November 7, 2011 Author Posted November 7, 2011 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 Quote
+SkateZilla Posted November 7, 2011 Posted November 7, 2011 I might have to take a crack at terrains now..... Quote
+GrinchWSLG Posted November 7, 2011 Posted November 7, 2011 (edited) 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. 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 November 7, 2011 by GrinchWSLG Quote
+gerwin Posted November 7, 2011 Author Posted November 7, 2011 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. Quote
+gerwin Posted November 8, 2011 Author Posted November 8, 2011 v0.5 is up, Try it with high res textures now. Quote
+Soulfreak Posted November 8, 2011 Posted November 8, 2011 Wow, great work! Now we only need an object placement tool. Quote
+gerwin Posted November 10, 2011 Author Posted November 10, 2011 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.... 2 Quote
+gerwin Posted November 11, 2011 Author Posted November 11, 2011 I fixed the slow target reading in v0.62. Quote
krfrge Posted November 13, 2011 Posted November 13, 2011 Gerwin, This is a super tool. Many Thanks KRFRGE Quote
+Baltika Posted November 13, 2011 Posted November 13, 2011 Gerwin, This is a great utility, excellent work Slainthe Baltika Quote
+gerwin Posted November 14, 2011 Author Posted November 14, 2011 TFDtool v0.64: Supports runway headings other then the default + Shows stock Airfield previews + New Fonts. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.