FrontendKitWS

From Worms Knowledge Base

Jump to: navigation, search
(Up to Software, WormKit)
icon FrontendKitWS
Developer: Pac-Man
Latest version: 1.0.0 / 12 July 2020
Supported games: W2
Language: C++
License: MIT
Website: GitLab repository
Download: DLL

FrontendKitWS is a WormKitDS-like module loader specifically made for changing the Worms 2 frontend as opposed to in-game logic.

It is required for patching the frontend as it does not load the WormKitDS dsound.dll library, which is why FrontendKitWS consists of wsock32.dll, a library only loaded by the frontend, giving it the "WS" suffix. This also prevents issues with WormKitDS modules unaware of having been loaded into the frontend rather than the in-game process.

Installation

Click the DLL download link in the info box on the right, and place the downloaded wsock32.dll in your Worms 2 directory, besides frontend.exe. Then, download any Worms 2 frontend related modules and place them there aswell.

Module Development

Modules are created just like WormKit ones, but require an fk file name prefix. A FrontendKitLib can be statically linked to, which provides some common functionality like detecting the game version, accessing a configuration file, or patching code. The code was based on some utilities available in ReSolution.

Personal tools