You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pure Java [bwapi](https://github.com/bwapi/bwapi) 4.4.0 client implementation backed by [N00byEdge](https://github.com/N00byEdge)'s [JavaBWAPIBackend](https://github.com/N00byEdge/JavaBWAPIBackend) idea and automated by [Bytekeeper](https://github.com/Bytekeeper).
4
5
5
6
Also contains a modified version of the pure Java BWEM implementation from [BWAPI4J](https://github.com/OpenBW/BWAPI4J).
6
7
7
-
## goals
8
+
## Goals
9
+
8
10
- Have a similar (Java) interface to BWMirror to make porting BWMirror bots easy without all the DLL and JNI hassle and overhead.
9
-
- Stay as updated as possible with the BWAPI releases
11
+
- Stay as updated as possible with the BWAPI releases.
12
+
13
+
## Advantages
14
+
15
+
- No dependency on external DLL's.
16
+
- At least [5x](https://github.com/JavaBWAPI/JBWAPI/issues/17) faster compared to bwmirror for primitives as it directly reads the memory mapped client file. Even faster for bwapi objects as it also avoids type marshalling
17
+
- Supports both 32 and 64 bit Java (e.g. [deeplearning4j](https://deeplearning4j.org/) requires 64 bit Java which bwmirror doesn't support).
18
+
- BWEM instead of BWTA as map analyser.
10
19
11
-
## advantages
12
-
- no dependency on external DLL's
13
-
- at least [5x](https://github.com/JavaBWAPI/JBWAPI/issues/17) faster compared to bwmirror for primitives as it directly reads the memory mapped client file. Even faster for bwapi objects as it also avoids type marshalling
14
-
- supports both 32 and 64 bit Java (e.g. [deeplearning4j](https://deeplearning4j.org/) requires 64 bit Java which bwmirror doesn't support)
15
-
- BWEM instead of BWTA as map analyser
20
+
## Warnings
16
21
17
-
## warnings
18
-
- JBWAPI by default has Lateny Compensation disabled (and at the moment has no LatCom at all).
22
+
- JBWAPI by default has Latency Compensation disabled (and at the moment has no LatCom at all).
19
23
- A fake BWTA is provided for easier porting, but it translates BWTA calls to their respective BWEM calls, so specific Regions/Chokepoints etc. may differ.
20
24
21
-
## usage
22
-
**maven**
25
+
## Usage
23
26
24
-
Add JitPack as a repository
27
+
**Maven**
28
+
29
+
Add JitPack as a repository:
25
30
```
26
31
<repositories>
27
32
<repository>
@@ -30,7 +35,7 @@ Add JitPack as a repository
30
35
</repository>
31
36
</repositories>
32
37
```
33
-
Add JBWAPI as a dependecy
38
+
Add JBWAPI as a dependency:
34
39
```
35
40
<dependency>
36
41
<groupId>com.github.JavaBWAPI</groupId>
@@ -39,9 +44,9 @@ Add JBWAPI as a dependecy
39
44
</dependency>
40
45
```
41
46
42
-
**gradle**
47
+
**Gradle**
43
48
44
-
Add JitPack as a repository
49
+
Add JitPack as a repository:
45
50
```
46
51
allprojects {
47
52
repositories {
@@ -50,31 +55,31 @@ allprojects {
50
55
}
51
56
}
52
57
```
53
-
Add JBWAPI as a dependency
58
+
Add JBWAPI as a dependency:
54
59
```
55
60
dependencies {
56
61
implementation 'com.github.JavaBWAPI:JBWAPI:0.8'
57
62
}
58
63
```
59
64
60
-
**jar**
65
+
**Jar**
61
66
62
67
Alternatively add the latest .jar from the [releases](https://github.com/JavaBWAPI/JBWAPI/releases) page to your project.
63
68
64
-
## compilation
69
+
## Compilation
70
+
65
71
`mvnw.cmd package`
66
72
67
73
or if you already have maven installed
68
74
69
75
`mvn package`
70
76
71
-
## documentation
77
+
## Documentation
72
78
73
79
The API documentation can be found [here](https://javabwapi.github.io/JBWAPI/).
74
80
75
81
You can also ask any further questions on the [SSCAIT Discord](https://discord.gg/DqvHsq9)
76
82
77
-
## tutorial
83
+
## Tutorial
78
84
79
85
If you are a just starting out with bot development, it might be helpful to follow the [tutorial](https://github.com/JavaBWAPI/Java-BWAPI-Tutorial/wiki)!
0 commit comments