Pirates of the Caribbean: At World's End - obf. file name table

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Pirates of the Caribbean: At World's End - obf. file name table

Post by AlphaTwentyThree »

The TOC is plain but followed by what looks like some obfuscated file names: http://www35.zippyshare.com/v/z18xVIF1/file.html - Is there any way to get the file names for these archives?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Pirates of the Caribbean: At World's End - obf. file name table

Post by aluigi »

It's just the good old Eurocom:
http://aluigi.org/bms/gforce.bms
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Pirates of the Caribbean: At World's End - obf. file name table

Post by AlphaTwentyThree »

aluigi wrote:It's just the good old Eurocom:
http://aluigi.org/bms/gforce.bms

AHA! Thanks for that! :)
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Pirates of the Caribbean: At World's End - obf. file name table

Post by AlphaTwentyThree »

I found a file pair where the script stops without extracting all files: http://www27.zippyshare.com/v/ye0SHDQD/file.html
The data files are *.000 (3.584.512.000 Bytes) and *.001 (2.803.447.808 Bytes). The script stops at around 2.7 gb.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Pirates of the Caribbean: At World's End - obf. file name table

Post by aluigi »

With what error?
There is nothing strange in those offsets and sizes, the total sizes are 3577455652 and 2803447808 bytes
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Pirates of the Caribbean: At World's End - obf. file name table

Post by AlphaTwentyThree »

Strangely, the script extracts 1611 files with a total size of 2.964.566.997 Bytes. How could that be?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Pirates of the Caribbean: At World's End - obf. file name table

Post by aluigi »

The problem is that FLAGS4 field.
In Filelist.bin it is the real size of the files while in FILE_USA.BIN it's just 0x1, in the other games it's the amount of additional fields in the entry.
What is the platform of those archives?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Pirates of the Caribbean: At World's End - obf. file name table

Post by aluigi »

Can you provide the first 10mb of Filelist.000?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Pirates of the Caribbean: At World's End - obf. file name table

Post by aluigi »

Ok script 0.2.3
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Pirates of the Caribbean: At World's End - obf. file name table

Post by AlphaTwentyThree »

YAY! :D Thanks a lot, Luigi! :)