You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
6 months ago | |
---|---|---|
.. | ||
StormLib.xcodeproj | 8 months ago | |
doc | 8 months ago | |
src | 6 months ago | |
storm_dll | 8 months ago | |
test | 8 months ago | |
.gitignore | 6 months ago | |
CMakeLists.txt | 6 months ago | |
Info.plist | 8 months ago | |
LICENSE | 8 months ago | |
PostBuild.bat | 8 months ago | |
Premake5.lua | 8 months ago | |
Publish.bat | 8 months ago | |
README.md | 8 months ago | |
StormLib.kdev4 | 8 months ago | |
StormLib_vs08.sln | 8 months ago | |
StormLib_vs08.vcproj | 8 months ago | |
StormLib_vs08_dll.vcproj | 8 months ago | |
StormLib_vs08_test.vcproj | 8 months ago | |
StormLib_vs19.sln | 8 months ago | |
StormLib_vs19.vcxproj | 8 months ago | |
StormLib_vs19.vcxproj.filters | 8 months ago | |
StormLib_vs19_dll.vcxproj | 8 months ago | |
StormLib_vs19_dll.vcxproj.filters | 8 months ago | |
StormLib_vs19_test.vcxproj | 8 months ago | |
StormLib_vs19_test.vcxproj.filters | 8 months ago | |
make-msvc.bat | 8 months ago | |
make.bat | 8 months ago | |
sources | 8 months ago |
README.md
StormLib
This is official repository for the StomLib library, an open-source project that can work with Blizzard MPQ archives.
Installation and basic usage
Linux
- Download latest release
- Install StormLib:
$ cd <path-to-StormLib>
$ cmake CMakeLists.txt
$ make
$ make install
- Include StormLib in your project:
#include <StormLib.h>
- Make sure you compile your project with
-lstorm -lz -lbz2
Windows (Visual Studio 2008)
- Download the latest release of StormLib
- Open the solution file
StormLib_vs08.sln
in Visual Studio 2008 - Choose "Build / Batch Build" and select every build of "StormLib"
- Choose "Rebuild"
- The result libraries are in
.\bin\Win32
and.\bin\x64
Windows (Visual Studio 2017 or 2019)
- Make sure you have SDK 10.0.17134.0 installed
- Download the latest release of StormLib
- Open the solution file
StormLib_vs19.sln
in Visual Studio 2017/2019 - Choose "Build / Batch Build" and select every build of "StormLib"
- Choose "Rebuild"
- The result libraries are in
.\bin\Win32
and.\bin\x64
Windows (Test Project)
- Include the main StormLib header:
#include <StormLib.h>
- 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
- Rebuild