.TDF

TDF File

Total Annihilation Features Data File
Ask a question
QUICK ANSWER

A TDF file is a plain text data file used by the 1997 real-time strategy game Total Annihilation, storing terrain features, faction data, sounds, and UI definitions. Open it with any text editor - Notepad or VS Code work fine. TDF files carry no executable content and pose no security risk.

Developer: Cavedog Entertainment (now community-maintained) Category: Data Files MIME: text/plain
OPENS ON Windows
Related: .PKPASS · .DAT · .JSON · .RIS

On this page

19k+ extensions indexed
Last reviewed Jul 31, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the TDF file format?

The .tdf extension within Total Annihilation refers to a plain-text hierarchical key-value data format developed by Cavedog Entertainment for their 1997 real-time strategy game. It serves as the game's universal text data container - covering terrain features, unit build trees, sound event mappings, UI layout definitions, keyboard help text, and localization strings. Files such as SIDEDATA.TDF, ALLSOUND.TDF, HELP.TDF, and TRANSLATE.TDF all use this format.

The syntax uses named sections delimited by square brackets or curly braces, with key = value; pairs inside - similar in spirit to INI files but with support for nested blocks. The format has remained unchanged since Total Annihilation's launch in September 1997. It is also shared by related file types: .ota (map data), .fbi (unit definitions), and .gui (interface layout) files all use the same underlying syntax.

.tdf files are stored uncompressed as plain ASCII or Windows-1252 text on disk, but inside HPI archives they are compressed together with other game data. Any plain-text editor can open them. Modern community tools such as CheckTdf and TAUtil (available on GitHub) provide syntax validation and parsing utilities for modders.

Note: the .tdf extension is unrelated to ThunderByte Anti-Virus definition files and Trace Definition Files that also share this extension - those are entirely different formats.

Security & safety

RISK: LOW

TDF files are plain text with no executable content. No security risk.

Format details

in a nutshell
FULL NAMETotal Annihilation Features Data Fileaka TA TDF file, Total Annihilation data format
DEVELOPERCavedog Entertainment (now community-maintained)since 1997 (Total Annihilation release)
CATEGORYData Files
MIME TYPEtext/plain
TYPEplain text hierarchical key-value data (proprietary syntax)
This extension is also used by…
  • ThunderByte Anti-Virus Definition File - Legacy anti-virus database file from TBAV (discontinued mid-1990s), unrelated to gaming.
  • Trace Definition File (various tools) - Debug/profiling trace format used by some IDEs and tracing tools.
  • Teamdesk Form File / WinDev Table Description - Various proprietary application tools use .tdf for their own table/form description formats.

Programs that open TDF files

Windows4 apps
Notepad Built-in Right-click the TDF file → Open with → Notepad. All TDF content is plain ASCII text.
Visual Studio Code Open-source Open VS Code, drag and drop the TDF file. Use plain text or INI syntax highlighting for readability.
Total Annihilation (game) Paid TDF files are loaded automatically by the game engine from HPI archives or mod folders. No manual open needed.
CheckTdf (MHeasell) Open-source Command line: CheckTdf myfile.tdf - validates TDF syntax and reports errors.

Technical details

deep spec
Format typePlain-text hierarchical key-value data
Text encodingASCII / Windows-1252
Section syntaxNamed blocks in square brackets `[Name]` or curly braces `Name { ... }` with `key = value;` pairs inside
NestingSupports nested blocks for hierarchical data structures
CompressionNone when stored on disk; compressed by the HPI archive format when packaged with other game assets
Typical file sizeUnder 50 KB
In-game file rolesTerrain features, unit build trees (SIDEDATA.TDF), sound event mappings (ALLSOUND.TDF), keyboard help (HELP.TDF), localization strings (TRANSLATE.TDF)
Shared syntax formatsOTA (map data), FBI (unit definitions), and GUI (interface layout) files all use the identical TDF syntax
Magic bytesNone - format has no binary signature; files begin with named section headers
Community toolsCheckTdf and TAUtil (MHeasell, GitHub) for syntax validation and parsing
Associated OSWindows (95/98 era)
Released1997 (Total Annihilation release)
Latest versionN/A (format unchanged; TA community continues to use it)
Specificationunits.tauniverse.com

TDF conversions

Not possible

Community Q&A

asked by users
Ask a quick question
Get help from people who work with TDF files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about TDF files.

Frequently asked questions

What is a TDF file?
In the Total Annihilation game context, a plain text data file defining game features, faction data, sounds, or UI layout using Cavedog's hierarchical key-value syntax.
How do I open a TDF file?
Any text editor - Notepad, VS Code, Notepad++. TDF files are plain ASCII text.
What programs use TDF files besides Total Annihilation?
Various unrelated programs use the .tdf extension: ThunderByte Anti-Virus (discontinued), trace definition tools, and some application-specific table formats. Context determines meaning.
How do I edit TDF files for Total Annihilation modding?
Open in any text editor, modify key-value pairs, save, then pack into an HPI archive or place in the game mod folder. Use CheckTdf to validate syntax before testing.

References

1TA Universe - TDF Gamedata format referenceunits.tauniverse.com
2TA Universe - All TA file types overviewunits.tauniverse.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.EXEWindows Executable (Portable Executable)
4.PARTPartial Download File
5.BINCD/DVD Disc Image (BIN/CUE)
6.DATProgram Data File (generic)
7.RPMSGRestricted Permission Message
8.MDMarkdown Document
9.TXTPlain Text File
10.NOMEDIAAndroid No-Media Marker File

Related extensions

.PKPASSApple Wallet Pass (formerly Passbook)
.DATProgram Data File (generic)
.JSONJavaScript Object Notation file
.RISResearch Information Systems citation file
.OFXOpen Financial Exchange
.CSVComma-Separated Values

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z