Skip to content

Add some more known details to the MPK unpacker. - #19

Open
darkstar wants to merge 1 commit into
xdanieldzd:masterfrom
darkstar:mpk
Open

Add some more known details to the MPK unpacker.#19
darkstar wants to merge 1 commit into
xdanieldzd:masterfrom
darkstar:mpk

Conversation

@darkstar

Copy link
Copy Markdown
Contributor

Source for this is the QuickBMS script by aluigi

  • The Unknow0x06 field is the file version. Presumably there are version
    0, version 1 and version 2 MPK files.
  • The version and number of files can be read as signed, since they're
    cast to signed later anyway.
  • Version 0 and 1 files have smaller offset and size fields (32 vs 64 bit)
  • The Unknown value for each file is the compression flag. 0x00 is
    uncompressed, 0x01 (or anything != 0x00?) is compressed.

The Unknow0x06 field is the file version. Presumably there are version
0, version 1 and version 2 MPK files.
The version and number of files can be read as signed, since they're
cast to signed later anyway.
Version 0 and 1 files have smaller offset and size fields.
The Unknown value for each file is the compression flag. 0x00 is
uncompressed, 0x01 (or anything != 0x00?) is compressed.
@mchubby

mchubby commented Apr 26, 2018

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants