-
Notifications
You must be signed in to change notification settings - Fork 56
Building with Debian or Ubuntu
Goal of this tutorial is to get a developer setup and run wargus without installation.
It is required to build stratagus first by following one of the following links
It is necessary to have either:
- The GOG edition of the game (highly recommended).
- The CD version of the game.
Clone the wargus source code and change directory
git clone https://github.com/Wargus/wargus.git && cd wargus/
Inside the folder run cmake
with the following arguments:
cmake CMakeLists.txt -DSTRATAGUS=/path/to/binary/stratagus -DSTRATAGUS_INCLUDE_DIR="/path/to/folder/stratagus/gameheaders"
-
-DSTRATAGUS=/path/to/binary/stratagus
Is the path to the stratagus binary built from the source. - Insert in
-DSTRATAGUS_INCLUDE_DIR
the correct folder to your stratagus gameheaders - In case you activated stratagus debug options
-DCMAKE_BUILD_TYPE=Debug
please use stratagus-dbg binary
After this just run the make
command
Inside the wargus directory execute the ./wargus
command. Follow the dialog process and point to your Warcraft CD or folder.
Inside the wargus folder simply run the command wargus
.
The default directory for data is $HOME/.stratagus/data.Wargus
or $HOME/.local/share/stratagus/data.Wargus