CascLib is an open-source implementation of library for reading Blizzard's CASC storages since 2014.
For API documentation, refer to http://www.zezula.net/en/casc/casclib.html .
- cmake -L CMakeLists.txt
- make
- dpkg-buildpackage -us -uc
- cd ..
- sudo dpkg -i libcasc1_3.2_amd64.deb libcasc-dev_3.2_amd64.deb
-
Clone the CascLib repository into a local folder:
git clone https://github.com/ladislav-zezula/CascLib.git -
Open one of the solution files in Microsoft Visual Studio
CascLib_vs17.slnfor Visual Studio 2017CascLib_vs15.slnfor Visual Studio 2015CascLib_vs08.slnfor Visual Studio 2008
-
Select
Build / Batch Buildand select allCascLibbuild configurations. Do a full build. The result LIB files for each platform are in.\bin\CascLib\Win32and.\bin\CascLib\x64. The following build configurations are available:- DebugAD\CascLibDAD.lib (Debug Ansi version with dynamic CRT library)
- DebugAS\CascLibDAS.lib (Debug Ansi version with static CRT library)
- DebugUD\CascLibDUD.lib (Debug Unicode version with dynamic CRT library)
- DebugUS\CascLibDUS.lib (Debug Unicode version with static CRT library)
- ReleaseAD\CascLibRAD.lib (Release Ansi version with dynamic CRT library)
- ReleaseAS\CascLibRAS.lib (Release Ansi version with static CRT library)
- ReleaseUD\CascLibRUD.lib (Release Unicode version with dynamic CRT library)
- ReleaseUS\CascLibRUS.lib (Release Unicode version with static CRT library)
-
After the build is done, put all 32-bit LIBs to a library directory (e.g.
lib32) and all 64-bit LIBs into another directory (e.g.lib64) -
Include
CascLib.hin your project.CascLib.hwill automatically select the required LIB file, depending on your project settings. -
Build your project.
-
Clone the CascLib repository into a local folder:
git clone https://github.com/ladislav-zezula/CascLib.git -
Open one of the solution files in Microsoft Visual Studio
CascLib_vs17.slnfor Visual Studio 2017CascLib_vs15.slnfor Visual Studio 2015CascLib_vs08.slnfor Visual Studio 2008
-
Select
Build / Batch Buildand check allCascLib_dll Releaseconfigurations. Do a full build. The result DLL and LIB files forWin32andx64platforms are in:.\bin\CascLib_dll\Win32\Release(32-bit build).\bin\CascLib_dll\x64\Release(64-bit build)
-
Include
CascLib.hand addCascLib.libto your project and build it.