Data::MPQ - Perl module to parse MoPaQ Archive Format
use Data::MPQ; my $mpq = Data::MPQ->new(filename => 'my_game.sc2replay'); $mpq->parse; my $archive = $mpq->archive; print for $archive->list_file; print $archive->file('(listfile)')->slurp;
This module give you a raw access to MPQ archive files.
MPQ, is an archiving file format used in several of Blizzard Entertainment's games.
Constructor for the Data::MPQ class. Has only one input parameter:
filename - path to the mpq archive file
Method to do the parse of the MPQ file
Accessor to the Data::MPQ::Shunt object (could be without it)
Accessor to the Data::MPQ::Archive object - heart of the MPQ file.
cono q@cono.org.ua
q@cono.org.ua
C corporation (c)
To install Data::MPQ, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::MPQ
CPAN shell
perl -MCPAN -e shell install Data::MPQ
For more information on module installation, please visit the detailed CPAN module installation guide.