Fix2da and Tidy2da - What are they?
They are 2 small Windows programs that are designed to help with ensuring that 2da files are error free. They were written using Visual Studio 2017 (in Visual Basic) and therefore requires the .net framework 4.52 or better to run. This also means that they probably only run in Windows versions from 7 onwards. In Windows 10 the Creators update installed a newer version than that. Fix2da reads in a single 2da file and reports any errors that it finds by writing them to plain text log file. Tidy 2da realigns the columns such that they run straight from top to bottom. It also renumbers the lines such that they are correct.
I am releasing them as Betas because they have only been tested on my own dual boot machine under Windows 7 32 bit Home Premium and Windows 10 64 bit Home.
The package contains the 2 programs, a Manual, a quick start/read me and a folder containing an example 2da.
TR May 2017
Update just added a pdf version of the manual (as a separate download) for those that can't open odt files.
TR September 2017
Update - There exists a minor bug in the original version of Fix2da. Where a 2da file has less than 10 lines of data (i.e. there are less than 13 lines overall in the 2da file) it will crash. I did not realise that such miniscule 2da files existed and designed it accordingly. On the off chance that you may come across such a small 2da, I have created a version that exits gracefully with a suggestion to review the 2da visually instead of crashing.
Update June 2018 - A couple of minor bug fixes for Tidy2da are now implemented. Tidy2da now ensures that the very first line of a 2da file reads as "2DA V2.0". Fixed a crash that occured where there were 2 or more blank lines at the end of a 2da file. Extra blank lines are now removed. Previous update file removed. Previous update now rolled into this one. Separate pdf manual removed. Now included in the main download.
Caution - May 2020. I have found that this no longer works with the CEP because AD added columns to that packages 2da files and then only added data to selected lines and not all of them. This has the effect of making these programs cease to work properly with later CEP 2da files.
Attachment | Size |
---|---|
![]() | 676.43 KB |
Thanks for sparing us manual renumbering of .2da rows!
Excellent! Working with wine on my Linux machine too!
Thanks guys/gals. (but see the cautionary note in the description)
TR
Super!!! This tool saved me ^_^
Amazing work. Thank you very much!