This guide explains the automatic installer, manual installation, and common build or installation errors.
- Windows 10 or Windows 11
- Redmatch 2 installed through Steam
Download and extract the latest release, close Redmatch 2, and run:
install.batIf the game is not found automatically, provide the folder containing Redmatch 2.exe:
install.bat "C:\Program Files (x86)\Steam\steamapps\common\Redmatch 2"Start Redmatch 2 and press Insert to open the menu.
install.bat performs the following steps:
- Starts
scripts\install_enforcer.bat. - Validates the packaged
hackmatch.dll. - Finds Redmatch 2 through the supplied path or registered Steam libraries.
- Validates that the folder contains
Redmatch 2.exeandRedmatch 2_Data. - Copies the DLL through a temporary file and replaces
Redmatch 2_Data\enforcer.dll.
The installer does not delete unrelated game files. Use scripts\install_enforcer.bat --dry-run to preview its source and destination without changing files.
These commands reproduce the automatic process:
copy /Y "hackmatch.dll" "C:\path\to\Redmatch 2\Redmatch 2_Data\enforcer.dll"Replace the example path with the real Redmatch 2 folder. The destination filename must be enforcer.dll. Close the game before replacing an existing DLL.
You can also run the underlying installer directly:
scripts\install_enforcer.bat "C:\path\to\Redmatch 2"Source builds additionally require Visual Studio 2022 C++ Build Tools with the Desktop development with C++ workload, CMake 3.24 or newer, and Ninja on PATH.
git clone https://github.com/fluffysnaff/hackmatch.git
cd hackmatch
build_and_install.batbuild_and_install.bat runs scripts\build_release.bat first, producing build-release\hackmatch.dll, then runs the same installer used by the release package.
Install CMake 3.24 or newer, enable its option to add CMake to PATH, then open a new Command Prompt.
Install Ninja and add its folder to PATH. Confirm it works with ninja --version.
Install Visual Studio 2022 Build Tools with the Desktop development with C++ workload. The build script checks the default Build Tools installation path; use a Visual Studio Developer Command Prompt if Visual Studio is installed elsewhere.
Pass the game folder explicitly. Use the folder containing Redmatch 2.exe, not the executable itself:
install.bat "D:\SteamLibrary\steamapps\common\Redmatch 2"The release was not fully extracted or the DLL is damaged. Extract a fresh download before installing. For a source build, run scripts\build_release.bat and resolve the first reported build error.
Close Redmatch 2 so enforcer.dll is not locked. If Windows still denies access, open Command Prompt as administrator and try again.
Installation succeeded, but the installed Redmatch 2 build differs from the version recorded in src\core\game_offsets.h. Version-sensitive features may require updated bindings; see Updating game bindings.