Skip to content

beaucollins/libmpq-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published