You are here

good 2da editor

9 posts / 0 new
Last post
Shadooow
good 2da editor

What do you use to edit 2das? I usually do it in notepad but when I needed to add 1000 padding lines I was too lazy to renumber them manually

In past I used 2DAEdit0.63b but this tool is flagged by 7 different antiviruses as threat. Fake positive? Also iirc it didn't work on windows 10.

I tried the alternatives.

TlkEdit2 uses java and is slow as hell when trying to browse folders in the Open file. It doesn't renumber lines automatically like 2DAEdit0.63 did.

Its tlk editing possibilities are bad too. It doesn't handle special characters (thats problem in tlk editing), all basic features such as searching are mess and the tlk editor doesn't show the tlk reference number so whats even purpose of handling both 2da and tlk when it doesn't offer basic features.

Second alternative is TabularFramework (2DA Editor & TLK Editor, NWN1 & NWN2) which looks like a copy of tlkedit2 and also uses java.

Please tell me this is now all we have or that 2daedit0.63 is false positive.

  • up
    50%
  • down
    50%
Tarot Redhand

I use Notepad++. It does almost everything I want. For the rest I wrote a couple of small utilities. They are called "Fix and Tidy 2da Files". Fix2da goes through and checks a 2da file for certain errors. If it doesn't find any, it tells you. If it does it informs you that there may be errors in the 2da file and creates a log file listing the possible errors and the lines where they are. Should errors be reported you will need to correct them yourself. Tidy2da goes through a 2da file, aligns the columns for the whole file and renumbers the 2da. To be on the safe side you should check the 2da with fix2da before using tidy2da.

One thing to note is that the line numbers that you see in a 2da are actually ignored by both NwN and the toolset. They are only there for the benfit of us humans. However don't leave them out either as you'll screw up your columns and (depending on the way the engine knows how to skip over them) may cause other problems.

TR

  • up
    100%
  • down
    0%
Shadooow

One thing to note is that the line numbers that you see in a 2da are actually ignored by both NwN and the toolset. They are only there for the benfit of us humans. However don't leave them out either as you'll screw up your columns and (depending on the way the engine knows how to skip over them) may cause other problems.

I know but if I wanted to add about 1000 padding lines to provide some reserve for user, in past I simply copypasted around 1000 lines, opened 2da and re-saved with 2daedit0.63 which automatically renumbered the lines so I opened it in notepad again, added more and removed exceeding when I hit the number I needed.

Well, already workarounded it with copypasting lines by 10 and then by 100 to make it 1k...

  • up
    50%
  • down
    50%
Aqvilinus

For renumbering lines I'm using Sublime Text 3 with the Text Pastry plugin that allows you to insert numeric sequences. All you need to do is to select multiple lines and call the "Text Pastry: Range (Numeric)" option from the package control.


  • up
    100%
  • down
    0%
Tarot Redhand

All you need to do is copy paste 1000 lines and then run my tidy2da because, as I said before, it automatically renumbers the whole 2da. Tidy2da is independent of any editor including notepad++. So you can use any editor you want.

TR

  • up
    50%
  • down
    50%
Trinital

TlkEdit Supports    TLK / 2DA / BIC's  it's really powerful.

  • up
    100%
  • down
    0%
meaglyn

I use emacs (with the line wrapping turned off) and then my perl 2da diff utility to clean it up and renumber any lines that need it. 

  • up
    50%
  • down
    50%
Shadooow

Hmm, thats actually very nice tool.

Maybe it would be better if there was just one tool and user could choose if the 2da should be also cleaned up or not.

  • up
    50%
  • down
    50%
The Amethyst Dragon

- The Amethyst Dragon
---------------
World of Aenea (Hall of Fame PW and the origin of almost all my works)

NWN Custom Content: The Complete List (90+ entries, including 18 Hall of Fame award winners)

Self-Promotional Honesty: If you have opinions on stuff I've made, or if you use any of it (as a player or builder), I like comments/votes/feedback...so do other content makers and builders. Keep us motivated. :)

------ Neverwinter Nights Community Site: The Unofficial Homepage for NWN ------

  • up
    50%
  • down
    50%