Page 1 of 2

Transformers *.DAT

Posted: Thu Jul 12, 2007 4:20 pm
by Infinity
The contents of this post was deleted because of possible forum rules violation.

Posted: Thu Jul 12, 2007 6:38 pm
by Rheini
Pretty simple format. Directory at the end of the file.
But I have no time to fully investigate it.

Posted: Thu Jul 12, 2007 9:26 pm
by Mr.Mouse
The second uint32 is the size of the tail section.

At the tail section there are a number of tables:

1. Resource offset and size table
The resources are padded into blocks of 256 bytes, the offset is in blocks
2. String pointer table
Points to the filenames in the next table, there's however a little more than meets the eye to this table. Needs some investigation.
3. String table
all the folder names and filenames
4. Unknown
compressed? encrypted? junk? other?

Posted: Thu Jul 12, 2007 11:09 pm
by itg
Mr.Mouse said true but last table seems encrypted, when ill get a bit of free time ill write unpacker. :P

Posted: Fri Jul 13, 2007 7:46 am
by Mr.Mouse
hehe.

By the way, INFINITY/KORNET check your PM.

Posted: Fri Jul 13, 2007 10:37 am
by KorNet
thx Mr.Mouse :D

2 itg - I waiting your unpacker :D

Posted: Mon Jul 16, 2007 7:27 am
by itg
4. - hash table ( size = Files count * 4 ) some CRCs of file names, game searches for that hash in table and then know file number in the first table.

Also i have found that some files are compressed with LZ2K algorithm, which is possible to rip :) File is splitted to 16kb blocks where each block compressed with that LZ2K algo.

Posted: Mon Jul 16, 2007 10:07 am
by Rheini
LZ2K? Never heard :?:

Posted: Mon Jul 16, 2007 2:24 pm
by itg
Rheini wrote:LZ2K? Never heard :?:
Ye me too, some LZ modification I assume, googled for it and found nothing related with this compression algorithm.

Header:

Code: Select all

DWORD: LZ2K
DWORD: Unpacked size ( 0x4000 - for transformers )
DWORD: Packed size

Posted: Mon Jul 16, 2007 6:35 pm
by john_doe
Seems to be LZW based.

Posted: Mon Jul 30, 2007 8:13 pm
by CVROY
I too am trying to extract the content from this game. Using multiex, I cannot seem to get any of the DAT file types to work with the transformer DAT files.

Is there a way to extract the content from the files posted in the first post?

:eek:

Posted: Mon Jul 30, 2007 8:45 pm
by itg
CVROY wrote:I too am trying to extract the content from this game. Using multiex, I cannot seem to get any of the DAT file types to work with the transformer DAT files.

Is there a way to extract the content from the files posted in the first post?

:eek:
Yes it is, I worked on it, haven't enough of time atm :/
Thing is, need to figure out hashing algorithm and this LZ2K compression, this will take a while...

Posted: Mon Jul 30, 2007 9:01 pm
by CVROY
OKEE :)

Thanks for the update, appreciate it. I don't know anything about programming other than making mods for Unreal Tournament 2004. If you need any files from me for the transformers game, let me know.

Posted: Mon Jul 30, 2007 9:19 pm
by itg
CVROY wrote:OKEE :)

Thanks for the update, appreciate it. I don't know anything about programming other than making mods for Unreal Tournament 2004. If you need any files from me for the transformers game, let me know.
Hehe, no need I have the game, thanks anyway.

UT2004 FTW :D

Posted: Mon Jul 30, 2007 10:35 pm
by Darkfox
One problem with UT2K4 is that there is only a player handler that assigns the model and it makes adding stuff a bit more difficult and adding player classes.