Overlord Xbox360 decompress

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
cockafej
Posts: 29
Joined: Wed Jun 06, 2018 4:39 pm

Overlord Xbox360 decompress

Post by cockafej »

Hi Aluigi,

Can you help me?
I want to translate this game, but i can't uncompress some files.
These files look like they're compressed with xcompress (LZXNATIVE), but their headers are a little different.
I can't uncompress them with xcompress_file.bms

Here are some samples:

https://mega.nz/#!kdZUyYrA!IUkkO6ttAMr2oS5SwhhVtwTAEag2aMbFRTtDI3LtvUY

Thank you in advance
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Overlord Xbox360 decompress

Post by aluigi »

There is just an uncompressed size 32bit at the beginning but everything looks ok, except that decompression fails.
No idea why since the fields are correct (checked with xcompress_file.bms).
This is the script that was supposed to do the job:

Code: Select all

comtype xmemdecompress
get SIZE long
savepos OFFSET
get ZSIZE asize
math ZSIZE - OFFSET
get NAME basename
clog NAME OFFSET ZSIZE SIZE
cockafej
Posts: 29
Joined: Wed Jun 06, 2018 4:39 pm

Re: Overlord Xbox360 decompress

Post by cockafej »

Thank you Aluigi,

Are you sure, that this file is valid native format?
I don't think so

Valid native format:
Magic: 0F F5 12 EE and after: 01 03

This file:
Magic: 0F F5 12 EE and after: 01 00

and i think the header of this file is 4 bytes longer.

Do you have any other ideas?

Thank you
cockafej
Posts: 29
Joined: Wed Jun 06, 2018 4:39 pm

Re: Overlord Xbox360 decompress

Post by cockafej »

aluigi wrote:There is just an uncompressed size 32bit at the beginning but everything looks ok, except that decompression fails.
No idea why since the fields are correct (checked with xcompress_file.bms).
This is the script that was supposed to do the job:

Code: Select all

comtype xmemdecompress
get SIZE long
savepos OFFSET
get ZSIZE asize
math ZSIZE - OFFSET
get NAME basename
clog NAME OFFSET ZSIZE SIZE


Hi Aluigi,

If I use your script with the comtype lzfu, it seems like it's trying to unpack something meaningful. :-)
But it's not exactly good, because it looks like there's a lack of data or it use a different kind of compression.

Can you check for me? Can you look at it for me?

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

Re: Overlord Xbox360 decompress

Post by aluigi »

lzfu is for text only, it's a common false positive in test results.