Kotlin/Java library to parse MPQ archives used by Blizzard games. Written mostly for Starcraft II replay files.
Follow the steps below to use this within project.
implementation group: 'me.honnold', name: 'mpq', version: ...
<dependency>
<groupId>me.honnold</groupId>
<artifactId>mpq</artifactId>
<version>...</version>
</dependency>
Import the base Archive
class and supply a path to the MPQ file.
import me.honnold.mpq.Archive;
public class Example {
public static void main(String[] args) {
Archive archive = new Archive(/* Path to file */);
// ...
}
}
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Jay Honnold
Project Link: https://github.com/jhonnold/mpq