Skip to content

Building with Debian or Ubuntu

Andreas edited this page Feb 28, 2023 · 8 revisions

Goal of this tutorial is to get a developer setup and run wargus without installation.

Building of stratagus

Building on Linux Building on macOS

clone the wargus source code and change to this folder

Building of wargus

cmake CMakeLists.txt -DSTRATAGUS=/path/to/binary/stratagus -DSTRATAGUS_INCLUDE_DIR="/path/to/folder/stratagus/gameheaders"

  • in case you activated stratagus debug options -DCMAKE_BUILD_TYPE=Debug please use stratagus-dbg binary
  • insert in -DSTRATAGUS_INCLUDE_DIR the correct folder to your stratagus gameheaders

make

Data extraction process for Warcraft II

  • change to wargus folder

./wargus

  • follow the dialog process and point to your Warcraft CD or folder
  • this takes some minutes

Running Wargus

  • change to wargus folder

/path/to/binary/stratagus -d /path/to/wargus/data

  • the default directory for data is $HOME/.stratagus/data.Wargus
Clone this wiki locally