Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (17 loc) · 1.39 KB

README.md

File metadata and controls

24 lines (17 loc) · 1.39 KB

tdbin.hexpat

Parses the proprietary TDBIN format used in Teardown.

Written in the Pattern Language.

Intended for use in ImHex.

Usage

  1. Install ImHex.
  2. If your file is a base game level in data/bin/ (skip this step if it's quicksave.bin), decompress your TDBIN file with zlib-flate -uncompress < foo.bin > bar.bin.
  3. Open your TDBIN file in ImHex.
  4. Go to "File", "Load pattern...", "Browse...", and load tdbin.hexpat (or open it in a text editor and copy and paste it into the "Pattern editor").
  5. Click the play button under "Console" under "Pattern editor".
  6. Look through the parsed data under the "Pattern Data" or "Hex editor" tabs.

Compatibility

This should support every version from 0.3.0 to 1.4.0. I haven't added support for every entity type yet, and I can't load any of the larger levels because I run out of RAM. Patches don't make any changes to the binary level format (that I know of), so they don't affect compatibility.

License

Copyright (c) 2023 x4fx77x4f

This software is released under the GNU General Public License version 3. The license terms can be found in the license file.

This software is derived from TTFH's Teardown-Converter.