TP2 Converter

Extract text from WeiDU scripts (TP2)


Drop or upload your .TP2 file

How to extract text from your TP2 file

  1. Click the "Select File" button above, and choose your TP2 file.
  2. You’ll see a preview, if available.
  3. Click the "Convert file to..." button to extract text information.

Convert TP2 to another file type

To convert TP2 scripts to another format, you need WeiDU or other Game software.

Convert a file to TP2

To convert other file formats to the "Mod Installation Script" file type, you need software like WeiDU or a similar tool.


About TP2 files

The .TP2 file is most commonly an Infinity Engine game mod installation script used by the WeiDU modding tool to alter games like Baldur's Gate. Secondarily, it functions as an XML-based territorial planning data file for the IAS2-TP application.

You can natively open WeiDU .TP2 scripts using any advanced text editor, while IAS2-TP data requires the proprietary territorial planning software.

The primary disadvantage of the .TP2 format is its highly specialized nature. WeiDU scripts rely on a custom, complex syntax that standard code editors do not natively format, making them difficult to read or troubleshoot for non-modders. Meanwhile, IAS2-TP files are locked into specific regional planning systems. Neither format is natively understood by common office software or web browsers, making collaboration frustrating.

Users frequently need to convert .TP2 files to standard TXT or XML formats for easier review, or package them into ZIP archives for mod distribution. Note that converting a WeiDU script out of its original format will break its functionality within the game engine.

Because this file format is heavily tied to specific modding engines or specialized regional software, it is difficult to convert directly into standard document types without losing data structure. However, drag and drop your file to see what it is and convert it if supported. convert.guru will analyze the underlying text or XML structure, allowing you to extract the raw data, view the scripts, and convert the file even without the original software installed.

Convert.Guru analyzes your TP2 file, detects the exact format, and lets you read the text inside.

Users also converted UMOD, UTP and MFMOD files.


FAQ

If you want to convert TP2 file to EXE, ISO, BIN, CUE, PAK, WAD, PK3, PK4, BSP, MAP, SAV or DAT, you can use WeiDU or similar software from the "Game Modification Installation Script" category. In the File menu, look for Save As… or Export….

To convert MOD, BIN, CFG, SCX, DAT, MPQ, LOG, CUE, INI, EXE, SCM or ISO files to TP2, try WeiDU or another comparable tool in the "Game Modification Installation Script" category.



The TP2 Converter Story

The history of Convert.Guru began over 25 years ago in California with Tom Simondi’s file-format database. A former contributor to Space Shuttle development and a software pioneer of the 1980s, Simondi established a trusted resource for file type analysis that was even referenced by Microsoft Windows XP. Today, we use modern technology to process and convert thousands of file formats while continually improving our TP2 converter.