Parses the proprietary TDBIN format used in Teardown.
Written in the Pattern Language.
Intended for use in ImHex.
- Install ImHex.
- If your file is a base game level in
data/bin/
(skip this step if it'squicksave.bin
), decompress your TDBIN file withzlib-flate -uncompress < foo.bin > bar.bin
. - Open your TDBIN file in ImHex.
- 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"). - Click the play button under "Console" under "Pattern editor".
- Look through the parsed data under the "Pattern Data" or "Hex editor" tabs.
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.
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.