Weird AFS2 file, can't extract files with it.

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
saintjejemon
Posts: 5
Joined: Thu May 07, 2015 5:57 pm

Weird AFS2 file, can't extract files with it.

Post by saintjejemon »

So I was extracting some HCA files from this Android Game, and came along with this AWB file that doesn't extract anything. It usually throws this error:

Image

used both aluigi's "AWB AFS2" scripts, the original and the 0.1.2 ones, and did not return anything except that error.

I suspect that there's something strange in the filestruct of that problematic file.

Image

Here are the samples if you want to investigate about it.

https://drive.google.com/file/d/0B9LFlMZ0cANrc0JRc3RWX05RalE/view?usp=sharing

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

Re: Weird AFS2 file, can't extract files with it.

Post by aluigi »

Script 0.1.3.
The additional data after offset 0xda00 is not referenced but it's a sequence of @UTF (CRI framework?) without real content.
saintjejemon
Posts: 5
Joined: Thu May 07, 2015 5:57 pm

Re: Weird AFS2 file, can't extract files with it.

Post by saintjejemon »

Thanks a lot aluigi. It finally worked. I didn't know you updated that one.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Weird AFS2 file, can't extract files with it.

Post by aluigi »

I updated it after having analyzed your samples :)