Skip to content
No description or website provided.
Ruby C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
ext
lib
test/fixtures
.gitignore
README.markdown
Rakefile
VERSION
libmpq-ruby.gemspec

README.markdown

libmpq-ruby

A very basic wrapper to the libmpq library. It allows you to read, decrypt and unpack MPQ files.

Usage

require 'mpq'

archive = MPQ("test/fixtures/replay.SC2replay")
# => #<MPQ::Archive:0x1003732b8 @path="test/fixtures/replay.SC2replay"> 

# list the files in the archive
archive.manifest
# => ["replay.attributes.events", "replay.details", ... truncated for legibility

archive.read_file('replay.message.events')
# => "\000\"\200\000\000\034\000\000 ... truncated for legibility
Something went wrong with that request. Please try again.