LEGO MARVELs Avengers (TTGames) *.dat file

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

LEGO MARVELs Avengers (TTGames) *.dat file

Post by shadow_lonely »

Hi aluigi! TTGame released LEGO MARVELs Avengers, perhap they updated compress algorithm, I can not unpack *dat file with old quickbms script (http://aluigi.altervista.org/bms/ttgames.bms).

Could you update this script, please!
Here is example file: https://drive.google.com/file/d/0B44CD2 ... sp=sharing.
Thanks for any help!
milkybar1983
Posts: 3
Joined: Sat Jan 23, 2016 1:13 pm

Re: LEGO MARVELs Avengers (TTGames) *.dat file

Post by milkybar1983 »

xbox 360 is the same:

QuickBMS generic files extractor and reimporter 0.7.2a
by Luigi Auriemma
e-mail: me@aluigi.org
web: aluigi.org
(Dec 12 2015 - 17:24:48)

quickbms.aluigi.org Homepage
zenhax.com ZenHAX Forum
@zenhax Twitter & Scripts

- GUI mode activated, remember that the tool works also from command-line
where are available various options like folder scanning, filters and so on

- select the BMS script or plugin to use
- select the input archives/files to extract, type * or "" for whole folder and subfolders
- select the output folder where extracting the files
0.0 seconds
- open input file C:\GAME.DAT
- open script C:\Users\milky\Downloads\quickbms\ttgames.bms
- set output folder C:\gamedat

offset filesize filename
--------------------------------------
- enter in folder C:\
- open input file C:\GAME.hdr

Error: [myfseek] the offset 0x4415430c in the file -1 can't be reached

Last script line before the error or that produced the error:
83 goto NAME_INFO MEMORY_FILE

Press RETURN to quit
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: LEGO MARVELs Avengers (TTGames) *.dat file

Post by aluigi »

If I remember correctly, I already spent some time on this new format (I guess it was a PATCH.DAT) without good results.
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

Re: LEGO MARVELs Avengers (TTGames) *.dat file

Post by shadow_lonely »

aluigi wrote:If I remember correctly, I already spent some time on this new format (I guess it was a PATCH.DAT) without good results.


:( thanks! Hope you can have time on this new format!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: LEGO MARVELs Avengers (TTGames) *.dat file

Post by aluigi »

Version 0.8:
http://aluigi.org/bms/ttgames.bms

P.S.: use quickbms 0.7.1, not 0.7.2a
milkybar1983
Posts: 3
Joined: Sat Jan 23, 2016 1:13 pm

Re: LEGO MARVELs Avengers (TTGames) *.dat file

Post by milkybar1983 »

aluigi wrote:Version 0.8:
http://aluigi.org/bms/ttgames.bms

P.S.: use quickbms 0.7.1, not 0.7.2a


you are an absolute legend thankyou
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

Re: LEGO MARVELs Avengers (TTGames) *.dat file

Post by shadow_lonely »

aluigi wrote:Version 0.8:
http://aluigi.org/bms/ttgames.bms

P.S.: use quickbms 0.7.1, not 0.7.2a


Nice! Working perfect!
Panzerdroid
Posts: 66
Joined: Sun Aug 30, 2015 12:51 pm

Re: LEGO MARVELs Avengers (TTGames) *.dat file

Post by Panzerdroid »

aluigi wrote:Version 0.8:
http://aluigi.org/bms/ttgames.bms

P.S.: use quickbms 0.7.1, not 0.7.2a

Thanks, Luigi!

Reimporting still not possible due to missing compressors, right?
Teancum
Posts: 94
Joined: Mon Sep 22, 2014 5:13 pm

Re: LEGO MARVELs Avengers (TTGames) *.dat file

Post by Teancum »

Panzerdroid wrote:
aluigi wrote:Version 0.8:
http://aluigi.org/bms/ttgames.bms

P.S.: use quickbms 0.7.1, not 0.7.2a

Thanks, Luigi!

Reimporting still not possible due to missing compressors, right?


You don't need to reimport. Just use QuickBMS to extract all the files, then rename your .dat files to [name].dat.bak. The game will use the loose files instead of the .dat files.
Panzerdroid
Posts: 66
Joined: Sun Aug 30, 2015 12:51 pm

Re: LEGO MARVELs Avengers (TTGames) *.dat file

Post by Panzerdroid »

Teancum wrote:You don't need to reimport. Just use QuickBMS to extract all the files, then rename your .dat files to [name].dat.bak. The game will use the loose files instead of the .dat files.

Well, it seems it doesn't work with MARVEL. The game crashes without dats present.
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

Re: LEGO MARVELs Avengers (TTGames) *.dat file

Post by shadow_lonely »

Panzerdroid wrote:
Teancum wrote:You don't need to reimport. Just use QuickBMS to extract all the files, then rename your .dat files to [name].dat.bak. The game will use the loose files instead of the .dat files.

Well, it seems it doesn't work with MARVEL. The game crashes without dats present.

You use XBOX? PC version crashing, too!
mordaki987
Posts: 13
Joined: Fri Jan 29, 2016 2:47 pm

Re: LEGO MARVELs Avengers (TTGames) *.dat file

Post by mordaki987 »

i'm getting something totally different when using quickbms for lego marvels avengers the crc of certain files during quickbms is not found. plus the whole issue of after quickbmsing all of the dat files and removing them from the install directory of the game it crashes. not sure if i should worry about the crc of the file not found thing or what but it would be nice to be able to quickbms the dat files and be able to play the game without the .dat files being in the install folder.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: LEGO MARVELs Avengers (TTGames) *.dat file

Post by aluigi »

It's strange, with the 2 samples that have been provided, I had 100% of working filenames and files.
What exact version and platform of the game are you trying to extract?
mordaki987
Posts: 13
Joined: Fri Jan 29, 2016 2:47 pm

Re: LEGO MARVELs Avengers (TTGames) *.dat file

Post by mordaki987 »

version 1.0 of Lego Marvel's Avengers and it is the steam pc version i'm using the 8.0 tt bms file provided in this post and i can confirm that even with everything extracted using quickbms the game does indeed crash to desktop even with renaming all the files to the .DAT.bak so i don't know if its just the way ttgames did the pc version or what.

aluigi wrote:It's strange, with the 2 samples that have been provided, I had 100% of working filenames and files.
What exact version and platform of the game are you trying to extract?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: LEGO MARVELs Avengers (TTGames) *.dat file

Post by aluigi »

Currently I'm interested only in the crc errors you got. It was normal to have "few" crc errors in other TT games, so about how many files we are talking about?
mordaki987
Posts: 13
Joined: Fri Jan 29, 2016 2:47 pm

Re: LEGO MARVELs Avengers (TTGames) *.dat file

Post by mordaki987 »

not trying to be rude here but you need to be worried about more then just the crc errors because as it has been stated the game at least for the pc version crashes to desktop once every dat file has been extracted using quickbms. as for crc errors its at least one crc error per .dat file starting with game.dat and progressing on to game8.dat. the first crc error example would be in game.DAT and is as i copy it from quick bms script message alert the crc of the file C:\Program Files (x86)\LEGO Marvels Avengers\CHARS\MINIFIG\DOCTORSTRANGE\ABILITY_FIGHT_SPECIAL_DOCTORSTRANGE\ABILITY_FIGHT_SPECIAL_DOCTORSTRANGE_AS DOCTORSTRANGE_SPECIAL2_DEF_DX11.AN4 has not been found i extract the file and it goes from there on through the rest of the game .DAT files i hope this helps

aluigi wrote:Currently I'm interested only in the crc errors you got. It was normal to have "few" crc errors in other TT games, so about how many files we are talking about?
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

Re: LEGO MARVELs Avengers (TTGames) *.dat file

Post by shadow_lonely »

I uploaded example file (GAME.DAT): https://drive.google.com/file/d/0B44CD2 ... sp=sharing
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: LEGO MARVELs Avengers (TTGames) *.dat file

Post by aluigi »

I have tested that game.dat of shadow_lonely but I don't see crc errors.
What I imagine is that it's not a PC archive because that file has the "_NXG" suffix instead of the "_DX11" one.
I have no crc errors also with the other dat provided at the beginning of the thread.

So, please, provide the dat/hdr that gives the crc error and I will check if I can do something (maybe it's just a lame math error to fix on the fly).

Regarding the crash, I work on the extractor only, I don't even have the game.
Additionally do you have the output of Process Monitor that proves that the crash is caused by the reading of one of the extracted files and not by the missing hdr/dat?
mordaki987
Posts: 13
Joined: Fri Jan 29, 2016 2:47 pm

Re: LEGO MARVELs Avengers (TTGames) *.dat file

Post by mordaki987 »

https://drive.google.com/open?id=0BxMwd ... kx6TGJJMW8

aluigi wrote:I have tested that game.dat of shadow_lonely but I don't see crc errors.
What I imagine is that it's not a PC archive because that file has the "_NXG" suffix instead of the "_DX11" one.
I have no crc errors also with the other dat provided at the beginning of the thread.

So, please, provide the dat/hdr that gives the crc error and I will check if I can do something (maybe it's just a lame math error to fix on the fly).

Regarding the crash, I work on the extractor only, I don't even have the game.
Additionally do you have the output of Process Monitor that proves that the crash is caused by the reading of one of the extracted files and not by the missing hdr/dat?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: LEGO MARVELs Avengers (TTGames) *.dat file

Post by aluigi »

Can you make it shareable?