LEGO Harry Potter files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
hackspeedok
Posts: 404
Joined: Mon Oct 06, 2014 6:41 pm

LEGO Harry Potter files

Post by hackspeedok »

This game has 3 file types. Help me to extract and repack its. Thanks
https://mega.co.nz/#!p88iWZAJ!yL2fmwoWw ... Icls6vU2fg
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: LEGO Harry Potter files

Post by aluigi »

"caff" is an audio file.
customchar.bin contains no data.
"FUSE" ("FUSE1.00") is a format used also in other games and I don't remember to have seen solutions for extracting it.
hackspeedok
Posts: 404
Joined: Mon Oct 06, 2014 6:41 pm

Re: LEGO Harry Potter files

Post by hackspeedok »

thanks aluigi :(
Last edited by hackspeedok on Sat Jan 24, 2015 5:25 pm, edited 1 time in total.
hackspeedok
Posts: 404
Joined: Mon Oct 06, 2014 6:41 pm

Re: LEGO Harry Potter files

Post by hackspeedok »

aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: LEGO Harry Potter files

Post by aluigi »

hackspeedok
Posts: 404
Joined: Mon Oct 06, 2014 6:41 pm

Re: LEGO Harry Potter files

Post by hackspeedok »

Hi Aluigi, i got an error
http://i.imgur.com/FJI0hiq.png
hackspeedok
Posts: 404
Joined: Mon Oct 06, 2014 6:41 pm

Re: LEGO Harry Potter files

Post by hackspeedok »

aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: LEGO Harry Potter files

Post by aluigi »

The good news is that this sample has the 0x80000000 flag but the bad news is that the files can't be decompressed.
I suspect that flag is used for encryption rather than compression but I can't confirm it.
I have updated the script only for skipping these files.
hackspeedok
Posts: 404
Joined: Mon Oct 06, 2014 6:41 pm

Re: LEGO Harry Potter files

Post by hackspeedok »

aluigi wrote:The good news is that this sample has the 0x80000000 flag but the bad news is that the files can't be decompressed.
I suspect that flag is used for encryption rather than compression but I can't confirm it.
I have updated the script only for skipping these files.

Thanks so much Aluigi, but i can't find any language files :(
And, i got many 0Kb files when using new script 0.1.1
http://i.imgur.com/aPPEpXS.png
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: LEGO Harry Potter files

Post by aluigi »

The zero-size files are correct, the archives contains many of them.
You can verify it very easily by searching the following bytes: 22 15 83 0D 00 00 00 00 which mean offset 0x0d831522 with size zero
hackspeedok
Posts: 404
Joined: Mon Oct 06, 2014 6:41 pm

Re: LEGO Harry Potter files

Post by hackspeedok »

aluigi wrote:The zero-size files are correct, the archives contains many of them.
You can verify it very easily by searching the following bytes: 22 15 83 0D 00 00 00 00 which mean offset 0x0d831522 with size zero

Thanks, hope new version will help me translate this game :)