|
1 | 1 | # BNCSUtil |
2 | 2 | ## Preface |
3 | 3 | **BNCSUtil** is the **B**attle.**N**et **C**hat **S**ervice **Util**ity which |
4 | | -aids applications trying to logon to Battle.net™ v1 using the binary |
| 4 | +aids applications trying to logon to Classic Battle.net™ using the binary |
5 | 5 | protocol. Specifically, BNCSUtil has functions that help with the cryptography |
6 | 6 | of game versions, keys, and passwords. |
7 | 7 |
|
8 | 8 | ## Installing |
9 | | -Simply place the .so or .dll file in the same directory as the application that |
10 | | -wishes to use it. If this does not work, install the file into the system |
| 9 | +Simply place the `.so` or `.dll` file in the same directory as the application |
| 10 | +that wishes to use it. If this does not work, install the file into the system |
11 | 11 | library directory. |
12 | 12 |
|
13 | | -On Windows, this directory is: |
| 13 | +### Windows |
| 14 | +Copy the file to: |
| 15 | + |
14 | 16 | ``` |
15 | 17 | C:\Windows\System32 |
16 | 18 | ``` |
17 | 19 |
|
18 | | -On Linux, this directory is: |
| 20 | +### Linux |
| 21 | +If you just have the `.so` file, copy it to: |
| 22 | + |
19 | 23 | ``` |
20 | 24 | /usr/lib/ |
21 | 25 | ``` |
22 | 26 |
|
| 27 | +And run: |
| 28 | + |
| 29 | +``` |
| 30 | +sudo ldconfig |
| 31 | +``` |
| 32 | + |
| 33 | +If you have just compiled from source, run this instead: |
| 34 | + |
| 35 | +``` |
| 36 | +sudo make install |
| 37 | +``` |
| 38 | + |
23 | 39 | ## Building |
24 | 40 | ### Windows |
25 | 41 | The official build of BNCSUtil for Windows is produced using Visual Studio 2005 |
26 | | -using the solution file in the `vc8_build` folder. The `vc7_build` is no longer |
27 | | -officially used or supported. |
| 42 | +using the solution file in the `vc8_build` folder. |
28 | 43 |
|
29 | 44 | BNCSUtil requires GMP. |
30 | 45 |
|
31 | 46 | ### Linux |
32 | 47 | To build: |
33 | 48 | ``` |
34 | | -./configure |
| 49 | +cd src/bncsutil |
| 50 | +make clean |
35 | 51 | make |
36 | | -make install |
37 | 52 | ``` |
38 | 53 |
|
39 | | -If you have a fresh checkout or are having build-related issues, run the |
40 | | -following to (re)generate the configure script: |
41 | | -``` |
42 | | -autoreconf -if |
43 | | -``` |
| 54 | +If you are having build related issues, ensure that: |
44 | 55 |
|
45 | | -Note that to use `autoreconf` you will need to have GNU `autotools` installed. |
| 56 | +- You have the `gcc` package installed. |
| 57 | +- You have the `glibc` development package installed. |
| 58 | +- You have the `gmp` development package installed. |
0 commit comments