Shipwright/StormLib
Nicholas Estelami b83cd172b2 Replaced StormLib .lib files with source code.
Some modifications to handle backslashes and forward slashes, along with some optimizations to speed up OTR generation.
2022-06-14 01:13:18 -04:00
..
doc Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
src Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
storm_dll Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
StormLib.xcodeproj Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
test Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
.gitignore Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
Info.plist Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
LICENSE Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
make-msvc.bat Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
make.bat Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
PostBuild.bat Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
Premake5.lua Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
Publish.bat Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
README.md Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
sources Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
StormLib_vs08_dll.vcproj Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
StormLib_vs08_test.vcproj Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
StormLib_vs08.sln Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
StormLib_vs08.vcproj Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
StormLib_vs19_dll.vcxproj Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
StormLib_vs19_dll.vcxproj.filters Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
StormLib_vs19_test.vcxproj Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
StormLib_vs19_test.vcxproj.filters Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
StormLib_vs19.sln Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
StormLib_vs19.vcxproj Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
StormLib_vs19.vcxproj.filters Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00
StormLib.kdev4 Replaced StormLib .lib files with source code. 2022-06-14 01:13:18 -04:00

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

  1. Download latest release
  2. Install StormLib:
$ cd <path-to-StormLib>
$ cmake CMakeLists.txt
$ make
$ make install
  1. Include StormLib in your project: #include <StormLib.h>
  2. 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)

  1. Make sure you have SDK 10.0.17134.0 installed
  2. Download the latest release of StormLib
  3. Open the solution file StormLib_vs19.sln in Visual Studio 2017/2019
  4. Choose "Build / Batch Build" and select every build of "StormLib"
  5. Choose "Rebuild"
  6. The result libraries are in .\bin\Win32 and .\bin\x64

Windows (Test Project)

  1. Include the main StormLib header: #include <StormLib.h>
  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