Skip to content
cech12 edited this page Dec 4, 2026 · 2 revisions

EnginePatch

Base mod for other Diggles/Wiggles mods. It lets them change engine values that the Tcl scripts cannot reach, e.g. the size of the ground transition blend or the capacity of baskets and barrows. The values are changed in memory while the game starts. The game exe is never modified. On its own this mod does nothing.

Works with the CD version 1.0.844 (Wiggles.exe) and the Steam/GOG version 2020 (Diggles.exe). Needs the Diggles Mod Manager 1.4.0 or newer.

How it works

The mod installs dsound.dll into the game folder. The game loads it instead of the Windows one. It forwards all sound calls to the real dsound.dll and applies the values requested by the active mods before the game code runs.

file in the game folder comes from content
dsound.dll EnginePatch the patcher
EnginePatch/catalog.json EnginePatch where the known values are in the exe
EnginePatch/mods/<ModFolderName>.json one per mod what a mod wants to change
enginepatch.log written at every game start what was found and changed

Only EnginePatch may ship dsound.dll and catalog.json. Your mod ships only its own file in EnginePatch/mods/.

Pages

The tools for mod authors (locate.py, JSON schemas, example mod) are in the folder .tools of the repository. They are not part of the mod download.

Clone this wiki locally