Skip to content
/ mypyq Public

Python 3.7+ library and utility script to deal with Blizzards MPQ archives.

Notifications You must be signed in to change notification settings

Meithal/mypyq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mypyq

Mypypq is a rewrite of https://github.com/TheSil/mpyq. It is meant to open hostile mpq's such as protected war3 maps.

Install

python -m pip install git+https://github.com/Meithal/mypyq.git

Usage

It can be used as a runpy module, eg python -m mypyq.

  • python -m mypyq --help to see usage.
  • python -m mypyq --bat to generate a .bat file on which you can drag and drop the mpqs you want to extract.

After creating a .bat file you can drag and drop the mpq files you want to have extracted onto the .bat file you created.

It can also be used as a library, eg

import pathlib
import mypyq

with pathlib.Path("your mpq path").open('rb') as f:
    ar = MPQArchive(f)
    print(ar.has_listfile)
    ...

About

Python 3.7+ library and utility script to deal with Blizzards MPQ archives.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages