This tool helps you to mod the game "Diggles - The Myth of Fenris" (ger: Wiggles).
You want to create a mod? Here some documentation: https://github.com/DigglesMods/DigglesModManager/wiki/Mod-Developing
- Extract the release zip into the game directory (where
Diggles.exeorWiggles.exeis located), so thatDigglesModManager.exeand theModsdirectory are next to the game executable. - Start
DigglesModManager.exe, choose your mods and click "Let's Mod". - Start the game as usual.
The DigglesModManager.exe of the release is self-contained: no .NET runtime has to be installed.
It requires Windows 10 (version 1607 or newer) or Windows 11. On older Windows versions (XP, Vista, 7, 8.1), use
version 1.3.1 (without the newer mod versions).
If the game is installed in C:\Program Files, the mod manager has to be started as administrator.
The mod manager runs with Wine/Proton, too. As it only changes the game files, it has to run in the same Wine prefix as the game.
- Put
DigglesModManager.exeand theModsdirectory into the game directory (next toWiggles.exe/Diggles.exe). - Start the mod manager instead of the game once and click "Let's Mod":
- Lutris: Open the game configuration ("Configure" → "Game options") and set the executable to
DigglesModManager.exetemporarily, or use "Run EXE inside Wine prefix" and selectDigglesModManager.exe. - Steam/Proton (game added as non-Steam game): change the target of the shortcut from
Wiggles.exetoDigglesModManager.exe, start it, apply the mods and change the target back. - Plain Wine:
cdinto the game directory and runwine DigglesModManager.exe.
- Lutris: Open the game configuration ("Configure" → "Game options") and set the executable to
- Start the game as usual.
Since version 1.4 a mod can declare other mods it depends on in its config.json. The id is the directory name of
the other mod (like in $if:mod:):
"dependencies": [
{ "id": "BugFix" },
{ "id": "DigglesHDmod", "required": false }
]- required (default): the other mod is activated together with this mod, and deactivating it also deactivates this mod (after a confirmation). If it is not installed, this mod cannot be activated.
- optional (
"required": false): nothing is activated, but if the other mod is active, it is applied first.
In both cases the mod manager keeps this mod below the mods it depends on in the list of active mods (this is the order in which the mods are applied). Older versions of the mod manager ignore the field.
A mod can also declare mods it is not (fully) compatible with. It is enough if one of both mods declares it:
"incompatibilities": [
{ "id": "CommandF9", "reason": { "en": "Both mods change the F9 key.", "de": "Beide Mods ändern die F9-Taste." } },
{ "id": "OtherMod", "type": "warning" }
]- error (default): both mods cannot be active at the same time. The mod cannot be activated while the other mod is active, and "Let's Mod" is not possible.
- warning: both mods can be active, but the user is warned when activating them. Where both mods change the same code, the changes of the mod that is higher in the list of active mods win.
The optional reason is shown to the user. Older versions of the mod manager ignore the field.
Since version 1.5 a mod can declare which versions of the mod manager and of other mods it needs. All fields are optional, without them any version matches:
"version": "0.4.0",
"modManagerVersion": ">=1.5",
"dependencies": [
{ "id": "BugFix", "version": ">=1.6" },
{ "id": "DigglesHDmod", "required": false, "version": ">=0.3 <1.0" }
],
"incompatibilities": [
{ "id": "CommandF9", "type": "warning", "version": "<1.2" }
]modManagerVersion: if the mod manager does not match, the mod cannot be activated and the user is asked to update the mod manager. Active mods that do not match are deactivated. Mod managers older than 1.5 ignore the field, so a mod that needs a new feature should require at least the version that introduced it.dependencies[].version: the range refers to the installed version (versionin the config.json) of the other mod. If it does not match (too old or too new) or is unknown, the user is warned, but the mod can still be activated. Optional dependencies are only checked if the other mod is installed.incompatibilities[].version: the incompatibility only applies to these versions of the other mod (e.g. if a later version fixed the conflict). If the version of the other mod is unknown, it applies.
The ranges use the npm/semver notation (like Fabric mods for Minecraft):
| Range | Meaning |
|---|---|
>=1.6 |
1.6 or newer (the usual "minimum version") |
>=1.6 <2.0 |
a space means AND |
>1.6, <2.0, <=1.9, =1.6.1 (or just 1.6.1) |
comparison operators |
^1.6 |
>=1.6 <2.0 (the first non-zero component stays the same: ^0.3 = >=0.3 <0.4) |
~1.6 |
>=1.6 <1.7 |
1.6.x, 1.x |
wildcards: >=1.6 <1.7, >=1 <2 |
* |
any version |
>=1.0 <1.3 || >=1.5 |
OR |
Versions are compared numerically component by component, missing components count as 0 (1.6 = 1.6.0), and a
leading v is ignored (v1.6 = 1.6). Pre-release versions like 1.6-beta are not supported. An invalid range is
shown as a warning on the mod and is ignored (an incompatibility with an invalid range is ignored completely).
The mod manager is a Windows Forms application for .NET 10. The patch logic is located in the project
DigglesModManager.Core (without any UI dependency).
dotnet build DigglesModManager.sln
# unit tests (DigglesModManager.Tests)
dotnet test DigglesModManager.sln
# self-contained single exe (used for releases): bin/publish/self-contained
dotnet publish DigglesModManager.csproj -p:PublishProfile=SelfContained
# small single exe which needs the installed .NET Desktop Runtime 10: bin/publish/framework-dependent
dotnet publish DigglesModManager.csproj -p:PublishProfile=FrameworkDependent
See DevTools/README.md for the release process.