Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Lego Worlds (.DAT)

Featured Replies

  • Author
  • Localization

Deadbot, posted Mon Sep 28, 2015 7:09 pm (7791)


its possible extract archives from game.dat
since ttgame.bms script its not working anymone?
  • Author
  • Localization

Xiron, posted Mon Sep 28, 2015 7:45 pm (7793)


So they changed it again? aluigi already fixed this at the end of August. Hmm...
  • Author
  • Localization

Deadbot, posted Mon Sep 28, 2015 8:19 pm (7795)


yes, all text files with strange characters inside
  • Author
  • Localization

aluigi, posted Mon Sep 28, 2015 8:27 pm (7796)


samples?
  • Author
  • Localization

Deadbot, posted Mon Sep 28, 2015 9:23 pm (7800)


hes a sample
  • Author
  • Localization

aluigi, posted Mon Sep 28, 2015 10:01 pm (7801)


From the link provided by Xiron:
Code:
Basically these ZIPX chunks are used only for the TXT files and they
are probably obfuscated/encrypted.
Now the script no longer breaks at that point and extracts everything.
There is no solution yet for these TXT files.
  • Author
  • Localization

Ekey, posted Mon Sep 28, 2015 11:44 pm (7804)


Encryption like xor keygen. Key must be 256 bytes. For each file encryption key is different.
  • Author
  • Localization

Ekey, posted Tue Sep 29, 2015 9:57 am (7811)


Here my tool. Supported files *.TXT, *.XML, *.SF, *.CFG, *.CSV, *.LXFML

Code:
[Usage]
        LWDecryptor


Example decrypt

Code:
[Example]
        LWDecryptor GAMEVERSION.TXT GAMEVERSION_DEC.TXT


Also you can encrypt it back, example:

Code:
        LWDecryptor GAMEVERSION_DEC.TXT GAMEVERSION.TXT


:)

Edited: Download -> see below
  • Author
  • Localization

aluigi, posted Tue Sep 29, 2015 4:16 pm (7823)


It's RC4 using the size of the file as key.
I'm modifying the script to do the decryption on the fly.
  • Author
  • Localization

aluigi, posted Tue Sep 29, 2015 5:28 pm (7825)


I have updated ttgames.bms but I don't have a sample to test.
  • Author
  • Localization

Xiron, posted Tue Sep 29, 2015 6:18 pm (7827)


Tried it, this is the output:
Code:
- 0 files found in 0 seconds
  coverage file 0     0%   1077448    1590135720
  coverage file -1    4%   46447      1044648   
  coverage file -2    0%   0          32768     
Error: the compressing signature at offset 485756498 ()}7Z) is not known, contact me
  • Author
  • Localization

Deadbot, posted Tue Sep 29, 2015 6:25 pm (7828)


did u need the game.dat aluigi?

@Xiron yes, same error for me

@Ekey works very well good job!
  • Author
  • Localization

aluigi, posted Tue Sep 29, 2015 8:32 pm (7837)


Version 0.7.2, let me know if this one works (no errors and decrypted txt files).
  • Author
  • Localization

Deadbot, posted Tue Sep 29, 2015 8:36 pm (7839)


empty text files with 0kb
  • Author
  • Localization

aluigi, posted Tue Sep 29, 2015 8:51 pm (7841)


Could you please refresh and redownload the script?
There was a bug that I fixed 2 minutes after the initial upload, you should see "math TMP2 = SIZE" at line 312
  • Author
  • Localization

Deadbot, posted Tue Sep 29, 2015 9:02 pm (7842)


its worked but some text file still encrypted/obfuscated
all another files has been decrypted...
  • Author
  • Localization

aluigi, posted Tue Sep 29, 2015 9:17 pm (7846)


Ekey, do you think this problem is related to the 30k thing you said?
Any idea?
  • Author
  • Localization

Ekey, posted Tue Sep 29, 2015 9:35 pm (7850)


You need decrypt file data by blocks with maximum size 0x8000
  • Author
  • Localization

aluigi, posted Tue Sep 29, 2015 10:09 pm (7855)


so I guess that the encryption is performed after the decompression (CHUNK_SIZE).
I feel blind because I don't have a ZIPX sample to test, would be cool to have just the part from the first big (>0x8000) ZIPX to the next one.
  • Author
  • Localization

aluigi, posted Wed Sep 30, 2015 11:41 am (7857)


Script 0.7.3, I guess I have solved the problem.
Basically in the first version I modified CHUNK_ZSIZE that was later used to reach the next offset, that one was the bug.
  • Author
  • Localization

Xiron, posted Wed Sep 30, 2015 7:58 pm (7865)


aluigi wrote:
I guess I have solved the problem.
You are correct. It works now!
  • Author
  • Localization

Deadbot, posted Thu Oct 01, 2015 12:25 am (7866)


yeah its working, but the game crash at startup, doing a deep investigation to discover wtf is happening....
  • Author
  • Localization

Xiron, posted Thu Oct 01, 2015 12:42 am (7867)


In the RRU post I linked in my first reply, it also states that the game can no longer run with extracted files.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.