Skip to content

About

Base mod for Diggles/Wiggles: lets other mods change engine values in memory (ground transitions, inventory sizes) without modifying the game exe.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

EnginePatch

Base mod for other mods of "Diggles - The Myth of Fenris" (German: Wiggles). It lets them change engine values that the Tcl scripts cannot reach, e.g. the size of the ground transition blend for HD ground textures 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. The Diggles Mod Manager activates it automatically when another mod needs it.

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

How it works

The mod puts a 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. enginepatch.log in the game folder shows what was found and changed.

  • Linux/Wine: the game has to load the included DLL: set WINEDLLOVERRIDES="dsound=n,b" (Lutris/Steam: launch options).
  • Antivirus: some programs may warn about the new DLL in the game folder. The source is in .tools/src.

For mod authors

How to use EnginePatch in your mod, the list of available values and how to describe your own values: see the wiki. The tools for mod authors (locate.py, JSON schemas, an example mod) and the source of the DLL are in .tools. They are not part of the mod download.

About

Base mod for Diggles/Wiggles: lets other mods change engine values in memory (ground transitions, inventory sizes) without modifying the game exe.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages