[Help] Lego Legacy deobfuscate png files

Textures, recreate headers, conversions, algorithms and parsing of image files
AsparagusCute1467
Posts: 2
Joined: Wed Mar 10, 2021 8:40 pm

[Help] Lego Legacy deobfuscate png files

Post by AsparagusCute1467 »

Tried to get some png files from "Lego Legacy: Heroes Unboxed", and as usual with Gameloft they are obfuscated. The content of the files start with "GCBF", so I guess they are not compressed additionally. I tried the "gcbf_versus.bms" script from http://aluigi.altervista.org/quickbms.htm but it didn't work (No error, just a still broken png).

In the attached zip are two files:
  • yeti.png - the expected result should look like this
  • minifig_col170_decal.png - the obfuscated file

Has somebody any idea what I'm missing? Or maybe even a working solution?
AsparagusCute1467
Posts: 2
Joined: Wed Mar 10, 2021 8:40 pm

Re: [Help] Lego Legacy deobfuscate png files

Post by AsparagusCute1467 »

Forget that I ever asked!

QuickBMS with the mentioned script is working perfect! I just missed the part, that the resulting file is a ktx file and not a straight png. So with an additional step I've got the pictures.
KL3W
Posts: 41
Joined: Sun Jan 02, 2022 1:19 pm

Re: [Help] Lego Legacy deobfuscate png files

Post by KL3W »

Hey!!!

I am very interested by this problem. I tried to rip files from LSW Castaways, gameloft video game too. I had tx, bdae and broken png files. With GCBF script I managed to get dat files, but bdae became BRES and png became KTX file. How did you manage to get rid of ktx file and get a straight png??

Thx for helping me

Here you will find tx, bdae and png I tried to work on