NAME

MPQ - Perl module to parse MoPaQ Archive Format

SYNOPSIS

use MPQ;

my $mpq = MPQ->new(filename => 'my_game.sc2replay');
$mpq->parse;

my $archive = $mpq->archive;
print for $archive->list_file;
print $archive->file('(listfile)')->slurp;

DESCRIPTION

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.

METHODS

new

Constructor for the MPQ class. Has only one input parameter:

filename - path to the mpq archive file

parse

Method to do the parse of the MPQ file

shunt

Accessor to the MPQ::Shunt object (could be without it)

archive

Accessor to the MPQ::Archive object - heart of the MPQ file.

AUTHOR

cono q@cono.org.ua

C corporation (c)