1
0
mirror of https://github.com/Rogiel/php-mpq synced 2025-12-06 00:13:04 +00:00
2021-08-03 21:50:58 +03:00
2016-01-06 21:20:40 -02:00
2016-01-07 17:25:40 -02:00
2016-01-07 17:25:40 -02:00
2020-04-03 16:58:36 -03:00
2016-01-07 17:25:40 -02:00
2021-08-03 21:50:58 +03:00

A PHP library for MPQ reading

This library allows you to read MPQ files from PHP.

Installation

The recommended way of installing this library is using Composer.

composer require "rogiel/mpq"

Example

use Rogiel\MPQ\MPQFile;

$file = MPQFile::parseFile(__DIR__.'/test.SC2Replay');
$file->parse();
$stream = $file->openStream('replay.details');
while($data = $stream->readBytes(100)) {
	echo $data;
}

TODO

  • Encrypted files (parcial support)
  • File writing
Description
No description provided
Readme 110 KiB
Languages
PHP 100%