Generals Mod Builder Sample Project

September 18, 2026 ยท View on GitHub

A minimal Mod project showing how to build game release files with the Generals Mod Builder. Copy this project as a starting point for your own Mod.

Clone

The Mod Builder is a git submodule, so clone recursively:

git clone --recursive https://github.com/TheSuperHackers/GeneralsModBuilderSample

If the repository is already cloned, fetch the submodule with:

git submodule update --init --recursive

Nothing else needs to be installed. The Mod Builder launcher installs uv on first use, and uv then downloads a suitable Python and the required packages by itself. The build tools such as crunch, gametextcompiler and generalsbigcreator are downloaded on first build into Project/Scripts/Windows/.tools, and are verified against the sha256 hashes in WindowsTools.json.

Build

Run any of the scripts in Project/Scripts:

ScriptWhat it does
BuildInstall.batBuilds the Mod and installs it into the game folder
BuildInstallRun.batBuilds, installs, runs the game, then uninstalls when the game closes
BuildInstallRunWithGui.batThe same, with the graphical interface
BuildRelease.batBuilds the Mod and packs the release archives
Uninstall.batRemoves the Mod from the game folder

The configuration files are Project/Mod*.json, plus WindowsRunner.json for game run behaviour. See Configuration Settings.

Upgrade the Mod Builder

The submodule commit decides which Mod Builder version is used:

git submodule update --remote Tools/GeneralsModBuilder
git add Tools/GeneralsModBuilder
git commit -m "Upgrade the Mod Builder"