TDM Archive (File Format)

From Wexos's Wiki
(Redirected from TDM Archive)
Jump to navigationJump to search

This page describes the archive format from The Denpa Men games. Since the file names are hashed and have no magic, it is not possible to know at the moment how to call them.

File Format

The file byte order is always little endian.

File Header

Offset Type Description
0x00 Int32 Unknown. Always 5.
0x04 UInt32 Archive name hash, same as the file name. Unknown hashing method.
0x08 Int32 Number of files.
0x0C End of header, start of Entry Data

Entry Data

For each file, there's a 0x1C bytes big entry. All offsets are relative to the start of the file.

Offset Type Description
0x00 Byte Unknown. Always 0.
0x01 UInt24 Unknown. It seems to be a file identifier or name hash.
0x04 Int32 Unknown. Values found: 2, 4, 8, 9.
0x08 Int32 Compressed file size.
0x0C Int32 File data offset.
0x10 Int32 File compression type:
  • 1 = zip
  • 6 = LZ10
0x14 Int32 Unknown. Always -1.
0x18 Int32 Uncompressed file size.

Followed by the entries there is the file data.

Tools

The following tools can handle TDM Archive files:

  • (none)