Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support MPQ format versions 3 and 4 #20

Open
eagleflo opened this issue Mar 1, 2013 · 1 comment
Open

Support MPQ format versions 3 and 4 #20

eagleflo opened this issue Mar 1, 2013 · 1 comment
Milestone

Comments

@eagleflo
Copy link
Owner

eagleflo commented Mar 1, 2013

See #19 for more details.

@daynekilheffer
Copy link

I started working on the header parsing in my fork.

From a recent replay of HOTS
MPQ archive header
------------------
magic                          'MPQ\x1a'
header_size                    208
archive_size                   83030
format_version                 3
sector_size_shift              5
hash_table_offset              82582
block_table_offset             82838
hash_table_entries             16
block_table_entries            12
extended_block_table_offset    0
hash_table_offset_high         0
block_table_offset_high        0
archive_size_64                83030
bet_table_position_64          82315
het_table_position_64          82231
hash_table_size_64             256
block_table_size_64            192
hi_block_table_size_64         0
het_table_size_64              68
bet_table_size_64              251
raw_chunk_size                 16384
offset                         1024

MPQ user data header
--------------------
magic                          'MPQ\x1b'
user_data_size                 512
mpq_header_offset              1024
user_data_header_size          60
content                        '...'

I'm not 100% on how to handle the het/bet values yet. I'm pretty sure replay files won't contain much information in those tables, and since SC2 is all I play from Blizzard, I may need example files.
Just wanted to give an update.

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

No branches or pull requests

2 participants