Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ladislav-zezula/StormLib
Official GitHub repository of the StormLib library created by Ladislav Zezula (author)
https://github.com/ladislav-zezula/StormLib
Last synced: 18 days ago
JSON representation
Official GitHub repository of the StormLib library created by Ladislav Zezula (author)
- Host: GitHub
- URL: https://github.com/ladislav-zezula/StormLib
- Owner: ladislav-zezula
- License: mit
- Created: 2013-01-11T12:59:27.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2024-10-21T07:15:08.000Z (24 days ago)
- Last Synced: 2024-10-21T10:13:59.360Z (23 days ago)
- Language: C
- Homepage: http://www.zezula.net/mpq.html
- Size: 3.89 MB
- Stars: 560
- Watchers: 54
- Forks: 213
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# StormLib
This is official repository for the StormLib library, an open-source project that can work with Blizzard MPQ archives.
## Installation and basic usage
### Linux
1. Download latest release
2. Install StormLib:
```
$ cd
$ cmake CMakeLists.txt
$ make
$ make install
```
3. Include StormLib in your project: `#include `
4. Make sure you compile your project with `-lstorm -lz -lbz2`### Windows (Visual Studio 2008)
1. Download the latest release of StormLib
2. Open the solution file `StormLib_vs08.sln` in Visual Studio 2008
3. Choose "Build / Batch Build" and select every build of "StormLib"
4. Choose "Rebuild"
5. The result libraries are in `.\bin\Win32` and `.\bin\x64`### Windows (Visual Studio 2017 or 2019)
0. Make sure you have SDK 10.0.17134.0 installed
1. Download the latest release of StormLib
2. Open the solution file `StormLib_vs19.sln` in Visual Studio 2017/2019
3. Choose "Build / Batch Build" and select every build of "StormLib"
4. Choose "Rebuild"
5. The result libraries are in `.\bin\Win32` and `.\bin\x64`### Windows (Test Project)
1. Include the main StormLib header: `#include `
2. Set the correct library directory for StormLibXYZ.lib:
* X: D = Debug, R = Release
* Y: A = ANSI build, U = Unicode build
* Z: S = Using static CRT library, D = Using Dynamic CRT library
3. Rebuild