Xbox compressed files 0ff512ed (XMemDecompressSegmentTD)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Xbox compressed files 0ff512ed (XMemDecompressSegmentTD)

Post by aluigi »

Just found how to decompress the Xbox compressed files that have the signature "\x0f\xf5\x12\xed".
There is a function in xcompress.lib called XMemDecompressSegmentTD (yeah no results on Google) that is not available in xcompress.h and it's necessary to decompress each chunk because you can't use the standard XMemDecompress.

In the next version of QuickBMS there will be some interesting improvements about Xmemdecompress, including the full automatic decompression of the 0ff512ed and 0ff512ee files and the availability of comtype XMemDecompressSegmentTD.
michalss
Posts: 320
Joined: Sun Aug 10, 2014 12:49 pm

Re: Xbox compressed files 0ff512ed (XMemDecompressSegmentTD)

Post by michalss »

well this si nice :) Do you have any example game pls ? Just name is enought ... gthx
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Xbox compressed files 0ff512ed (XMemDecompressSegmentTD)

Post by aluigi »

Try with Google using this keyword (included "):
"0f f5 12"

Venetica, Quake Arena Arcade, Onechanbara Z Kagura, Robotic Notes, Tales of Vesperia, Afro Samurai, probably even WatchDogs.

These files can be easily decompressed with xbdecompress.exe, but I like to implement this stuff natively in QuickBMS :)
I will not implement the re-compression (for reimporting) because "0f f5 12" is a file format and not a compression, so this is just for having an on-fly decompression if xbdecompress is not available or can't be shared or it's too boring to use it for each file.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Xbox compressed files 0ff512ed (XMemDecompressSegmentTD)

Post by aluigi »

I have just fully implemented the handling of these two files inside the private beta version of quickbms.
cra0
Posts: 17
Joined: Fri Aug 08, 2014 12:51 am

Re: Xbox compressed files 0ff512ed (XMemDecompressSegmentTD)

Post by cra0 »

luigi I think titanfall uses this too (on the 360) BPK format i can provide sample if you need
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Xbox compressed files 0ff512ed (XMemDecompressSegmentTD)

Post by aluigi »

It's not necessary I can create any sample with xbcompress.exe, I already tested various samples and my implementation seems complete.