Skip to content

Compiling from Source

pionere edited this page Oct 10, 2021 · 4 revisions

Downloading nightly releases is the easiest way to get the desired version of the game, but it can be compiled from source as well. The nightly releases are created by GitHub using nightly.yml.

Notable compiler options (default value):

  • NOSOUND (OFF) : Disable sound support
  • NOWIDESCREEN (OFF) : Disable widescreen support
  • NONET (OFF) : Disable network support
  • ADAPTIVE_NETUPDATE (ON) : Build adaptive network support
  • NETENCRYPT (ON) : Encrypt network messages
  • TCPIP (ON) : Build with tcp/ip support
  • NOHOSTING (ON) : Disable support for host-only games
  • HOSTONLY (OFF) : Disable support for non host-only games
  • HELLFIRE (OFF) : Build hellfire version
  • HAS_JOYSTICK (1) : Build with joystick support
  • HAS_DPAD (1) : Build with dpad support
  • HAS_GAMECTRL (1) : Build with game-controller support
  • HAS_TOUCHPAD (1) : Build with touchpad support
  • SCREEN_WIDTH : Build with hardcoded screen width value
  • SCREEN_HEIGHT : Build with hardcoded screen height value
  • MPQONE : Merge the mpq files to a single file. Takes a few minutes, but required to be done only once.

Detailed compiling instructions can be found here.

Clone this wiki locally