Jump to content

Recommended Posts

Posted

So I'm trying to extract the contents of these .CPK files from DIablo 3. The Switch version uses some alternate format though and I haven't found any programs that are compatible with it. Does anybody know of this??

  • 5 months later...
Posted
On 2024/11/17 at AM12点53分, spamzilla said:

这是较小的文件之一。大多数文件至少有 200MB。Common.cpk 的大小为 2.38GB。

服务器通用.7z 3.67 MB · 4 次下载

The patch file you provide uses zlib compression and unknown compression (190D) headers, which might be better if someone could provide a specific compression type of 190D
The structure of the file seems a bit messy, I don't know if the index part is encrypted
Simply put, the file can be divided into four parts
Additional data (including magic number, version, number of files, unknown)
Unknown data (it should be the index part, but it's very messy)
File name part (the parsed file name corresponds to the previous number of files)
Compressed data block part (one data block includes multiple compressed files, each data block separated by a bunch of empty bytes)
Each compressed data includes an additional six bytes
4 byte unknown and 2 byte length
Compressing data is normal and can be decompressed
The problem is that some extra data represents a bit of error in the length of the data, resulting in a forced stop when the parsing is halfway.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...