Compiling GZDoom Builder

Required software:

Optional software:

Obtaining the source:

The GZDoom Builder source code is hosted at GitHub (https://github.com/m-x-d/GZDoom-Builder).

Quick start guide:

This guide assumes you are using Visual Studio 2008 / Visual C# 2008 Express Edition and TortioseGit.
  1. Create an empty folder, right click on it and choose "GIT Clone..." from the context menu.
  2. Enter "https://github.com/m-x-d/GZDoom-Builder.git" in the "URL" field, click OK and wait for the source to download.
  3. Open "Builder.sln" in the Visual Studio and make sure it compiles and runs (click the green "Play" button, or press F5).
    • If the Visual Studio complains about missing SlimDX reference in the Builder project, you'll need to re-add it manually. To do so, delete SlimDX from the References in the Solution Explorer, right click on the Builder project and choose "Add reference". On the .NET tab, choose SlimDX (.net 2.0, x86 version).
    • You can ignore the warning about missing JetBrains.Profiler.Core.Api reference. Everything should build fine, unless you choose a profiler-enabled build target (or you can use dotTrace Performance, if you have access to it).
  4. If you are planning to submit your changes to the main GZDoom Builder repository, it's recomeded to fork GZDoom Builder at GitHub, make the changes, then submit a Pull Request.

Batch files:

GZDB source comes with several batch files, which can be used to automatically compile and package the editor. Before launching a batch file for the first time, make sure to open it and check that variables holding software paths point to the right directories. These variables are always located near the top of the file, after the info block.