WWE 2K16 .pac file

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
beastedot9
Posts: 9
Joined: Mon Mar 07, 2016 4:54 pm

WWE 2K16 .pac file

Post by beastedot9 »

Hello, I've been looking at these files from WWE 2K16:

https://mega.nz/#!U95TwDJa!xXdR0iMsbD5N ... Cs1KC59CxQ

What's there is a regular pac file and then its a zlib compressed PACH but it doesn't seem like regular zlib. I was wondering if anyone had any clue as to how begin writing a script for this and if its even possible?

The data that I do know:

- Headers of the .pac files are always either "EPK8" or "EPAC".
- Next value long is always null
- Then another long value which seems to be the size of the archive (or possibly offset?)
- The names of the archvies always start at offset x00000800 and the data itself always starts at offset x00004000.

Apart from that, I have no idea how to begin opening the zlib compressed ones. Any help is appreciated :)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: WWE 2K16 .pac file

Post by aluigi »

yuke.bms extracts everything perfectly and the results of both the files are identical, so what's the problem? :)
beastedot9
Posts: 9
Joined: Mon Mar 07, 2016 4:54 pm

Re: WWE 2K16 .pac file

Post by beastedot9 »

Problem is I'm an idiot :p

Thank you for replying. I did try to unpack the zlib files with Yuke but some don't work. So if anyone encounters this use off zip to unpack those.