Text editor
Since id Tech-based games use a lot of ASCII text files here are a few different editors that you can use. Those with id Tech specific customisations are listed before generic editors.
- Doom 3 - Just type editDecls into the console . Please note that some declarations cannot be created this way.
- UltraEdit32
- A very good shareware text editor with great search/replace in
files/macro recording/tabbed files/regexp and all that stuff.
- D3 script and GUI syntax highlighter by eutectic.
- ConText - A freeware text editor with many programmer oriented features like code templates.
- Editplus - A very good text editor with syntax files for many languages.
- Editpad (Pro/Lite/Classic) - A third party text editor that supports opening multiple files at once and search /replace functionality via use of regular expressions.
- SavageEd A very fast, very efficient text editor without the architectural drawbacks of Notepad.
NOTE: There is a discrepancy in the way Unix, Windows, and Mac operating systems terminate a line of text. The details of which can be read here . Because of this, text files created under one operating system may not display properly in another, provided the text editor in use does not take this discrepancy into account. One program that falls victim to this problem is Windows Notepad.
Other utilities to work with text files
It’s also handy to have a grep tool available to search the contents of multiple declaration files for a specific item or pattern. For instance, searching for a specific material entry if you are unsure in which . MTR file it was located in.