{"repo":"BNETDocs/bncsutil","free":true,"listed":false,"github":"https://github.com/BNETDocs/bncsutil","clone":"git clone https://github.com/BNETDocs/bncsutil.git","description":"The Classic Battle.net™ client library","language":"C","stars":27,"topics":["library","battle-net","bot","blizzard","warcraft","starcraft","diablo","linux","windows","utility"],"license":"LGPL-2.1","category":"api-integrations-sdks","readme_excerpt":"BNCSUtil BNCSUtil is the B attle. N et C hat S ervice Util ity which aids applications trying to logon to Classic Battle.net&trade; using the binary protocol. Specifically, BNCSUtil has functions that help with the cryptography of game versions, keys, and passwords. BNCSUtil was originally written by Eric Naeseth (shadypalm88) and has since been maintained over the course of several years by the open source Battle.net community. Usage #include and link against bncsutil.lib or libbncsutil.so . For CMake add: Building To force a specific build (32bit or 64bit) add -DCMAKE GENERATOR PLATFORM=x86 or -DCMAKE GENERATOR PLATFORM=x64 to CMake flags. Change BUILD SHARED LIBS to build the library as static or shared. Windows Visual Studio 2022 Conan is used to install dependencies. GMP can't be installed as a shared library due to a bug. Mpir dependency option will be re-introduced once it is uploaded to conan index v2 (MR pending). In cmd or Visual Studio dev console run: amd64 x86 Alternatively open build/bncsutil.sln and build from Visual Studio. Linux Using system dependencies Install libgmp-dev on deb distros or gmp-devel on rpm distros. For 32bit builds, CMake will not warn you if you are missing 32bit glibc and GMP, you must install them manually first (CentOS/Fedora: glibc-devel.i686 and gmp-devel.i686 ). Using conan If you are using pyenv or building python3 from source, make sure you have libbz2-dev and liblzma-dev installed first or conan will fail to unpack dependencies. .d","default_branch":null,"files":null,"tree":[],"storefront":"/r/BNETDocs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BNETDocs/bncsutil/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}