Lego Moveis Game.Dat how pack? aluigi Help!

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Nobody
Posts: 47
Joined: Sat May 16, 2015 11:58 pm

Lego Moveis Game.Dat how pack? aluigi Help!

Post by Nobody »

Hi aluigi,
I used to ttgmaes BMS code, unpack to Game.Dat
I want to localization my language this game
unpack is successful
but how repack this format
or how localization this game, without repack.
Thanks in advance for help and code.
I know one of the biggest coders
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Lego Moveis Game.Dat how pack? aluigi Help!

Post by aluigi »

You can't use the script for reimporting because it uses chunks and 2 algorithms for which it's not available the recompression code.
I don't know what's used by other people to mod the LEGO games.
Nobody
Posts: 47
Joined: Sat May 16, 2015 11:58 pm

Re: Lego Moveis Game.Dat how pack? aluigi Help!

Post by Nobody »

aluigi wrote:You can't use the script for reimporting because it uses chunks and 2 algorithms for which it's not available the recompression code.
I don't know what's used by other people to mod the LEGO games.


I get it. So do you localize this or other Lego games possible?
So without reimport.
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

Re: Lego Moveis Game.Dat how pack? aluigi Help!

Post by shadow_lonely »

Nobody wrote:
aluigi wrote:You can't use the script for reimporting because it uses chunks and 2 algorithms for which it's not available the recompression code.
I don't know what's used by other people to mod the LEGO games.


I get it. So do you localize this or other Lego games possible?
So without reimport.


Yes! Possible!
https://www.youtube.com/watch?v=QsZItYtUKes
Nobody
Posts: 47
Joined: Sat May 16, 2015 11:58 pm

Re: Lego Moveis Game.Dat how pack? aluigi Help!

Post by Nobody »

shadow_lonely wrote:
Nobody wrote:
aluigi wrote:You can't use the script for reimporting because it uses chunks and 2 algorithms for which it's not available the recompression code.
I don't know what's used by other people to mod the LEGO games.


I get it. So do you localize this or other Lego games possible?
So without reimport.


Yes! Possible!
https://www.youtube.com/watch?v=QsZItYtUKes


But how?
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

Re: Lego Moveis Game.Dat how pack? aluigi Help!

Post by shadow_lonely »

But how?


Unpack *.dat file with ttgames.bms (aluigi). Font are *.fnt file, text is text.csv file.
Font file= glyphs+font image (DDS)
Nobody
Posts: 47
Joined: Sat May 16, 2015 11:58 pm

Re: Lego Moveis Game.Dat how pack? aluigi Help!

Post by Nobody »

shadow_lonely wrote:
But how?


Unpack *.dat file with ttgames.bms (aluigi). Font are *.fnt file, text is text.csv file.
Font file= glyphs+font image (DDS)


I know it :)
I do not know how to play that file back part of the game that detects put
Sorry bad eng :(
michalss
Posts: 320
Joined: Sun Aug 10, 2014 12:49 pm

Re: Lego Moveis Game.Dat how pack? aluigi Help!

Post by michalss »

as far as i remember reimport was possible in older Lego games :) I know aluigi saying that is not but it was im 100% possitive about that..
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Lego Moveis Game.Dat how pack? aluigi Help!

Post by aluigi »

There is no recompression algorithm for lz2k and dflt, additionally the files are divided in chunks.
In theory you can reimport only the small files (less than 65k?) non-compressed or compressed with zlib/lzma, but not using that script.
Teancum
Posts: 94
Joined: Mon Sep 22, 2014 5:13 pm

Re: Lego Moveis Game.Dat how pack? aluigi Help!

Post by Teancum »

Is the folder structure within the .dat file? If you know the folder structure you can sometimes create the same folder structure that's inside the .dat file in regular directories and override the container file.