Skip to content

Commit 82177fe

Browse files
committed
More little improvments in examples
1 parent f7f2b35 commit 82177fe

File tree

6 files changed

+11
-8
lines changed

6 files changed

+11
-8
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Also, for Java binding JAVA_HOME environment variable must be set.
4646

4747
###Windows
4848

49-
We are providing compiled runtime binaries and development libraries for Windows [here](https://github.com/Marqt/ViZDoom/releases/download/1.0.0-rc/ViZDoom-1.0.0-rc-Win-x86_64.zip)
49+
We are providing compiled runtime binaries and development libraries for Windows [here](https://github.com/Marqt/ViZDoom/releases/download/1.0.0/ViZDoom-1.0.0-Win-x86_64.zip).
5050

5151
####Dependencies
5252
* CMake 3.0+

examples/java/Basic.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public static void main (String[] args) {
1717
DoomGame game = new DoomGame();
1818

1919
// Sets path to vizdoom engine executive which will be spawned as a separate process. Default is "./vizdoom".
20-
game.setViZDoomPath("../../bin/vizdood");
20+
game.setViZDoomPath("../../bin/vizdoom");
2121

2222
// Sets path to doom2 iwad resource file which contains the actual doom game-> Default is "./doom2.wad".
2323
game.setDoomGamePath("../../scenarios/freedoom2.wad");

examples/java/README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
Use CMake to generate Makefile or project or build it using:
22
```bash
33
javac -classpath "../../bin/java/vizdoom.jar" Example.java
4-
jar cf ../../bin/examples/example.jar Example.java
4+
jar cf ../../bin/examples/example.jar Example.class
55
```
66

77
Examples will be build in ``vizdoom_root_dir/bin/examples``.
88
To run example use:
9-
``java -Djava.library.path="../java" -classpath "../java/vizdoom.jar:example.jar" Example``
9+
```bash
10+
java -Djava.library.path="../java" -classpath "../java/vizdoom.jar;example.jar" Example
11+
```
12+
1013

1114
To run the examples, [freedoom2.wad]( https://freedoom.github.io/download.html) should be placed in the ``scenarios`` subdirectory.
1215

examples/java/Seed.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ public static void main (String[] args) {
1717
DoomGame game= new DoomGame();
1818

1919
// Choose scenario config file you wish to be watched by agent.
20-
// Don't load two configs cause the second will overwrite the first one.
21-
// Multiple config files are ok but combining these ones doesn't make much sense.
20+
// Don't load two configs cause the second will overwrite the first one.
21+
// Multiple config files are ok but combining these ones doesn't make much sense.
2222

2323
//game.loadConfig("../../examples/config/deadly_corridor.cfg")
2424
//game.loadConfig("../../examples/config/defend_the_center.cfg")

examples/java/Spectator.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public static void main (String[] args) {
2121

2222
DoomGame game= new DoomGame();
2323
// Choose scenario config file you wish to watch.
24-
// Don't load two configs cause the second will overrite the first one.
24+
// Don't load two configs cause the second will overwrite the first one.
2525
// Multiple config files are ok but combining these ones doesn't make much sense.
2626

2727
//game.loadConfig("../../examples/config/basic.cfg");

examples/python/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
To run the examples, [freedoom2.wad]( https://freedoom.github.io/download.html) should be placed in the ``scenarios`` subdirectory.
2-
Furthermore, you need to have ``vizdoom.so`` present (or symlinked) in the ``examples/python`` directory (on Linux it should be done automatically by the building process).
2+
Furthermore, you need to have ``vizdoom.so/vizdoom.pyd`` present (or symlinked) in the ``examples/python`` directory (on Linux it should be done automatically by the building process).
33

44
---
55
##Examples

0 commit comments

Comments
 (0)