aarondl / mpq

A library for mpq file reading.
MIT License
2 stars 2 forks source link

Unable to open Diablo II MPQ files #2

Open willroberts opened 3 years ago

willroberts commented 3 years ago

Opening Diablo II MPQ files (e.g. d2data.mpq or d2exp.mpq) currently results in a panic:

panic: runtime error: index out of range [0] with length 0

aarondl commented 3 years ago

Out of all my repositories this was the last one I expected to get an issue haha. I really only used it for HoTS I'm not sure if D2 MPQs are different. Not -super- interested in figuring out why this is happening. But I'd be willing to help if you could narrow down what's up in the file format that's causing this.