Giter VIP home page Giter VIP logo

casclib's Introduction

CascLib

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 .

Using CascLib on Linux (generic cmake build)

  • cmake -L CMakeLists.txt
  • make

Using CascLib as shared library in Debian/Ubuntu (build packages)

  • dpkg-buildpackage -us -uc
  • cd ..
  • sudo dpkg -i libcasc1_3.2_amd64.deb libcasc-dev_3.2_amd64.deb

Using CascLib as static library in Windows

  1. Clone the CascLib repository into a local folder:

    git clone https://github.com/ladislav-zezula/CascLib.git

  2. Open one of the solution files in Microsoft Visual Studio

    • CascLib_vs17.sln for Visual Studio 2017
    • CascLib_vs15.sln for Visual Studio 2015
    • CascLib_vs08.sln for Visual Studio 2008
  3. Select Build / Batch Build and select all CascLib build configurations. Do a full build. The result LIB files for each platform are in .\bin\CascLib\Win32 and .\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)
  4. 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)

  5. Include CascLib.h in your project. CascLib.h will automatically select the required LIB file, depending on your project settings.

  6. Build your project.

Using CascLib as DLL in Windows

  1. Clone the CascLib repository into a local folder:

    git clone https://github.com/ladislav-zezula/CascLib.git

  2. Open one of the solution files in Microsoft Visual Studio

    • CascLib_vs17.sln for Visual Studio 2017
    • CascLib_vs15.sln for Visual Studio 2015
    • CascLib_vs08.sln for Visual Studio 2008
  3. Select Build / Batch Build and check all CascLib_dll Release configurations. Do a full build. The result DLL and LIB files for Win32 and x64 platforms are in:

    • .\bin\CascLib_dll\Win32\Release (32-bit build)
    • .\bin\CascLib_dll\x64\Release (64-bit build)
  4. Include CascLib.h and add CascLib.lib to your project and build it.

casclib's People

Contributors

ladislav-zezula avatar shauren avatar wainpetopia avatar herrvigg avatar darthgandalf avatar jeromnimo avatar doctaweeks avatar jagdeep-manik avatar poiuyqwert avatar andreas-volz avatar ihm-tswow avatar d07riv avatar timkurvers avatar liquidwater avatar fluxxu avatar bloerwald avatar bogdanw3 avatar brunosilvafreire avatar qartar avatar deamon87 avatar jnovack avatar xiangzhai avatar luzifix avatar skarndev avatar stijnherfst avatar tomrus88 avatar talv avatar zzahos-kg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.