mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-24 17:18:50 -05:00
.. | ||
doc | ||
src | ||
storm_dll | ||
StormLib.xcodeproj | ||
test | ||
.gitignore | ||
CMakeLists.txt | ||
Info.plist | ||
LICENSE | ||
make-msvc.bat | ||
make.bat | ||
PostBuild.bat | ||
Premake5.lua | ||
Publish.bat | ||
README.md | ||
sources | ||
StormLib_vs08_dll.vcproj | ||
StormLib_vs08_test.vcproj | ||
StormLib_vs08.sln | ||
StormLib_vs08.vcproj | ||
StormLib_vs19_dll.vcxproj | ||
StormLib_vs19_dll.vcxproj.filters | ||
StormLib_vs19_test.vcxproj | ||
StormLib_vs19_test.vcxproj.filters | ||
StormLib_vs19.sln | ||
StormLib_vs19.vcxproj | ||
StormLib_vs19.vcxproj.filters | ||
StormLib.kdev4 |
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