triggerhappy/mpq
Composer 安装命令:
composer create-project triggerhappy/mpq
包简介
Handle the MPQ (MoPaQ) format natively from PHP with support for Warcraft III & Starcraft II.
README 文档
README
Handle the MPQ (MoPaQ) format natively from PHP.
Supported Archives:
- MPQ Archives (v1.0)
- Warcraft III Maps
- Warcraft III Campaigns
- Starcraft II Maps
Supported Compressions:
- Gzip
- Bzip2
- IMA ADPCM (Mono/Stereo)
- Huffman
Demo: https://www.wc3maps.com/
Installation
Requires: Composer
Clone the repository and run composer install
Example
<?php require __DIR__ . '/vendor/autoload.php'; use TriggerHappy\MPQ\MPQArchive; $mpq = new MPQArchive("wc3map.w3x"); echo $mpq->readFile("war3map.j"); ?>
统计信息
- 总下载量: 33
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 20
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-only
- 更新时间: 2018-07-30