

#Widelands free code#
Scripted maps for our regression test suiteĭiverse utilities: Building translations, code formatting, packaging Mac & Windows. Packaging for Debian-based Linux distributions Images, sounds, music, scripting, maps, campaigns, tribes. Scenariosįor contributing translations, see Testingįor helping with testing, see Triaging Issuesįor helping with issue management, see Directory Structure Directory More information about secrets may be found here. More information about Personal Access Tokens may be found here. Its value must be the hash of the token you just created. The secret must be named WIDELANDS_FORMAT_TOKEN. Create a secret in your widelands fork ( ).The token's note does not matter (use e.g. Select the scope Repo → public_repo for the new token. Create a Personal Access Token in your profile ( ).In order to ensure that our continuous integration suite will work properly for branches in your fork, it is strongly recommended that you create a personal access token for our formatting action: If you disable actions, no formatting will take place on your branches. You need to enable local and third-party actions in the Actions tab of your fork's settings to enable automatic formatting. Formatting is only triggered the first time you push after you opened the PR. Don't forget to run 'git pull' before you push again. When you push to an open pull request, the formatting changes will be pushed back to the branch after about four minutes. The master branch and open pull requests will be formatted automatically by a GitHub action that runs clang-format.
#Widelands free how to#
We have some instructions on how to use Git to help you if you're new to GitHub: Code
#Widelands free install#
Install into the target dir, this is /usr/local per default (you need root privileges!) unless you change it (see CMake options above) Currently only with Build Type Debug, but this is easily changed if necessary. These are the available targets: NameĬompile everything, up to executable with the settings from the cmake call make lang to build only the translations. You can add targets to the make or ninja command, e.g. Used embedded minizip sources (skip checking for installed minizip library) DCMAKE_INSTALL_PREFIX=~/widelands-install.ĭefine the destination of executables files (if installing)Īutodetected from git/bzr, or set by adding a VERSION fileįollow XDG-Basedir specification. Only available in Debug builds.ĭefine the target directory for the "install" target, e.g. You will have to clear the build directory if you want to switch this off again in a later build.īuild codecheck. ON for Debug builds / OFF for Release builds Note that CMake options are prefixed with -D. įor using the Ninja build system, call mkdir buildĭepending on the Ninja installation, the last line can also be ninja-build. For example, to create a release build, call cmake -DCMAKE_BUILD_TYPE=Release. When compiling has finished, you can call Widelands with cd. You can also call CMake manually: mkdir build When compiling has finished, you can call Widelands with. You can then compile by running our convenience script. You will need to install the following dependencies: We have more detailed documentation available at: Dependencies We support compiling Widelands for Linux, Windows under MSys2, and MacOs with GCC >= 5 or Clang/LLVM >= 6, though it might work with other compilers too.
#Widelands free download#
On how to download Widelands, see Compiling Some assets are released under various Creative Commons licenses – see the respective folders. The game was inspired by Settlers II™ (© Bluebyte) but has significantly more variety and depth to it. Widelands is a free, open source real-time strategy game with singleplayer campaigns and a multiplayer mode.
