Drake53 / War3Net

A .NET implementation of Warcraft III related libraries.
MIT License
124 stars 27 forks source link

Issues on large mpq files #10

Closed IceReaper closed 3 years ago

IceReaper commented 3 years ago

Problem lies here: public const int MaxSize = 0x1 << 15; On my particular mpq file, size is 65536, so << 16

IceReaper commented 3 years ago

To be a bit more specific on the files: Opening the "Installer Tome.mpq" from the WoW 1.0.0 discs.

IceReaper commented 3 years ago

I made a local Clone of this repo and changed the MaxSize constant. Worked flawless.

Drake53 commented 3 years ago

Thanks, fixed by: 9b095fca322bf9578bf8dd16abd6723005c23b38