XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Fri Dec 14, 2018 10:39 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: (Need Help) TF2ROTF: Unpack .dat file or convert to .str
PostPosted: Fri Sep 28, 2018 12:16 am 
Offline
ultra-n00b

Joined: Thu Sep 27, 2018 11:36 pm
Posts: 7
Has thanked: 1 time
Have thanks: 0 time

Hello Guys, I was visited by the thought of trying to adapt the dlc of console version game to the PC version of the game Transformers 2 revenge of the fallen. I took out all the files from the dlc that were packed in .pkg, but I was faced with one problem, all the files were in the .edat format which was suitable only for the console version of the game, as I understood it. I started looking for methods of decrypting this format, and converting it back to the familiar .str. For a very long time I wandered around the Internet in search of an answer, with help the program edat rebuilder I was convert .edat file into a .dat file format. On this I stopped, I was not able to convert this format into .str. However, I noticed that the file has magic strm (the code header) which is the reverse of the header of the .str - mrts format code. In general, I will be very grateful to people, or a person who will help me understand this, and I would not mind paying for assistance, thanks.

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: (Need Help) TF2ROTF: Unpack .dat file or convert to .str
PostPosted: Fri Sep 28, 2018 12:23 am 
Offline
ultra-n00b

Joined: Thu Sep 27, 2018 11:36 pm
Posts: 7
Has thanked: 1 time
Have thanks: 0 time
https://drive.google.com/open?id=1DrrJ6 ... b3dUqIwxmf - decrypt files .edat - .dat


Top
 Profile  
 
 Post subject: Re: (Need Help) TF2ROTF: Unpack .dat file or convert to .str
PostPosted: Fri Sep 28, 2018 12:56 am 
Offline
ultra-veteran
ultra-veteran
User avatar

Joined: Tue Jul 05, 2016 9:37 am
Posts: 373
Has thanked: 16 times
Have thanks: 213 times
The console systems(PS3/Xbox360) use big-endian as byte order, while PC is in little-endian. But I doubt it'll be as simply as a matter of endianness. Most likely they'll modify the format slightly for different platforms.

_________________
"No investigation means no right to speak."
- An Imitable Workflow for Reverse Engineering a Game Model
- Reverse Model Wireframe


Say it with action: click the Image when you get helped.


Top
 Profile  
 
 Post subject: Re: (Need Help) TF2ROTF: Unpack .dat file or convert to .str
PostPosted: Fri Sep 28, 2018 3:17 am 
Offline
ultra-n00b

Joined: Thu Sep 27, 2018 11:36 pm
Posts: 7
Has thanked: 1 time
Have thanks: 0 time
Bigchillghost wrote:
The console systems(PS3/Xbox360) use big-endian as byte order, while PC is in little-endian. But I doubt it'll be as simply as a matter of endianness. Most likely they'll modify the format slightly for different platforms.
Very interesting! Thanks for the answer, but I do not understand much about it, unlike you)


Top
 Profile  
 
 Post subject: Re: (Need Help) TF2ROTF: Unpack .dat file or convert to .str
PostPosted: Fri Sep 28, 2018 4:44 am 
Offline
ultra-veteran
ultra-veteran
User avatar

Joined: Tue Jul 05, 2016 9:37 am
Posts: 373
Has thanked: 16 times
Have thanks: 213 times
You'll need to compare the differences between files of the same character from both PC & the console version so the files you uploaded doesn't help much actually. But to be honest, it's no picnic especially if there's no specification about the format.

_________________
"No investigation means no right to speak."
- An Imitable Workflow for Reverse Engineering a Game Model
- Reverse Model Wireframe


Say it with action: click the Image when you get helped.


Top
 Profile  
 
 Post subject: Re: (Need Help) TF2ROTF: Unpack .dat file or convert to .str
PostPosted: Fri Sep 28, 2018 5:58 am 
Offline
ultra-n00b

Joined: Thu Sep 27, 2018 11:36 pm
Posts: 7
Has thanked: 1 time
Have thanks: 0 time
Bigchillghost wrote:
You'll need to compare the differences between files of the same character from both PC & the console version so the files you uploaded doesn't help much actually. But to be honest, it's no picnic especially if there's no specification about the format.
Okay, but I thought that these similarities of the strm mrts code meant something, um, for me it's complicated, I'm far from the code, I can hardly understand it myself, my direction is 3D modeling.


Top
 Profile  
 
 Post subject: Re: (Need Help) TF2ROTF: Unpack .dat file or convert to .str
PostPosted: Sat Sep 29, 2018 1:47 am 
Offline
ultra-n00b

Joined: Thu Sep 27, 2018 11:36 pm
Posts: 7
Has thanked: 1 time
Have thanks: 0 time
Bigchillghost wrote:
You'll need to compare the differences between files of the same character from both PC & the console version so the files you uploaded doesn't help much actually. But to be honest, it's no picnic especially if there's no specification about the format.
Can I ask you for help? :(


Top
 Profile  
 
 Post subject: Re: (Need Help) TF2ROTF: Unpack .dat file or convert to .str
PostPosted: Sat Sep 29, 2018 3:11 am 
Offline
ultra-veteran
ultra-veteran
User avatar

Joined: Tue Jul 05, 2016 9:37 am
Posts: 373
Has thanked: 16 times
Have thanks: 213 times
Metalado wrote:
Can I ask you for help? :(

I remember I tried to extract the character models from the PC version around two years ago, but I gave up eventually due to its messy format, and clearly you can get most of them from TF3. But anyway you'll have to upload the required samples first. I can have a check and see if there're merely changes about the endianness.

_________________
"No investigation means no right to speak."
- An Imitable Workflow for Reverse Engineering a Game Model
- Reverse Model Wireframe


Say it with action: click the Image when you get helped.


Top
 Profile  
 
 Post subject: Re: (Need Help) TF2ROTF: Unpack .dat file or convert to .str
PostPosted: Sat Sep 29, 2018 10:37 pm 
Offline
ultra-n00b

Joined: Thu Sep 27, 2018 11:36 pm
Posts: 7
Has thanked: 1 time
Have thanks: 0 time
Bigchillghost wrote:
Metalado wrote:
Can I ask you for help? :(

I remember I tried to extract the character models from the PC version around two years ago, but I gave up eventually due to its messy format, and clearly you can get most of them from TF3. But anyway you'll have to upload the required samples first. I can have a check and see if there're merely changes about the endianness.
Good, then I attach the character file of the PC version of the .str format and from the dlc for the sony format .edat: https://drive.google.com/open?id=1X3Q7j ... aejNA4_IOn


Top
 Profile  
 
 Post subject: Re: (Need Help) TF2ROTF: Unpack .dat file or convert to .str
PostPosted: Sun Sep 30, 2018 3:16 am 
Offline
ultra-veteran
ultra-veteran
User avatar

Joined: Tue Jul 05, 2016 9:37 am
Posts: 373
Has thanked: 16 times
Have thanks: 213 times
Metalado wrote:
Good, then I attach the character file of the PC version of the .str format and from the dlc for the sony format .edat

Well, I thought you knew what I was taking about. The files would be comparable only if they're of the SAME character, otherwise it's rather difficult without known the full structure of the file. And I need the decrypted str file of course, not the edat one.

_________________
"No investigation means no right to speak."
- An Imitable Workflow for Reverse Engineering a Game Model
- Reverse Model Wireframe


Say it with action: click the Image when you get helped.


Top
 Profile  
 
 Post subject: Re: (Need Help) TF2ROTF: Unpack .dat file or convert to .str
PostPosted: Sun Sep 30, 2018 5:38 am 
Offline
ultra-veteran
ultra-veteran
User avatar

Joined: Tue Jul 05, 2016 9:37 am
Posts: 373
Has thanked: 16 times
Have thanks: 213 times
OK, I've just downloaded the PS3 version and compared the ratchet models. It seems there's mainly a difference of the endianness, except that the pc version has higher res of textures with slightly different headers.
But even so there're still a lot of work to do. You'll have to research the whole format and figure out all fields of variables, and/or at least their sizes. Working with both PC and PS3 version files can help you do it easier and faster, but it's still rather time consuming. And obviously I don't have the time and passion for it right now.

_________________
"No investigation means no right to speak."
- An Imitable Workflow for Reverse Engineering a Game Model
- Reverse Model Wireframe


Say it with action: click the Image when you get helped.


Top
 Profile  
 
 Post subject: Re: (Need Help) TF2ROTF: Unpack .dat file or convert to .str
PostPosted: Sun Sep 30, 2018 8:44 pm 
Offline
ultra-n00b

Joined: Thu Sep 27, 2018 11:36 pm
Posts: 7
Has thanked: 1 time
Have thanks: 0 time
Bigchillghost wrote:
OK, I've just downloaded the PS3 version and compared the ratchet models. It seems there's mainly a difference of the endianness, except that the pc version has higher res of textures with slightly different headers.
But even so there're still a lot of work to do. You'll have to research the whole format and figure out all fields of variables, and/or at least their sizes. Working with both PC and PS3 version files can help you do it easier and faster, but it's still rather time consuming. And obviously I don't have the time and passion for it right now.
Thanks! As there will be time and desire, please write! In debt i will not stay :wink:



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google [Bot] and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group